Home
last modified time | relevance | path

Searched refs:to_len (Results 1 – 8 of 8) sorted by relevance

/PHP-7.3/ext/standard/
H A Dmail.c290 size_t to_len, message_len; in PHP_FUNCTION() local
297 Z_PARAM_STRING(to, to_len) in PHP_FUNCTION()
306 MAIL_ASCIIZ_CHECK(to, to_len); in PHP_FUNCTION()
329 if (to_len > 0) { in PHP_FUNCTION()
330 to_r = estrndup(to, to_len); in PHP_FUNCTION()
331 for (; to_len; to_len--) { in PHP_FUNCTION()
332 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
335 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
H A Dstring.c3155 static zend_string* php_char_to_str_ex(zend_string *str, char from, char *to, size_t to_len, int ca… argument
3182 if (to_len > 0) {
3183 result = zend_string_safe_alloc(char_count, to_len - 1, ZSTR_LEN(str), 0);
3194 memcpy(target, to, to_len);
3195 target += to_len;
3212 memcpy(target, to, to_len);
3213 target += to_len;
3482 size_t to_len = 0; local
3489 Z_PARAM_STRING(to, to_len)
3546 MIN(Z_STRLEN_P(from), to_len)));
/PHP-7.3/ext/phar/
H A Dstream.c887 uint32_t to_len = ZSTR_LEN(resource_to->path) - 1; in phar_wrapper_rename() local
897 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
898 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename()
899 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
922 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
923 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename()
924 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
940 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
941 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename()
942 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
/PHP-7.3/ext/gd/libgd/
H A Dgdkanji.c347 size_t from_len, to_len; in do_convert() local
362 to_len = BUFSIZ; in do_convert()
364 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1) in do_convert()
/PHP-7.3/ext/pgsql/
H A Dpgsql.c4415 size_t to_len; local
4443 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4446 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4448 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4565 size_t to_len; local
4573 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4574 to = estrndup(tmp, to_len);
4577 to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, &to_len);
4583 RETVAL_STRINGL(to, to_len);
6403 size_t to_len; local
[all …]
/PHP-7.3/ext/mbstring/
H A Dmbstring.c4203 size_t to_len; in PHP_FUNCTION() local
4250 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|zS", &to, &to_len, &subject, &subject_len, &messag… in PHP_FUNCTION()
4255 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len); in PHP_FUNCTION()
4341 if (to_len > 0) { in PHP_FUNCTION()
4342 to_r = estrndup(to, to_len); in PHP_FUNCTION()
4343 for (; to_len; to_len--) { in PHP_FUNCTION()
4344 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
4347 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
/PHP-7.3/ext/mbstring/oniguruma/src/
H A Doniguruma.h123 typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* ar…
H A Dregparse.c7813 i_apply_case_fold(OnigCodePoint from, OnigCodePoint to[], int to_len, void* arg) in i_apply_case_fold() argument
7823 if (to_len == 1) { in i_apply_case_fold()
7861 for (i = 0; i < to_len; i++) { in i_apply_case_fold()

Completed in 132 milliseconds