Lines Matching refs:ucp

127 json_parse_string(const unsigned char **ucp, const unsigned char *ue,  in json_parse_string()  argument
130 const unsigned char *uc = *ucp; in json_parse_string()
133 DPRINTF("Parse string: ", uc, *ucp); in json_parse_string()
166 DPRINTF("Good string: ", uc, *ucp); in json_parse_string()
167 *ucp = uc; in json_parse_string()
174 DPRINTF("Bad string: ", uc, *ucp); in json_parse_string()
175 *ucp = uc; in json_parse_string()
180 json_parse_array(const unsigned char **ucp, const unsigned char *ue, in json_parse_array() argument
183 const unsigned char *uc = *ucp; in json_parse_array()
185 DPRINTF("Parse array: ", uc, *ucp); in json_parse_array()
203 DPRINTF("Good array: ", uc, *ucp); in json_parse_array()
204 *ucp = uc + 1; in json_parse_array()
211 DPRINTF("Bad array: ", uc, *ucp); in json_parse_array()
212 *ucp = uc; in json_parse_array()
217 json_parse_object(const unsigned char **ucp, const unsigned char *ue, in json_parse_object() argument
220 const unsigned char *uc = *ucp; in json_parse_object()
221 DPRINTF("Parse object: ", uc, *ucp); in json_parse_object()
231 DPRINTF("not string", uc, *ucp); in json_parse_object()
234 DPRINTF("next field", uc, *ucp); in json_parse_object()
236 DPRINTF("not string", uc, *ucp); in json_parse_object()
243 DPRINTF("not colon", uc, *ucp); in json_parse_object()
247 DPRINTF("not json", uc, *ucp); in json_parse_object()
257 DPRINTF("Good object: ", uc, *ucp); in json_parse_object()
258 *ucp = uc; in json_parse_object()
261 DPRINTF("not more", uc, *ucp); in json_parse_object()
262 *ucp = uc - 1; in json_parse_object()
267 DPRINTF("Bad object: ", uc, *ucp); in json_parse_object()
268 *ucp = uc; in json_parse_object()
274 json_parse_number(const unsigned char **ucp, const unsigned char *ue, in json_parse_number() argument
277 const unsigned char *uc = *ucp; in json_parse_number()
280 DPRINTF("Parse number: ", uc, *ucp); in json_parse_number()
317 DPRINTF("Bad number: ", uc, *ucp); in json_parse_number()
319 DPRINTF("Good number: ", uc, *ucp); in json_parse_number()
320 *ucp = uc; in json_parse_number()
326 json_parse_const(const unsigned char **ucp, const unsigned char *ue, in json_parse_const() argument
329 const unsigned char *uc = *ucp; in json_parse_const()
331 DPRINTF("Parse const: ", uc, *ucp); in json_parse_const()
332 *ucp += --len - 1; in json_parse_const()
333 if (*ucp > ue) in json_parse_const()
334 *ucp = ue; in json_parse_const()
337 DPRINTF("Bad const: ", uc, *ucp); in json_parse_const()
341 DPRINTF("Good const: ", uc, *ucp); in json_parse_const()
346 json_parse(const unsigned char **ucp, const unsigned char *ue, in json_parse() argument
353 ouc = uc = json_skip_space(*ucp, ue); in json_parse()
359 DPRINTF("Too many levels", uc, *ucp); in json_parse()
368 DPRINTF("Parse general: ", uc, *ucp); in json_parse()
405 DPRINTF("End general: ", uc, *ucp); in json_parse()
406 *ucp = uc; in json_parse()