Lines Matching refs:e
42 const char *c, *e, *b; in xml_tokenize() local
69 e = strchrnul(c, '<'); in xml_tokenize()
70 if (e > c) { in xml_tokenize()
72 ret = strndup(c, e - c); in xml_tokenize()
76 inc_lines(line, c, e - c); in xml_tokenize()
79 *p = e; in xml_tokenize()
85 assert(*e == '<'); in xml_tokenize()
90 e = strstr(b + 3, "-->"); in xml_tokenize()
91 if (!e) in xml_tokenize()
94 inc_lines(line, b, e + 3 - b); in xml_tokenize()
96 c = e + 3; in xml_tokenize()
103 e = strstr(b + 1, "?>"); in xml_tokenize()
104 if (!e) in xml_tokenize()
107 inc_lines(line, b, e + 2 - b); in xml_tokenize()
109 c = e + 2; in xml_tokenize()
116 e = strchr(b + 1, '>'); in xml_tokenize()
117 if (!e) in xml_tokenize()
120 inc_lines(line, b, e + 1 - b); in xml_tokenize()
122 c = e + 1; in xml_tokenize()
133 e = strpbrk(b, WHITESPACE "/>"); in xml_tokenize()
134 if (!e) in xml_tokenize()
137 ret = strndup(b, e - b); in xml_tokenize()
142 *p = e; in xml_tokenize()
156 e = b + strcspn(b, WHITESPACE "=/>"); in xml_tokenize()
157 if (e > b) { in xml_tokenize()
160 ret = strndup(b, e - b); in xml_tokenize()
165 *p = e; in xml_tokenize()
196 e = strchr(c+1, *c); in xml_tokenize()
197 if (!e) in xml_tokenize()
200 inc_lines(line, c, e - c); in xml_tokenize()
202 ret = strndup(c+1, e - c - 1); in xml_tokenize()
207 *p = e + 1; in xml_tokenize()