Home
last modified time | relevance | path

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

/PHP-5.4/ext/zip/
H A Dphp_zip.c2424 char *pathto; in ZIPARCHIVE_METHOD() local
2434 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &pathto, &pathto_len, &zval_files) == … in ZIPARCHIVE_METHOD()
2442 if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) { in ZIPARCHIVE_METHOD()
2443 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL); in ZIPARCHIVE_METHOD()
2453 …if (!php_zip_extract_file(intern, pathto, Z_STRVAL_P(zval_files), Z_STRLEN_P(zval_files) TSRMLS_CC… in ZIPARCHIVE_METHOD()
2468 …if (!php_zip_extract_file(intern, pathto, Z_STRVAL_PP(zval_file), Z_STRLEN_PP(zval_file) TSRMLS_CC… in ZIPARCHIVE_METHOD()
2492 if (!php_zip_extract_file(intern, pathto, file, strlen(file) TSRMLS_CC)) { in ZIPARCHIVE_METHOD()
2703 ZEND_ARG_INFO(0, pathto)
/PHP-5.4/ext/phar/
H A Dphar_object.c4390 char *pathto, *filename, *actual; local
4399 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z!b", &pathto, &pathto_len, &zval_files, &…
4421 char *tmp = estrndup(pathto, 50);
4428 if (php_stream_stat_path(pathto, &ssb) < 0) {
4429 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL);
4432 "Unable to create path \"%s\" for extraction", pathto);
4437 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto);
4479 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) {
4500 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) {
4523 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) {
[all …]

Completed in 25 milliseconds