Home
last modified time | relevance | path

Searched refs:replaceFirst (Results 1 – 25 of 44) 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/vogar/src/vogar/
DClassFileIndex.java165 .replaceFirst("\\.$", "")
166 .replaceFirst("\\.class$", "");
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp1308 dest = matcher->replaceFirst("yz", status); in API_Replace()
1321 dest = matcher->replaceFirst("yz", status); in API_Replace()
1334 dest = matcher->replaceFirst("yz", status); in API_Replace()
1346 dest = matcher->replaceFirst("", status); in API_Replace()
1359 dest = matcher->replaceFirst("xyz", status); in API_Replace()
1376 dest = matcher2->replaceFirst("$1$1", status); in API_Replace()
1380 dest = matcher2->replaceFirst(UNICODE_STRING_SIMPLE("The value of \\$1 is $1."), status); in API_Replace()
1384 dest = matcher2->replaceFirst("$ by itself, no group number $$$", status); in API_Replace()
1390 dest = matcher2->replaceFirst(replacement, status); in API_Replace()
1394 …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/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/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/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/doclava/src/com/google/doclava/
DDocFile.java187 filename = filename.replaceFirst("^en/", ""); in writePage()
343 outfile = outfile.replaceFirst("^intl/", ""); in writePage()
DPageMetadata.java538 absUrl = absUrl.replaceFirst("^/(?!/)", ""); in getImageUrlNormalized()
558 absUrl = absUrl.replaceFirst("^en/", ""); in getPageUrlNormalized()
560 absUrl = absUrl.replaceFirst("^/(?!/)", ""); in getPageUrlNormalized()
/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/caliper/caliper/src/main/java/com/google/caliper/util/
DUtil.java49 String newName = className.replaceFirst("\\.([^.]+)$", "\\$$1"); in lenientClassForName()
/external/icu/icu4c/source/i18n/unicode/
Dregex.h1430 virtual UnicodeString replaceFirst(const UnicodeString &replacement, UErrorCode &status);
1457 virtual UText *replaceFirst(UText *replacement, UText *dest, UErrorCode &status);
/external/cldr/tools/java/org/unicode/cldr/icu/
DIcuDataSplitter.java111 …String checkPath = rbPath.replaceFirst(":alias", "/"); // Handle splitting of a top level alias ( … in split()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java91 String suffix = getter.replaceFirst("get", ""); in reflectivePrintWithIndent()
/external/cldr/tools/java/org/unicode/cldr/json/
DCldrNode.java268 uniqueNodeName = uniqueNodeName.replaceFirst("\\+", ""); in getNodeKeyName()
DLdml2JsonConverter.java267 result = m.replaceFirst(LdmlConvertRules.PATH_TRANSFORMATIONS[i].replacement); in transformPath()
271 result = result.replaceFirst("/ldml/", pathPrefix); in transformPath()
272 result = result.replaceFirst("/supplementalData/", pathPrefix); in transformPath()
492 outputDirs.add(outputDirname.toString().replaceFirst("-modern", "-full")); in convertCldrItems()
/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/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DFs.java43 String[] parts = urlString.replaceFirst("jar:", "").split("!", 0); in fileFromPath()

12