Home
last modified time | relevance | path

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

1234

/external/robolectric/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/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/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/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/doclava/src/com/google/doclava/
DPageMetadata.java284 tagList = tagList.replaceAll("\"", ""); in getPageTagsNormalized()
296 tagParts[iter] = tagParts[iter].replaceAll(" ",""); in getPageTagsNormalized()
325 tagList.replaceAll("\"", ""); in getStringValueNormalized()
406 str = s.replaceAll("^\"|\"$", ""); in getSummaryNormalized()
407 str = str.replaceAll("\\s+", " "); in getSummaryNormalized()
408 str = JD_TAG_PATTERN.matcher(str).replaceAll("$1"); in getSummaryNormalized()
424 s = s.replaceAll("\"", "&quot;"); in escapeString()
425 s = s.replaceAll("\'", "&#39;"); in escapeString()
426 s = s.replaceAll("<", "&lt;"); in escapeString()
427 s = s.replaceAll(">", "&gt;"); in escapeString()
[all …]
/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/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/vogar/src/vogar/
DOutcome.java75 return Strings.xmlSanitize(outputLine.replaceAll("\r\n?", "\n")); in sanitizeOutputLine()
155 return outcomeName.replaceAll("[\\.#]", "/"); in getPath()
/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/icu/icu4j/main/classes/core/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/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/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/easymock/src/org/easymock/internal/matchers/
DMatches.java37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\") in appendTo()
DFind.java39 buffer.append("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")"); in appendTo()
/external/mockito/src/org/mockito/internal/matchers/
DMatches.java28 description.appendText("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\") in describeTo()
DFind.java28 description.appendText("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")"); in describeTo()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugEventSocketProxy.java348 txt = txt.replaceAll("%","%25"); // escape all escape char ;) in escapeNewlines()
349 txt = txt.replaceAll("\n","%0A"); // escape \n in escapeNewlines()
350 txt = txt.replaceAll("\r","%0D"); // escape \r in escapeNewlines()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DField.java233 .replaceAll("/", ".") in getType()
241 .replaceAll("/", "."); // skip ending ';' in getType()

1234