/external/mockito/src/org/mockito/internal/util/ |
D | RemoveFirstLine.java | 14 return text.replaceFirst(".*?\n", ""); in of()
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestCompositeGrammars.java | 256 …String expectedError = "error(161): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+"/M.g:2:8: co… in testCombinedImportsCombined() 257 …cted errors: "+equeue, expectedError, equeue.errors.get(0).toString().replaceFirst("\\-[0-9]+","")… in testCombinedImportsCombined() 667 …"error(161): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+"/M.g:2:8: tree grammar M cannot imp… in testInvalidImportMechanism() 668 assertEquals(expectedError, equeue.errors.get(0).toString().replaceFirst("\\-[0-9]+","")); in testInvalidImportMechanism() 740 …"warning(105): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+File.separator+"M.g:3:5: no lexer … in testWarningForUndefinedToken() 741 assertEquals(expectedError, equeue.warnings.get(0).toString().replaceFirst("\\-[0-9]+","")); in testWarningForUndefinedToken()
|
/external/vogar/src/vogar/ |
D | ClassFileIndex.java | 165 .replaceFirst("\\.$", "") 166 .replaceFirst("\\.class$", "");
|
D | OptionParser.java | 288 String name = arg.replaceFirst("^--no-", "--"); in parseLongOption()
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 1364 dest = matcher->replaceFirst("yz", status); in API_Replace() 1377 dest = matcher->replaceFirst("yz", status); in API_Replace() 1390 dest = matcher->replaceFirst("yz", status); in API_Replace() 1402 dest = matcher->replaceFirst("", status); in API_Replace() 1415 dest = matcher->replaceFirst("xyz", status); in API_Replace() 1432 dest = matcher2->replaceFirst("$1$1", status); in API_Replace() 1436 dest = matcher2->replaceFirst(UNICODE_STRING_SIMPLE("The value of \\$1 is $1."), status); in API_Replace() 1440 dest = matcher2->replaceFirst("$ by itself, no group number $$$", status); in API_Replace() 1446 dest = matcher2->replaceFirst(replacement, status); in API_Replace() 1450 …REGEX_ASSERT_FAIL(matcher2->replaceFirst("bad capture group number $5...",status), U_INDEX_OUTOFBO… in API_Replace() [all …]
|
D | ssearch.cpp | 1292 params = m.replaceFirst("", status); in getIntParam() 1425 p = m.replaceFirst("", status); in monkeyTest()
|
D | rbbitst.cpp | 3588 params = m.replaceFirst("", status); in getIntParam() 4010 p = m.replaceFirst("", status); in TestMonkey() 4017 p = u.replaceFirst("", status); in TestMonkey()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 108 public static string replaceFirst( this string str, string regex, string replacement ) in replaceFirst() method in Antlr.Runtime.JavaExtensions.StringExtensions
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
D | StringExtensions.cs | 112 public static string replaceFirst( string str, string regex, string replacement ) in replaceFirst() method in Antlr.Runtime.JavaExtensions.StringExtensions
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowBitmapFactory.java | 62 return create(is.toString().replaceFirst("stream for ", ""), opts); in decodeStream()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | regex.h | 1418 virtual UnicodeString replaceFirst(const UnicodeString &replacement, UErrorCode &status); 1445 virtual UText *replaceFirst(UText *replacement, UText *dest, UErrorCode &status);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
D | SQLite.java | 128 whereClause = whereClause.replaceFirst("\\?", "'" + selectionArgs[x] + "'"); in buildWhereClause()
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
D | PhoneNumberUtil.java | 1198 NP_PATTERN.matcher(nationalPrefixFormattingRule).replaceFirst(nationalPrefix); 1200 FG_PATTERN.matcher(nationalPrefixFormattingRule).replaceFirst("\\$1"); 1826 CC_PATTERN.matcher(carrierCodeFormattingRule).replaceFirst(carrierCode); 1830 .replaceFirst(carrierCodeFormattingRule); 1840 m.replaceAll(firstGroupMatcher.replaceFirst(nationalPrefixFormattingRule)); 1849 formattedNationalNumber = matcher.replaceFirst(""); 2675 transformedNumber.replace(0, numberLength, prefixMatcher.replaceFirst(transformRule));
|
D | AsYouTypeFormatter.java | 647 String tempTemplate = digitMatcher.replaceFirst(Character.toString(nextChar)); in inputDigitHelper()
|
/external/proguard/src/proguard/wtk/ |
D | default.pro | 85 public java.lang.String replaceFirst(java.lang.String,java.lang.String);
|
/external/doclava/src/com/google/doclava/ |
D | PageMetadata.java | 459 absUrl = absUrl.replaceFirst("^/(?!/)", ""); in getImageUrlNormalized() 477 absUrl = absUrl.replaceFirst("^/(?!/)", ""); in getPageUrlNormalized()
|
D | SampleCode.java | 367 String relative = subdir.replaceFirst("samples/", ""); in writePage()
|
/external/proguard/src/proguard/gui/ |
D | default.pro | 249 public java.lang.String replaceFirst(java.lang.String,java.lang.String);
|
D | boilerplate.pro | 317 public java.lang.String replaceFirst(java.lang.String,java.lang.String);
|
/external/icu/icu4c/source/i18n/ |
D | rematch.cpp | 1748 UnicodeString RegexMatcher::replaceFirst(const UnicodeString &replacement, UErrorCode &status) { in replaceFirst() function in RegexMatcher 1756 replaceFirst(&replacementText, &resultText, status); in replaceFirst() 1767 UText *RegexMatcher::replaceFirst(UText *replacement, UText *dest, UErrorCode &status) { in replaceFirst() function in RegexMatcher
|
D | uregex.cpp | 1273 dest = regexp->fMatcher->replaceFirst(replacementText, dest, *status); in uregex_replaceFirstUText()
|