Lines Matching refs:char
65 static int php_json_hex_to_int(char code)
94 void php_json_scanner_init(php_json_scanner *s, const char *str, size_t str_len, int options)
175 int cmp = strncmp((char *) (s->token + negative), LONG_MIN_DIGITS, PHP_JSON_INT_MAX_LENGTH);
184 ZVAL_LONG(&s->value, ZEND_STRTOL((char *) s->token, NULL, 10));
187 ZVAL_STRINGL(&s->value, (char *) s->token, s->cursor - s->token);
190 ZVAL_DOUBLE(&s->value, zend_strtod((char *) s->token, NULL));
195 ZVAL_DOUBLE(&s->value, zend_strtod((char *) s->token, NULL));
302 *(s->pstr++) = (char) utf16;
309 *(s->pstr++) = (char) (0xc0 | (utf16 >> 6));
310 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f));
317 *(s->pstr++) = (char) (0xe0 | (utf16 >> 12));
318 *(s->pstr++) = (char) (0x80 | ((utf16 >> 6) & 0x3f));
319 *(s->pstr++) = (char) (0x80 | (utf16 & 0x3f));
329 *(s->pstr++) = (char) (0xf0 | (utf32 >> 18));
330 *(s->pstr++) = (char) (0x80 | ((utf32 >> 12) & 0x3f));
331 *(s->pstr++) = (char) (0x80 | ((utf32 >> 6) & 0x3f));
332 *(s->pstr++) = (char) (0x80 | (utf32 & 0x3f));
337 char esc;
377 *(s->pstr++) = (char) (0xe0 | (0xfffd >> 12));
378 *(s->pstr++) = (char) (0x80 | ((0xfffd >> 6) & 0x3f));
379 *(s->pstr++) = (char) (0x80 | (0xfffd & 0x3f));