Lines Matching refs:l2
145 zend_long l1, l2; in php_array_key_compare() local
153 t = is_numeric_string(s->key->val, s->key->len, &l2, &d, 1); in php_array_key_compare()
159 l2 = 0; in php_array_key_compare()
166 l2 = (zend_long)s->h; in php_array_key_compare()
171 return ZEND_NORMALIZE_BOOL(d - (double)l2); in php_array_key_compare()
177 return l1 > l2 ? 1 : (l1 < l2 ? -1 : 0); in php_array_key_compare()
222 size_t l1, l2; in php_array_key_compare_string_case() local
235 l2 = s->key->len; in php_array_key_compare_string_case()
238 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_case()
240 return zend_binary_strcasecmp_l(s1, l1, s2, l2); in php_array_key_compare_string_case()
255 size_t l1, l2; in php_array_key_compare_string() local
268 l2 = s->key->len; in php_array_key_compare_string()
271 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string()
273 return zend_binary_strcmp(s1, l1, s2, l2); in php_array_key_compare_string()
288 size_t l1, l2; in php_array_key_compare_string_natural_general() local
301 l2 = s->key->len; in php_array_key_compare_string_natural_general()
304 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_natural_general()
306 return strnatcmp_ex(s1, l1, s2, l2, fold_case); in php_array_key_compare_string_natural_general()