HomeSort by relevance Sort by last modified time
    Searched refs:lastIndexOf (Results 1 - 25 of 602) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/v8/test/mjsunit/
string-lastindexof.js 35 assertEquals(10, s.lastIndexOf("test", Infinity), "tinf");
36 assertEquals(10, s.lastIndexOf("test", MAX_DOUBLE), "tmaxdouble");
37 assertEquals(10, s.lastIndexOf("test", MAX_SMI), "tmaxsmi");
38 assertEquals(10, s.lastIndexOf("test", s.length * 2), "t2length");
39 assertEquals(10, s.lastIndexOf("test", 15), "t15");
40 assertEquals(10, s.lastIndexOf("test", 14), "t14");
41 assertEquals(10, s.lastIndexOf("test", 10), "t10");
42 assertEquals(5, s.lastIndexOf("test", 9), "t9");
43 assertEquals(5, s.lastIndexOf("test", 6), "t6");
44 assertEquals(5, s.lastIndexOf("test", 5), "t5")
    [all...]
array-indexing.js 117 // Array.prototype.lastIndexOf.
121 assertEquals(-1, [].lastIndexOf(1));
122 assertEquals(-1, array.lastIndexOf(1, -17));
124 assertEquals(9, array.lastIndexOf(1));
126 assertEquals(9, array.lastIndexOf(1, array.length));
128 assertEquals(0, array.lastIndexOf(1, 2));
129 assertEquals(3, array.lastIndexOf(1, 4));
130 assertEquals(3, array.lastIndexOf(1, 3));
132 assertEquals(0, array.lastIndexOf(1, -11));
135 assertEquals(7, undef_array.lastIndexOf(undefined))
    [all...]
  /external/v8/test/mjsunit/
string-lastindexof.js 35 assertEquals(10, s.lastIndexOf("test", Infinity), "tinf");
36 assertEquals(10, s.lastIndexOf("test", MAX_DOUBLE), "tmaxdouble");
37 assertEquals(10, s.lastIndexOf("test", MAX_SMI), "tmaxsmi");
38 assertEquals(10, s.lastIndexOf("test", s.length * 2), "t2length");
39 assertEquals(10, s.lastIndexOf("test", 15), "t15");
40 assertEquals(10, s.lastIndexOf("test", 14), "t14");
41 assertEquals(10, s.lastIndexOf("test", 10), "t10");
42 assertEquals(5, s.lastIndexOf("test", 9), "t9");
43 assertEquals(5, s.lastIndexOf("test", 6), "t6");
44 assertEquals(5, s.lastIndexOf("test", 5), "t5")
    [all...]
array-indexing.js 117 // Array.prototype.lastIndexOf.
121 assertEquals(-1, [].lastIndexOf(1));
122 assertEquals(-1, array.lastIndexOf(1, -17));
124 assertEquals(9, array.lastIndexOf(1));
126 assertEquals(9, array.lastIndexOf(1, array.length));
128 assertEquals(0, array.lastIndexOf(1, 2));
129 assertEquals(3, array.lastIndexOf(1, 4));
130 assertEquals(3, array.lastIndexOf(1, 3));
132 assertEquals(0, array.lastIndexOf(1, -11));
135 assertEquals(7, undef_array.lastIndexOf(undefined))
    [all...]
  /libcore/luni/src/main/java/java/net/
DefaultFileNameMap.java 31 int lastCharInExtension = filename.lastIndexOf('#');
35 int firstCharInExtension = filename.lastIndexOf('.') + 1;
37 if (firstCharInExtension > filename.lastIndexOf('/')) {
  /external/chromium_org/v8/test/webkit/
array-lastIndexOf.js 25 'This test checks lastIndexOf for various values in an array'
32 lastIndex = testArray.lastIndexOf(2,-500);
34 lastIndex = testArray.lastIndexOf(9,500);
36 lastIndex = testArray.lastIndexOf(2);
38 lastIndex = testArray.lastIndexOf(7);
40 lastIndex = testArray.lastIndexOf(2, 3);
42 lastIndex = testArray.lastIndexOf(2, 2);
44 lastIndex = testArray.lastIndexOf(2, -2);
46 lastIndex = testArray.lastIndexOf(2, -1);
51 lastIndex = testArray.lastIndexOf(undefined)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/pubsub/packet/
PubSubNamespace.java 53 int index = ns.lastIndexOf('#');
57 String suffix = ns.substring(ns.lastIndexOf('#')+1);
  /frameworks/base/core/java/com/android/internal/util/
State.java 71 int lastDollar = name.lastIndexOf('$');
  /libcore/dalvik/src/main/java/dalvik/system/
DalvikLogging.java 43 int lastPeriod = loggerName.lastIndexOf(".");
  /external/apache-xml/src/main/java/org/apache/xml/utils/
XMLStringDefault.java 460 public int lastIndexOf(int ch)
462 return m_str.lastIndexOf(ch);
488 public int lastIndexOf(int ch, int fromIndex)
490 return m_str.lastIndexOf(ch, fromIndex);
586 public int lastIndexOf(String str)
588 return m_str.lastIndexOf(str);
611 public int lastIndexOf(String str, int fromIndex)
613 return m_str.lastIndexOf(str, fromIndex);
XMLString.java 391 public abstract int lastIndexOf(int ch);
416 public abstract int lastIndexOf(int ch, int fromIndex);
502 public abstract int lastIndexOf(String str);
524 public abstract int lastIndexOf(String str, int fromIndex);
  /external/arduino/hardware/arduino/cores/arduino/
WString.h 66 int lastIndexOf( char ch ) const;
67 int lastIndexOf( char ch, unsigned int fromIndex ) const;
68 int lastIndexOf( const String &str ) const;
69 int lastIndexOf( const String &str, unsigned int fromIndex ) const;
  /external/mockito/src/org/mockito/internal/util/
StringJoiner.java 19 int lastBreak = out.lastIndexOf("\n");
  /external/smack/src/org/jivesoftware/smackx/pubsub/
SubscribeOptionFields.java 92 String portion = elementName.substring(elementName.lastIndexOf('#' + 1));
  /frameworks/base/core/java/android/webkit/
MimeTypeMap.java 45 int fragment = url.lastIndexOf('#');
50 int query = url.lastIndexOf('?');
55 int filenamePos = url.lastIndexOf('/');
63 int dotPos = filename.lastIndexOf('.');
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
CatLog.java 30 Rlog.d("CAT", className.substring(className.lastIndexOf('.') + 1) + ": "
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
AbstractFileFilter.java 63 int period = name.lastIndexOf('.');
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidArrayListTest.java 52 assertEquals(4, array.lastIndexOf(new Integer(1)));
54 assertTrue(array.lastIndexOf(new Integer(5)) < 0);
68 assertEquals(2, array.lastIndexOf(new Integer(1)));
70 assertTrue(array.lastIndexOf(new Integer(5)) < 0);
77 assertTrue(array.lastIndexOf(new Integer(5)) < 0);
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/
ScriptText.java 32 return text.lastIndexOf('\n', offset) + 1;
  /external/javassist/src/main/javassist/compiler/ast/
ASTree.java 56 return name.substring(name.lastIndexOf('.') + 1);
  /external/jmonkeyengine/engine/src/core/com/jme3/asset/
AssetKey.java 59 int idx = name.lastIndexOf('.');
62 idx = name.substring(0, idx).lastIndexOf('.');
64 idx = name.lastIndexOf('.');
74 int idx = name.lastIndexOf('/');
  /frameworks/support/v4/java/android/support/v4/util/
DebugUtils.java 34 int end = simpleName.lastIndexOf('.');
  /external/droiddriver/src/com/google/android/droiddriver/finders/
XPaths.java 56 int start = name.lastIndexOf('$');
61 start = name.lastIndexOf('.');
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListLastIndexOfTester.java 27 * A generic JUnit test which tests {@code lastIndexOf()} operations on a list.
37 return getList().lastIndexOf(o);
41 return "lastIndexOf";
51 "lastIndexOf(duplicate) should return index of last occurrence",
52 getNumElements() / 2, getList().lastIndexOf(samples.e0));
  /external/guava/guava-tests/test/com/google/common/primitives/
BytesTest.java 111 assertEquals(-1, Bytes.lastIndexOf(EMPTY, (byte) 1));
112 assertEquals(-1, Bytes.lastIndexOf(ARRAY1, (byte) 2));
113 assertEquals(-1, Bytes.lastIndexOf(ARRAY234, (byte) 1));
114 assertEquals(0, Bytes.lastIndexOf(
116 assertEquals(0, Bytes.lastIndexOf(ARRAY234, (byte) 2));
117 assertEquals(1, Bytes.lastIndexOf(ARRAY234, (byte) 3));
118 assertEquals(2, Bytes.lastIndexOf(ARRAY234, (byte) 4));
119 assertEquals(3, Bytes.lastIndexOf(

Completed in 403 milliseconds

1 2 3 4 5 6 7 8 91011>>