Lines Matching refs:pathto
4311 static int extract_helper(phar_archive_data *archive, zend_string *search, char *pathto, size_t pat… in extract_helper() argument
4318 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4325 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4332 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, error)) return -1; in extract_helper()
4345 char *pathto; in PHP_METHOD() local
4355 Z_PARAM_PATH(pathto, pathto_len) in PHP_METHOD()
4380 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4387 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4388 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4391 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4396 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
4412 …switch (extract_helper(phar_obj->archive, Z_STR_P(zval_file), pathto, pathto_len, overwrite, &erro… in PHP_METHOD()
4428 ret = extract_helper(phar_obj->archive, filename, pathto, pathto_len, overwrite, &error); in PHP_METHOD()