Lines Matching refs:ptch
521 def protoCatalog(base, ptch) : argument
535 ptchFilesList = list(findFiles(ptch))
536 ptchStringLength = len(ptch)
593 def flistCatalog(base, ptch, flist) : argument
631 if not os.path.exists(ptch + fn) :
634 if os.path.exists(ptch + f) :
636 elif os.path.exists(ptch + "root_" + arch + "/" + f) :
643 if os.path.islink(ptch + fn) :
654 os.path.islink(ptch + fn)) :
917 def compareElfs(base, ptch, quiet) : argument
929 ptch_header = get_elfheader(ptch)
957 base + " but not in " + ptch +
973 ptch + " but not in " + base +
999 s2 = extract_elf_section(ptch, sect);
1006 data = diff_elf_section(base, ptch,
1052 def compareArchives(base, ptch, fileType) : argument
1063 if compareBasic(base, ptch, True, fileType) == 0 :
1086 ptchCmd = "cp -fp " + ptch + " " + ArchTmpDir2
1158 def compareBasic(base, ptch, quiet, fileType) : argument
1162 if quiet and os.stat(base)[ST_SIZE] != os.stat(ptch)[ST_SIZE] :
1173 with open(ptch, 'rb') as fh:
1176 error("could not open " + ptch)
1184 diffs = diffFileData(base, ptch)
1198 def compareByDumping(base, ptch, quiet, fileType) : argument
1203 tmpFile2 = tmpDir2 + os.path.basename(ptch) + t.getName()
1210 ptchCmd = (lintdump_cmd + " -ir " + ptch +
1217 ptchCmd = ("echo .dump | " + sqlite_cmd + ptch + " > " +
1294 ptch = ptchRoot + fn
1296 compareOneFile(base, ptch, False)
1304 def compareOneFile(base, ptch, quiet) : argument
1309 ptype = getTheFileType(ptch)
1325 return compareElfs(base, ptch, quiet)
1328 return compareArchives(base, ptch, fileType)
1331 return compareBasic(base, ptch, quiet, fileType)
1334 return compareByDumping(base, ptch, quiet, fileType)
1337 return compareByDumping(base, ptch, quiet, fileType)
1341 return compareBasic(base, ptch, quiet, fileType)