Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Dmail.c106 size_t to_len, message_len; in PHP_FUNCTION() local
112 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|SS", &to, &to_len, &subject, &subject_len, &messag… in PHP_FUNCTION()
117 MAIL_ASCIIZ_CHECK(to, to_len); in PHP_FUNCTION()
128 if (to_len > 0) { in PHP_FUNCTION()
129 to_r = estrndup(to, to_len); in PHP_FUNCTION()
130 for (; to_len; to_len--) { in PHP_FUNCTION()
131 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
134 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
H A Dstring.c3049 static zend_string* php_char_to_str_ex(zend_string *str, char from, char *to, size_t to_len, int ca… argument
3075 if (to_len > 0) {
3076 result = zend_string_safe_alloc(char_count, to_len - 1, ZSTR_LEN(str), 0);
3087 memcpy(target, to, to_len);
3088 target += to_len;
3105 memcpy(target, to, to_len);
3106 target += to_len;
3365 size_t to_len = 0; local
3372 Z_PARAM_STRING(to, to_len)
3431 MIN(Z_STRLEN_P(from), to_len)));
/PHP-7.0/ext/phar/
H A Dstream.c903 uint to_len = strlen(resource_to->path+1); in phar_wrapper_rename() local
913 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
914 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
915 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
938 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
939 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
940 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
956 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename()
957 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); in phar_wrapper_rename()
958 …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.0/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.0/ext/pgsql/
H A Dpgsql.c4377 size_t to_len; local
4405 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4408 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4410 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4526 size_t to_len; local
4534 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4535 to = estrndup(tmp, to_len);
4538 to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, &to_len);
4544 RETVAL_STRINGL(to, to_len);
6344 size_t to_len; local
[all …]
/PHP-7.0/ext/mbstring/
H A Dmbstring.c4239 size_t to_len; in PHP_FUNCTION() local
4286 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &messag… in PHP_FUNCTION()
4291 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len); in PHP_FUNCTION()
4365 if (to_len > 0) { in PHP_FUNCTION()
4366 to_r = estrndup(to, to_len); in PHP_FUNCTION()
4367 for (; to_len; to_len--) { in PHP_FUNCTION()
4368 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
4371 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
/PHP-7.0/ext/mbstring/oniguruma/
H A Doniguruma.h148 typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* ar…
H A Dregparse.c4964 int to_len, void* arg) in i_apply_case_fold() argument
4976 if (to_len == 1) { in i_apply_case_fold()
5014 for (i = 0; i < to_len; i++) { in i_apply_case_fold()

Completed in 76 milliseconds