Searched refs:from_len (Results 1 – 4 of 4) sorted by relevance
/PHP-7.3/ext/phar/ |
H A D | stream.c | 886 uint32_t from_len = ZSTR_LEN(resource_from->path) - 1; in phar_wrapper_rename() local 893 ZSTR_LEN(str_key) > from_len && in phar_wrapper_rename() 895 IS_SLASH(ZSTR_VAL(str_key)[from_len])) { in phar_wrapper_rename() 897 new_str_key = zend_string_alloc(ZSTR_LEN(str_key) + to_len - from_len, 0); 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() 918 if (ZSTR_LEN(str_key) >= from_len && in phar_wrapper_rename() 920 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename() 924 …memcpy(ZSTR_VAL(new_str_key) + to_len, ZSTR_VAL(str_key) + from_len, ZSTR_LEN(str_key) - from_len); in phar_wrapper_rename() 936 if (ZSTR_LEN(str_key) >= from_len && in phar_wrapper_rename() 938 (ZSTR_LEN(str_key) == from_len || IS_SLASH(ZSTR_VAL(str_key)[from_len]))) { in phar_wrapper_rename() [all …]
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gdkanji.c | 347 size_t from_len, to_len; in do_convert() local 361 from_len = strlen ((const char *) from) + 1; in do_convert() 364 if ((int) iconv(cd, (char **) &from, &from_len, (char **) &to, &to_len) == -1) in do_convert()
|
/PHP-7.3/ext/oci8/ |
H A D | oci8_lob.c | 766 ub4 dest_len, from_len; in php_oci_lob_append() local 773 if (php_oci_lob_get_length(descriptor_from, &from_len)) { in php_oci_lob_append() 777 if (from_len <= 0) { in php_oci_lob_append()
|
/PHP-7.3/ext/pgsql/ |
H A D | pgsql.c | 4416 size_t from_len; local 4425 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &from, &from_len) == FAILURE) { 4431 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &pgsql_link, &from, &from_len) == FAILURE) { 4443 to = (char *)PQescapeByteaConn(pgsql, (unsigned char *)from, (size_t)from_len, &to_len); 4446 to = (char *)PQescapeBytea((unsigned char*)from, from_len, &to_len); 4566 size_t from_len; local 4568 &from, &from_len) == FAILURE) { 4594 size_t from_len; local 4600 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &from, &from_len) == FAILURE) { 4625 tmp = PGSQLescapeLiteral(pgsql, from, (size_t)from_len); [all …]
|
Completed in 34 milliseconds