/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | ReplaceTest.java | 39 assertEquals("foobarxxxarfooxxx", m.replaceAll(repl)); in testSimpleReplace() 55 s = m.replaceAll(repl); in testCaptureReplace() 68 s = m.replaceAll(repl); in testCaptureReplace() 81 s = target.replaceAll(pattern, repl); in testEscapeReplace() 84 s = target.replaceAll(pattern, repl); in testEscapeReplace() 87 s = target.replaceAll(pattern, repl); in testEscapeReplace()
|
D | Pattern2Test.java | 168 assertTrue(m.replaceAll("-").equals("-foo-foo-foo-")); in testReplace() 183 assertTrue(m.replaceAll("$1ite").equals("Bite for bite")); in testReplace() 189 assertTrue(m.replaceAll("xxxx$1").equals("card #xxxx-xxxx-1234")); in testReplace() 195 assertTrue(m.replaceAll("$3$2$1").equals("right left, down up")); in testReplace() 202 assertTrue(m.replaceAll("<b> $1 </b>").equals( in testReplace()
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
D | ShaderUtils.java | 41 input = input.replaceAll("varying", "in"); in convertToGLSL130() 43 input = input.replaceAll("attribute", "in"); in convertToGLSL130() 44 input = input.replaceAll("varying", "out"); in convertToGLSL130()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | ClassicToken.java | 132 txt = txt.replaceAll("\n","\\\\n"); in toString() 133 txt = txt.replaceAll("\r","\\\\r"); in toString() 134 txt = txt.replaceAll("\t","\\\\t"); in toString()
|
D | CommonToken.java | 182 txt = txt.replaceAll("\n","\\\\n"); in toString() 183 txt = txt.replaceAll("\r","\\\\r"); in toString() 184 txt = txt.replaceAll("\t","\\\\t"); in toString()
|
D | BaseRecognizer.java | 336 s = s.replaceAll("\n","\\\\n"); in getTokenErrorDisplay() 337 s = s.replaceAll("\r","\\\\r"); in getTokenErrorDisplay() 338 s = s.replaceAll("\t","\\\\t"); in getTokenErrorDisplay()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | DOTTreeGenerator.java | 212 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/ |
D | SingleComment.java | 26 id_ = id.replaceAll("<", "<").replaceAll(">", ">");; in SingleComment()
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
D | AsYouTypeFormatter.java | 207 numberPattern = CHARACTER_CLASS_PATTERN.matcher(numberPattern).replaceAll("\\\\d"); in createFormattingTemplate() 210 numberPattern = STANDALONE_DIGIT_PATTERN.matcher(numberPattern).replaceAll("\\\\d"); in createFormattingTemplate() 235 String template = aPhoneNumber.replaceAll(numberPattern, numberFormat); in getFormattingTemplate() 237 template = template.replaceAll("9", digitPlaceholder); in getFormattingTemplate() 398 String formattedNumber = m.replaceAll(numFormat.getFormat()); in attemptToFormatAccruedDigits()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/savegame/ |
D | SaveGame.java | 41 …ystem.getStorageFolder().getAbsolutePath() + File.separator + gamePath.replaceAll("/", File.separa… in saveGame() 93 …ystem.getStorageFolder().getAbsolutePath() + File.separator + gamePath.replaceAll("/", File.separa… in loadGame()
|
/external/javassist/src/main/javassist/scopedpool/ |
D | ScopedClassPool.java | 175 classResourceName = classname.replaceAll("[\\.]", "/") in getCached() 180 .replaceAll("[\\.]", "/") in getCached()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | DebugEventSocketProxy.cs | 385 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()
|
D | RemoteDebugEventSocketListener.cs | 574 txt = StringExtensions.replaceAll(txt, "%0A", "\n"); // unescape \n in UnEscapeNewlines() 575 txt = StringExtensions.replaceAll(txt, "%0D", "\r"); // unescape \r in UnEscapeNewlines() 576 txt = StringExtensions.replaceAll(txt, "%25", "%"); // undo escaped escape chars in UnEscapeNewlines()
|
/external/easymock/src/org/easymock/internal/matchers/ |
D | Matches.java | 37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\") in appendTo()
|
D | Find.java | 39 buffer.append("find(\"" + regex.replaceAll("\\\\", "\\\\\\\\") + "\")"); in appendTo()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugEventSocketProxy.java | 348 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()
|
D | RemoteDebugEventSocketListener.java | 515 txt = txt.replaceAll("%0A","\n"); // unescape \n in unEscapeNewlines() 516 txt = txt.replaceAll("%0D","\r"); // unescape \r in unEscapeNewlines() 517 txt = txt.replaceAll("%25","%"); // undo escaped escape chars in unEscapeNewlines()
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/ |
D | FolderConverter.java | 51 String name = file.getName().replaceAll("[\\/\\.]", "_"); in process()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
D | RSSFeedAddEntryTask.java | 219 this.buildType = buildID.replaceAll("[^NIMSR]", NS); //$NON-NLS-1$ in setBuildType() 574 …replaceAll(Messages.getString("RSSFeedAddEntryTask.BranchKeyword"), branch).replaceAll(Messages.ge… in varSub()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 103 public static string replaceAll( this string str, string regex, string newValue ) in replaceAll() method in Antlr.Runtime.JavaExtensions.StringExtensions
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | ErrorManager.java | 297 msg = msg.replaceAll("\n", " "); 305 outputMsg = outputMsg.replaceAll("\n", " "); 313 outputMsg = outputMsg.replaceAll("\n", " "); 321 outputMsg = outputMsg.replaceAll("\n", " ");
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 107 public static string replaceAll( string str, string regex, string newValue ) in replaceAll() method in Antlr.Runtime.JavaExtensions.StringExtensions
|
/external/icu4c/test/intltest/ |
D | regextst.cpp | 1333 dest = matcher->replaceAll("yz", status); in API_Replace() 1346 dest = matcher->replaceAll("yz", status); in API_Replace() 1359 dest = matcher->replaceAll("yz", status); in API_Replace() 1371 dest = matcher->replaceAll("", status); in API_Replace() 1384 dest = matcher->replaceAll("xyz", status); in API_Replace() 1425 UnicodeString result = matcher->replaceAll(substitute, status); in API_Replace() 1433 UnicodeString result = matcher->replaceAll(substitute, status); in API_Replace() 2426 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8() 2433 result = matcher->replaceAll(&replText, &destText, status); in API_Replace_UTF8() 2454 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8() [all …]
|
/external/doclava/src/com/google/doclava/ |
D | Proofread.java | 69 s = m.replaceAll(NEWLINE); in writeIndented()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | CompilingClassLoader.java | 202 return new URI(className.replaceAll("\\.", "/") + Kind.SOURCE.extension);
|