| /PHP_5_4/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_4/ext/imap/ |
| H A D | php_imap.c | 4050 int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARGS(); local 4052 if (zend_parse_parameters(argc TSRMLS_CC, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len, 4058 if (!to_len) {
|
| /PHP_5_4/ext/mbstring/ |
| H A D | mbstring.c | 4022 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_4/ext/pgsql/ |
| H A D | pgsql.c | 4014 int to_len; local 4039 to_len = (int) PQescapeStringConn(pgsql, to, from, (size_t)from_len, NULL); 4042 to_len = (int) PQescapeString(to, from, (size_t)from_len); 4044 RETURN_STRINGL(to, to_len, 0); 4053 size_t to_len; local 4079 to = (char *)PQescapeByteaConn(pgsql, from, (size_t)from_len, &to_len); 4082 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len); 4084 RETVAL_STRINGL(to, to_len-1, 1); /* to_len includes addtional '\0' */ 4200 size_t to_len; local 4276 int to_len; local 5767 size_t to_len; local 5776 memcpy(Z_STRVAL_P(new_val), tmp, to_len); local [all...] |
| /PHP_5_4/ext/standard/ |
| H A D | mail.c | 103 int to_len, message_len, headers_len = 0; local 109 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) { 114 MAIL_ASCIIZ_CHECK(to, to_len); 125 if (to_len > 0) { 126 to_r = estrndup(to, to_len); 127 for (; to_len; to_len--) { 128 if (!isspace((unsigned char) to_r[to_len - 1])) { 131 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 | 3167 int str_len, to_len = 0; local 3170 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sZ|s", &str, &str_len, &from, &to, &to_len) == FAILURE) { 3196 to_len)); local 3625 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 3650 Z_STRLEN_P(result) = len + (char_count * (to_len - 1)); 3651 Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len + 1); 3659 memcpy(target, to, to_len); 3660 target += to_len; 3678 for (tmp = to, tmp_end = tmp+to_len; tmp < tmp_end; tmp++) { 3695 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zva argument [all...] |
| /PHP_5_4/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...] |