Home
last modified time | relevance | path

Searched refs:pathto (Results 1 – 4 of 4) sorted by relevance

/php-src/ext/phar/
H A Dphar_object.c4333 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4340 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4347 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4360 char *pathto; in PHP_METHOD() local
4370 Z_PARAM_PATH(pathto, pathto_len) in PHP_METHOD()
4395 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4402 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4403 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4406 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4411 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
[all …]
/php-src/ext/zip/
H A Dphp_zip.c2808 char *pathto; local
2813 Z_PARAM_PATH(pathto, pathto_len)
2824 if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
2825 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL);
2834 if (!php_zip_extract_file(intern, pathto, ZSTR_VAL(files_str), ZSTR_LEN(files_str), -1)) {
2849 if (!php_zip_extract_file(intern, pathto, Z_STRVAL_P(zval_file), Z_STRLEN_P(zval_file), -1)) {
2867 if (!file || !php_zip_extract_file(intern, pathto, file, strlen(file), i)) {
H A Dphp_zip.stub.php752 public function extractTo(string $pathto, array|string|null $files = null): bool {}
H A Dphp_zip_arginfo.h199 ZEND_ARG_TYPE_INFO(0, pathto, IS_STRING, 0)

Completed in 35 milliseconds