• Home
  • Raw
  • Download

Lines Matching refs:c

226   ( ++(str), ((tok)->char_offset)++, c)
236 char c = '\1'; in json_tokener_parse_ex() local
258 while (PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
265 while (isspace((int)c)) { in json_tokener_parse_ex()
266 if ((!ADVANCE_CHAR(str, tok)) || (!PEEK_CHAR(c, tok))) in json_tokener_parse_ex()
269 if(c == '/' && !(tok->flags & JSON_TOKENER_STRICT)) { in json_tokener_parse_ex()
271 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
280 switch(c) { in json_tokener_parse_ex()
312 tok->quote_char = c; in json_tokener_parse_ex()
359 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
390 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
425 if(c == '*') { in json_tokener_parse_ex()
427 } else if(c == '/') { in json_tokener_parse_ex()
433 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
440 while(c != '*') { in json_tokener_parse_ex()
441 if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
455 while(c != '\n') { in json_tokener_parse_ex()
456 if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
468 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
469 if(c == '/') { in json_tokener_parse_ex()
482 if(c == tok->quote_char) { in json_tokener_parse_ex()
488 } else if(c == '\\') { in json_tokener_parse_ex()
494 if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
503 switch(c) { in json_tokener_parse_ex()
507 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
515 if(c == 'b') printbuf_memappend_fast(tok->pb, "\b", 1); in json_tokener_parse_ex()
516 else if(c == 'n') printbuf_memappend_fast(tok->pb, "\n", 1); in json_tokener_parse_ex()
517 else if(c == 'r') printbuf_memappend_fast(tok->pb, "\r", 1); in json_tokener_parse_ex()
518 else if(c == 't') printbuf_memappend_fast(tok->pb, "\t", 1); in json_tokener_parse_ex()
519 else if(c == 'f') printbuf_memappend_fast(tok->pb, "\f", 1); in json_tokener_parse_ex()
539 if(strchr(json_hex_chars, c)) { in json_tokener_parse_ex()
540 tok->ucs_char += ((unsigned int)jt_hexdigit(c) << ((3-tok->st_pos++)*4)); in json_tokener_parse_ex()
585 if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
624 if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
636 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex()
671 while(c && strchr(json_number_chars, c)) { in json_tokener_parse_ex()
673 if(c == '.' || c == 'e' || c == 'E') in json_tokener_parse_ex()
675 if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
685 (c == 'i' || c == 'I')) in json_tokener_parse_ex()
717 if(c == ']') { in json_tokener_parse_ex()
745 if(c == ']') { in json_tokener_parse_ex()
748 } else if(c == ',') { in json_tokener_parse_ex()
759 if(c == '}') { in json_tokener_parse_ex()
768 } else if (c == '"' || c == '\'') { in json_tokener_parse_ex()
769 tok->quote_char = c; in json_tokener_parse_ex()
783 if(c == tok->quote_char) { in json_tokener_parse_ex()
789 } else if(c == '\\') { in json_tokener_parse_ex()
795 if (!ADVANCE_CHAR(str, tok) || !PEEK_CHAR(c, tok)) { in json_tokener_parse_ex()
804 if(c == ':') { in json_tokener_parse_ex()
832 if(c == '}') { in json_tokener_parse_ex()
835 } else if(c == ',') { in json_tokener_parse_ex()
850 if (c && in json_tokener_parse_ex()
857 if (!c) { /* We hit an eof char (0) */ in json_tokener_parse_ex()