Home
last modified time | relevance | path

Searched refs:l1 (Results 1 – 16 of 16) sorted by relevance

/PHP-7.1/ext/standard/tests/file/windows_links/
H A Dbug76335.phpt18 $l1 = $d1 . DIRECTORY_SEPARATOR . "b";
29 var_dump(link($d1 . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "file", $l1));
41 $l1 = $d1 . DIRECTORY_SEPARATOR . "b";
44 unlink($l1);
/PHP-7.1/ext/standard/
H A Dlevenshtein.c30 static zend_long reference_levdist(const char *s1, size_t l1, const char *s2, size_t l2, zend_long … in reference_levdist() argument
36 if (l1 == 0) { in reference_levdist()
40 return l1 * cost_del; in reference_levdist()
43 if ((l1 > LEVENSHTEIN_MAX_LENGTH) || (l2 > LEVENSHTEIN_MAX_LENGTH)) { in reference_levdist()
52 for (i1 = 0; i1 < l1 ; i1++) { in reference_levdist()
H A Dversioning.c132 long l1, l2; in php_version_compare() local
163 l1 = strtol(p1, NULL, 10); in php_version_compare()
165 compare = sign(l1 - l2); in php_version_compare()
H A Ddns.c566 int l1 = 0, l2 = 0; in php_parserr() local
575 while (l1 < dlen) { in php_parserr()
576 n = cp[l1]; in php_parserr()
577 if ((l1 + n) >= dlen) { in php_parserr()
579 n = dlen - (l1 + 1); in php_parserr()
582 memcpy(ZSTR_VAL(tp) + l2 , cp + l1 + 1, n); in php_parserr()
583 add_next_index_stringl(&entries, (char *) cp + l1 + 1, n); in php_parserr()
585 l1 = l1 + n + 1; in php_parserr()
H A Darray.c147 zend_long l1, l2; in php_array_key_compare() local
154 l1 = (zend_long)f->h; in php_array_key_compare()
175 l1 = 0; 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
230 l1 = f->key->len; in php_array_key_compare_string_case()
233 l1 = buf1 + sizeof(buf1) - 1 - s1; in php_array_key_compare_string_case()
257 size_t l1, l2; in php_array_key_compare_string() local
263 l1 = f->key->len; in php_array_key_compare_string()
290 size_t l1, l2; in php_array_key_compare_string_natural_general() local
[all …]
/PHP-7.1/main/
H A Dmergesort.c110 register u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2; in php_mergesort() local
142 f2 = l1 = list1 + (p2 - list2); in php_mergesort()
146 while (f1 < l1 && f2 < l2) { in php_mergesort()
149 b = f1, t = l1; in php_mergesort()
218 } else if (f1 < l1) { in php_mergesort()
220 ICOPY_LIST(f1, tp2, l1); in php_mergesort()
222 CCOPY_LIST(f1, tp2, l1); in php_mergesort()
/PHP-7.1/ext/oci8/tests/
H A Dpecl_bug8816.phpt13 $create_1 = "CREATE TABLE t1 (id INTEGER, l1 LONG)";
47 t1.l1, t2.l2
/PHP-7.1/ext/phar/phar/
H A Dclicommand.inc218 function cli_get_SP2($l1, $arg_inf)
220 return str_repeat(' ', $l1 + 2 + 4 + 8);
223 function cli_get_SP3($l1, $l2, $arg_inf)
225 return str_repeat(' ', $l1 + 2 + 4 + 8 + 2 + $l2 + 2);
H A Dpharcommand.inc28 public function cli_get_SP2($l1, $arg_inf)
30 return str_repeat(' ', $l1 + 2 + 4 + 9);
37 * @param string $l1 Eleven
42 function cli_get_SP3($l1, $l2, $arg_inf)
44 return str_repeat(' ', $l1 + 2 + 4 + 9 + 2 + $l2 + 2);
/PHP-7.1/ext/soap/
H A Dphp_sdl.c230 size_t l1, l2; in sdl_set_uri_credentials() local
243 if (l1 != l2) { in sdl_set_uri_credentials()
245 if (l1 > 11 && in sdl_set_uri_credentials()
247 ctx->sdl->source[l1-3] == ':' && in sdl_set_uri_credentials()
248 ctx->sdl->source[l1-2] == '8' && in sdl_set_uri_credentials()
249 ctx->sdl->source[l1-1] == '0') { in sdl_set_uri_credentials()
250 l1 -= 3; in sdl_set_uri_credentials()
260 if (l1 > 13 && in sdl_set_uri_credentials()
262 ctx->sdl->source[l1-4] == ':' && in sdl_set_uri_credentials()
266 l1 -= 4; in sdl_set_uri_credentials()
[all …]
H A Dphp_http.c324 int l1 = strlen(host); in in_domain() local
326 if (l1 > l2) { in in_domain()
327 return strcmp(host+l1-l2,domain) == 0; in in_domain()
/PHP-7.1/
H A Drun-tests.php2213 function comp_line($l1, $l2, $is_reg) argument
2216 return preg_match('/^'. $l1 . '$/s', $l2);
2218 return !strcmp($l1, $l2);
2296 reset($old1); $k1 = key($old1); $l1 = -2;
2301 if ($k1 == $l1 + 1 || $k2 === null) {
2302 $l1 = $k1;
2310 $l1 = $k1;
H A DREADME.PARAMETER_PARSING_API153 zend_long l1, l2, l3;
165 "lll", &l1, &l2, &l3) == SUCCESS) {
/PHP-7.1/ext/odbc/
H A Dbirdstep.c519 goto l1; in PHP_FUNCTION()
522 l1: in PHP_FUNCTION()
/PHP-7.1/ext/exif/
H A Dexif.c3309 size_t l1, l2=0; in exif_process_APP12() local
3311 if ((l1 = php_strnlen(buffer+2, length-2)) > 0) { in exif_process_APP12()
3312 exif_iif_add_tag(ImageInfo, SECTION_APP12, "Company", TAG_NONE, TAG_FMT_STRING, l1, buffer+2, l1); in exif_process_APP12()
3313 if (length > 2+l1+1) { in exif_process_APP12()
3314 l2 = php_strnlen(buffer+2+l1+1, length-2-l1-1); in exif_process_APP12()
3315 …exif_iif_add_tag(ImageInfo, SECTION_APP12, "Info", TAG_NONE, TAG_FMT_STRING, l2, buffer+2+l1+1, l2… in exif_process_APP12()
3319 …cref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Process section APP12 with l1=%d, l2=%d done", l1, l2); in exif_process_APP12()
/PHP-7.1/Zend/
H A Dzend_operators.c1081 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function() local
1097 ZEND_SIGNED_MULTIPLY_LONG(l1, l2, l1, dval, overflow); in pow_function()
1106 ZVAL_DOUBLE(result, (double)l1 * pow(dval, i)); in pow_function()
1112 ZVAL_LONG(result, l1); in pow_function()

Completed in 71 milliseconds