Home
last modified time | relevance | path

Searched refs:replaceFirst (Results 1 – 25 of 47) sorted by relevance

12

/external/objenesis/tck/src/main/java/org/objenesis/tck/search/
DClassEnumerator.java57 String jarPath = resPath.replaceFirst("[.]jar[!].*", ".jar").replaceFirst("file:", ""); in processJarfile()
/external/antlr/tool/src/test/java/org/antlr/test/
DTestCompositeGrammars.java258 …String expectedError = "error(161): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+"/M.g:2:8: co… in testCombinedImportsCombined()
259 …cted errors: "+equeue, expectedError, equeue.errors.get(0).toString().replaceFirst("\\-[0-9]+","")… in testCombinedImportsCombined()
669 …"error(161): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+"/M.g:2:8: tree grammar M cannot imp… in testInvalidImportMechanism()
670 assertEquals(expectedError, equeue.errors.get(0).toString().replaceFirst("\\-[0-9]+","")); in testInvalidImportMechanism()
742 …"warning(105): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+File.separator+"M.g:3:5: no lexer … in testWarningForUndefinedToken()
743 assertEquals(expectedError, equeue.warnings.get(0).toString().replaceFirst("\\-[0-9]+","")); in testWarningForUndefinedToken()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTime.java283 .replaceFirst(":(?=\\d{2}$)", "") in parse3339()
285 .replaceFirst("(?<=[+-]\\d{2})$", "00") in parse3339()
287 .replaceFirst("(Z)$", "+0000"); in parse3339()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerApplication.java61 mTitle = mTitle.replaceFirst("Viewer: ", ""); in setTitle()
/external/skqp/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DViewerApplication.java61 mTitle = mTitle.replaceFirst("Viewer: ", ""); in setTitle()
/external/vogar/src/vogar/
DClassFileIndex.java165 .replaceFirst("\\.$", "")
166 .replaceFirst("\\.class$", "");
/external/testng/src/test/java/test/assertion/
DSoftAssertTest.java46 lines[1] = lines[1].replaceFirst(message, ""); in testAssertAllCount()
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/
DHighlightLocalClassUsagesTest.java75 …Assert.assertEquals(file.findElementAt(fileText.replaceFirst("<ref>", "").indexOf("<ref>")).getTex… in testHighlightLocalClassUsage()
/external/mockito/src/main/java/org/mockito/internal/util/
DStringUtil.java24 return text.replaceFirst(".*?\n", ""); in removeFirstLine()
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp1341 dest = matcher->replaceFirst("yz", status); in API_Replace()
1354 dest = matcher->replaceFirst("yz", status); in API_Replace()
1367 dest = matcher->replaceFirst("yz", status); in API_Replace()
1379 dest = matcher->replaceFirst("", status); in API_Replace()
1392 dest = matcher->replaceFirst("xyz", status); in API_Replace()
1409 dest = matcher2->replaceFirst("$1$1", status); in API_Replace()
1413 dest = matcher2->replaceFirst(UNICODE_STRING_SIMPLE("The value of \\$1 is $1."), status); in API_Replace()
1417 dest = matcher2->replaceFirst("$ by itself, no group number $$$", status); in API_Replace()
1423 dest = matcher2->replaceFirst(replacement, status); in API_Replace()
1427 …REGEX_ASSERT_FAIL(matcher2->replaceFirst("bad capture group number $5...",status), U_INDEX_OUTOFBO… in API_Replace()
[all …]
Drbbimonkeytest.cpp302 line = fCommentsMatcher->replaceFirst(emptyString, status); in compileRules()
991 params = m.replaceFirst(UnicodeString(), status); in getIntParam()
1006 params = m.replaceFirst(UnicodeString(), status); in getStringParam()
1026 params = m.replaceFirst(UnicodeString(), status); in getBoolParam()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DStringExtensions.cs109 public static string replaceFirst( this string str, string regex, string replacement ) in replaceFirst() method in Antlr.Runtime.JavaExtensions.StringExtensions
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DStringExtensions.cs112 public static string replaceFirst( string str, string regex, string replacement ) in replaceFirst() method in Antlr.Runtime.JavaExtensions.StringExtensions
/external/doclava/src/com/google/doclava/
DDocFile.java187 filename = filename.replaceFirst("^en/", ""); in writePage()
343 outfile = outfile.replaceFirst("^intl/", ""); in writePage()
/external/guice/core/src/com/google/inject/internal/
DBytecodeGen.java78 BytecodeGen.class.getName().replaceFirst("\\.internal\\..*$", ".internal");
83 net.sf.cglib.proxy.Enhancer.class.getName().replaceFirst("\\.cglib\\..*$", ".cglib");
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DUtil.java49 String newName = className.replaceFirst("\\.([^.]+)$", "\\$$1"); in lenientClassForName()
/external/icu/libicu/cts_headers/unicode/
Dregex.h1421 virtual UnicodeString replaceFirst(const UnicodeString &replacement, UErrorCode &status);
1448 virtual UText *replaceFirst(UText *replacement, UText *dest, UErrorCode &status);
/external/icu/icu4c/source/i18n/unicode/
Dregex.h1421 virtual UnicodeString replaceFirst(const UnicodeString &replacement, UErrorCode &status);
1448 virtual UText *replaceFirst(UText *replacement, UText *dest, UErrorCode &status);
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateEnglishChanged.java120 path = path.replaceFirst(placeholder, "(" + compressed + ")"); in main()
/external/dagger2/java/dagger/grpc/server/processor/
DGrpcServiceModel.java143 return grpcClass().getSimpleName().toString().replaceFirst("Grpc$", "");
/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/upstream/
DContentDataSourceTest.java200 return uri.getPath().replaceFirst("/", ""); in getFileName()
/external/cldr/tools/java/org/unicode/cldr/json/
DCldrNode.java268 uniqueNodeName = uniqueNodeName.replaceFirst("\\+", ""); in getNodeKeyName()
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTest.java103 dataFile.getName().replaceFirst("\\.data$", ".expected")); in getTestData()
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DStrftime.java488 String unpadded = simple.replaceFirst("^(0+| +)(?!$)", ""); in correctPad()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java91 String suffix = getter.replaceFirst("get", ""); in reflectivePrintWithIndent()

12