/PHP-8.3/ext/bcmath/libbcmath/src/ |
H A D | div.c | 123 len2 = n2->n_len + scale2; in bc_divide() 125 memcpy(num2, n2->n_value, len2); in bc_divide() 126 *(num2 + len2) = 0; in bc_divide() 130 len2--; 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() 160 _one_mult(n2ptr, len2, norm, n2ptr); in bc_divide() 165 if (len2 > len1) { in bc_divide() 172 while (qdig <= len1 + scale - len2) { in bc_divide() [all …]
|
H A D | recmul.c | 262 size_t len1, len2; in bc_multiply() local 267 len2 = n2->n_len + n2->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-8.3/sapi/fpm/fpm/ |
H A D | fpm_log.c | 117 size_t len, len2; in fpm_log_write() local 185 len2 = 0; in fpm_log_write() 190 len2 = 1; in fpm_log_write() 256 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); in fpm_log_write() 283 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory); in fpm_log_write() 351 if (!len2) { in fpm_log_write() 352 len2 = 1; in fpm_log_write() 416 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp); in fpm_log_write() 423 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.auth_user); in fpm_log_write() 467 b += len2; in fpm_log_write() [all …]
|
/PHP-8.3/ext/date/lib/ |
H A D | timelib.c | 261 size_t len2 = strlen(s2); in timelib_strcasecmp() local 268 len = MIN(len1, len2); in timelib_strcasecmp() 277 return (int)(len1 - len2); in timelib_strcasecmp() 284 size_t len2 = strlen(s2); 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-8.3/Zend/ |
H A D | zend_operators.h | 478 …API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t len2); 479 …TCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length); 480 …int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len2); 481 …L zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length); 482 …t ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2); 483 …zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
|
H A D | zend_operators.c | 3152 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-8.3/ext/phar/ |
H A D | phar_internal.h | 509 size_t len1, len2; in phar_set_inode() local 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-8.3/ext/sodium/ |
H A D | libsodium.c | 274 size_t len2; in PHP_FUNCTION() local 278 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 282 if (len1 != len2) { in PHP_FUNCTION() 2780 size_t len2; in PHP_FUNCTION() local 2784 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 2788 if (len1 != len2) { in PHP_FUNCTION()
|
/PHP-8.3/ext/openssl/ |
H A D | openssl.c | 7050 int i, len1, len2, *eksl, nkeys, iv_len; in PHP_FUNCTION() local 7120 !EVP_SealFinal(ctx, buf + len1, &len2)) { in PHP_FUNCTION() 7128 if (len1 + len2 > 0) { in PHP_FUNCTION() 7129 ZEND_TRY_ASSIGN_REF_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0)); in PHP_FUNCTION() 7152 RETVAL_LONG(len1 + len2); in PHP_FUNCTION() 7175 int len1, len2, cipher_iv_len; in PHP_FUNCTION() local 7228 EVP_OpenFinal(ctx, buf + len1, &len2) && (len1 + len2 > 0)) { in PHP_FUNCTION() 7229 buf[len1 + len2] = '\0'; in PHP_FUNCTION() 7230 ZEND_TRY_ASSIGN_REF_NEW_STR(opendata, zend_string_init((char*)buf, len1 + len2, 0)); in PHP_FUNCTION()
|
/PHP-8.3/ext/standard/ |
H A D | string.c | 3323 static void php_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *p… argument 3327 const char *end2 = (char *) txt2 + len2; 3347 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2) argument 3352 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max, &count); 3358 if ((pos1 + max < len1) && (pos2 + max < len2)) { 3360 txt2 + pos2 + max, len2 - pos2 - max);
|
/PHP-8.3/ext/odbc/ |
H A D | php_odbc.c | 1143 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local 1168 &len2); in PHP_FUNCTION() 1180 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()
|