Lines Matching refs:l2
147 zend_long l1, l2; in php_array_key_compare() local
155 t = is_numeric_string(s->key->val, s->key->len, &l2, &d, 1); in php_array_key_compare()
161 l2 = 0; in php_array_key_compare()
168 l2 = (zend_long)s->h; in php_array_key_compare()
173 return ZEND_NORMALIZE_BOOL(d - (double)l2); in php_array_key_compare()
179 return l1 > l2 ? 1 : (l1 < l2 ? -1 : 0); in php_array_key_compare()
224 size_t l1, l2; in php_array_key_compare_string_case() local
237 l2 = s->key->len; in php_array_key_compare_string_case()
240 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_case()
242 return zend_binary_strcasecmp_l(s1, l1, s2, l2); in php_array_key_compare_string_case()
257 size_t l1, l2; in php_array_key_compare_string() local
270 l2 = s->key->len; in php_array_key_compare_string()
273 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string()
275 return zend_binary_strcmp(s1, l1, s2, l2); in php_array_key_compare_string()
290 size_t l1, l2; in php_array_key_compare_string_natural_general() local
303 l2 = s->key->len; in php_array_key_compare_string_natural_general()
306 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_natural_general()
308 return strnatcmp_ex(s1, l1, s2, l2, fold_case); in php_array_key_compare_string_natural_general()