Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Macros | |
#define | yxml_isChar(c) 1 |
#define | yxml_isSP(c) (c == 0x20 || c == 0x09 || c == 0x0a) |
#define | yxml_isAlpha(c) ((c|32)-'a' < 26) |
#define | yxml_isNum(c) (c-'0' < 10) |
#define | yxml_isHex(c) (yxml_isNum(c) || (c|32)-'a' < 6) |
#define | yxml_isEncName(c) (yxml_isAlpha(c) || yxml_isNum(c) || c == '.' || c == '_' || c == '-') |
#define | yxml_isNameStart(c) (yxml_isAlpha(c) || c == ':' || c == '_' || c >= 128) |
#define | yxml_isName(c) (yxml_isNameStart(c) || yxml_isNum(c) || c == '-' || c == '.') |
#define | yxml_isAttValue(c) (yxml_isChar(c) && c != x->quote && c != '<' && c != '&') |
#define | yxml_isRef(c) (yxml_isNum(c) || yxml_isAlpha(c) || c == '#') |
#define | INTFROM5CHARS(a, b, c, d, e) ((((uint64_t)(a))<<32) | (((uint64_t)(b))<<24) | (((uint64_t)(c))<<16) | (((uint64_t)(d))<<8) | (uint64_t)(e)) |
Enumerations | |
enum | yxml_state_t { YXMLS_string , YXMLS_attr0 , YXMLS_attr1 , YXMLS_attr2 , YXMLS_attr3 , YXMLS_attr4 , YXMLS_cd0 , YXMLS_cd1 , YXMLS_cd2 , YXMLS_comment0 , YXMLS_comment1 , YXMLS_comment2 , YXMLS_comment3 , YXMLS_comment4 , YXMLS_dt0 , YXMLS_dt1 , YXMLS_dt2 , YXMLS_dt3 , YXMLS_dt4 , YXMLS_elem0 , YXMLS_elem1 , YXMLS_elem2 , YXMLS_elem3 , YXMLS_enc0 , YXMLS_enc1 , YXMLS_enc2 , YXMLS_enc3 , YXMLS_etag0 , YXMLS_etag1 , YXMLS_etag2 , YXMLS_init , YXMLS_le0 , YXMLS_le1 , YXMLS_le2 , YXMLS_le3 , YXMLS_lee1 , YXMLS_lee2 , YXMLS_leq0 , YXMLS_misc0 , YXMLS_misc1 , YXMLS_misc2 , YXMLS_misc2a , YXMLS_misc3 , YXMLS_pi0 , YXMLS_pi1 , YXMLS_pi2 , YXMLS_pi3 , YXMLS_pi4 , YXMLS_std0 , YXMLS_std1 , YXMLS_std2 , YXMLS_std3 , YXMLS_ver0 , YXMLS_ver1 , YXMLS_ver2 , YXMLS_ver3 , YXMLS_xmldecl0 , YXMLS_xmldecl1 , YXMLS_xmldecl2 , YXMLS_xmldecl3 , YXMLS_xmldecl4 , YXMLS_xmldecl5 , YXMLS_xmldecl6 , YXMLS_xmldecl7 , YXMLS_xmldecl8 , YXMLS_xmldecl9 } |
#define yxml_isEncName | ( | c | ) | (yxml_isAlpha(c) || yxml_isNum(c) || c == '.' || c == '_' || c == '-') |
#define yxml_isName | ( | c | ) | (yxml_isNameStart(c) || yxml_isNum(c) || c == '-' || c == '.') |
#define yxml_isRef | ( | c | ) | (yxml_isNum(c) || yxml_isAlpha(c) || c == '#') |
enum yxml_state_t |
Definition at line 33 of file yxml.c.
|
inlinestatic |
Definition at line 263 of file yxml.c.
References x, and yxml_pushstackc().
Referenced by yxml_parse().
|
inlinestatic |
|
inlinestatic |
Definition at line 262 of file yxml.c.
References x, and yxml_pushstack().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 265 of file yxml.c.
References x, YXML_ATTREND, and yxml_popstack().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 189 of file yxml.c.
References x, YXML_ATTRVAL, and yxml_setchar().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 172 of file yxml.c.
References x, YXML_CONTENT, and yxml_setchar().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 180 of file yxml.c.
References x, YXML_CONTENT, and yxml_setchar().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 150 of file yxml.c.
References x, YXML_CONTENT, and yxml_setchar().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 157 of file yxml.c.
References x, YXML_PICONTENT, and yxml_setchar().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 164 of file yxml.c.
References x, YXML_PICONTENT, and yxml_setchar().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 247 of file yxml.c.
References x, YXML_ECLOSE, and YXML_OK.
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 255 of file yxml.c.
References x, YXML_ECLOSE, and yxml_selfclose().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 227 of file yxml.c.
References x, and yxml_pushstackc().
Referenced by yxml_parse().
|
inlinestatic |
|
inlinestatic |
Definition at line 226 of file yxml.c.
References x, and yxml_pushstack().
Referenced by yxml_parse().
yxml_ret_t yxml_eof | ( | yxml_t * | x | ) |
Definition at line 1056 of file yxml.c.
References x, YXML_EEOF, YXML_OK, and YXMLS_misc3.
Referenced by rz_cf_value_dict_parse().
Definition at line 327 of file yxml.c.
References memset(), x, and YXMLS_init.
Referenced by rz_cf_value_dict_parse().
yxml_ret_t yxml_parse | ( | yxml_t * | x, |
int | _ch | ||
) |
Definition at line 338 of file yxml.c.
References unsigned, x, yxml_attrname(), yxml_attrnameend(), yxml_attrstart(), yxml_attrvalend(), yxml_dataattr(), yxml_datacd1(), yxml_datacd2(), yxml_datacontent(), yxml_datapi1(), yxml_datapi2(), yxml_elemclose(), yxml_elemcloseend(), yxml_elemname(), yxml_elemnameend(), yxml_elemstart(), YXML_ESYN, yxml_isAlpha, yxml_isAttValue, yxml_isChar, yxml_isEncName, yxml_isName, yxml_isNameStart, yxml_isNum, yxml_isRef, yxml_isSP, YXML_OK, yxml_piabort(), yxml_piname(), yxml_pinameend(), yxml_pistart(), yxml_pivalend(), yxml_ref(), yxml_refattrval(), yxml_refcontent(), yxml_refstart(), yxml_selfclose(), YXMLS_attr0, YXMLS_attr1, YXMLS_attr2, YXMLS_attr3, YXMLS_attr4, YXMLS_cd0, YXMLS_cd1, YXMLS_cd2, YXMLS_comment0, YXMLS_comment1, YXMLS_comment2, YXMLS_comment3, YXMLS_comment4, YXMLS_dt0, YXMLS_dt1, YXMLS_dt2, YXMLS_dt3, YXMLS_dt4, YXMLS_elem0, YXMLS_elem1, YXMLS_elem2, YXMLS_elem3, YXMLS_enc0, YXMLS_enc1, YXMLS_enc2, YXMLS_enc3, YXMLS_etag0, YXMLS_etag1, YXMLS_etag2, YXMLS_init, YXMLS_le0, YXMLS_le1, YXMLS_le2, YXMLS_le3, YXMLS_lee1, YXMLS_lee2, YXMLS_leq0, YXMLS_misc0, YXMLS_misc1, YXMLS_misc2, YXMLS_misc2a, YXMLS_misc3, YXMLS_pi0, YXMLS_pi1, YXMLS_pi2, YXMLS_pi3, YXMLS_pi4, YXMLS_std0, YXMLS_std1, YXMLS_std2, YXMLS_std3, YXMLS_string, YXMLS_ver0, YXMLS_ver1, YXMLS_ver2, YXMLS_ver3, YXMLS_xmldecl0, YXMLS_xmldecl1, YXMLS_xmldecl2, YXMLS_xmldecl3, YXMLS_xmldecl4, YXMLS_xmldecl5, YXMLS_xmldecl6, YXMLS_xmldecl7, YXMLS_xmldecl8, and YXMLS_xmldecl9.
Referenced by rz_cf_value_dict_parse().
|
inlinestatic |
Definition at line 270 of file yxml.c.
References x, YXML_OK, and yxml_popstack().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 269 of file yxml.c.
References x, and yxml_pushstackc().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 271 of file yxml.c.
References x, YXML_ESYN, and YXML_PISTART.
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 268 of file yxml.c.
References x, and yxml_pushstack().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 274 of file yxml.c.
References x, YXML_PIEND, and yxml_popstack().
Referenced by yxml_parse().
|
static |
Definition at line 219 of file yxml.c.
References x.
Referenced by yxml_attrvalend(), yxml_piabort(), yxml_pivalend(), and yxml_selfclose().
|
static |
Definition at line 197 of file yxml.c.
References x, YXML_ESTACK, and YXML_OK.
Referenced by yxml_attrstart(), yxml_elemstart(), and yxml_pistart().
|
static |
Definition at line 209 of file yxml.c.
References x, YXML_ESTACK, and YXML_OK.
Referenced by yxml_attrname(), yxml_elemname(), and yxml_piname().
|
static |
Definition at line 284 of file yxml.c.
References x, YXML_EREF, YXML_OK, and yxml_setchar().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 324 of file yxml.c.
References x, YXML_ATTRVAL, and yxml_refend().
Referenced by yxml_parse().
|
inlinestatic |
Definition at line 323 of file yxml.c.
References x, YXML_CONTENT, and yxml_refend().
Referenced by yxml_parse().
|
static |
Definition at line 293 of file yxml.c.
References i, INTFROM5CHARS, r, x, YXML_EREF, yxml_isHex, yxml_isNum, and yxml_setutf8().
Referenced by yxml_refattrval(), and yxml_refcontent().
|
inlinestatic |
|
static |
Definition at line 233 of file yxml.c.
References x, YXML_ELEMEND, yxml_popstack(), and YXMLS_misc3.
Referenced by yxml_elemcloseend(), and yxml_parse().
|
inlinestatic |
Definition at line 123 of file yxml.c.
References dest.
Referenced by yxml_dataattr(), yxml_datacd1(), yxml_datacd2(), yxml_datacontent(), yxml_datapi1(), yxml_datapi2(), yxml_ref(), and yxml_setutf8().
|
static |
Definition at line 130 of file yxml.c.
References dest, and yxml_setchar().
Referenced by yxml_refend().