Home
last modified time | relevance | path

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

12345678910>>...12

/external/libchrome/base/test/android/junit/src/org/chromium/base/test/
DTestListInstrumentationRunListenerTest.java51 .replaceAll("\\s", "") in testGetTestMethodJSON_testA()
52 .replaceAll("'", "\""); in testGetTestMethodJSON_testA()
72 .replaceAll("\\s", "") in testGetTestMethodJSON_testB()
73 .replaceAll("'", "\""); in testGetTestMethodJSON_testB()
94 .replaceAll("\\s", "") in testGetTestMethodJSONForInheritedClass()
95 .replaceAll("'", "\""); in testGetTestMethodJSONForInheritedClass()
104 .replaceAll("\\s", "") in testGetAnnotationJSONForParentClass()
105 .replaceAll("'", "\""); in testGetAnnotationJSONForParentClass()
114 .replaceAll("\\s", "") in testGetAnnotationJSONForChildClass()
115 .replaceAll("'", "\""); in testGetAnnotationJSONForChildClass()
/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/cldr/tools/java/org/unicode/cldr/posix/
DPOSIX_LCTime.java88 t_fmt = t_fmt.replaceAll("\"", "/\""); // excaping of " in strings in POSIX_LCTime()
98 t_fmt_ampm = t_fmt_ampm.replaceAll("\"", "/\""); // excaping of " in strings in POSIX_LCTime()
111 d_fmt = d_fmt.replaceAll("\"", "/\""); // excaping of " in strings in POSIX_LCTime()
122 d_t_fmt = d_t_fmt.replaceAll("\\{0\\}", doc.getWinningValue(SearchLocation)); in POSIX_LCTime()
127 d_t_fmt = d_t_fmt.replaceAll("\\{1\\}", doc.getWinningValue(SearchLocation)); in POSIX_LCTime()
131 d_t_fmt = d_t_fmt.replaceAll("\"", "/\""); // excaping of " in strings in POSIX_LCTime()
150 date_fmt = date_fmt.replaceAll("\\{0\\}", doc.getWinningValue(SearchLocation)); in POSIX_LCTime()
153 date_fmt = date_fmt.replaceAll("\\{1\\}", doc.getWinningValue(SearchLocation)); in POSIX_LCTime()
157 date_fmt = date_fmt.replaceAll("\"", "/\""); // excaping of " in strings in POSIX_LCTime()
178 nlldate = nlldate.replaceAll("\"", "/\""); // excaping of " in strings in POSIX_LCTime()
DPOSIXUtilities.java114 return result.toString().replaceAll("><", "-"); in POSIXContraction()
137 result.append(n.replaceAll(" ", "_").replaceAll("DIGIT_", "").toLowerCase()); in POSIXCharName()
148 … result.append(n.replaceAll(" ", "_").replaceAll("<", "").replaceAll(">", "").toUpperCase()); in POSIXCharName()
197 result.append(n.replaceAll(" ", "_").replaceAll("<", "").replaceAll(">", "").toUpperCase()); in POSIXCharFullName()
/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
1334 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_HEADER_DECLARATION"), in buildPO()
1346 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_ASSIGN_RETURN_VALUE"), in buildPO()
1371 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_SUM_SETTER"), in buildPO()
1373 CullDistance::Utilities::replaceAll( in buildPO()
1382 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_ASSIGN_RETURN_VALUE"), in buildPO()
1393 CullDistance::Utilities::replaceAll( in buildPO()
1396 CullDistance::Utilities::replaceAll( in buildPO()
1404 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_LAYOUT_IN"), in buildPO()
1406 CullDistance::Utilities::replaceAll(shader_source, std::string("TEMPLATE_LAYOUT_OUT"), in buildPO()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DMapReplaceAllTester.java55 .replaceAll( in testReplaceAllRotate()
72 .replaceAll( in testReplaceAllPreservesOrder()
90 .replaceAll( in testReplaceAll_unsupported()
108 .replaceAll( in testReplaceAll_unsupportedByEmptyCollection()
121 getMap().replaceAll((K k, V v) -> v); in testReplaceAll_unsupportedNoOpFunction()
DListReplaceAllTester.java40 getList().replaceAll(e -> samples.e3()); in testReplaceAll()
46 getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); in testReplaceAll_changesSome()
60 getList().replaceAll(e -> e); in testReplaceAll_unsupported()
/external/apache-commons-bcel/src/changes/
Drelease-notes.vm33 ##$introduction.replaceAll("(?<!\015)\012", "
34 ##").replaceAll("(?m)^ +","")
40 $release.description.replaceAll(" ", "
55 ## Use replaceAll to fix up LF-only line ends on Windows.
56 #set($action=$actionItem.getAction().replaceAll("\n","
59 #set($action=$action.replaceAll("&lt;","<"))
67 #set($action=$action.replaceAll("(?m)^ +",$indent2))
/external/antlr/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/runtime/Java/src/main/java/org/antlr/runtime/
DClassicToken.java147 txt = txt.replaceAll("\n","\\\\n"); in toString()
148 txt = txt.replaceAll("\r","\\\\r"); in toString()
149 txt = txt.replaceAll("\t","\\\\t"); in toString()
DCommonToken.java197 txt = txt.replaceAll("\n","\\\\n"); in toString()
198 txt = txt.replaceAll("\r","\\\\r"); in toString()
199 txt = txt.replaceAll("\t","\\\\t"); in toString()
/external/jdiff/src/jdiff/
DSingleComment.java26 id_ = id.replaceAll("<", "&lt;").replaceAll(">", "&gt;");; in SingleComment()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DBaksmaliTestUtils.java138 source = matcher.replaceAll(""); in normalizeWhitespace()
143 source = matcher2.replaceAll(""); in normalizeWhitespace()
148 source = matcher3.replaceAll(""); in normalizeWhitespace()
159 return matcher.replaceAll(""); in stripComments()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/util/
DBCELifierTestCase.java74 input = input.replaceAll("#\\d+", "#n"); // numbers may vary in length in canonHashRef()
75 input = input.replaceAll(" +", " "); // collapse spaces in canonHashRef()
76 input = input.replaceAll("//.+",""); // comments may vary in canonHashRef()
/external/cldr/tools/java/org/unicode/cldr/util/
DVariableReplacer.java32 source = replaceAll(source, variable, value); in replace()
38 public String replaceAll(String source, String key, String value) { in replaceAll() method in VariableReplacer
/external/guava/guava/src/com/google/common/base/
DJdkPattern.java74 public String replaceAll(String replacement) { in replaceAll() method in JdkPattern.JdkMatcher
75 return matcher.replaceAll(replacement); in replaceAll()
/external/guava/android/guava/src/com/google/common/base/
DJdkPattern.java74 public String replaceAll(String replacement) { in replaceAll() method in JdkPattern.JdkMatcher
75 return matcher.replaceAll(replacement); in replaceAll()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DUnitsTest.java231 .replaceAll(" ", "") // Remove all the spaces.
232 .replaceAll(",", "") // Remove all the commas.
233 .replaceAll("\t", "")
236 this.category = fields[0].replaceAll(" ", "");
313 .replaceAll(" ", "") // Remove all the spaces.
314 .replaceAll(",", "") // Remove all the commas.
315 .replaceAll("\t", "")
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DUnitsTest.java228 .replaceAll(" ", "") // Remove all the spaces.
229 .replaceAll(",", "") // Remove all the commas.
230 .replaceAll("\t", "")
233 this.category = fields[0].replaceAll(" ", "");
310 .replaceAll(" ", "") // Remove all the spaces.
311 .replaceAll(",", "") // Remove all the commas.
312 .replaceAll("\t", "")
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlRenderUtil.java267 String out = in.replaceAll("\r\n", "\n"); in applyTextElementSpacePolicy()
270 out = out.replaceAll(" *\n *", "\n"); in applyTextElementSpacePolicy()
272 out = out.replaceAll("\n", " "); in applyTextElementSpacePolicy()
274 out = out.replaceAll("[ \t\\x0B\f\r]+", " "); in applyTextElementSpacePolicy()
/external/cldr/tools/java/org/unicode/cldr/test/
DDisplayAndInputProcessor.java393 value = value.replaceAll(" ", "\u00A0"); in processInput()
395 value = value.replaceAll("0\\.0+", "0"); in processInput()
398 value = value.replaceAll("([%\u00A4]) ", "$1\u00A0") in processInput()
399 .replaceAll(" ([%\u00A4])", "\u00A0$1"); in processInput()
402 value = value.replaceAll("0\\.0+", "0"); in processInput()
599 …value = WHITESPACE_AND_NBSP_TO_NORMALIZE.matcher(value).replaceAll(" "); // replace with regular s… in normalizeWhitespace()
607 … value = WHITESPACE_AND_NBSP_TO_NORMALIZE.matcher(value).replaceAll("\u00A0"); // replace with NBSP in normalizeWhitespace()
610 …value = WHITESPACE_NO_NBSP_TO_NORMALIZE.matcher(value).replaceAll(" "); // replace with regular sp… in normalizeWhitespace()
772 return value.replaceAll("\u00DF", "ss"); in standardizeSwissGerman()
795 String value2 = pattern.matcher(value).replaceAll(replacement); in replace()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsonschema/
DTestGenerateJsonSchema.java214 String json = jsonSchema.toString().replaceAll("\"", "'"); in testThatObjectsHaveNoItems()
224 String json = jsonSchema.toString().replaceAll("\"", "'"); in testSchemaId()
233 String json = jsonSchema.toString().replaceAll("\"", "'"); in testUnwrapping()
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/
DAwsIdentityDocUtils.java119 String key = keyValuePair[0].replaceAll("[\" ]", ""); in parseAwsIdentityDocument()
120 String value = keyValuePair[1].replaceAll("[\" ,]", ""); in parseAwsIdentityDocument()
/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/mockito/src/test/java/org/mockitoutil/
DTestBase.java113 return stackTrace.replaceAll("(\\((\\w+\\.java):(\\d)+\\))", "($2:0)");
122 return text.replaceAll("hashCode: (\\d)+\\.", "hashCode: xxx.");

12345678910>>...12