Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/
H A Dmail.c292 size_t to_len, message_len; in PHP_FUNCTION() local
299 Z_PARAM_STRING(to, to_len) in PHP_FUNCTION()
308 MAIL_ASCIIZ_CHECK(to, to_len); in PHP_FUNCTION()
331 if (to_len > 0) { in PHP_FUNCTION()
332 to_r = estrndup(to, to_len); in PHP_FUNCTION()
333 for (; to_len; to_len--) { in PHP_FUNCTION()
334 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
337 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
H A Dstring.c3112 static zend_string* php_char_to_str_ex(zend_string *str, char from, char *to, size_t to_len, int ca… argument
3138 if (to_len > 0) {
3139 result = zend_string_safe_alloc(char_count, to_len - 1, ZSTR_LEN(str), 0);
3150 memcpy(target, to, to_len);
3151 target += to_len;
3168 memcpy(target, to, to_len);
3169 target += to_len;
3435 size_t to_len = 0; local
3442 Z_PARAM_STRING(to, to_len)
3501 MIN(Z_STRLEN_P(from), to_len)));
/PHP-7.2/ext/phar/
H A Dstream.c886 uint32_t to_len = strlen(resource_to->path+1); in phar_wrapper_rename() local
896 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
897 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
898 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
921 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
922 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
923 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
939 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
940 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
941 …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.2/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.2/ext/pgsql/
H A Dpgsql.c4418 size_t to_len; local
4446 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4449 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4451 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4568 size_t to_len; local
4576 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4577 to = estrndup(tmp, to_len);
4580 to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, &to_len);
4586 RETVAL_STRINGL(to, to_len);
6386 size_t to_len; local
[all …]
/PHP-7.2/ext/mbstring/
H A Dmbstring.c4391 size_t to_len; in PHP_FUNCTION() local
4438 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|zS", &to, &to_len, &subject, &subject_len, &messag… in PHP_FUNCTION()
4443 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len); in PHP_FUNCTION()
4530 if (to_len > 0) { in PHP_FUNCTION()
4531 to_r = estrndup(to, to_len); in PHP_FUNCTION()
4532 for (; to_len; to_len--) { in PHP_FUNCTION()
4533 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
4536 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
/PHP-7.2/ext/mbstring/oniguruma/src/
H A Doniguruma.h147 typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* ar…
H A Dregparse.c4908 int to_len, void* arg) in i_apply_case_fold() argument
4920 if (to_len == 1) { in i_apply_case_fold()
4958 for (i = 0; i < to_len; i++) { in i_apply_case_fold()

Completed in 72 milliseconds