Home
last modified time | relevance | path

Searched refs:str_esc (Results 1 – 3 of 3) sorted by relevance

/PHP-7.3/ext/json/
H A Dphp_json_scanner.h36 int str_esc; /* number of extra characters for escaping */ member
H A Djson_scanner.re211 s->str_esc = 0;
234 s->str_esc += 5;
238 s->str_esc += 4;
242 s->str_esc += 3;
246 s->str_esc += 8;
254 s->str_esc++;
263 size_t len = s->cursor - s->str_start - s->str_esc - 1 + s->utf8_invalid_count;
272 if (s->str_esc || s->utf8_invalid) {
H A Djson_scanner.c293 s->str_esc = 0; in php_json_scan()
583 size_t len = s->cursor - s->str_start - s->str_esc - 1 + s->utf8_invalid_count; in php_json_scan()
592 if (s->str_esc || s->utf8_invalid) { in php_json_scan()
698 s->str_esc++; in php_json_scan()
917 s->str_esc += 5; in php_json_scan()
923 s->str_esc += 4; in php_json_scan()
929 s->str_esc += 3; in php_json_scan()
979 s->str_esc += 8; in php_json_scan()

Completed in 24 milliseconds