Lines Matching refs:resolved_path
290 char resolved_path[MAXPATHLEN]; in php_zip_add_file() local
297 if (!expand_filepath(filename, resolved_path)) { in php_zip_add_file()
302 if (php_stream_stat_path_ex(resolved_path, PHP_STREAM_URL_STAT_QUIET, &ssb, NULL)) { in php_zip_add_file()
309 fd = fopen(resolved_path, "rb"); in php_zip_add_file()
316 zs = zip_source_file(obj->za, resolved_path, offset_start, offset_len); in php_zip_add_file()
1177 char resolved_path[MAXPATHLEN + 1]; in PHP_FUNCTION() local
1195 if(!expand_filepath(ZSTR_VAL(filename), resolved_path)) { in PHP_FUNCTION()
1202 rsrc_int->za = zip_open(resolved_path, 0, &err); in PHP_FUNCTION()
1456 char *resolved_path; local
1477 if (!(resolved_path = expand_filepath(ZSTR_VAL(filename), NULL))) {
1486 efree(resolved_path);
1505 if (VCWD_STAT(resolved_path, &st) == 0 && st.st_size == 0) {
1514 intern = zip_open(resolved_path, flags, &err);
1516 efree(resolved_path);
1519 ze_obj->filename = resolved_path;
1520 ze_obj->filename_len = strlen(resolved_path);