Home
last modified time | relevance | path

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

/php-src/sapi/fpm/fpm/
H A Dfpm_log.c113 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 Dtimelib.c261 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 Drecmul.c249 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 Dphar_internal.h387 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 Dzend_operators.h487 …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 Dzend_operators.c3167 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 Dlibsodium.c273 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 Dopenssl.c7257 int i, len1, len2, *eksl, nkeys, iv_len; local
7327 !EVP_SealFinal(ctx, buf + len1, &len2)) {
7335 if (len1 + len2 > 0) {
7336 ZEND_TRY_ASSIGN_REF_NEW_STR(sealdata, zend_string_init((char*)buf, len1 + len2, 0));
7359 RETVAL_LONG(len1 + len2);
7382 int len1, len2, cipher_iv_len; local
7435 EVP_OpenFinal(ctx, buf + len1, &len2) && (len1 + len2 > 0)) {
7436 buf[len1 + len2] = '\0';
7437 ZEND_TRY_ASSIGN_REF_NEW_STR(opendata, zend_string_init((char*)buf, len1 + len2, 0));
/php-src/ext/standard/
H A Dstring.c3585 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 Dphp_odbc.c1235 SQLSMALLINT len1=0, len2=0, fetch_type; in PHP_FUNCTION() local
1259 &len2); in PHP_FUNCTION()
1271 if (len1 == 0 || len2 == 0) { in PHP_FUNCTION()

Completed in 90 milliseconds