#include "hhctrl.h"
#include "stream.h"
#include "wine/debug.h"
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (htmlhelp) |
|
void | strbuf_init (strbuf_t *buf) |
|
void | strbuf_zero (strbuf_t *buf) |
|
void | strbuf_free (strbuf_t *buf) |
|
static void | strbuf_append (strbuf_t *buf, const char *data, int len) |
|
void | stream_init (stream_t *stream, IStream *str) |
|
static BOOL | stream_chr (stream_t *stream, strbuf_t *buf, char c) |
|
void | get_node_name (strbuf_t *node, strbuf_t *name) |
|
BOOL | next_content (stream_t *stream, strbuf_t *buf) |
|
static BOOL | find_node_end (stream_t *stream, strbuf_t *buf) |
|
BOOL | next_node (stream_t *stream, strbuf_t *buf) |
|
const char * | get_attr (const char *node, const char *name, int *len) |
|
◆ find_node_end()
Definition at line 113 of file stream.c.
115 int tag_count = 0,
b =
buf->len;
128 if(tag_count % 2 != 0)
static BOOL stream_chr(stream_t *stream, strbuf_t *buf, char c)
GLenum GLuint GLenum GLsizei const GLchar * buf
GLboolean GLboolean GLboolean b
Referenced by next_node().
◆ get_attr()
Definition at line 162 of file stream.c.
164 const char *
ptr, *ptr2;
165 int name_len, node_len;
176 for(
i=0;
i<node_len;
i++)
181 for(
i=0;
i<name_len;
i++)
183 name_buf[name_len++] =
'=';
184 name_buf[name_len++] =
'\"';
185 name_buf[name_len] = 0;
189 WARN(
"name not found\n");
ACPI_SIZE strlen(const char *String)
char * strstr(char *String1, char *String2)
static void * heap_alloc(size_t len)
#define memcpy(s1, s2, n)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
char * strchr(const char *String, int ch)
static BOOL heap_free(void *mem)
Referenced by parse_index_obj_node_param(), parse_li(), parse_obj_node_param(), and parse_ul().
◆ get_node_name()
◆ next_content()
◆ next_node()
Definition at line 140 of file stream.c.
static BOOL stream_chr(stream_t *stream, strbuf_t *buf, char c)
GLenum GLuint GLenum GLsizei const GLchar * buf
static void strbuf_append(strbuf_t *buf, const char *data, int len)
static BOOL find_node_end(stream_t *stream, strbuf_t *buf)
Referenced by ext4_fs_xattr_iterate(), ext4_xattr_purge_items(), ext4_xattr_remove_item(), free_instr_list(), GetDocumentTitle(), parse_hhc(), parse_hhindex(), parse_index_sitemap_object(), parse_li(), parse_sitemap_object(), parse_ul(), and SearchCHM_File().
◆ strbuf_append()
Definition at line 43 of file stream.c.
static void * heap_realloc(void *mem, size_t len)
GLenum GLuint GLenum GLsizei const GLchar * buf
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
#define memcpy(s1, s2, n)
Referenced by get_node_name(), next_node(), and stream_chr().
◆ strbuf_free()
◆ strbuf_init()
Definition at line 26 of file stream.c.
static void * heap_alloc(size_t len)
GLenum GLuint GLenum GLsizei const GLchar * buf
◆ strbuf_zero()
◆ stream_chr()
Definition at line 60 of file stream.c.
GLenum GLuint GLenum GLsizei const GLchar * buf
GLboolean GLboolean GLboolean b
static void strbuf_append(strbuf_t *buf, const char *data, int len)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by find_node_end(), next_content(), and next_node().
◆ stream_init()
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
htmlhelp |
| ) |
|