/external/objenesis/tck/src/main/java/org/objenesis/tck/search/ |
D | ClassEnumerator.java | 57 String jarPath = resPath.replaceFirst("[.]jar[!].*", ".jar").replaceFirst("file:", ""); in processJarfile()
|
/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/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ |
D | ViewerApplication.java | 60 mTitle = mTitle.replaceFirst("Viewer: ", ""); in setTitle()
|
/external/guice/core/src/com/google/inject/internal/ |
D | BytecodeGen.java | 76 = BytecodeGen.class.getName().replaceFirst("\\.internal\\..*$", ".internal"); 81 = net.sf.cglib.proxy.Enhancer.class.getName().replaceFirst("\\.cglib\\..*$", ".cglib");
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 1369 dest = matcher->replaceFirst("yz", status); in API_Replace() 1382 dest = matcher->replaceFirst("yz", status); in API_Replace() 1395 dest = matcher->replaceFirst("yz", status); in API_Replace() 1407 dest = matcher->replaceFirst("", status); in API_Replace() 1420 dest = matcher->replaceFirst("xyz", status); in API_Replace() 1437 dest = matcher2->replaceFirst("$1$1", status); in API_Replace() 1441 dest = matcher2->replaceFirst(UNICODE_STRING_SIMPLE("The value of \\$1 is $1."), status); in API_Replace() 1445 dest = matcher2->replaceFirst("$ by itself, no group number $$$", status); in API_Replace() 1451 dest = matcher2->replaceFirst(replacement, status); in API_Replace() 1455 …REGEX_ASSERT_FAIL(matcher2->replaceFirst("bad capture group number $5...",status), U_INDEX_OUTOFBO… in API_Replace() [all …]
|
D | rbbimonkeytest.cpp | 294 line = fCommentsMatcher->replaceFirst(emptyString, status); in compileRules() 951 params = m.replaceFirst(UnicodeString(), status); in getIntParam() 966 params = m.replaceFirst(UnicodeString(), status); in getStringParam() 986 params = m.replaceFirst(UnicodeString(), status); in getBoolParam()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | StringUtil.java | 19 return text.replaceFirst(".*?\n", ""); in removeFirstLine()
|
/external/testng/src/test/java/test/assertion/ |
D | SoftAssertTest.java | 46 lines[1] = lines[1].replaceFirst(message, ""); in testAssertAllCount()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/ |
D | HighlightLocalClassUsagesTest.java | 75 …Assert.assertEquals(file.findElementAt(fileText.replaceFirst("<ref>", "").indexOf("<ref>")).getTex… in testHighlightLocalClassUsage()
|
/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/doclava/src/com/google/doclava/ |
D | DocFile.java | 187 filename = filename.replaceFirst("^en/", ""); in writePage() 343 outfile = outfile.replaceFirst("^intl/", ""); in writePage()
|
D | PageMetadata.java | 538 absUrl = absUrl.replaceFirst("^/(?!/)", ""); in getImageUrlNormalized() 558 absUrl = absUrl.replaceFirst("^en/", ""); in getPageUrlNormalized() 560 absUrl = absUrl.replaceFirst("^/(?!/)", ""); in getPageUrlNormalized()
|
D | SampleCode.java | 206 baseRelative = baseRelative.replaceFirst("^en/", ""); in writeProjectDirectory() 374 String relative = subdir.replaceFirst("samples/", ""); in writePage()
|
/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/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | Util.java | 49 String newName = className.replaceFirst("\\.([^.]+)$", "\\$$1"); in lenientClassForName()
|
/external/robolectric/v1/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 | 1430 virtual UnicodeString replaceFirst(const UnicodeString &replacement, UErrorCode &status); 1457 virtual UText *replaceFirst(UText *replacement, UText *dest, UErrorCode &status);
|
/external/robolectric/v1/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 | 1180 NP_PATTERN.matcher(nationalPrefixFormattingRule).replaceFirst(nationalPrefix); 1182 FG_PATTERN.matcher(nationalPrefixFormattingRule).replaceFirst("\\$1"); 1817 CC_PATTERN.matcher(carrierCodeFormattingRule).replaceFirst(carrierCode); 1821 .replaceFirst(carrierCodeFormattingRule); 1831 m.replaceAll(firstGroupMatcher.replaceFirst(nationalPrefixFormattingRule)); 1840 formattedNationalNumber = matcher.replaceFirst(""); 2749 transformedNumber.replace(0, numberLength, prefixMatcher.replaceFirst(transformRule));
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | ValidationTest.java | 92 dataFile.getName().replaceFirst("\\.data$", ".expected")); in getTestData()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | MessageLiteToString.java | 91 String suffix = getter.replaceFirst("get", ""); in reflectivePrintWithIndent()
|
/external/proguard/src/proguard/wtk/ |
D | default.pro | 85 public java.lang.String replaceFirst(java.lang.String,java.lang.String);
|
/external/caliper/caliper/src/main/java/com/google/caliper/options/ |
D | CommandLineParser.java | 350 String name = arg.replaceFirst("^--no-", "--"); in parseLongOption()
|