Home
last modified time | relevance | path

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

/PHP-5.6/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.6/Zend/
H A Dzend_operators.c2186 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp()
2188 return (len1 - len2); in zend_binary_strcmp()
2204 return (MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp()
2220 len = MIN(len1, len2); in zend_binary_strcasecmp()
2229 return len1 - len2; in zend_binary_strcasecmp()
2241 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
2250 return MIN(length, len1) - MIN(length, len2); in zend_binary_strncasecmp()
2263 len = MIN(len1, len2); in zend_binary_strcasecmp_l()
2272 return len1 - len2; in zend_binary_strcasecmp_l()
2284 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l()
[all …]
H A Dzend_operators.h365 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2);
366 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length);
367 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2);
368 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint len…
369 ZEND_API int zend_binary_strncasecmp_l(const char *s1, uint len1, const char *s2, uint len2, uint l…
/PHP-5.6/ext/phar/
H A Dphar_internal.h539 size_t len1, len2; in phar_set_inode() local
543 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
544 memcpy(tmp, entry->phar->fname, len1); in phar_set_inode()
546 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
547 memcpy(tmp + len1, entry->filename, len2); in phar_set_inode()
/PHP-5.6/ext/openssl/
H A Dopenssl.c4914 int i, len1, len2, *eksl, nkeys; in PHP_FUNCTION() local
4987 !EVP_SealFinal(&ctx, buf + len1, &len2)) { in PHP_FUNCTION()
4994 if (len1 + len2 > 0) { in PHP_FUNCTION()
4996 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
4997 buf = erealloc(buf, len1 + len2 + 1); in PHP_FUNCTION()
4998 ZVAL_STRINGL(sealdata, (char *)buf, len1 + len2, 0); in PHP_FUNCTION()
5020 RETVAL_LONG(len1 + len2); in PHP_FUNCTION()
5045 int len1, len2; in PHP_FUNCTION() local
5078 if (!EVP_OpenFinal(&ctx, buf + len1, &len2) || (len1 + len2 == 0)) { in PHP_FUNCTION()
5083 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
[all …]
/PHP-5.6/ext/standard/
H A Dstring.c297 int len1, len2; in php_spn_common_handler() local
306 len = len1; in php_spn_common_handler()
312 start += len1; in php_spn_common_handler()
316 } else if (start > len1) { in php_spn_common_handler()
321 len += (len1 - start); in php_spn_common_handler()
327 if (len > len1 - start) { in php_spn_common_handler()
328 len = len1 - start; in php_spn_common_handler()
3229 char *end1 = (char *) txt1 + len1;
3254 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
3260 if ((pos1 + max < len1) && (pos2 + max < len2)) {
[all …]
/PHP-5.6/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.6/ext/odbc/
H A Dphp_odbc.c1568 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local
1588 &len1, in PHP_FUNCTION()
1599 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()

Completed in 76 milliseconds