Lines Matching refs:pathto
4375 static int extract_helper(phar_archive_data *archive, zend_string *search, char *pathto, size_t pat… in extract_helper() argument
4382 if (FAILURE == phar_extract_file(overwrite, entry, pathto, (int)pathto_len, error)) return -1; in extract_helper()
4389 if (FAILURE == phar_extract_file(overwrite, entry, pathto, (int)pathto_len, error)) return -1; in extract_helper()
4396 if (FAILURE == phar_extract_file(overwrite, entry, pathto, (int)pathto_len, error)) return -1; in extract_helper()
4411 char *pathto; in PHP_METHOD() local
4423 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|z!b", &pathto, &pathto_len, &zval_files, &overwrite)… in PHP_METHOD()
4444 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4451 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4452 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4455 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4460 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
4484 …switch (extract_helper(phar_obj->archive, Z_STR_P(zval_file), pathto, pathto_len, overwrite, &erro… in PHP_METHOD()
4508 ret = extract_helper(phar_obj->archive, filename, pathto, pathto_len, overwrite, &error); in PHP_METHOD()
5314 ZEND_ARG_INFO(0, pathto)