/php-src/sapi/fpm/fpm/ |
H A D | fpm_log.c | 113 size_t len, len2; in fpm_log_write() local 181 len2 = 0; in fpm_log_write() 186 len2 = 1; in fpm_log_write() 252 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", env ? env : "-"); in fpm_log_write() 279 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%zu", proc.memory); in fpm_log_write() 347 if (!len2) { in fpm_log_write() 348 len2 = 1; in fpm_log_write() 412 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", tmp); in fpm_log_write() 419 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", proc.auth_user); in fpm_log_write() 463 b += len2; in fpm_log_write() [all …]
|
/php-src/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-src/ext/bcmath/libbcmath/src/ |
H A D | recmul.c | 249 size_t len2 = n2->n_len + n2->n_scale; in bc_multiply() local 254 if (len1 <= BC_VECTOR_SIZE && len2 <= BC_VECTOR_SIZE) { in bc_multiply() 255 bc_fast_mul(n1, len1, n2, len2, &prod); in bc_multiply() 257 bc_standard_mul(n1, len1, n2, len2, &prod); in bc_multiply()
|
/php-src/ext/phar/ |
H A D | phar_internal.h | 387 size_t len1, len2; in phar_set_inode() local 396 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode() 397 memcpy(tmp + len1, entry->filename, len2); in phar_set_inode()
|
/php-src/Zend/ |
H A D | zend_operators.h | 487 …API int ZEND_FASTCALL zend_binary_strcmp(const char *s1, size_t len1, const char *s2, size_t len2); 488 …TCALL zend_binary_strncmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length); 489 …int ZEND_FASTCALL zend_binary_strcasecmp(const char *s1, size_t len1, const char *s2, size_t len2); 490 …L zend_binary_strncasecmp(const char *s1, size_t len1, const char *s2, size_t len2, size_t length); 491 …t ZEND_FASTCALL zend_binary_strcasecmp_l(const char *s1, size_t len1, const char *s2, size_t len2); 492 …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 | 3167 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp() 3169 return ZEND_THREEWAY_COMPARE(len1, len2); in zend_binary_strcmp() 3183 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); in zend_binary_strncmp() 3201 len = MIN(len1, len2); in zend_binary_strcasecmp() 3210 return ZEND_THREEWAY_COMPARE(len1, len2); in zend_binary_strcasecmp() 3222 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp() 3231 return ZEND_THREEWAY_COMPARE(MIN(length, len1), MIN(length, len2)); in zend_binary_strncasecmp() 3244 len = MIN(len1, len2); in zend_binary_strcasecmp_l() 3253 return ZEND_THREEWAY_COMPARE(len1, len2); in zend_binary_strcasecmp_l() 3265 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l() [all …]
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 273 size_t len2; in PHP_FUNCTION() local 277 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 281 if (len1 != len2) { in PHP_FUNCTION() 3009 size_t len2; in PHP_FUNCTION() local 3013 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 3017 if (len1 != len2) { in PHP_FUNCTION()
|
/php-src/ext/openssl/ |
H A D | openssl.c | 7267 int i, len1, len2, *eksl, nkeys, iv_len; local 7337 !EVP_SealFinal(ctx, buf + len1, &len2)) { 7345 if (len1 + len2 > 0) { 7346 ZEND_TRY_ASSIGN_REF_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0)); 7369 RETVAL_LONG(len1 + len2); 7392 int len1, len2, cipher_iv_len; local 7445 EVP_OpenFinal(ctx, buf + len1, &len2) && (len1 + len2 > 0)) { 7446 buf[len1 + len2] = '\0'; 7447 ZEND_TRY_ASSIGN_REF_NEW_STR(opendata, zend_string_init((char*)buf, len1 + len2, 0));
|
/php-src/ext/standard/ |
H A D | string.c | 3585 static void php_similar_str(const char *txt1, size_t len1, const char *txt2, size_t len2, size_t *p… argument 3589 const char *end2 = (char *) txt2 + len2; 3609 static size_t php_similar_char(const char *txt1, size_t len1, const char *txt2, size_t len2) argument 3614 php_similar_str(txt1, len1, txt2, len2, &pos1, &pos2, &max, &count); 3620 if ((pos1 + max < len1) && (pos2 + max < len2)) { 3622 txt2 + pos2 + max, len2 - pos2 - max);
|
/php-src/ext/odbc/ |
H A D | php_odbc.c | 1234 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local 1258 &len2); in PHP_FUNCTION() 1270 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()
|