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

/PHP_5_3/ext/zip/
H A Dphp_zip.c2412 /* {{{ proto bool ZipArchive::extractTo(string pathto[, mixed files])
2427 char *pathto; local
2437 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z", &pathto, &pathto_len, &zval_files) == FAILURE) {
2445 if (strlen(pathto) != pathto_len) {
2449 if (php_stream_stat_path_ex(pathto, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL) < 0) {
2450 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL);
2460 if (!php_zip_extract_file(intern, pathto, Z_STRVAL_P(zval_files), Z_STRLEN_P(zval_files) TSRMLS_CC)) {
2475 if (!php_zip_extract_file(intern, pathto, Z_STRVAL_PP(zval_file), Z_STRLEN_PP(zval_file) TSRMLS_CC)) {
2499 if (!php_zip_extract_file(intern, pathto, file, strlen(file) TSRMLS_CC)) {
2713 ZEND_ARG_INFO(0, pathto)
[all...]
/PHP_5_3/ext/phar/
H A Dphar_object.c4328 /* {{{ proto bool Phar::extractTo(string pathto[[, mixed files], bool overwrite])
4337 char *pathto, *filename, *actual; local
4346 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z!b", &pathto, &pathto_len, &zval_files, &overwrite) == FAILURE) {
4368 char *tmp = estrndup(pathto, 50);
4375 if (php_stream_stat_path(pathto, &ssb) < 0) {
4376 ret = php_stream_mkdir(pathto, 0777, PHP_STREAM_MKDIR_RECURSIVE, NULL);
4379 "Unable to create path \"%s\" for extraction", pathto);
4384 "Unable to use path \"%s\" for extraction, it is a file, must be a directory", pathto);
4426 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_len, &error TSRMLS_CC)) {
4447 if (FAILURE == phar_extract_file(overwrite, entry, pathto, pathto_le
[all...]

Completed in 16 milliseconds