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

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/phar/
H A Dstream.c909 uint to_len = strlen(resource_to->path+1); local
921 new_key_len = key_len + to_len - from_len;
923 memcpy(new_str_key, resource_to->path + 1, to_len);
924 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len);
945 new_key_len = key_len + to_len - from_len;
947 memcpy(new_str_key, resource_to->path + 1, to_len);
948 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len);
965 new_key_len = key_len + to_len - from_len;
967 memcpy(new_str_key, resource_to->path + 1, to_len);
968 memcpy(new_str_key + to_len, str_ke
[all...]
/PHP_TRUNK/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.c3133 int str_len, to_len = 0; local
3136 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sZ|s", &str, &str_len, &from, &to, &to_len) == FAILURE) {
3162 to_len)); local
3591 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
3616 Z_STRLEN_P(result) = len + (char_count * (to_len - 1));
3617 Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len + 1);
3625 memcpy(target, to, to_len);
3626 target += to_len;
3644 for (tmp = to, tmp_end = tmp+to_len; tmp < tmp_end; tmp++) {
3661 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zva argument
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Doniguruma.h148 typedef int (*OnigApplyAllCaseFoldFunc)(OnigCodePoint from, OnigCodePoint* to, int to_len, void* arg);
H A Dregparse.c4958 int to_len, void* arg)
4970 if (to_len == 1) {
5008 for (i = 0; i < to_len; i++) {
4957 i_apply_case_fold(OnigCodePoint from, OnigCodePoint to[], int to_len, void* arg) argument
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4046 int to_len; local
4094 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) {
4099 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len);
4176 if (to_len > 0) {
4177 to_r = estrndup(to, to_len);
4178 for (; to_len; to_len--) {
4179 if (!isspace((unsigned char) to_r[to_len - 1])) {
4182 to_r[to_len - 1] = '\0';
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c4292 int to_len; local
4316 to_len = (int) PQescapeStringConn(pgsql, to, from, (size_t)from_len, NULL);
4319 to_len = (int) PQescapeString(to, from, (size_t)from_len);
4321 RETURN_STRINGL(to, to_len, 0);
4330 size_t to_len; local
4356 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4359 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4361 RETVAL_STRINGL(to, to_len-1, 1); /* to_len includes addtional '\0' */
4477 size_t to_len; local
6306 size_t to_len; local
6316 memcpy(Z_STRVAL_P(new_val), tmp, to_len); local
[all...]

Completed in 46 milliseconds