Lines Matching refs:ptch
265 def diffData(base, ptch, d1, d2) : argument
269 tmpFile2 = tmpDir2 + os.path.basename(ptch) + t.getName()
499 def protoCatalog(base, ptch) : argument
513 ptchFilesList = list(findFiles(ptch))
514 ptchStringLength = len(ptch)
571 def flistCatalog(base, ptch, flist) : argument
609 if not os.path.exists(ptch + fn) :
612 if os.path.exists(ptch + f) :
614 elif os.path.exists(ptch + "root_" + arch + "/" + f) :
621 if os.path.islink(ptch + fn) :
632 os.path.islink(ptch + fn) :
825 def compareElfs(base, ptch, quiet) : argument
836 ptch_header = get_elfheader(ptch)
863 base + " but not in " + ptch + \
879 ptch + " but not in " + base + \
905 s2 = extract_elf_section(ptch, sect);
912 data = diff_elf_section(base, ptch, \
953 def compareArchives(base, ptch, fileType) : argument
964 if compareBasic(base, ptch, True, fileType) == 0 :
987 ptchCmd = "cp -fp " + ptch + " " + ArchTmpDir2
1061 def compareBasic(base, ptch, quiet, fileType) : argument
1065 if quiet and os.stat(base)[ST_SIZE] != os.stat(ptch)[ST_SIZE] :
1074 ptchFile = open(ptch)
1076 error("could not open " + ptch)
1107 diffs = diffData(base, ptch, baseData, ptchData)
1121 def compareByDumping(base, ptch, quiet, fileType) : argument
1126 tmpFile2 = tmpDir2 + os.path.basename(ptch) + t.getName()
1133 ptchCmd = lintdump_cmd + " -ir " + ptch + \
1140 ptchCmd = "echo .dump | " + sqlite_cmd + ptch + " > " + \
1227 ptch = ptchRoot + fn
1229 compareOneFile(base, ptch, False)
1237 def compareOneFile(base, ptch, quiet) : argument
1242 ptype = getTheFileType(ptch)
1257 return compareElfs(base, ptch, quiet)
1260 return compareArchives(base, ptch, fileType)
1263 return compareBasic(base, ptch, quiet, fileType)
1266 return compareByDumping(base, ptch, quiet, fileType)
1269 return compareByDumping(base, ptch, quiet, fileType)
1273 return compareBasic(base, ptch, quiet, fileType)