• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/file/src/

Lines Matching refs:ue

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