Home
last modified time | relevance | path

Searched refs:l2 (Results 1 – 17 of 17) sorted by relevance

/PHP-7.0/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
37 return l2 * cost_ins; in reference_levdist()
39 if (l2 == 0) { in reference_levdist()
43 if ((l1 > LEVENSHTEIN_MAX_LENGTH) || (l2 > LEVENSHTEIN_MAX_LENGTH)) { in reference_levdist()
46 p1 = safe_emalloc((l2 + 1), sizeof(zend_long), 0); in reference_levdist()
47 p2 = safe_emalloc((l2 + 1), sizeof(zend_long), 0); in reference_levdist()
49 for (i2 = 0; i2 <= l2; i2++) { in reference_levdist()
55 for (i2 = 0; i2 < l2; i2++) { in reference_levdist()
71 c0 = p1[l2]; in reference_levdist()
H A Dversioning.c132 long l1, l2; in php_version_compare() local
164 l2 = strtol(p2, NULL, 10); in php_version_compare()
165 compare = sign(l1 - l2); in php_version_compare()
H A Ddns.c556 int l1 = 0, l2 = 0; in php_parserr() local
572 memcpy(ZSTR_VAL(tp) + l2 , cp + l1 + 1, n); in php_parserr()
576 l2 = l2 + n; in php_parserr()
578 ZSTR_VAL(tp)[l2] = '\0'; in php_parserr()
579 ZSTR_LEN(tp) = l2; in php_parserr()
H A Darray.c148 zend_long l1, l2; in php_array_key_compare() local
162 l2 = 0; in php_array_key_compare()
169 l2 = (zend_long)s->h; 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()
258 size_t l1, l2; in php_array_key_compare_string() local
271 l2 = s->key->len; in php_array_key_compare_string()
291 size_t l1, l2; in php_array_key_compare_string_natural_general() local
[all …]
/PHP-7.0/main/
H A Dmergesort.c137 l2 = list1; in php_mergesort()
141 f1 = l2; in php_mergesort()
145 l2 = list1 + (p2 - list2); in php_mergesort()
146 while (f1 < l1 && f2 < l2) { in php_mergesort()
153 b = f2, t = l2; in php_mergesort()
213 if (f2 < l2) { in php_mergesort()
215 ICOPY_LIST(f2, tp2, l2); in php_mergesort()
217 CCOPY_LIST(f2, tp2, l2); in php_mergesort()
224 *p1 = l2; in php_mergesort()
268 u_char *f1, *f2, *s, *l2, *last, *p2, tmp; in setup() local
[all …]
/PHP-7.0/ext/oci8/tests/
H A Dpecl_bug8816.phpt14 $create_2 = "CREATE TABLE t2 (id INTEGER, l2 LONG)";
47 t1.l1, t2.l2
/PHP-7.0/ext/openssl/tests/
H A Dprivate_rsa_2048_pass_php.key19 c+oylG4cNBaJCVyb6nsiBYK2XE/Llfjsj/l2+SRfIZOwmvhL+CG7z7okPEiNp7EB
/PHP-7.0/ext/phar/phar/
H A Dclicommand.inc223 function cli_get_SP3($l1, $l2, $arg_inf)
225 return str_repeat(' ', $l1 + 2 + 4 + 8 + 2 + $l2 + 2);
257 $l2 = strlen($sp2);
258 $inf .= $this->cli_wordwrap($sp . $arg . $conf['inf'], $l2, $sp2) . "\n";
H A Dpharcommand.inc38 * @param string $l2 Twelve
42 function cli_get_SP3($l1, $l2, $arg_inf)
44 return str_repeat(' ', $l1 + 2 + 4 + 9 + 2 + $l2 + 2);
/PHP-7.0/
H A Drun-tests.php2235 function comp_line($l1, $l2, $is_reg) argument
2238 return preg_match('/^'. $l1 . '$/s', $l2);
2240 return !strcmp($l1, $l2);
2319 reset($old2); $k2 = key($old2); $l2 = -2;
2327 } else if ($k2 == $l2 + 1 || $k1 === null) {
2328 $l2 = $k2;
2336 $l2 = $k2;
H A DREADME.PARAMETER_PARSING_API153 zend_long l1, l2, l3;
165 "lll", &l1, &l2, &l3) == SUCCESS) {
/PHP-7.0/ext/soap/
H A Dphp_sdl.c230 int l1, l2; in sdl_set_uri_credentials() local
243 if (l1 != l2) { in sdl_set_uri_credentials()
252 if (l2 > 11 && in sdl_set_uri_credentials()
254 uri[l2-3] == ':' && in sdl_set_uri_credentials()
255 uri[l2-2] == '8' && in sdl_set_uri_credentials()
256 uri[l2-1] == '0') { in sdl_set_uri_credentials()
257 l2 -= 3; in sdl_set_uri_credentials()
268 if (l2 > 13 && in sdl_set_uri_credentials()
270 uri[l2-4] == ':' && in sdl_set_uri_credentials()
271 uri[l2-3] == '4' && in sdl_set_uri_credentials()
[all …]
H A Dphp_http.c325 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.0/Zend/
H A Dzend_operators.c1067 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function() local
1072 } else if (l2 == 0) { in pow_function()
1083 ZEND_SIGNED_MULTIPLY_LONG(l1, l2, l1, dval, overflow); in pow_function()
1085 ZVAL_DOUBLE(result, dval * pow(l2, i)); in pow_function()
1090 ZEND_SIGNED_MULTIPLY_LONG(l2, l2, l2, dval, overflow); in pow_function()
/PHP-7.0/ext/imap/
H A Dphp_imap.c3844 int l = strlen(tmp) - 2, l2; in PHP_FUNCTION() local
3853 l2 = strlen(custom_headers_param->value); in PHP_FUNCTION()
3854 tempstring = erealloc(tempstring, l + l2 + CRLF_LEN + 1); in PHP_FUNCTION()
3855 memcpy(tempstring + l, custom_headers_param->value, l2); in PHP_FUNCTION()
3856 memcpy(tempstring + l + l2, CRLF, CRLF_LEN); in PHP_FUNCTION()
3857 l += l2 + CRLF_LEN; in PHP_FUNCTION()
/PHP-7.0/ext/exif/
H A Dexif.c3290 size_t l1, l2=0; in exif_process_APP12() local
3295 l2 = php_strnlen(buffer+2+l1+1, length-2-l1-1); in exif_process_APP12()
3296 exif_iif_add_tag(ImageInfo, SECTION_APP12, "Info", TAG_NONE, TAG_FMT_STRING, l2, buffer+2+l1+1); in exif_process_APP12()
3300 …cref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Process section APP12 with l1=%d, l2=%d done", l1, l2); in exif_process_APP12()
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3.c30073 struct flock l2;
30074 l2 = *p;
30075 osFcntl(fd, F_GETLK, &l2);
30076 if( l2.l_type==F_RDLCK ){
30078 }else if( l2.l_type==F_WRLCK ){
30080 }else if( l2.l_type==F_UNLCK ){
30086 zType, (int)l2.l_start, (int)l2.l_len, (int)l2.l_pid);

Completed in 782 milliseconds