| /PHP_5_3/ext/gd/libgd/ |
| H A D | gdkanji.c | 348 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_3/ext/imap/ |
| H A D | php_imap.c | 4058 int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARGS(); local 4060 if (zend_parse_parameters(argc TSRMLS_CC, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len, 4066 if (!to_len) {
|
| /PHP_5_3/ext/mbstring/ |
| H A D | mbstring.c | 3834 int to_len; local 3887 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) { 3892 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len); 3969 if (to_len > 0) { 3970 to_r = estrndup(to, to_len); 3971 for (; to_len; to_len--) { 3972 if (!isspace((unsigned char) to_r[to_len - 1])) { 3975 to_r[to_len - 1] = '\0';
|
| /PHP_5_3/ext/standard/ |
| H A D | mail.c | 103 int to_len, message_len, headers_len = 0; local 114 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len, 121 MAIL_ASCIIZ_CHECK(to, to_len); 132 if (to_len > 0) { 133 to_r = estrndup(to, to_len); 134 for (; to_len; to_len--) { 135 if (!isspace((unsigned char) to_r[to_len - 1])) { 138 to_r[to_len - 1] = '\0';
|
| H A D | php_string.h | 138 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 D | string.c | 2807 int str_len, to_len = 0; local 2810 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sZ|s", &str, &str_len, &from, &to, &to_len) == FAILURE) { 2836 to_len)); local 3320 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 3345 Z_STRLEN_P(result) = len + (char_count * (to_len - 1)); 3346 Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len + 1); 3354 memcpy(target, to, to_len); 3355 target += to_len; 3373 for (tmp = to, tmp_end = tmp+to_len; tmp < tmp_end; tmp++) { 3390 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zva argument [all...] |
| /PHP_5_3/ext/phar/ |
| H A D | stream.c | 918 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); 964 new_key_len = key_len + to_len - from_len; 966 memcpy(new_str_key, resource_to->path + 1, to_len); 967 memcpy(new_str_key + to_len, str_key + from_len, key_len - from_len); 992 new_key_len = key_len + to_len - from_len; 994 memcpy(new_str_key, resource_to->path + 1, to_len); 995 memcpy(new_str_key + to_len, str_ke [all...] |
| /PHP_5_3/ext/pgsql/ |
| H A D | pgsql.c | 4015 int to_len; local 4040 to_len = (int) PQescapeStringConn(pgsql, to, from, (size_t)from_len, NULL); 4043 to_len = (int) PQescapeString(to, from, (size_t)from_len); 4045 RETURN_STRINGL(to, to_len, 0); 4054 size_t to_len; local 4080 to = (char *)PQescapeByteaConn(pgsql, from, (size_t)from_len, &to_len); 4083 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len); 4085 RETVAL_STRINGL(to, to_len-1, 1); /* to_len includes addtional '\0' */ 4201 size_t to_len; local 5675 size_t to_len; local 5684 memcpy(Z_STRVAL_P(new_val), tmp, to_len); local [all...] |