Home
last modified time | relevance | path

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

/php-src/ext/bcmath/libbcmath/src/
H A Ddiv.c85 unsigned int len1, len2, scale2, qdigits, extra, count; in bc_divide() local
115 len1 = n1->n_len + scale2; in bc_divide()
134 if (len2 > len1 + scale) { in bc_divide()
139 if (len2 > len1) { in bc_divide()
143 qdigits = len1 - len2 + scale + 1; in bc_divide()
159 _one_mult(num1, len1 + scale1 + extra + 1, norm, num1); in bc_divide()
165 if (len2 > len1) { in bc_divide()
166 qptr = (unsigned char *) qval->n_value + len2 - len1; in bc_divide()
172 while (qdig <= len1 + scale - len2) { in bc_divide()
H A Drecmul.c262 size_t len1, len2; in bc_multiply() local
266 len1 = n1->n_len + n1->n_scale; in bc_multiply()
272 _bc_rec_mul(n1, len1, n2, len2, &pval); in bc_multiply()
277 pval->n_len = len2 + len1 + 1 - full_scale; in bc_multiply()
/php-src/ext/date/lib/
H A Dtimelib.c260 size_t len1 = strlen(s1); in timelib_strcasecmp() local
268 len = MIN(len1, len2); in timelib_strcasecmp()
277 return (int)(len1 - len2); in timelib_strcasecmp()
283 size_t len1 = strlen(s1); in timelib_strncasecmp() local
290 len = MIN(length, MIN(len1, len2)); in timelib_strncasecmp()
299 return (int)(MIN(length, len1) - MIN(length, len2)); in timelib_strncasecmp()
/php-src/ext/phar/
H A Dphar_internal.h509 size_t len1, len2; in phar_set_inode() local
513 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
515 memcpy(tmp, entry->phar->fname, len1); in phar_set_inode()
518 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
519 memcpy(tmp + len1, entry->filename, len2); in phar_set_inode()
/php-src/Zend/
H A Dzend_operators.h474 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t l…
475 ZEND_API int ZEND_FASTCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t …
476 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size…
477 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, siz…
478 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, si…
479 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, s…
H A Dzend_operators.c3152 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp()
3154 return ZEND_THREEWAY_COMPARE(len1, len2); in zend_binary_strcmp()
3168 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); in zend_binary_strncmp()
3186 len = MIN(len1, len2); in zend_binary_strcasecmp()
3195 return ZEND_THREEWAY_COMPARE(len1, len2); in zend_binary_strcasecmp()
3207 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
3216 return ZEND_THREEWAY_COMPARE(MIN(length, len1), MIN(length, len2)); in zend_binary_strncasecmp()
3229 len = MIN(len1, len2); in zend_binary_strcasecmp_l()
3238 return ZEND_THREEWAY_COMPARE(len1, len2); in zend_binary_strcasecmp_l()
3250 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l()
[all …]
/php-src/ext/sodium/
H A Dlibsodium.c273 size_t len1; in PHP_FUNCTION() local
277 &buf1, &len1, in PHP_FUNCTION()
282 if (len1 != len2) { in PHP_FUNCTION()
286 RETURN_LONG(sodium_memcmp(buf1, buf2, len1)); in PHP_FUNCTION()
3003 size_t len1; in PHP_FUNCTION() local
3007 &buf1, &len1, in PHP_FUNCTION()
3012 if (len1 != len2) { in PHP_FUNCTION()
3017 (const unsigned char *) buf2, (size_t) len1)); in PHP_FUNCTION()
/php-src/ext/openssl/
H A Dopenssl.c7059 int i, len1, len2, *eksl, nkeys, iv_len; in PHP_FUNCTION() local
7128 !EVP_SealUpdate(ctx, buf, &len1, (unsigned char *)data, (int)data_len) || in PHP_FUNCTION()
7129 !EVP_SealFinal(ctx, buf + len1, &len2)) { in PHP_FUNCTION()
7137 if (len1 + len2 > 0) { in PHP_FUNCTION()
7138 ZEND_TRY_ASSIGN_REF_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0)); in PHP_FUNCTION()
7161 RETVAL_LONG(len1 + len2); in PHP_FUNCTION()
7184 int len1, len2, cipher_iv_len; in PHP_FUNCTION() local
7236 EVP_OpenUpdate(ctx, buf, &len1, (unsigned char *)data, (int)data_len) && in PHP_FUNCTION()
7237 EVP_OpenFinal(ctx, buf + len1, &len2) && (len1 + len2 > 0)) { in PHP_FUNCTION()
7238 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
[all …]
/php-src/ext/standard/
H A Dstring.c3617 static void php_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *p… argument
3620 const char *end1 = (char *) txt1 + len1;
3641 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2) argument
3646 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max, &count);
3652 if ((pos1 + max < len1) && (pos2 + max < len2)) {
3653 sum += php_similar_char(txt1 + pos1 + max, len1 - pos1 - max,
/php-src/ext/odbc/
H A Dphp_odbc.c1137 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local
1159 &len1, in PHP_FUNCTION()
1174 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()

Completed in 82 milliseconds