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

/PHP_5_5/ext/gd/libgd/
H A Dgdkanji.c348 size_t from_len, to_len; local
363 to_len = BUFSIZ;
365 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1)
/PHP_5_5/ext/mbstring/oniguruma/
H A Dregparse.c4956 int to_len, void* arg)
4968 if (to_len == 1) {
5006 for (i = 0; i < to_len; i++) {
4955 i_apply_case_fold(OnigCodePoint from, OnigCodePoint to[], int to_len, void* arg) argument
H A Doniguruma.h148 typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* arg);
/PHP_5_5/ext/phar/
H A Dstream.c918 uint to_len = strlen(resource_to->path+1); local
932 new_key_len = key_len + to_len - from_len;
934 memcpy(new_str_key, resource_to->path + 1, to_len);
935 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len);
960 new_key_len = key_len + to_len - from_len;
962 memcpy(new_str_key, resource_to->path + 1, to_len);
963 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len);
984 new_key_len = key_len + to_len - from_len;
986 memcpy(new_str_key, resource_to->path + 1, to_len);
987 memcpy(new_str_key + to_len, str_ke
[all...]
/PHP_5_5/ext/standard/
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, int case_sensitivity, int *replace_count);
139 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zval *result);
H A Dmail.c105 int to_len, message_len, headers_len = 0; local
111 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE) {
116 MAIL_ASCIIZ_CHECK(to, to_len);
127 if (to_len > 0) {
128 to_r = estrndup(to, to_len);
129 for (; to_len; to_len--) {
130 if (!isspace((unsigned char) to_r[to_len - 1])) {
133 to_r[to_len - 1] = '\0';
H A Dstring.c3138 int str_len, to_len = 0; local
3141 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sZ|s", &str, &str_len, &from, &to, &to_len) == FAILURE) {
3167 to_len)); local
3596 PHPAPI int php_char_to_str_ex(char *str, uint len, char from, char *to, int to_len, zval *result, int case_sensitivity, int *replace_count) argument
3621 Z_STRLEN_P(result) = len + (char_count * (to_len - 1));
3622 Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len + 1);
3630 memcpy(target, to, to_len);
3631 target += to_len;
3649 for (tmp = to, tmp_end = tmp+to_len; tmp < tmp_end; tmp++) {
3666 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zva argument
[all...]
/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_ARGS(); local
4051 if (zend_parse_parameters(argc TSRMLS_CC, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len,
4057 if (!to_len) {
/PHP_5_5/ext/mbstring/
H A Dmbstring.c4022 int to_len; local
4070 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd, &extra_cmd_len) == FAILURE) {
4075 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len);
4152 if (to_len > 0) {
4153 to_r = estrndup(to, to_len);
4154 for (; to_len; to_len--) {
4155 if (!isspace((unsigned char) to_r[to_len - 1])) {
4158 to_r[to_len - 1] = '\0';
/PHP_5_5/ext/pgsql/
H A Dpgsql.c4140 int to_len; local
4164 to_len = (int) PQescapeStringConn(pgsql, to, from, (size_t)from_len, NULL);
4167 to_len = (int) PQescapeString(to, from, (size_t)from_len);
4169 RETURN_STRINGL(to, to_len, 0);
4178 size_t to_len; local
4204 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4207 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4209 RETVAL_STRINGL(to, to_len-1, 1); /* to_len includes addtional '\0' */
4325 size_t to_len; local
5925 size_t to_len; local
5935 memcpy(Z_STRVAL_P(new_val), tmp, to_len); local
[all...]

Completed in 44 milliseconds