Home
last modified time | relevance | path

Searched refs:l2 (Results 1 - 11 of 11) sorted by relevance

/php-7.4/main/
H A Dmergesort.c(last modified 13/02/2019 23:05)108 register u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2; in php_mergesort() local
135 l2 = list1; in php_mergesort()
137 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { in php_mergesort()
139 f1 = l2; in php_mergesort()
143 l2 = list1 + (p2 - list2); in php_mergesort()
144 while (f1 < l1 && f2 < l2) { in php_mergesort()
151 b = f2, t = l2; in php_mergesort()
211 if (f2 < l2) { in php_mergesort()
213 ICOPY_LIST(f2, tp2, l2); in php_mergesort()
215 CCOPY_LIST(f2, tp2, l2); in php_mergesort()
266 u_char *f1, *f2, *s, *l2, *last, *p2, tmp; setup() local
[all...]
/php-7.4/ext/standard/
H A Dlevenshtein.c(last modified 13/02/2019 23:05)29 static zend_long reference_levdist(const char *s1, size_t l1, const char *s2, size_t l2, zend_long cost_ins, zend_long cost_rep, zend_long cost_del ) in reference_levdist() argument
36 return l2 * cost_ins; in reference_levdist()
38 if (l2 == 0) { in reference_levdist()
42 if ((l1 > LEVENSHTEIN_MAX_LENGTH) || (l2 > LEVENSHTEIN_MAX_LENGTH)) { in reference_levdist()
45 p1 = safe_emalloc((l2 + 1), sizeof(zend_long), 0); in reference_levdist()
46 p2 = safe_emalloc((l2 + 1), sizeof(zend_long), 0); in reference_levdist()
48 for (i2 = 0; i2 <= l2; i2++) { in reference_levdist()
54 for (i2 = 0; i2 < l2; i2++) { in reference_levdist()
70 c0 = p1[l2]; in reference_levdist()
H A Dversioning.c(last modified 13/02/2019 23:05)128 long l1, l2; in php_version_compare() local
160 l2 = strtol(p2, NULL, 10); in php_version_compare()
161 compare = ZEND_NORMALIZE_BOOL(l1 - l2); in php_version_compare()
H A Ddns.c(last modified 11/08/2020 08:00)572 int l1 = 0, l2 = 0; in php_parserr() local
588 memcpy(ZSTR_VAL(tp) + l2 , cp + l1 + 1, n); in php_parserr()
592 l2 = l2 + n; in php_parserr()
594 ZSTR_VAL(tp)[l2] = '\0'; in php_parserr()
595 ZSTR_LEN(tp) = l2; in php_parserr()
H A Darray.c(last modified 06/08/2020 08:00)141 zend_long l1, l2; in php_array_key_compare() local
149 t = is_numeric_string(s->key->val, s->key->len, &l2, &d, 1); in php_array_key_compare()
155 l2 = 0; in php_array_key_compare()
162 l2 = (zend_long)s->h; in php_array_key_compare()
167 return ZEND_NORMALIZE_BOOL(d - (double)l2); in php_array_key_compare()
173 return ZEND_NORMALIZE_BOOL(l1 - l2); in php_array_key_compare()
218 size_t l1, l2; in php_array_key_compare_string_case() local
231 l2 = s->key->len; in php_array_key_compare_string_case()
234 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_case()
236 return zend_binary_strcasecmp_l(s1, l1, s2, l2); in php_array_key_compare_string_case()
251 size_t l1, l2; php_array_key_compare_string() local
284 size_t l1, l2; php_array_key_compare_string_natural_general() local
[all...]
/php-7.4/ext/soap/
H A Dphp_sdl.c(last modified 28/06/2019 08:00)231 size_t l1, l2; in sdl_set_uri_credentials() local
243 l2 = s ? (size_t)(s - (char*)uri) : strlen((char*)uri); in sdl_set_uri_credentials()
244 if (l1 != l2) { in sdl_set_uri_credentials()
253 if (l2 > 11 && in sdl_set_uri_credentials()
255 uri[l2-3] == ':' && in sdl_set_uri_credentials()
256 uri[l2-2] == '8' && in sdl_set_uri_credentials()
257 uri[l2-1] == '0') { in sdl_set_uri_credentials()
258 l2 -= 3; in sdl_set_uri_credentials()
269 if (l2 > 13 && in sdl_set_uri_credentials()
271 uri[l2 in sdl_set_uri_credentials()
[all...]
H A Dphp_http.c(last modified 18/09/2020 08:00)325 int l2 = strlen(domain); in in_domain() local
326 if (l1 > l2) { in in_domain()
327 return strcmp(host+l1-l2,domain) == 0; in in_domain()
/php-7.4/
H A Drun-tests.php(last modified 19/05/2020 08:00)2773 function comp_line($l1, $l2, $is_reg)
2776 return preg_match('/^' . $l1 . '$/s', $l2);
2778 return !strcmp($l1, $l2);
2861 $l2 = -2; variable
2869 } else if ($k2 == $l2 + 1 || $k1 === null) {
2870 $l2 = $k2; variable
2878 $l2 = $k2; variable
/php-7.4/Zend/
H A Dzend_operators.c(last modified 13/10/2020 08:00)1168 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function() local
1173 } else if (l2 == 0) { in pow_function()
1184 ZEND_SIGNED_MULTIPLY_LONG(l1, l2, l1, dval, overflow); in pow_function()
1186 ZVAL_DOUBLE(result, dval * pow(l2, i)); in pow_function()
1191 ZEND_SIGNED_MULTIPLY_LONG(l2, l2, l2, dval, overflow); in pow_function()
/php-7.4/ext/exif/
H A Dexif.c(last modified 01/09/2020 08:00)3797 size_t l1, l2=0; in exif_process_APP12() local
3802 l2 = php_strnlen(buffer+2+l1+1, length-2-l1-1); in exif_process_APP12()
3803 exif_iif_add_tag(ImageInfo, SECTION_APP12, "Info", TAG_NONE, TAG_FMT_STRING, l2, buffer+2+l1+1, l2); in exif_process_APP12()
3807 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Process section APP12 with l1=%d, l2=%d done", l1, l2); in exif_process_APP12()
/php-7.4/ext/imap/
H A Dphp_imap.c(last modified 23/10/2020 08:00)3886 int l = strlen(tmp) - 2, l2; in PHP_FUNCTION() local
3895 l2 = strlen(custom_headers_param->value); in PHP_FUNCTION()
3896 tempstring = erealloc(tempstring, l + l2 + CRLF_LEN + 1); in PHP_FUNCTION()
3897 memcpy(tempstring + l, custom_headers_param->value, l2); in PHP_FUNCTION()
3898 memcpy(tempstring + l + l2, CRLF, CRLF_LEN); in PHP_FUNCTION()
3899 l += l2 + CRLF_LEN; in PHP_FUNCTION()

Completed in 117 milliseconds