Lines Matching refs:scanner
37 parser->scanner.errcode = PHP_JSON_ERROR_DEPTH; \
110 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
118 …if ((parser->scanner.options & PHP_JSON_OBJECT_AS_ARRAY) && parser->methods.object_create == php_j…
166 parser->scanner.errcode = PHP_JSON_ERROR_STATE_MISMATCH;
229 if (parser->scanner.options & PHP_JSON_OBJECT_AS_ARRAY) { in php_json_parser_object_create()
244 parser->scanner.errcode = PHP_JSON_ERROR_INVALID_PROPERTY_NAME; in php_json_parser_object_update()
282 int token = php_json_scan(&parser->scanner); in php_json_yylex()
290 zval_ptr_dtor_str(&(parser->scanner.value)); in php_json_yylex()
293 value->value = parser->scanner.value; in php_json_yylex()
301 if (!parser->scanner.errcode) { in php_json_yyerror()
302 parser->scanner.errcode = PHP_JSON_ERROR_SYNTAX; in php_json_yyerror()
308 return parser->scanner.errcode; in php_json_parser_error_code()
344 php_json_scanner_init(&parser->scanner, str, str_len, options); in php_json_parser_init_ex()