Home
last modified time | relevance | path

Searched refs:stripComments (Results 1 – 3 of 3) sorted by relevance

/external/smali/baksmali/src/test/java/org/jf/baksmali/
DBaksmaliTestUtils.java51 baksmaliOptions options, boolean stripComments) throws IOException, in assertSmaliCompiledEquals() argument
57 String normalizedActual = getNormalizedSmali(classDef, options, stripComments); in assertSmaliCompiledEquals()
58 String normalizedExpected = normalizeSmali(expected, stripComments); in assertSmaliCompiledEquals()
76 public static String normalizeSmali(@Nonnull String smaliText, boolean stripComments) { in normalizeSmali() argument
77 if (stripComments) { in normalizeSmali()
78 smaliText = TextUtils.stripComments(smaliText); in normalizeSmali()
85 boolean stripComments) in getNormalizedSmali() argument
92 return normalizeSmali(stringWriter.toString(), stripComments); in getNormalizedSmali()
/external/smali/util/src/test/java/org/jf/util/
DTextUtilsTest.java40 Assert.assertEquals("", TextUtils.stripComments("#world")); in testStripComments()
41 Assert.assertEquals("hello", TextUtils.stripComments("hello#world")); in testStripComments()
42 … Assert.assertEquals("multi\nline", TextUtils.stripComments("multi#hello world\nline#world")); in testStripComments()
/external/smali/util/src/main/java/org/jf/util/
DTextUtils.java77 public static String stripComments(@Nonnull String source) { in stripComments() method in TextUtils