Lines Matching refs:p_path

622   //   extract($p_path="./", $p_remove_path="")
627 // folder indicated in $p_path.
637 // $p_path : Path where the files and directories are to be extracted
769 // extractByIndex($p_index, $p_path="./", $p_remove_path="")
783 // $p_path : Path where the files and directories are to be extracted
3003 // $p_path : Path to add while writing the extracted files
3008 // $p_path and $p_remove_path are commulative.
3012 public function privExtractByRule(&$p_file_list, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)
3014 //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privExtractByRule", "path='$p_path', remove_path='$p_remove_path', remove_all_path='".($p_remove_all_path?'true':'false')."'");
3022 ($p_path == "")
3023 || ( (substr($p_path, 0, 1) != "/")
3024 && (substr($p_path, 0, 3) != "../")
3025 && (substr($p_path, 1, 2) != ":/"))
3027 $p_path = "./" . $p_path;
3030 if (($p_path != "./") && ($p_path != "/")) {
3032 while (substr($p_path, -1) == "/") {
3033 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Destination path [$p_path] ends by '/'");
3034 $p_path = substr($p_path, 0, strlen($p_path) - 1);
3035 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Modified to [$p_path]");
3344 $p_path,
3393 public function privExtractFile(&$p_entry, $p_path, $p_remove_path, $p_remove_all_path, &$p_options)
3395 //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, 'PclZip::privExtractFile', "path='$p_path', remove_path='$p_remove_path', remove_all_path='".($p_remove_all_path?'true':'false')."'");
3450 if ($p_path != '') {
3451 $p_entry['filename'] = $p_path . "/" . $p_entry['filename'];
5299 // This function indicates if the path $p_path is under the $p_dir tree. Or,
5300 // said in an other way, if the file or sub-dir $p_path is inside the dir
5307 // 0 if $p_path is not inside directory $p_dir
5308 // 1 if $p_path is inside directory $p_dir
5309 // 2 if $p_path is exactly the same as $p_dir
5311 function PclZipUtilPathInclusion($p_dir, $p_path)
5313 //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZipUtilPathInclusion", "dir='$p_dir', path='$p_path'");
5325 ($p_path == '.')
5326 || ((strlen($p_path) >= 2) && (substr($p_path, 0, 2) == './'))
5328 $p_path = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_path, 1);
5329 //--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 5, "Replacing ./ by full path in p_path '".$p_path."'");
5335 $v_list_path = explode("/", $p_path);
5525 // $p_path : path to translate.
5530 function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter = true)
5534 if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) {
5535 $p_path = substr($p_path, $v_position + 1);
5538 if ((strpos($p_path, '\\') > 0) || (substr($p_path, 0, 1) == '\\')) {
5539 $p_path = strtr($p_path, '\\', '/');
5542 return $p_path;