Home
last modified time | relevance | path

Searched refs:len1 (Results 1 – 9 of 9) sorted by relevance

/PHP-5.5/ext/bcmath/libbcmath/src/
H A Ddiv.c94 unsigned int len1, len2, scale2, qdigits, extra, count; in bc_divide() local
124 len1 = n1->n_len + scale2; in bc_divide()
148 if (len2 > len1+scale) in bc_divide()
156 if (len2>len1) in bc_divide()
159 qdigits = len1-len2+scale+1; in bc_divide()
177 _one_mult (num1, len1+scale1+extra+1, norm, num1); in bc_divide()
183 if (len2 > len1) in bc_divide()
184 qptr = (unsigned char *) qval->n_value+len2-len1; in bc_divide()
189 while (qdig <= len1+scale-len2) in bc_divide()
H A Drecmul.c281 int len1, len2; in bc_multiply() local
285 len1 = n1->n_len + n1->n_scale; in bc_multiply()
291 _bc_rec_mul (n1, len1, n2, len2, &pval, full_scale TSRMLS_CC); in bc_multiply()
296 pval->n_len = len2 + len1 + 1 - full_scale; in bc_multiply()
/PHP-5.5/Zend/
H A Dzend_operators.c2014 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp()
2016 return (len1 - len2); in zend_binary_strcmp()
2032 return (MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp()
2048 len = MIN(len1, len2); in zend_binary_strcasecmp()
2057 return len1 - len2; in zend_binary_strcasecmp()
2069 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
2078 return MIN(length, len1) - MIN(length, len2); in zend_binary_strncasecmp()
2091 len = MIN(len1, len2); in zend_binary_strcasecmp_l()
2100 return len1 - len2; in zend_binary_strcasecmp_l()
2112 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l()
[all …]
H A Dzend_operators.h364 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2);
365 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length);
366 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2);
367 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint len…
368 ZEND_API int zend_binary_strncasecmp_l(const char *s1, uint len1, const char *s2, uint len2, uint l…
/PHP-5.5/ext/phar/
H A Dphar_internal.h564 size_t len1, len2; in phar_set_inode() local
568 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
569 memcpy(tmp, entry->phar->fname, len1); in phar_set_inode()
571 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
572 memcpy(tmp + len1, entry->filename, len2); in phar_set_inode()
/PHP-5.5/ext/openssl/
H A Dopenssl.c4349 int i, len1, len2, *eksl, nkeys; in PHP_FUNCTION() local
4423 EVP_SealFinal(&ctx, buf + len1, &len2); in PHP_FUNCTION()
4425 if (len1 + len2 > 0) { in PHP_FUNCTION()
4427 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
4428 buf = erealloc(buf, len1 + len2 + 1); in PHP_FUNCTION()
4429 ZVAL_STRINGL(sealdata, (char *)buf, len1 + len2, 0); in PHP_FUNCTION()
4451 RETVAL_LONG(len1 + len2); in PHP_FUNCTION()
4476 int len1, len2; in PHP_FUNCTION() local
4509 if (!EVP_OpenFinal(&ctx, buf + len1, &len2) || (len1 + len2 == 0)) { in PHP_FUNCTION()
4514 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/standard/
H A Dstring.c307 int len1, len2; in php_spn_common_handler() local
316 len = len1; in php_spn_common_handler()
322 start += len1; in php_spn_common_handler()
326 } else if (start > len1) { in php_spn_common_handler()
331 len += (len1 - start); in php_spn_common_handler()
337 if (len > len1 - start) { in php_spn_common_handler()
338 len = len1 - start; in php_spn_common_handler()
3223 char *end1 = (char *) txt1 + len1;
3248 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
3254 if ((pos1 + max < len1) && (pos2 + max < len2)) {
[all …]
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregexec.c982 int len1, len2; in string_cmp_ic() local
988 len1 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s1, end1, buf1); in string_cmp_ic()
990 if (len1 != len2) return 0; in string_cmp_ic()
993 while (len1-- > 0) { in string_cmp_ic()
/PHP-5.5/ext/odbc/
H A Dphp_odbc.c1557 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local
1577 &len1, in PHP_FUNCTION()
1588 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()

Completed in 88 milliseconds