Home
last modified time | relevance | path

Searched refs:smaliFile (Results 1 – 4 of 4) sorted by relevance

/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliCodeFragmentFactoryTest.java109 … SmaliFile smaliFile = (SmaliFile)configureByText(SmaliFileType.INSTANCE, completionTestClass); in testCompletion() local
111 PsiElement context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(0); in testCompletion()
115 context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(2); in testCompletion()
119 context = smaliFile.getPsiClass().getMethods()[0].getInstructions().get(6); in testCompletion()
204 SmaliFile smaliFile = (SmaliFile)configureByText(SmaliFileType.INSTANCE, in testRegisterType() local
209 PsiElement context = smaliFile.findElementAt(refOffset); in testRegisterType()
216 SmaliFile smaliFile = (SmaliFile)configureByText(SmaliFileType.INSTANCE, in testUnknownClass() local
221 PsiElement context = smaliFile.findElementAt(refOffset); in testUnknownClass()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
Dbaksmali.java194 File smaliFile = fileNameHandler.getUniqueFilenameForClass(classDescriptor); in disassembleClass() local
203 File smaliParent = smaliFile.getParentFile(); in disassembleClass()
214 if (!smaliFile.exists()){ in disassembleClass()
215 if (!smaliFile.createNewFile()) { in disassembleClass()
216 … System.err.println("Unable to create file " + smaliFile.toString() + " - skipping class"); in disassembleClass()
222 new FileOutputStream(smaliFile), "UTF8")); in disassembleClass()
230 smaliFile.delete(); in disassembleClass()
239 … System.err.println("\n\nError occurred while closing file " + smaliFile.toString()); in disassembleClass()
/external/smali/smali/src/test/java/
DLexerTest.java135 String smaliFile = String.format("LexerTest%s%s.smali", File.separatorChar, test); in runTest() local
158 InputStream smaliStream = LexerTest.class.getClassLoader().getResourceAsStream(smaliFile); in runTest()
160 Assert.fail("Could not load " + smaliFile); in runTest()
/external/smali/smali/src/main/java/org/jf/smali/
Dmain.java309 …private static boolean assembleSmaliFile(File smaliFile, DexBuilder dexBuilder, SmaliOptions optio… in assembleSmaliFile() argument
315 FileInputStream fis = new FileInputStream(smaliFile); in assembleSmaliFile()
319 ((smaliFlexLexer)lexer).setSourceFile(smaliFile); in assembleSmaliFile()