Lines Matching refs:chr
85 int chr = next(lex); in peek() local
89 return chr; in peek()
97 int chr = next(lex); in lexer_string() local
99 if (chr == '\0') { in lexer_string()
104 if (chr == '\\') { in lexer_string()
138 if (chr == '"') { in lexer_string()
202 int chr = next(lex); in lexer_number() local
204 if (isdigit(chr) != 0 || chr == '.') { in lexer_number()
218 int chr = next(lex); in lexer_json() local
220 switch (chr) { in lexer_json()
230 emit(lex, (enum json_tokens)chr); in lexer_json()
246 if (isspace(chr) != 0) { in lexer_json()
251 if (isdigit(chr) != 0) { in lexer_json()
859 static char escape_as(char chr) in escape_as() argument
861 switch (chr) { in escape_as()