Home
last modified time | relevance | path

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

1234567

/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/deqp/external/openglcts/modules/gl/
Dgl3cCullDistanceTests.cpp262 void CullDistance::Utilities::replaceAll(std::string& str, const std::string& from, const std::stri… in replaceAll() function in glcts::CullDistance::Utilities
1328 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_HEADER_DECLARATION"), in buildPO()
1340 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_ASSIGN_RETURN_VALUE"), in buildPO()
1365 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_SUM_SETTER"), in buildPO()
1367 CullDistance::Utilities::replaceAll( in buildPO()
1376 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_ASSIGN_RETURN_VALUE"), in buildPO()
1387 CullDistance::Utilities::replaceAll( in buildPO()
1390 CullDistance::Utilities::replaceAll( in buildPO()
1398 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_LAYOUT_IN"), in buildPO()
1400 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_LAYOUT_OUT"), in buildPO()
[all …]
/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/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/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/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/jdiff/src/jdiff/
DSingleComment.java26 id_ = id.replaceAll("<", "&lt;").replaceAll(">", "&gt;");; in SingleComment()
/external/robolectric-shadows/buildSrc/src/main/groovy/
DProvideBuildClasspathTask.groovy19 paths << "${artifactName.replaceAll(/:/, '\\\\:')}: ${classesDir}:${resourcesDir}"
26 paths << "${androidSdk.coordinates.replaceAll(/:/, '\\\\:')}: ${config.files.join(':')}"
DShadowsPlugin.groovy35 def shadowPackageNameDir = project.shadows.packageName.replaceAll(/\./, '/')
40 def shadowPackageNameDir = project.shadows.packageName.replaceAll(/\./, '/')
/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/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java230 numberPattern = CHARACTER_CLASS_PATTERN.matcher(numberPattern).replaceAll("\\\\d"); in createFormattingTemplate()
233 numberPattern = STANDALONE_DIGIT_PATTERN.matcher(numberPattern).replaceAll("\\\\d"); in createFormattingTemplate()
258 String template = aPhoneNumber.replaceAll(numberPattern, numberFormat); in getFormattingTemplate()
260 template = template.replaceAll("9", DIGIT_PLACEHOLDER); in getFormattingTemplate()
439 String formattedNumber = m.replaceAll(numberFormat.getFormat()); in attemptToFormatAccruedDigits()
/external/mockito/src/test/java/org/mockitoutil/
DTestBase.java100 return stackTrace.replaceAll("(\\((\\w+\\.java):(\\d)+\\))", "($2:0)"); in filterLineNo()
109 return text.replaceAll("hashCode: (\\d)+\\.", "hashCode: xxx."); in filterHashCode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DInternalLocaleBuilder.java77 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
123 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword()
168 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension()
204 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions()
486 … sb.append(privuse.substring(privVarStart).replaceAll(LanguageTag.SEP, BaseLocale.SEP)); in getBaseLocale()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DInternalLocaleBuilder.java77 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
123 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword()
168 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension()
204 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions()
486 … sb.append(privuse.substring(privVarStart).replaceAll(LanguageTag.SEP, BaseLocale.SEP)); in getBaseLocale()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DInternalLocaleBuilder.java81 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
127 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword()
172 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension()
208 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions()
490 … 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/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/icu/icu4c/source/test/intltest/
Dregextst.cpp1311 dest = matcher->replaceAll("yz", status); in API_Replace()
1324 dest = matcher->replaceAll("yz", status); in API_Replace()
1337 dest = matcher->replaceAll("yz", status); in API_Replace()
1349 dest = matcher->replaceAll("", status); in API_Replace()
1362 dest = matcher->replaceAll("xyz", status); in API_Replace()
1403 UnicodeString result = matcher->replaceAll(substitute, status); in API_Replace()
1411 UnicodeString result = matcher->replaceAll(substitute, status); in API_Replace()
2429 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8()
2436 result = matcher->replaceAll(&replText, &destText, status); in API_Replace_UTF8()
2457 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8()
[all …]

1234567