Lines Matching refs:ZSTR_LEN
93 for (i = 0; i < ZSTR_LEN(pattern); i++) { in browscap_compute_prefix_len()
106 for (; i < ZSTR_LEN(pattern); i++) { in browscap_compute_contains()
110 if (i + 1 < ZSTR_LEN(pattern) && in browscap_compute_contains()
119 for (; i < ZSTR_LEN(pattern); i++) { in browscap_compute_contains()
130 size_t i, len = ZSTR_LEN(pattern); in browscap_compute_regex_len()
131 for (i = 0; i < ZSTR_LEN(pattern); i++) { in browscap_compute_regex_len()
160 for (i = 0; i < ZSTR_LEN(pattern); i++, j++) { in browscap_convert_pattern()
204 ZSTR_LEN(res) = j; in browscap_convert_pattern()
238 ZSTR_ALLOCA_ALLOC(lcname, ZSTR_LEN(str), use_heap); in browscap_intern_str_ci()
239 zend_str_tolower_copy(ZSTR_VAL(lcname), ZSTR_VAL(str), ZSTR_LEN(str)); in browscap_intern_str_ci()
245 interned = zend_string_init(ZSTR_VAL(lcname), ZSTR_LEN(lcname), persistent); in browscap_intern_str_ci()
366 if (ZSTR_LEN(pattern) > UINT16_MAX) { in php_browscap_parser_cb()
368 "Skipping excessively long pattern of length %zd", ZSTR_LEN(pattern)); in php_browscap_parser_cb()
633 ZSTR_ALLOCA_ALLOC(pattern_lc, ZSTR_LEN(entry->pattern), use_heap); in browser_reg_compare()
634 zend_str_tolower_copy(ZSTR_VAL(pattern_lc), ZSTR_VAL(entry->pattern), ZSTR_LEN(entry->pattern)); in browser_reg_compare()
643 ZSTR_VAL(agent_name) + ZSTR_LEN(agent_name)); in browser_reg_compare()
662 ZSTR_VAL(agent_name) + ZSTR_LEN(agent_name), in browser_reg_compare()
664 ZSTR_VAL(pattern_lc) + ZSTR_LEN(pattern_lc) in browser_reg_compare()
671 for (size_t i = curr_len; i < ZSTR_LEN(current_match); i++) { in browser_reg_compare()
758 if (ZSTR_LEN(lookup_browser_name) < browscap_get_minimum_length(entry)) { in PHP_FUNCTION()