Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 14 of 14) sorted by relevance

/art/tools/checker/file_format/c1visualizer/
Dparser.py28 def __parseC1Line(line, lineNo, state, fileName): argument
46 Logger.fail("Expected output group name", fileName, lineNo)
60 Logger.fail("Empty method name in output", fileName, lineNo)
72 Logger.fail("Expected method header", fileName, lineNo)
79 Logger.fail("C1visualizer line not inside a group", fileName, lineNo)
81 def ParseC1visualizerStream(fileName, stream): argument
82 c1File = C1visualizerFile(fileName)
84 fnProcessLine = lambda line, lineNo: __parseC1Line(line, lineNo, state, fileName)
86 Logger.fail("C1visualizer line not inside a group", fileName, lineNo)
Dstruct.py20 def __init__(self, fileName): argument
21 self.fileName = fileName
47 Logger.fail("C1visualizer pass does not have a name", self.fileName, self.startLineNo)
49 Logger.fail("C1visualizer pass does not have a body", self.fileName, self.startLineNo)
54 def fileName(self): member in C1visualizerPass
55 return self.parent.fileName
/art/dexlist/
Ddexlist.cc86 const char* fileName, u4 idx, u4 flags ATTRIBUTE_UNUSED, in dumpMethod() argument
109 if (fileName == nullptr || fileName[0] == 0) { in dumpMethod()
110 fileName = "(none)"; in dumpMethod()
128 className.get(), methodName, typeDesc, fileName, first_line); in dumpMethod()
139 const char* fileName = nullptr; in dumpClass() local
141 fileName = pDexFile->StringDataByIdx(class_def.source_file_idx_); in dumpClass()
147 fileName, in dumpClass()
158 static int processFile(const char* fileName) { in processFile() argument
164 if (!android::base::ReadFileToString(fileName, &content)) { in processFile()
174 fileName, in processFile()
[all …]
/art/test/150-loadlibrary/src/
DMain.java34 String fileName = null; in main() local
38 fileName = candidate; in main()
42 if (fileName == null) { in main()
52 Object result = m.invoke(Runtime.getRuntime(), fileName, bootClassLoader); in main()
/art/tools/checker/file_format/checker/
Dstruct.py22 def __init__(self, fileName): argument
23 self.fileName = fileName
50 Logger.fail("Test case does not have a name", self.fileName, self.startLineNo)
55 def fileName(self): member in TestCase
56 return self.parent.fileName
65 new_assertion.fileName, new_assertion.lineNo)
92 def fileName(self): member in TestAssertion
93 return self.parent.fileName
99 Logger.fail("CHECK-NOT lines cannot define variables", self.fileName, self.lineNo)
Dparser.py73 def __processLine(line, lineNo, prefix, fileName, targetArch): argument
118 Logger.fail("Checker assertion could not be parsed: '" + line + "'", fileName, lineNo)
194 def ParseCheckerStream(fileName, prefix, stream, targetArch = None): argument
195 checkerFile = CheckerFile(fileName)
196 fnProcessLine = lambda line, lineNo: __processLine(line, lineNo, prefix, fileName, targetArch)
198 Logger.fail("Checker line not inside a group", fileName, lineNo)
/art/test/671-npe-field-opts/src/
DMain.java67 String fileName, int lineNumber) { in checkElement() argument
70 assertEquals(fileName, element.getFileName()); in checkElement()
/art/dexdump/
Ddexdump.h58 int processFile(const char* fileName);
Ddexdump.cc1562 const char* fileName; in dumpClass() local
1564 fileName = pDexFile->StringDataByIdx(pClassDef.source_file_idx_); in dumpClass()
1566 fileName = "unknown"; in dumpClass()
1569 pClassDef.source_file_idx_.index_, fileName); in dumpClass()
1802 static void processDexFile(const char* fileName, in processDexFile() argument
1806 fputs(fileName, gOutFile); in processDexFile()
1855 int processFile(const char* fileName) { in processFile() argument
1857 fprintf(gOutFile, "Processing '%s'...\n", fileName); in processFile()
1866 if (!android::base::ReadFileToString(fileName, &content)) { in processFile()
1876 fileName, in processFile()
[all …]
/art/tools/dexfuzz/src/dexfuzz/program/
DProgram.java493 private void writeMutationsToDisk(String fileName) { in writeMutationsToDisk() argument
496 BufferedWriter writer = new BufferedWriter(new FileWriter(fileName)); in writeMutationsToDisk()
506 private void loadMutationsFromDisk(String fileName) { in loadMutationsFromDisk() argument
509 BufferedReader reader = new BufferedReader(new FileReader(fileName)); in loadMutationsFromDisk()
/art/tools/checker/common/
Dlogger.py99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
/art/test/122-npe/src/
DMain.java567 String fileName, int lineNumber) { in checkElement() argument
570 assertEquals(fileName, element.getFileName()); in checkElement()
/art/tools/checker/match/
Dfile.py176 testCase.fileName, testCase.startLineNo, testCase.name)
/art/test/439-npe/src/
DMain.java882 String fileName, int lineNumber) { in checkElement() argument
885 assertEquals(fileName, element.getFileName()); in checkElement()