/PHP-8.0/ext/bcmath/libbcmath/src/ |
H A D | div.c | 133 len2 = n2->n_len + scale2; in bc_divide() 135 memcpy (num2, n2->n_value, len2); in bc_divide() 136 *(num2+len2) = 0; in bc_divide() 141 len2--; in bc_divide() 145 if (len2 > len1+scale) in bc_divide() 153 if (len2>len1) in bc_divide() 156 qdigits = len1-len2+scale+1; in bc_divide() 174 _one_mult (n2ptr, len2, norm, n2ptr); in bc_divide() 179 if (len2 > len1) in bc_divide() 185 while (qdig <= len1+scale-len2) in bc_divide() [all …]
|
H A D | recmul.c | 272 int len1, len2; in bc_multiply() local 277 len2 = n2->n_len + n2->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-8.0/sapi/fpm/fpm/ |
H A D | fpm_log.c | 103 size_t len, len2; in fpm_log_write() local 167 len2 = 0; in fpm_log_write() 172 len2 = 1; in fpm_log_write() 235 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); in fpm_log_write() 262 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory); in fpm_log_write() 330 if (!len2) { in fpm_log_write() 331 len2 = 1; in fpm_log_write() 395 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp); in fpm_log_write() 402 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.auth_user); in fpm_log_write() 446 b += len2; in fpm_log_write() [all …]
|
/PHP-8.0/ext/date/lib/ |
H A D | timelib.c | 237 size_t len2 = strlen(s2); in timelib_strcasecmp() local 244 len = MIN(len1, len2); in timelib_strcasecmp() 253 return (int)(len1 - len2); in timelib_strcasecmp() 260 size_t len2 = strlen(s2); in timelib_strncasecmp() local 266 len = MIN(length, MIN(len1, len2)); in timelib_strncasecmp() 275 return (int)(MIN(length, len1) - MIN(length, len2)); in timelib_strncasecmp()
|
/PHP-8.0/Zend/ |
H A D | zend_operators.c | 2698 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp() 2700 return (int)(len1 - len2); in zend_binary_strcmp() 2716 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp() 2732 len = MIN(len1, len2); in zend_binary_strcasecmp() 2741 return (int)(len1 - len2); in zend_binary_strcasecmp() 2753 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp() 2762 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncasecmp() 2775 len = MIN(len1, len2); in zend_binary_strcasecmp_l() 2784 return (int)(len1 - len2); in zend_binary_strcasecmp_l() 2796 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l() [all …]
|
H A D | zend_operators.h | 418 …API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t len2); 419 …TCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length); 420 …int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len2); 421 …L zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length); 422 …t ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2); 423 …zend_binary_strncasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2, size_t length);
|
/PHP-8.0/ext/phar/ |
H A D | phar_internal.h | 511 size_t len1, len2; in phar_set_inode() local 520 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode() 521 memcpy(tmp + len1, entry->filename, len2); in phar_set_inode()
|
/PHP-8.0/ext/sodium/ |
H A D | libsodium.c | 457 size_t len2; in PHP_FUNCTION() local 461 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 465 if (len1 != len2) { in PHP_FUNCTION() 2770 size_t len2; in PHP_FUNCTION() local 2774 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 2778 if (len1 != len2) { in PHP_FUNCTION()
|
/PHP-8.0/ext/openssl/ |
H A D | openssl.c | 6654 int i, len1, len2, *eksl, nkeys, iv_len; in PHP_FUNCTION() local 6724 !EVP_SealFinal(ctx, buf + len1, &len2)) { in PHP_FUNCTION() 6732 if (len1 + len2 > 0) { in PHP_FUNCTION() 6733 ZEND_TRY_ASSIGN_REF_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0)); in PHP_FUNCTION() 6756 RETVAL_LONG(len1 + len2); in PHP_FUNCTION() 6779 int len1, len2, cipher_iv_len; in PHP_FUNCTION() local 6832 EVP_OpenFinal(ctx, buf + len1, &len2) && (len1 + len2 > 0)) { in PHP_FUNCTION() 6833 buf[len1 + len2] = '\0'; in PHP_FUNCTION() 6834 ZEND_TRY_ASSIGN_REF_NEW_STR(opendata, zend_string_init((char*)buf, len1 + len2, 0)); in PHP_FUNCTION()
|
/PHP-8.0/ext/standard/ |
H A D | string.c | 3308 static void php_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *p… argument 3312 const char *end2 = (char *) txt2 + len2; 3332 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2) argument 3337 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max, &count); 3343 if ((pos1 + max < len1) && (pos2 + max < len2)) { 3345 txt2 + pos2 + max, len2 - pos2 - max);
|
/PHP-8.0/ext/odbc/ |
H A D | php_odbc.c | 1210 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local 1235 &len2); in PHP_FUNCTION() 1247 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()
|