Home
last modified time | relevance | path

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

12

/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/String/
Dmatch-002.js65 s.lastIndexOf("0"),
75 s.lastIndexOf("0"),
78 re.lastIndex = s.lastIndexOf("0");
82 s.lastIndexOf("0"),
84 s.lastIndexOf("0"),
87 re.lastIndex = s.lastIndexOf("0") + 1;
91 s.lastIndexOf("0") +1,
93 s.lastIndexOf("0"),
Dmatch-003.js79 re.lastIndex = s.lastIndexOf("0");
83 "re = "+ re +"; re.lastIndex = " + s.lastIndexOf("0"),
87 re.lastIndex = s.lastIndexOf("0") + 1;
91 "re = " +re+ "; re.lastIndex = " + (s.lastIndexOf("0") +1),
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
D15.5.4.7-1.js78 TEST_STRING.lastIndexOf( String.fromCharCode(i), 0 ) );
85 TEST_STRING.lastIndexOf( String.fromCharCode(i), k ) );
92 TEST_STRING.lastIndexOf( String.fromCharCode(i), k+1 ) );
103 TEST_STRING.lastIndexOf( (String.fromCharCode(i)+
115 TEST_STRING.lastIndexOf( (String.fromCharCode(i)+
126 TEST_STRING.lastIndexOf( (String.fromCharCode(i)+
139 TEST_STRING.lastIndexOf( (String.fromCharCode(i)+
145 …SECTION, "String.lastIndexOf(" +TEST_STRING + ", 0 )", 0, TEST_STRING.lastIndexOf( TEST_STRING, 0…
147 …se( SECTION, "String.lastIndexOf(" +TEST_STRING + ")", 0, TEST_STRING.lastIndexOf( TEST_STRING ));
D15.5.2.js90 …TION, "(new String()).lastIndexOf", String.prototype.lastIndexOf, (new String()).lastIndexOf
D15.5.4.7-2.js77 …"String.prototype.lastIndexOf.length", 1, String.prototype.lastIndexOf.length );
78 … String.prototype.lastIndexOf.length", false, delete String.prototype.lastIndexOf.length );
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/String/
Dregress-107771.js43 k = str.lastIndexOf('/');
49 k = str.lastIndexOf('/');
56 k = str.lastIndexOf('/');
63 k = str.lastIndexOf('/');
70 k = str.lastIndexOf('/');
/external/icu4c/common/unicode/
Dunistr.h1033 inline int32_t lastIndexOf(const UnicodeString& text) const;
1044 inline int32_t lastIndexOf(const UnicodeString& text,
1058 inline int32_t lastIndexOf(const UnicodeString& text,
1078 inline int32_t lastIndexOf(const UnicodeString& srcText,
1094 inline int32_t lastIndexOf(const UChar *srcChars,
1110 inline int32_t lastIndexOf(const UChar *srcChars,
1131 int32_t lastIndexOf(const UChar *srcChars,
1144 inline int32_t lastIndexOf(UChar c) const;
1154 inline int32_t lastIndexOf(UChar32 c) const;
1164 inline int32_t lastIndexOf(UChar c,
[all …]
/external/jdiff/src/jdiff/
DMergeChanges.java81 int endRemoved = classDiff.ctorsRemoved.lastIndexOf(removedCtor); in mergeRemoveAddCtor()
83 int endAdded = classDiff.ctorsAdded.lastIndexOf(removedCtor); in mergeRemoveAddCtor()
134 int endRemoved = classDiff.methodsRemoved.lastIndexOf(removedMethod); in mergeSingleMethods()
136 int endAdded = classDiff.methodsAdded.lastIndexOf(removedMethod); in mergeSingleMethods()
190 int endRemoved = classDiff.methodsRemoved.lastIndexOf(removedMethod); in mergeMultipleMethods()
192 int endAdded = classDiff.methodsAdded.lastIndexOf(removedMethod); in mergeMultipleMethods()
302 int endRemoved = classDiff.fieldsRemoved.lastIndexOf(removedField); in mergeRemoveAddField()
304 int endAdded = classDiff.fieldsAdded.lastIndexOf(removedField); in mergeRemoveAddField()
DCommentsHandler.java70 int idx1 = JDiff.oldFileName.lastIndexOf('.'); in startElement()
71 int idx2 = JDiff.newFileName.lastIndexOf('.'); in startElement()
DJDiff.java102 int suffix = oldFileName.lastIndexOf('.'); in startGeneration()
104 suffix = newFileName.lastIndexOf('.'); in startGeneration()
DComments.java112 int idx = xsdFileName.lastIndexOf('\\'); in writeXSD()
113 int idx2 = xsdFileName.lastIndexOf('/'); in writeXSD()
467 int idx = filename.lastIndexOf('.'); in emitXMLHeader()
DAPIComparator.java488 int endOld = oldClass.methods_.lastIndexOf(oldMethod); in compareAllMethods()
490 int endNew = newClass.methods_.lastIndexOf(oldMethod); in compareAllMethods()
539 int endOld = oldClass.methods_.lastIndexOf(newMethod); in compareAllMethods()
541 int endNew = newClass.methods_.lastIndexOf(newMethod); in compareAllMethods()
/external/webkit/JavaScriptCore/tests/mozilla/js1_6/Array/
Dregress-310425-01.js47 actual = [].lastIndexOf(undefined, -1);
57 actual = x.lastIndexOf(1);
Dregress-304828.js200 actual = Array.prototype.lastIndexOf.call(value, 'b');
/external/icu4c/test/intltest/
Dustrtest.cpp421 …if(s.lastIndexOf(u, 1, -1, 0, 999)!=1 || s.lastIndexOf(u+1, -1, 0, 999)!=1 || s.lastIndexOf(u+1, -… in TestCompare()
777 if(test1.lastIndexOf(test2)!=29) { in TestSearching()
781 …if(test1.lastIndexOf(test2, 15)!=29 || test1.lastIndexOf(test2, 29)!=29 || test1.lastIndexOf(test2… in TestSearching()
787 (startPos = test1.lastIndexOf(test2, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()
794 (startPos = test1.lastIndexOf(testChar, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()
803 (startPos = test3.lastIndexOf(testChar32, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()
812 if(subString.lastIndexOf(testChar32) != -1 ){ in TestSearching()
827 if( UnicodeString(test3, 0, 17).lastIndexOf((UChar)0xd841, 0) != 4 || in TestSearching()
828 UnicodeString(test3, 0, 17).lastIndexOf((UChar32)0xd841, 2) != 4 || in TestSearching()
829 … test3.lastIndexOf((UChar32)0xd841, 0, 17) != 4 || test3.lastIndexOf((UChar32)0xdc02, 0, 17) != 16 in TestSearching()
[all …]
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java37 final int lastDot = className.lastIndexOf ('.'); in getClassPackageName()
188 final int i2 = methoddescriptor.lastIndexOf (')'); in descriptorToReturnType()
351 int lastDot = typeUserName.lastIndexOf ('.'); in methodDescriptorToUserName()
393 int lastDot = classJavaName.lastIndexOf ('.'); in simpleClassName()
/external/apache-http/src/org/apache/commons/logging/impl/
DSimpleLog.java210 int i = String.valueOf(name).lastIndexOf("."); in SimpleLog()
214 i = String.valueOf(name).lastIndexOf("."); in SimpleLog()
301 shortLogName = logName.substring(logName.lastIndexOf(".") + 1); in log()
303 shortLogName.substring(shortLogName.lastIndexOf("/") + 1); in log()
/external/svox/picolanginstaller/src/com/svox/langpack/installer/
DInstallerActivity.java86 .substring(outputPath.lastIndexOf("/") + 1); in unzipLangPack()
88 .lastIndexOf("/")); in unzipLangPack()
/external/emma/core/java12/com/vladium/util/
DFiles.java170 int lastDot = name.lastIndexOf ('.'); in getFileName()
191 int lastDot = name.lastIndexOf ('.'); in getFileExtension()
/external/webkit/WebCore/inspector/front-end/
DProfileView.js176 var percentUnits = (query.lastIndexOf("%") === (query.length - 1));
177 … var millisecondsUnits = (query.length > 2 && query.lastIndexOf("ms") === (query.length - 2));
178 var secondsUnits = (!millisecondsUnits && query.lastIndexOf("s") === (query.length - 1));
/external/webkit/SunSpider/
DUNCOVERED97 Array.lastIndexOf
/external/junit/src/junit/swingui/
DTestSelector.java77 int typeIndex= className.lastIndexOf('.'); in displayString()
88 int typeIndex= s.lastIndexOf('.'); in typeIndex()
/external/apache-http/src/org/apache/http/impl/cookie/
DCookieSpecBase.java56 int lastSlashIndex = defaultPath.lastIndexOf('/'); in getDefaultPath()
/external/icu4c/common/
Dservlk.cpp125 int x = _currentID.lastIndexOf(UNDERSCORE_CHAR); in fallback()
/external/junit/src/junit/textui/
DTestRunner.java169 int lastIndex= arg.lastIndexOf('.'); in start()

12