Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/
H A Dmail.c105 int to_len, message_len, headers_len = 0; in PHP_FUNCTION() local
111 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_le… in PHP_FUNCTION()
116 MAIL_ASCIIZ_CHECK(to, to_len); in PHP_FUNCTION()
127 if (to_len > 0) { in PHP_FUNCTION()
128 to_r = estrndup(to, to_len); in PHP_FUNCTION()
129 for (; to_len; to_len--) { in PHP_FUNCTION()
130 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
133 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
H A Dphp_string.h138 PHPAPI int php_char_to_str_ex(char *str, uint len, char from, char *to, int to_len, zval *result, i…
139 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zval *result);
H A Dstring.c3157 int str_len, to_len = 0; local
3160 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sZ|s", &str, &str_len, &from, &to, &to_len) …
3186 to_len));
3622 PHPAPI int php_char_to_str_ex(char *str, uint len, char from, char *to, int to_len, zval *result, i… argument
3647 Z_STRLEN_P(result) = len + (char_count * (to_len - 1));
3648 Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len + 1);
3656 memcpy(target, to, to_len);
3657 target += to_len;
3675 for (tmp = to, tmp_end = tmp+to_len; tmp < tmp_end; tmp++) {
3692 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zval *result) argument
[all …]
/PHP-5.5/ext/phar/
H A Dstream.c918 uint to_len = strlen(resource_to->path+1); in phar_wrapper_rename() local
932 new_key_len = key_len + to_len - from_len; in phar_wrapper_rename()
934 memcpy(new_str_key, resource_to->path + 1, to_len); in phar_wrapper_rename()
935 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len); in phar_wrapper_rename()
960 new_key_len = key_len + to_len - from_len; in phar_wrapper_rename()
962 memcpy(new_str_key, resource_to->path + 1, to_len); in phar_wrapper_rename()
963 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len); in phar_wrapper_rename()
984 new_key_len = key_len + to_len - from_len; in phar_wrapper_rename()
986 memcpy(new_str_key, resource_to->path + 1, to_len); in phar_wrapper_rename()
987 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len); in phar_wrapper_rename()
/PHP-5.5/ext/gd/libgd/
H A Dgdkanji.c348 size_t from_len, to_len; in do_convert() local
363 to_len = BUFSIZ; in do_convert()
365 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1) in do_convert()
/PHP-5.5/ext/pgsql/
H A Dpgsql.c4156 int to_len; local
4183 to_len = (int) PQescapeString(to, from, (size_t)from_len);
4185 RETURN_STRINGL(to, to_len, 0);
4194 size_t to_len; local
4341 size_t to_len; local
4349 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4350 to = estrndup(tmp, to_len);
4359 RETVAL_STRINGL(to, to_len, 0);
5947 size_t to_len; local
5956 Z_STRVAL_P(new_val) = emalloc(to_len);
[all …]
/PHP-5.5/ext/mbstring/
H A Dmbstring.c4022 int to_len; in PHP_FUNCTION() local
4070 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_le… in PHP_FUNCTION()
4075 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len); in PHP_FUNCTION()
4152 if (to_len > 0) { in PHP_FUNCTION()
4153 to_r = estrndup(to, to_len); in PHP_FUNCTION()
4154 for (; to_len; to_len--) { in PHP_FUNCTION()
4155 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION()
4158 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
/PHP-5.5/ext/mbstring/oniguruma/
H A Doniguruma.h148 typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* ar…
H A Dregparse.c4956 int to_len, void* arg) in i_apply_case_fold() argument
4968 if (to_len == 1) { in i_apply_case_fold()
5006 for (i = 0; i < to_len; i++) { in i_apply_case_fold()
/PHP-5.5/ext/imap/
H A Dphp_imap.c4049 …int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARG… in PHP_FUNCTION() local
4051 …if (zend_parse_parameters(argc TSRMLS_CC, "sss|ssss", &to, &to_len, &subject, &subject_len, &messa… in PHP_FUNCTION()
4057 if (!to_len) { in PHP_FUNCTION()

Completed in 78 milliseconds