Lines Matching refs:pathto
4326 static int extract_helper(phar_archive_data *archive, zend_string *search, char *pathto, size_t pat… in extract_helper() argument
4333 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()
4427 …switch (extract_helper(phar_obj->archive, Z_STR_P(zval_file), pathto, pathto_len, overwrite, &erro… in PHP_METHOD()
4443 ret = extract_helper(phar_obj->archive, filename, pathto, pathto_len, overwrite, &error); in PHP_METHOD()