Home
last modified time | relevance | path

Searched refs:replaceAll (Results 1 – 25 of 141) sorted by relevance

123456

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/util/
DH2Map.java36 String scrubbedSQL = sql.replaceAll("(?i:autoincrement)", "auto_increment"); in getScrubSQL()
38 scrubbedSQL = scrubbedSQL.replaceAll("(?i:integer)", "bigint(19)"); in getScrubSQL()
40 scrubbedSQL = scrubbedSQL.replaceAll("INSERT OR ROLLBACK INTO", "INSERT INTO"); in getScrubSQL()
41 scrubbedSQL = scrubbedSQL.replaceAll("INSERT OR ABORT INTO", "INSERT INTO"); in getScrubSQL()
42 scrubbedSQL = scrubbedSQL.replaceAll("INSERT OR FAIL INTO", "INSERT INTO"); in getScrubSQL()
43 scrubbedSQL = scrubbedSQL.replaceAll("INSERT OR IGNORE INTO", "INSERT INTO"); in getScrubSQL()
44 scrubbedSQL = scrubbedSQL.replaceAll("INSERT OR REPLACE INTO", "INSERT INTO"); in getScrubSQL()
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/
DAternativeApproach.java66 String r = m.replaceAll("Logger"); in test2()
72 r = m.replaceAll("Logger"); in test2()
94 String r = m.replaceAll("LoggerFactory.getLogger("); in test3()
111 String r = m.replaceAll(" Logger"); in test4()
133 r = m2.replaceAll("Logger"); in test4()
145 String r = m.replaceAll(" Logger"); in test5()
151 r = m.replaceAll("LoggerFactory.getLogger("); in test5()
/external/smali/util/src/main/java/org/jf/util/
DTextUtils.java59 source = matcher.replaceAll(""); in normalizeWhitespace()
64 source = matcher2.replaceAll(""); in normalizeWhitespace()
69 source = matcher3.replaceAll(""); in normalizeWhitespace()
80 return matcher.replaceAll(""); in stripComments()
/external/jmonkeyengine/engine/src/core/com/jme3/shader/
DShaderUtils.java41 input = input.replaceAll("varying", "in"); in convertToGLSL130()
43 input = input.replaceAll("attribute", "in"); in convertToGLSL130()
44 input = input.replaceAll("varying", "out"); in convertToGLSL130()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DXTagXmlResourceLoader.java62 return xmlFile.getCanonicalPath().replaceAll( "[/\\\\\\\\]", "/" ).replaceAll( "^.*?/res/", "" ) in toResourceName()
63 .replaceAll( "\\..+$", "" ); in toResourceName()
DDrawableResourceLoader.java119 return xmlFile.getCanonicalPath().replaceAll("[/\\\\\\\\]", "/") in toResourceName()
120 .replaceAll("^.*?/res/", "").replaceAll("\\..+$", ""); in toResourceName()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DClassicToken.java132 txt = txt.replaceAll("\n","\\\\n"); in toString()
133 txt = txt.replaceAll("\r","\\\\r"); in toString()
134 txt = txt.replaceAll("\t","\\\\t"); in toString()
DCommonToken.java182 txt = txt.replaceAll("\n","\\\\n"); in toString()
183 txt = txt.replaceAll("\r","\\\\r"); in toString()
184 txt = txt.replaceAll("\t","\\\\t"); in toString()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DDOTTreeGenerator.java212 text = text.replaceAll("\"", "\\\\\""); in fixString()
213 text = text.replaceAll("\\t", " "); in fixString()
214 text = text.replaceAll("\\n", "\\\\n"); in fixString()
215 text = text.replaceAll("\\r", "\\\\r"); in fixString()
/external/jdiff/src/jdiff/
DSingleComment.java26 id_ = id.replaceAll("<", "&lt;").replaceAll(">", "&gt;");; in SingleComment()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DErrorMessages.java367 return s.replaceAll("component", "subcomponent").replaceAll("Component", "Subcomponent"); in process()
385 return s.replaceAll("component", "production component") in process()
386 .replaceAll("Component", "ProductionComponent"); in process()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DVariableReplacer.java32 source = replaceAll(source, variable, value); in replace()
37 public String replaceAll(String source, String key, String value) { in replaceAll() method in VariableReplacer
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DVariableReplacer.java31 source = replaceAll(source, variable, value); in replace()
36 public String replaceAll(String source, String key, String value) { in replaceAll() method in VariableReplacer
/external/libgdx/gdx/src/com/badlogic/gdx/assets/
DAssetDescriptor.java41 this.fileName = fileName.replaceAll("\\\\", "/"); in AssetDescriptor()
48 this.fileName = file.path().replaceAll("\\\\", "/"); in AssetDescriptor()
/external/vogar/test/vogar/target/
DTestRunnerTest.java105 out = out.replaceAll("\t[^\n]+\\n", ""); in testConstructor_CaliperBenchmark()
143 out = out.replaceAll("^Profiling is disabled:[^\n]+\\n", ""); in testConstructor_CaliperBenchmark_Profile()
146 out = out.replaceAll("\t[^\n]+\\n", ""); in testConstructor_CaliperBenchmark_Profile()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java228 numberPattern = CHARACTER_CLASS_PATTERN.matcher(numberPattern).replaceAll("\\\\d"); in createFormattingTemplate()
231 numberPattern = STANDALONE_DIGIT_PATTERN.matcher(numberPattern).replaceAll("\\\\d"); in createFormattingTemplate()
256 String template = aPhoneNumber.replaceAll(numberPattern, numberFormat); in getFormattingTemplate()
258 template = template.replaceAll("9", DIGIT_PLACEHOLDER); in getFormattingTemplate()
436 String formattedNumber = m.replaceAll(numberFormat.getFormat()); in attemptToFormatAccruedDigits()
/external/doclava/src/com/google/doclava/
DPageMetadata.java356 tagList = tagList.replaceAll("\"", ""); in getPageTagsNormalized()
368 tagParts[iter] = tagParts[iter].replaceAll(" ",""); in getPageTagsNormalized()
397 tagList.replaceAll("\"", ""); in getStringValueNormalized()
485 str = s.replaceAll("^\"|\"$", ""); in getSummaryNormalized()
486 str = str.replaceAll("\\s+", " "); in getSummaryNormalized()
487 str = JD_TAG_PATTERN.matcher(str).replaceAll("$1"); in getSummaryNormalized()
503 s = s.replaceAll("\"", "&quot;"); in escapeString()
504 s = s.replaceAll("\'", "&#39;"); in escapeString()
505 s = s.replaceAll("<", "&lt;"); in escapeString()
506 s = s.replaceAll(">", "&gt;"); in escapeString()
[all …]
/external/jmonkeyengine/engine/src/tools/jme3tools/savegame/
DSaveGame.java41 …ystem.getStorageFolder().getAbsolutePath() + File.separator + gamePath.replaceAll("/", File.separa… in saveGame()
93 …ystem.getStorageFolder().getAbsolutePath() + File.separator + gamePath.replaceAll("/", File.separa… in loadGame()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DWildcard.java138 replace = replace.replaceAll("([$\\\\])", "\\\\$0"); in replaceAllLiteral()
139 return pattern.matcher(value).replaceAll(replace); in replaceAllLiteral()
/external/vogar/src/vogar/
DOutcome.java75 return Strings.xmlSanitize(outputLine.replaceAll("\r\n?", "\n")); in sanitizeOutputLine()
155 return outcomeName.replaceAll("[\\.#]", "/"); in getPath()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlSanitizerTest.java369 return value.replaceAll("(?:^|\\s)([a-zA-Z])", " p-$1") in sanitize()
370 .replaceAll("\\s+", " ") in sanitize()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java175 classResourceName = classname.replaceAll("[\\.]", "/") in getCached()
180 .replaceAll("[\\.]", "/") in getCached()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugEventSocketProxy.cs385 txt = StringExtensions.replaceAll(txt, "%", "%25"); // escape all escape char ;) in EscapeNewlines()
386 txt = StringExtensions.replaceAll(txt, "\n", "%0A"); // escape \n in EscapeNewlines()
387 txt = StringExtensions.replaceAll(txt, "\r", "%0D"); // escape \r in EscapeNewlines()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DInternalLocaleBuilder.java75 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
121 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword()
166 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension()
202 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions()
484 … sb.append(privuse.substring(privVarStart).replaceAll(LanguageTag.SEP, BaseLocale.SEP)); in getBaseLocale()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DInternalLocaleBuilder.java79 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
125 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword()
170 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension()
206 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions()
488 … sb.append(privuse.substring(privVarStart).replaceAll(LanguageTag.SEP, BaseLocale.SEP)); in getBaseLocale()

123456