Home
last modified time | relevance | path

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

/PHP-5.6/ext/json/
H A Djson.c726 int trim_len = str_len; in php_json_decode_ex() local
732 trim_len--; in php_json_decode_ex()
736 …while (trim_len && (trim[trim_len - 1] == ' ' || trim[trim_len - 1] == '\t' || trim[trim_len - 1] … in php_json_decode_ex()
737 trim_len--; in php_json_decode_ex()
741 if (trim_len == 4) { in php_json_decode_ex()
742 if (!strncmp(trim, "null", trim_len)) { in php_json_decode_ex()
746 } else if (!strncmp(trim, "true", trim_len)) { in php_json_decode_ex()
749 } else if (trim_len == 5 && !strncmp(trim, "false", trim_len)) { in php_json_decode_ex()
753 if ((type = is_numeric_string_ex(trim, trim_len, &p, &d, 0, &overflow_info)) != 0) { in php_json_decode_ex()
766 for (i = (trim[0] == '-' ? 1 : 0); i < trim_len; i++) { in php_json_decode_ex()
[all …]

Completed in 13 milliseconds