/PHP-5.3/ext/standard/ |
H A D | levenshtein.c | 30 static int reference_levdist(const char *s1, int l1, const char *s2, int l2, int cost_ins, int cost… 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(int), 0); in reference_levdist() 46 p2 = safe_emalloc((l2 + 1), sizeof(int), 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 D | versioning.c | 132 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 D | math.c | 613 long l1 = 1, l2 = Z_LVAL_P(zbase), i = Z_LVAL_P(zexp); in PHP_FUNCTION() local 617 } else if (l2 == 0) { in PHP_FUNCTION() 628 ZEND_SIGNED_MULTIPLY_LONG(l1,l2,l1,dval,overflow); in PHP_FUNCTION() 629 if (overflow) RETURN_DOUBLE(dval * pow(l2,i)); in PHP_FUNCTION() 632 ZEND_SIGNED_MULTIPLY_LONG(l2,l2,l2,dval,overflow); in PHP_FUNCTION()
|
/PHP-5.3/main/ |
H A D | mergesort.c | 137 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; in setup() local [all …]
|
/PHP-5.3/ext/oci8/tests/ |
H A D | pecl_bug8816.phpt | 14 $create_2 = "CREATE TABLE t2 (id INTEGER, l2 LONG)"; 47 t1.l1, t2.l2
|
/PHP-5.3/ext/zlib/ |
H A D | zlib.c | 495 unsigned long l2; in PHP_FUNCTION() local 507 l2 = data_len + (data_len / PHP_ZLIB_MODIFIER) + 15 + 1; /* room for \0 */ in PHP_FUNCTION() 508 s2 = (char *) emalloc(l2); in PHP_FUNCTION() 514 status = compress2(s2, &l2, data, data_len, level); in PHP_FUNCTION() 516 status = compress(s2, &l2, data, data_len); in PHP_FUNCTION() 520 s2 = erealloc(s2, l2 + 1); in PHP_FUNCTION() 521 s2[l2] = '\0'; in PHP_FUNCTION() 522 RETURN_STRINGL(s2, l2, 0); in PHP_FUNCTION()
|
/PHP-5.3/ext/phar/phar/ |
H A D | clicommand.inc | 223 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 D | pharcommand.inc | 38 * @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-5.3/ |
H A D | run-tests.php | 2104 function comp_line($l1, $l2, $is_reg) argument 2107 return preg_match('/^'. $l1 . '$/s', $l2); 2109 return !strcmp($l1, $l2); 2188 reset($old2); $k2 = key($old2); $l2 = -2; 2196 } else if ($k2 == $l2 + 1 || $k1 === null) { 2197 $l2 = $k2; 2205 $l2 = $k2;
|
H A D | README.PARAMETER_PARSING_API | 138 long l1, l2, l3; 150 "lll", &l1, &l2, &l3) == SUCCESS) {
|
/PHP-5.3/ext/soap/ |
H A D | php_sdl.c | 232 int l1, l2; in sdl_set_uri_credentials() local 245 if (l1 != l2) { in sdl_set_uri_credentials() 254 if (l2 > 11 && in sdl_set_uri_credentials() 256 uri[l2-3] == ':' && in sdl_set_uri_credentials() 257 uri[l2-2] == '8' && in sdl_set_uri_credentials() 258 uri[l2-1] == '0') { in sdl_set_uri_credentials() 259 l2 -= 3; in sdl_set_uri_credentials() 270 if (l2 > 13 && in sdl_set_uri_credentials() 272 uri[l2-4] == ':' && in sdl_set_uri_credentials() 273 uri[l2-3] == '4' && in sdl_set_uri_credentials() [all …]
|
H A D | php_http.c | 256 int l2 = strlen(domain); in in_domain() local 257 if (l1 > l2) { in in_domain() 258 return strcmp(host+l1-l2,domain) == 0; in in_domain()
|
/PHP-5.3/ext/imap/ |
H A D | php_imap.c | 3795 int l = strlen(tmp) - 2, l2; in PHP_FUNCTION() local 3804 l2 = strlen(custom_headers_param->value); in PHP_FUNCTION() 3805 tempstring = erealloc(tempstring, l + l2 + CRLF_LEN + 1); in PHP_FUNCTION() 3806 memcpy(tempstring + l, custom_headers_param->value, l2); in PHP_FUNCTION() 3807 memcpy(tempstring + l + l2, CRLF, CRLF_LEN); in PHP_FUNCTION() 3808 l += l2 + CRLF_LEN; in PHP_FUNCTION()
|
/PHP-5.3/ext/exif/ |
H A D | exif.c | 3281 size_t l1, l2=0; in exif_process_APP12() local 3286 l2 = php_strnlen(buffer+2+l1+1, length-2-l1-1); in exif_process_APP12() 3287 …exif_iif_add_tag(ImageInfo, SECTION_APP12, "Info", TAG_NONE, TAG_FMT_STRING, l2, buffer+2+l1+1 TSR… in exif_process_APP12() 3291 …cref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Process section APP12 with l1=%d, l2=%d done", l1, l2); in exif_process_APP12()
|
/PHP-5.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 25043 struct flock l2; 25044 l2 = *p; 25045 osFcntl(fd, F_GETLK, &l2); 25046 if( l2.l_type==F_RDLCK ){ 25048 }else if( l2.l_type==F_WRLCK ){ 25050 }else if( l2.l_type==F_UNLCK ){ 25056 zType, (int)l2.l_start, (int)l2.l_len, (int)l2.l_pid);
|