Lines Matching refs:l2
148 zend_long l1, l2; in php_array_key_compare() local
156 t = is_numeric_string(s->key->val, s->key->len, &l2, &d, 1); in php_array_key_compare()
162 l2 = 0; in php_array_key_compare()
169 l2 = (zend_long)s->h; in php_array_key_compare()
174 return ZEND_NORMALIZE_BOOL(d - (double)l2); in php_array_key_compare()
180 return l1 > l2 ? 1 : (l1 < l2 ? -1 : 0); in php_array_key_compare()
225 size_t l1, l2; in php_array_key_compare_string_case() local
238 l2 = s->key->len; in php_array_key_compare_string_case()
241 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_case()
243 return zend_binary_strcasecmp_l(s1, l1, s2, l2); in php_array_key_compare_string_case()
258 size_t l1, l2; in php_array_key_compare_string() local
271 l2 = s->key->len; in php_array_key_compare_string()
274 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string()
276 return zend_binary_strcmp(s1, l1, s2, l2); in php_array_key_compare_string()
291 size_t l1, l2; in php_array_key_compare_string_natural_general() local
304 l2 = s->key->len; in php_array_key_compare_string_natural_general()
307 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_natural_general()
309 return strnatcmp_ex(s1, l1, s2, l2, fold_case); in php_array_key_compare_string_natural_general()