Lines Matching refs:ue

112 json_skip_space(const unsigned char *uc, const unsigned char *ue)  in json_skip_space()  argument
114 while (uc < ue && json_isspace(*uc)) in json_skip_space()
120 json_parse_string(const unsigned char **ucp, const unsigned char *ue) in json_parse_string() argument
126 while (uc < ue) { in json_parse_string()
131 if (uc == ue) in json_parse_string()
146 if (ue - uc < 4) { in json_parse_string()
147 uc = ue; in json_parse_string()
172 json_parse_array(const unsigned char **ucp, const unsigned char *ue, in json_parse_array() argument
178 while (uc < ue) { in json_parse_array()
181 if (!json_parse(&uc, ue, st, lvl + 1)) in json_parse_array()
183 if (uc == ue) in json_parse_array()
206 json_parse_object(const unsigned char **ucp, const unsigned char *ue, in json_parse_object() argument
211 while (uc < ue) { in json_parse_object()
212 uc = json_skip_space(uc, ue); in json_parse_object()
213 if (uc == ue) in json_parse_object()
224 if (!json_parse_string(&uc, ue)) { in json_parse_object()
228 uc = json_skip_space(uc, ue); in json_parse_object()
229 if (uc == ue) in json_parse_object()
235 if (!json_parse(&uc, ue, st, lvl + 1)) { in json_parse_object()
239 if (uc == ue) in json_parse_object()
262 json_parse_number(const unsigned char **ucp, const unsigned char *ue) in json_parse_number() argument
268 if (uc == ue) in json_parse_number()
273 for (; uc < ue; uc++) { in json_parse_number()
278 if (uc == ue) in json_parse_number()
282 for (; uc < ue; uc++) { in json_parse_number()
287 if (uc == ue) in json_parse_number()
292 if (uc == ue) in json_parse_number()
296 for (; uc < ue; uc++) { in json_parse_number()
312 json_parse_const(const unsigned char **ucp, const unsigned char *ue, in json_parse_const() argument
318 for (len--; uc < ue && --len;) { in json_parse_const()
329 json_parse(const unsigned char **ucp, const unsigned char *ue, in json_parse() argument
336 uc = json_skip_space(*ucp, ue); in json_parse()
337 if (uc == ue) in json_parse()
352 rv = json_parse_string(&uc, ue); in json_parse()
356 rv = json_parse_array(&uc, ue, st, lvl + 1); in json_parse()
360 rv = json_parse_object(&uc, ue, st, lvl + 1); in json_parse()
364 rv = json_parse_const(&uc, ue, "true", sizeof("true")); in json_parse()
368 rv = json_parse_const(&uc, ue, "false", sizeof("false")); in json_parse()
372 rv = json_parse_const(&uc, ue, "null", sizeof("null")); in json_parse()
377 rv = json_parse_number(&uc, ue); in json_parse()
383 uc = json_skip_space(uc, ue); in json_parse()
397 const unsigned char *ue = uc + b->flen; in file_is_json() local
407 if (!json_parse(&uc, ue, st, 0)) in file_is_json()