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

/PHP_TRUNK/ext/mbstring/oniguruma/
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/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/imap/
H A Dphp_imap.c4028 int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARGS(); local
4030 if (zend_parse_parameters(argc, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len,
4036 if (!to_len) {
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c4053 size_t to_len; local
4100 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4105 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len);
4177 if (to_len > 0) {
4178 to_r = estrndup(to, to_len);
4179 for (; to_len; to_len--) {
4180 if (!isspace((unsigned char) to_r[to_len - 1])) {
4183 to_r[to_len - 1] = '\0';
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c4319 size_t to_len; local
4346 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4349 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4351 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4467 size_t to_len; local
4475 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4476 to = estrndup(tmp, to_len);
4479 to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, &to_len);
4485 RETVAL_STRINGL(to, to_len);
6273 size_t to_len; local
[all...]
/PHP_TRUNK/ext/phar/
H A Dstream.c899 uint to_len = strlen(resource_to->path+1); local
909 new_str_key = zend_string_alloc(str_key->len + to_len - from_len, 0);
910 memcpy(new_str_key->val, resource_to->path + 1, to_len);
911 memcpy(new_str_key->val + to_len, str_key->val + from_len, str_key->len - from_len);
934 new_str_key = zend_string_alloc(str_key->len + to_len - from_len, 0);
935 memcpy(new_str_key->val, resource_to->path + 1, to_len);
936 memcpy(new_str_key->val + to_len, str_key->val + from_len, str_key->len - from_len);
952 new_str_key = zend_string_alloc(str_key->len + to_len - from_len, 0);
953 memcpy(new_str_key->val, resource_to->path + 1, to_len);
954 memcpy(new_str_key->val + to_len, str_ke
[all...]
/PHP_TRUNK/ext/standard/
H A Dmail.c106 size_t to_len, message_len, headers_len = 0; local
112 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &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';
H A Dstring.c2964 size_t str_len, to_len = 0; local
2968 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz|s", &str, &str_len, &from, &to, &to_len) == FAILURE) {
2976 Z_PARAM_STRING(to, to_len)
3002 to_len)); local
3420 PHPAPI size_t php_char_to_str_ex(char *str, size_t len, char from, char *to, size_t to_len, zval *result, int case_sensitivity, size_t *replace_count) argument
3445 if (to_len > 0) {
3446 ZVAL_NEW_STR(result, zend_string_safe_alloc(char_count, to_len - 1, len, 0));
3457 memcpy(target, to, to_len);
3458 target += to_len;
3476 for (tmp = to, tmp_end = tmp+to_len; tm
3493 php_char_to_str(char *str, size_t len, char from, char *to, size_t to_len, zval *result) argument
[all...]

Completed in 40 milliseconds