Searched refs:to_len (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/standard/ |
H A D | mail.c | 275 size_t to_len, message_len; in PHP_FUNCTION() local 280 Z_PARAM_PATH(to, to_len) in PHP_FUNCTION() 301 if (to_len > 0) { in PHP_FUNCTION() 302 to_r = estrndup(to, to_len); in PHP_FUNCTION() 303 for (; to_len; to_len--) { in PHP_FUNCTION() 304 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION() 307 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
|
H A D | string.c | 3083 static zend_string* php_char_to_str_ex(zend_string *str, char from, char *to, size_t to_len, bool c… argument 3112 if (to_len > 0) { 3113 result = zend_string_safe_alloc(char_count, to_len - 1, ZSTR_LEN(str), 0); 3124 target = zend_mempcpy(target, to, to_len); 3136 target = zend_mempcpy(target, to, to_len); 3424 size_t to_len = 0; local 3435 Z_PARAM_STRING(to, to_len) 3450 MIN(ZSTR_LEN(from_str), to_len)));
|
/php-src/ext/phar/ |
H A D | stream.c | 887 size_t to_len = ZSTR_LEN(resource_to->path) - 1; in phar_wrapper_rename() local 897 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename() 898 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 899 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() 921 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename() 922 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 923 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() 938 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); in phar_wrapper_rename() 939 memcpy(ZSTR_VAL(new_str_key), ZSTR_VAL(resource_to->path) + 1, to_len); in phar_wrapper_rename() 940 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename()
|
/php-src/ext/gd/libgd/ |
H A D | gdkanji.c | 345 size_t from_len, to_len; in do_convert() local 358 to_len = BUFSIZ; in do_convert() 360 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1) in do_convert()
|
/php-src/ext/pgsql/ |
H A D | pgsql.c | 3576 size_t to_len; in PHP_FUNCTION() local 3602 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)ZSTR_VAL(from), ZSTR_LEN(from), &to_len); in PHP_FUNCTION() 3604 to = (char *)PQescapeBytea((unsigned char *)ZSTR_VAL(from), ZSTR_LEN(from), &to_len); in PHP_FUNCTION() 3607 RETVAL_STRINGL(to, to_len-1); /* to_len includes additional '\0' */ in PHP_FUNCTION() 3616 size_t to_len; in PHP_FUNCTION() local 3623 tmp = (char *)PQunescapeBytea((unsigned char*)from, &to_len); in PHP_FUNCTION() 3629 RETVAL_STRINGL(tmp, to_len); in PHP_FUNCTION() 5351 size_t to_len; in php_pgsql_convert() local 5354 tmp = PQescapeByteaConn(pg_link, (unsigned char *)Z_STRVAL_P(val), Z_STRLEN_P(val), &to_len); in php_pgsql_convert() 5355 …tmp_zstr = zend_string_init((char *)tmp, to_len - 1, false); /* PQescapeBytea's to_len includes ad… in php_pgsql_convert()
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 4459 size_t to_len; in PHP_FUNCTION() local 4492 Z_PARAM_PATH(to, to_len) in PHP_FUNCTION() 4576 if (to_len > 0) { in PHP_FUNCTION() 4577 to_r = estrndup(to, to_len); in PHP_FUNCTION() 4578 for (; to_len; to_len--) { in PHP_FUNCTION() 4579 if (!isspace((unsigned char) to_r[to_len - 1])) { in PHP_FUNCTION() 4582 to_r[to_len - 1] = '\0'; in PHP_FUNCTION()
|
Completed in 72 milliseconds