Home
last modified time | relevance | path

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

/PHP-5.3/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.c284 int len1, len2; in bc_multiply() local
288 len1 = n1->n_len + n1->n_scale; in bc_multiply()
294 _bc_rec_mul (n1, len1, n2, len2, &pval, full_scale TSRMLS_CC); in bc_multiply()
299 pval->n_len = len2 + len1 + 1 - full_scale; in bc_multiply()
/PHP-5.3/Zend/
H A Dzend_operators.h314 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2);
315 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length);
316 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2);
317 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint len…
H A Dzend_operators.c1904 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ in zend_binary_strcmp() argument
1908 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp()
1910 return (len1 - len2); in zend_binary_strcmp()
1917 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length)… in zend_binary_strncmp() argument
1921 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); in zend_binary_strncmp()
1923 return (MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp()
1930 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ in zend_binary_strcasecmp() argument
1935 len = MIN(len1, len2); in zend_binary_strcasecmp()
1945 return len1 - len2; in zend_binary_strcasecmp()
1954 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
[all …]
/PHP-5.3/ext/openssl/
H A Dopenssl.c4212 int i, len1, len2, *eksl, nkeys; in PHP_FUNCTION() local
4283 EVP_SealFinal(&ctx, buf + len1, &len2); in PHP_FUNCTION()
4285 if (len1 + len2 > 0) { in PHP_FUNCTION()
4287 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
4288 buf = erealloc(buf, len1 + len2 + 1); in PHP_FUNCTION()
4289 ZVAL_STRINGL(sealdata, (char *)buf, len1 + len2, 0); in PHP_FUNCTION()
4311 RETVAL_LONG(len1 + len2); in PHP_FUNCTION()
4335 int len1, len2; in PHP_FUNCTION() local
4368 if (!EVP_OpenFinal(&ctx, buf + len1, &len2) || (len1 + len2 == 0)) { in PHP_FUNCTION()
4386 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/standard/
H A Dstring.c220 int len1, len2; in php_spn_common_handler() local
229 len = len1; in php_spn_common_handler()
235 start += len1; in php_spn_common_handler()
239 } else if (start > len1) { in php_spn_common_handler()
244 len += (len1 - start); in php_spn_common_handler()
250 if (len > len1 - start) { in php_spn_common_handler()
251 len = len1 - start; in php_spn_common_handler()
2873 char *end1 = (char *) txt1 + len1;
2898 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
2904 if ((pos1 + max < len1) && (pos2 + max < len2)) {
[all …]
/PHP-5.3/ext/mbstring/oniguruma/
H A Dregexec.c1037 int len1, len2; in string_cmp_ic() local
1043 len1 = ONIGENC_MBC_TO_NORMALIZE(enc, ambig_flag, &s1, end, buf1); in string_cmp_ic()
1045 if (len1 != len2) return 0; in string_cmp_ic()
1048 while (len1-- > 0) { in string_cmp_ic()
/PHP-5.3/ext/odbc/
H A Dphp_odbc.c1524 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local
1544 &len1, in PHP_FUNCTION()
1555 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()

Completed in 87 milliseconds