Home
last modified time | relevance | path

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

/PHP-7.2/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()
146 if (len2 > len1+scale) in bc_divide()
154 if (len2>len1) in bc_divide()
157 qdigits = len1-len2+scale+1; in bc_divide()
174 _one_mult (num1, len1+scale1+extra+1, norm, num1); in bc_divide()
180 if (len2 > len1) in bc_divide()
181 qptr = (unsigned char *) qval->n_value+len2-len1; in bc_divide()
186 while (qdig <= len1+scale-len2) in bc_divide()
H A Drecmul.c272 int len1, len2; in bc_multiply() local
276 len1 = n1->n_len + n1->n_scale; in bc_multiply()
282 _bc_rec_mul (n1, len1, n2, len2, &pval, full_scale); in bc_multiply()
287 pval->n_len = len2 + len1 + 1 - full_scale; in bc_multiply()
/PHP-7.2/ext/date/lib/
H A Dtimelib.c235 size_t len1 = strlen(s1); in timelib_strcasecmp() local
243 len = MIN(len1, len2); in timelib_strcasecmp()
252 return (int)(len1 - len2); in timelib_strcasecmp()
258 size_t len1 = strlen(s1); in timelib_strncasecmp() local
265 len = MIN(length, MIN(len1, len2)); in timelib_strncasecmp()
274 return (int)(MIN(length, len1) - MIN(length, len2)); in timelib_strncasecmp()
/PHP-7.2/ext/phar/
H A Dphar_internal.h512 size_t len1, len2; in phar_set_inode() local
516 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
517 memcpy(tmp, entry->phar->fname, len1); in phar_set_inode()
519 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
520 memcpy(tmp + len1, entry->filename, len2); in phar_set_inode()
/PHP-7.2/Zend/
H A Dzend_operators.c2636 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp()
2638 return (int)(len1 - len2); in zend_binary_strcmp()
2654 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp()
2670 len = MIN(len1, len2); in zend_binary_strcasecmp()
2679 return (int)(len1 - len2); in zend_binary_strcasecmp()
2691 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp()
2700 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncasecmp()
2713 len = MIN(len1, len2); in zend_binary_strcasecmp_l()
2722 return (int)(len1 - len2); in zend_binary_strcasecmp_l()
2734 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l()
[all …]
H A Dzend_operators.h357 ZEND_API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t l…
358 ZEND_API int ZEND_FASTCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t …
359 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size…
360 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, siz…
361 ZEND_API int ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, si…
362 ZEND_API int ZEND_FASTCALL zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, s…
/PHP-7.2/ext/sodium/
H A Dlibsodium.c732 size_t len1; in PHP_FUNCTION() local
736 &buf1, &len1, in PHP_FUNCTION()
741 if (len1 != len2) { in PHP_FUNCTION()
745 RETURN_LONG(sodium_memcmp(buf1, buf2, len1)); in PHP_FUNCTION()
3165 size_t len1; in PHP_FUNCTION() local
3169 &buf1, &len1, in PHP_FUNCTION()
3174 if (len1 != len2) { in PHP_FUNCTION()
3179 (const unsigned char *) buf2, (size_t) len1)); in PHP_FUNCTION()
/PHP-7.2/ext/openssl/
H A Dopenssl.c6025 int i, len1, len2, *eksl, nkeys, iv_len; in PHP_FUNCTION() local
6098 !EVP_SealUpdate(ctx, buf, &len1, (unsigned char *)data, (int)data_len) || in PHP_FUNCTION()
6099 !EVP_SealFinal(ctx, buf + len1, &len2)) { in PHP_FUNCTION()
6107 if (len1 + len2 > 0) { in PHP_FUNCTION()
6109 ZVAL_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0)); in PHP_FUNCTION()
6129 RETVAL_LONG(len1 + len2); in PHP_FUNCTION()
6154 int len1, len2, cipher_iv_len; in PHP_FUNCTION() local
6210 EVP_OpenUpdate(ctx, buf, &len1, (unsigned char *)data, (int)data_len) && in PHP_FUNCTION()
6211 EVP_OpenFinal(ctx, buf + len1, &len2) && (len1 + len2 > 0)) { in PHP_FUNCTION()
6213 buf[len1 + len2] = '\0'; in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/standard/
H A Dstring.c3535 static void php_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *p… argument
3538 char *end1 = (char *) txt1 + len1;
3558 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2) argument
3563 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max);
3569 if ((pos1 + max < len1) && (pos2 + max < len2)) {
3570 sum += php_similar_char(txt1 + pos1 + max, len1 - pos1 - max,
/PHP-7.2/ext/mbstring/oniguruma/src/
H A Dregexec.c1028 int len1, len2; in string_cmp_ic() local
1034 len1 = ONIGENC_MBC_CASE_FOLD(enc, case_fold_flag, &s1, end1, buf1); in string_cmp_ic()
1036 if (len1 != len2) return 0; in string_cmp_ic()
1039 while (len1-- > 0) { in string_cmp_ic()
/PHP-7.2/ext/odbc/
H A Dphp_odbc.c1579 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local
1601 &len1, in PHP_FUNCTION()
1612 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()

Completed in 83 milliseconds