Searched defs:to_len (Results 1 - 8 of 8) 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/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/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/mbstring/
H A Dmbstring.c4046 size_t to_len; local
4093 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) == FAILURE) {
4098 MAIL_ASCIIZ_CHECK_MBSTRING(to, to_len);
4170 if (to_len > 0) {
4171 to_r = estrndup(to, to_len);
4172 for (; to_len; to_len--) {
4173 if (!isspace((unsigned char) to_r[to_len - 1])) {
4176 to_r[to_len - 1] = '\0';
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c4030 int to_len, message_len, headers_len, subject_len, cc_len, bcc_len, rpath_len, argc = ZEND_NUM_ARGS(); local
4032 if (zend_parse_parameters(argc TSRMLS_CC, "sss|ssss", &to, &to_len, &subject, &subject_len, &message, &message_len,
4038 if (!to_len) {
/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() TSRMLS_CC, "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.c2952 size_t str_len, to_len = 0; local
2956 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|s", &str, &str_len, &from, &to, &to_len) == FAILURE) {
2964 Z_PARAM_STRING(to, to_len)
2990 to_len)); local
3409 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
3434 if (to_len > 0) {
3435 ZVAL_NEW_STR(result, zend_string_safe_alloc(char_count, to_len - 1, len, 0));
3446 memcpy(target, to, to_len);
3447 target += to_len;
3465 for (tmp = to, tmp_end = tmp+to_len; tm
3482 php_char_to_str(char *str, size_t len, char from, char *to, size_t to_len, zval *result) argument
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c4315 size_t to_len; local
4342 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len);
4345 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len);
4347 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */
4463 size_t to_len; local
4471 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len);
4472 to = estrndup(tmp, to_len);
4475 to = (char *)php_pgsql_unescape_bytea((unsigned char*)from, &to_len);
4481 RETVAL_STRINGL(to, to_len);
6269 size_t to_len; local
[all...]

Completed in 41 milliseconds