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

/PHP_TRUNK/ext/gd/libgd/
H A Dgdkanji.c347 size_t from_len, to_len; local
362 to_len = BUFSIZ;
364 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1)
/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.c4060 size_t to_len; local
4107 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4112 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len);
4184 if (to_len > 0) {
4185 to_r = estrndup(to, to_len);
4186 for (; to_len; to_len--) {
4187 if (!isspace((unsigned char) to_r[to_len - 1])) {
4190 to_r[to_len - 1] = '\0';
/PHP_TRUNK/ext/phar/
H A Dstream.c903 uint to_len = strlen(resource_to->path+1); local
913 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0);
914 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); local
915 memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len);
938 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0);
939 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); local
940 memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len);
956 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0);
957 memcpy(ZSTR_VAL(new_str_key), resource_to->path + 1, to_len); local
958 memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VA
[all...]
/PHP_TRUNK/ext/standard/
H A Dstring.c3120 static zend_string* php_char_to_str_ex(zend_string *str, char from, char *to, size_t to_len, int case_sensitivity, zend_long *replace_count) argument
3146 if (to_len > 0) {
3147 result = zend_string_safe_alloc(char_count, to_len - 1, ZSTR_LEN(str), 0);
3158 memcpy(target, to, to_len);
3159 target += to_len;
3176 memcpy(target, to, to_len);
3177 target += to_len;
3424 size_t to_len = 0; local
3428 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Sz|s", &str, &from, &to, &to_len) == FAILURE) {
3436 Z_PARAM_STRING(to, to_len)
[all...]
H A Dmail.c106 size_t to_len, message_len; local
112 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|SS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &extra_cmd) == FAILURE) {
117 MAIL_ASCIIZ_CHECK(to, to_len);
128 if (to_len > 0) {
129 to_r = estrndup(to, to_len);
130 for (; to_len; to_len--) {
131 if (!isspace((unsigned char) to_r[to_len - 1])) {
134 to_r[to_len - 1] = '\0';
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c4374 size_t to_len; local
4402 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4405 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4407 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4523 size_t to_len; local
4531 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4532 to = estrndup(tmp, to_len);
4535 to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, &to_len);
4541 RETVAL_STRINGL(to, to_len);
6338 size_t to_len; local
[all...]

Completed in 42 milliseconds