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

1 2

  /external/chromium_org/v8/test/mjsunit/harmony/
array-findindex.js 30 assertEquals(1, Array.prototype.findIndex.length);
33 assertEquals(-1, a.findIndex(function() { return false; }));
34 assertEquals(-1, a.findIndex(function(val) { return 121 === val; }));
35 assertEquals(0, a.findIndex(function() { return true; }));
36 assertEquals(1, a.findIndex(function(val) { return 22 === val; }), undefined);
37 assertEquals(2, a.findIndex(function(val) { return 23 === val; }), null);
38 assertEquals(3, a.findIndex(function(val) { return 24 === val; }));
51 a.findIndex(function(val, key, obj) {
77 var index = a.findIndex(function(val, key, obj) {
101 a.findIndex(function()
    [all...]
  /libcore/luni/src/main/java/java/io/
SerializationHandleMap.java 55 int index = findIndex(key, keys);
63 int index = findIndex(key, keys);
74 private int findIndex(Object key, Object[] array) {
99 int index = findIndex(_key, keys);
105 index = findIndex(_key, keys);
129 index = next = findIndex(key, keys);
  /external/llvm/include/llvm/ADT/
SparseSet.h 194 /// findIndex - Find an element by its index.
199 iterator findIndex(unsigned Idx) {
223 return findIndex(KeyIndexOf(Key));
227 return const_cast<SparseSet*>(this)->findIndex(KeyIndexOf(Key));
248 iterator I = findIndex(Idx);
SparseMultiSet.h 290 Idx = SMS->findIndex(SparseIdx).Prev();
355 iterator findIndex(unsigned Idx) {
380 return findIndex(KeyIndexOf(Key));
384 iterator I = const_cast<SparseMultiSet*>(this)->findIndex(KeyIndexOf(Key));
425 iterator I = findIndex(Idx);
509 findIndex(sparseIndex(N)).setPrev(N.Prev);
  /cts/suite/audio_quality/test/
TaskSequentialTest.cpp 58 ASSERT_TRUE(mTestCase->findIndex(I, index));
TaskCaseTest.cpp 125 ASSERT_TRUE(mTaskCase->findIndex(I, i_read));
126 ASSERT_TRUE(mTaskCase->findIndex(J, j_read));
127 ASSERT_TRUE(!mTaskCase->findIndex(K, k_read));
  /libcore/luni/src/main/java/java/util/
IdentityHashMap.java 341 int index = findIndex(key, elementData);
380 int index = findIndex(key, elementData);
395 int index = findIndex(key, elementData);
426 private int findIndex(Object key, Object[] array) {
469 int index = findIndex(_key, elementData);
476 index = findIndex(_key, elementData);
516 int index = findIndex(key, newData);
546 index = next = findIndex(key, elementData);
Scanner.java     [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
SystemGesturesPointerEventListener.java 117 final int i = findIndex(pointerId);
129 private int findIndex(int pointerId) {
147 final int i = findIndex(pointerId);
  /external/chromium_org/v8/src/
harmony-array.js 78 ["Array.prototype.findIndex"]);
120 "findIndex", ArrayFindIndex
  /frameworks/base/core/tests/coretests/src/com/android/internal/net/
NetworkStatsFactoryTest.java 159 final int i = stats.findIndex(iface, uid, set, tag);
167 final int i = stats.findIndex(iface, uid, set, tag);
  /external/chromium_org/third_party/icu/source/test/cintltst/
ucnvseltst.c 261 static int32_t findIndex(const char* converterName) {
300 encIndex = findIndex(encodings[i]);
336 resultsFromSystem[findIndex(name)] = TRUE;
  /external/icu4c/test/cintltst/
ucnvseltst.c 261 static int32_t findIndex(const char* converterName) {
300 encIndex = findIndex(encodings[i]);
336 resultsFromSystem[findIndex(name)] = TRUE;
  /cts/suite/audio_quality/lib/include/task/
TaskCase.h 115 bool findIndex(const android::String8& name, int& val);
  /cts/suite/audio_quality/lib/src/task/
TaskCase.cpp 224 bool TaskCase::findIndex(const android::String8& name, int& val)
260 if (!findIndex(indexName, val)) {
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsTest.java 48 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE));
49 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE));
50 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE));
51 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE));
  /frameworks/base/core/java/android/net/
NetworkStats.java 305 * {@link #findIndex(String, int, int, int)} is unable to find match. Can
309 final int i = findIndex(entry.iface, entry.uid, entry.set, entry.tag);
337 public int findIndex(String iface, int uid, int set, int tag) {
379 final int j = stats.findIndex(iface[i], uid[i], set[i], tag[i]);
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkStatsServiceTest.java     [all...]
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20100714-0800.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /external/robolectric/lib/main/
h2-1.2.147.jar 
  /external/chromium_org/chrome/third_party/chromevox/
chromeVoxChromeBackgroundScript.js 62 goog.array.find=function(a,b,c){b=goog.array.findIndex(a,b,c);return 0>b?null:goog.isString(a)?a.charAt(b):a[b]};goog.array.findIndex=function(a,b,c){for(var d=a.length,e=goog.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};goog.array.findRight=function(a,b,c){b=goog.array.findIndexRight(a,b,c);return 0>b?null:goog.isString(a)?a.charAt(b):a[b]};
65 goog.array.removeAt=function(a,b){goog.asserts.assert(null!=a.length);return 1==goog.array.ARRAY_PROTOTYPE_.splice.call(a,b,1).length};goog.array.removeIf=function(a,b,c){b=goog.array.findIndex(a,b,c);return 0<=b?(goog.array.removeAt(a,b),!0):!1};goog.array.concat=function(a){return goog.array.ARRAY_PROTOTYPE_.concat.apply(goog.array.ARRAY_PROTOTYPE_,arguments)};goog.array.toArray=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};goog.array.clone=goog.array.toArray;
    [all...]
chromeVoxChromeOptionsScript.js     [all...]
chromeVoxChromePageScript.js 62 goog.array.find=function(a,b,c){b=goog.array.findIndex(a,b,c);return 0>b?null:goog.isString(a)?a.charAt(b):a[b]};goog.array.findIndex=function(a,b,c){for(var d=a.length,e=goog.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};goog.array.findRight=function(a,b,c){b=goog.array.findIndexRight(a,b,c);return 0>b?null:goog.isString(a)?a.charAt(b):a[b]};
65 goog.array.removeAt=function(a,b){goog.asserts.assert(null!=a.length);return 1==goog.array.ARRAY_PROTOTYPE_.splice.call(a,b,1).length};goog.array.removeIf=function(a,b,c){b=goog.array.findIndex(a,b,c);return 0<=b?(goog.array.removeAt(a,b),!0):!1};goog.array.concat=function(a){return goog.array.ARRAY_PROTOTYPE_.concat.apply(goog.array.ARRAY_PROTOTYPE_,arguments)};goog.array.toArray=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};goog.array.clone=goog.array.toArray;
    [all...]
  /prebuilts/tools/common/m2/internal/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 

Completed in 700 milliseconds

1 2