Lines Matching refs:pathto
4283 static int extract_helper(phar_archive_data *archive, zend_string *search, char *pathto, size_t pat… in extract_helper() argument
4290 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4297 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4304 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4317 char *pathto; in PHP_METHOD() local
4327 Z_PARAM_PATH(pathto, pathto_len) in PHP_METHOD()
4352 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4359 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4360 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4363 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4368 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
4384 …switch (extract_helper(phar_obj->archive, Z_STR_P(zval_file), pathto, pathto_len, overwrite, &erro… in PHP_METHOD()
4400 ret = extract_helper(phar_obj->archive, filename, pathto, pathto_len, overwrite, &error); in PHP_METHOD()