Home
last modified time | relevance | path

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

/PHP-5.6/ext/zip/
H A Dphp_zip.c2655 char *pathto; in ZIPARCHIVE_METHOD() local
2665 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|z", &pathto, &pathto_len, &zval_files) == … in ZIPARCHIVE_METHOD()
2673 if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) { in ZIPARCHIVE_METHOD()
2674 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in ZIPARCHIVE_METHOD()
2684 …if (!php_zip_extract_file(intern, pathto, Z_STRVAL_P(zval_files), Z_STRLEN_P(zval_files) TSRMLS_CC… in ZIPARCHIVE_METHOD()
2699 …if (!php_zip_extract_file(intern, pathto, Z_STRVAL_PP(zval_file), Z_STRLEN_PP(zval_file) TSRMLS_CC… in ZIPARCHIVE_METHOD()
2723 if (!file || !php_zip_extract_file(intern, pathto, file, strlen(file) TSRMLS_CC)) { in ZIPARCHIVE_METHOD()
2938 ZEND_ARG_INFO(0, pathto)
/PHP-5.6/ext/phar/
H A Dphar_object.c4318 char *pathto, *filename, *actual; in PHP_METHOD() local
4327 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|z!b", &pathto, &pathto_len, &zval_files, &… in PHP_METHOD()
4349 char *tmp = estrndup(pathto, 50); in PHP_METHOD()
4356 if (php_stream_stat_path(pathto, &ssb) < 0) { in PHP_METHOD()
4357 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in PHP_METHOD()
4360 "Unable to create path \"%s\" for extraction", pathto); in PHP_METHOD()
4365 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto); in PHP_METHOD()
4397 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) { in PHP_METHOD()
4418 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) { in PHP_METHOD()
4441 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) { in PHP_METHOD()
[all …]

Completed in 22 milliseconds