Home
last modified time | relevance | path

Searched refs:findIndex (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/jerryscript/tests/jerry/es2015/
Darray-prototype-find-index.js30 assert (array1.findIndex (bigger_than_10) === 1);
40 array1.findIndex (less_than_0);
57 assert (JSON.stringify (inventory.findIndex (isCherries)) === "2");
81 assert (src_array.findIndex (isPrime) === -1);
85 assert (src_array.findIndex (isPrime) === 1);
89 Array.prototype.findIndex.call (5); method in Array
98 obj.findIndex = Array.prototype.findIndex;
101 obj.findIndex ();
109 assert (Array.prototype.findIndex.call (data, function (e) { return e < 5; }) === -1);
115 obj.findIndex = Array.prototype.findIndex;
[all …]
DtypedArray-find-index.js43 assert (array1.findIndex (bigger_than_10) === 1);
53 array1.findIndex (less_than_0);
82 assert (src_array.findIndex (isPrime) === -1);
86 assert (src_array.findIndex (isPrime) === 1);
90 TypedArray.prototype.findIndex.call (5); method in TypedArray
100 array.findIndex (5);
108 array.findIndex ();
115 assert (array.findIndex (function (e) { return e < 2 }, {}, 8, 4, 5, 6, 6) === 0);
Dregression-test-issue-2947.js15 assert(new Uint32Array(Array(undefined, 9040650076)).findIndex(function (p_0) { return p_0 }) === 1…
Dregression-test-issue-3049.js16 assert(['A'].findIndex(func) == 0);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DLocaleIDs.java53 int offset = findIndex(_countries, country); in getISO3Country()
57 offset = findIndex(_obsoleteCountries, country); in getISO3Country()
76 int offset = findIndex(_languages, language); in getISO3Language()
80 offset = findIndex(_obsoleteLanguages, language); in getISO3Language()
91 int offset = findIndex(_languages3, lang); in threeToTwoLetterLanguage()
96 offset = findIndex(_obsoleteLanguages3, lang); in threeToTwoLetterLanguage()
107 int offset = findIndex(_countries3, region); in threeToTwoLetterRegion()
112 offset = findIndex(_obsoleteCountries3, region); in threeToTwoLetterRegion()
124 private static int findIndex(String[] array, String target){ in findIndex() method in LocaleIDs
455 int offset = findIndex(_deprecatedCountries, oldID); in getCurrentCountryID()
[all …]
DCalendarCache.java39 return values[findIndex(key)]; in get()
50 int index = findIndex(key); in put()
57 private final int findIndex(long key) { in findIndex() method in CalendarCache
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DLocaleIDs.java52 int offset = findIndex(_countries, country); in getISO3Country()
56 offset = findIndex(_obsoleteCountries, country); in getISO3Country()
74 int offset = findIndex(_languages, language); in getISO3Language()
78 offset = findIndex(_obsoleteLanguages, language); in getISO3Language()
89 int offset = findIndex(_languages3, lang); in threeToTwoLetterLanguage()
94 offset = findIndex(_obsoleteLanguages3, lang); in threeToTwoLetterLanguage()
105 int offset = findIndex(_countries3, region); in threeToTwoLetterRegion()
110 offset = findIndex(_obsoleteCountries3, region); in threeToTwoLetterRegion()
122 private static int findIndex(String[] array, String target){ in findIndex() method in LocaleIDs
453 int offset = findIndex(_deprecatedCountries, oldID); in getCurrentCountryID()
[all …]
DCalendarCache.java41 return values[findIndex(key)]; in get()
52 int index = findIndex(key); in put()
59 private final int findIndex(long key) { in findIndex() method in CalendarCache
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSparseSet.h204 iterator findIndex(unsigned Idx) {
225 return findIndex(KeyIndexOf(Key));
229 return const_cast<SparseSet*>(this)->findIndex(KeyIndexOf(Key));
251 iterator I = findIndex(Idx);
DSparseMultiSet.h288 Idx = SMS->findIndex(SparseIdx).Prev();
354 iterator findIndex(unsigned Idx) { in findIndex() function
376 return findIndex(KeyIndexOf(Key)); in find()
380 iterator I = const_cast<SparseMultiSet*>(this)->findIndex(KeyIndexOf(Key)); in find()
421 iterator I = findIndex(Idx); in insert()
505 findIndex(sparseIndex(N)).setPrev(N.Prev); in unlink()
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dedits.h254 return findIndex(i, true, errorCode) == 0; in findSourceIndex()
277 return findIndex(i, false, errorCode) == 0; in findDestinationIndex()
415 int32_t findIndex(int32_t i, UBool findSource, UErrorCode &errorCode);
/third_party/node/deps/icu-small/source/common/unicode/
Dedits.h254 return findIndex(i, true, errorCode) == 0; in findSourceIndex()
277 return findIndex(i, false, errorCode) == 0; in findDestinationIndex()
415 int32_t findIndex(int32_t i, UBool findSource, UErrorCode &errorCode);
/third_party/icu/icu4c/source/common/unicode/
Dedits.h254 return findIndex(i, true, errorCode) == 0; in findSourceIndex()
277 return findIndex(i, false, errorCode) == 0; in findDestinationIndex()
415 int32_t findIndex(int32_t i, UBool findSource, UErrorCode &errorCode);
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dedits.h251 return findIndex(i, TRUE, errorCode) == 0; in findSourceIndex()
274 return findIndex(i, FALSE, errorCode) == 0; in findDestinationIndex()
412 int32_t findIndex(int32_t i, UBool findSource, UErrorCode &errorCode);
/third_party/typescript/tests/baselines/reference/
DjsDeclarationsTypeReassignmentFromDeclaration.types19findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
20findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
21findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
22findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
DjsDeclarationsTypeReassignmentFromDeclaration2.types10findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
11findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
12findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
13findIndex(predicate: (value: Item, index: number, obj: Item[]) => unknown, thisArg?: any): number;…
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DEdits.java554 return findIndex(i, true) == 0; in findSourceIndex()
573 return findIndex(i, false) == 0; in findDestinationIndex()
577 private int findIndex(int i, boolean findSource) { in findIndex() method in Edits
682 int where = findIndex(i, true);
719 int where = findIndex(i, false);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java565 return findIndex(i, true) == 0; in findSourceIndex()
585 return findIndex(i, false) == 0; in findDestinationIndex()
589 private int findIndex(int i, boolean findSource) { in findIndex() method in Edits
695 int where = findIndex(i, true);
733 int where = findIndex(i, false);
/third_party/typescript/src/lib/
Des2015.core.d.ts23 findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number; method
344findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): numb… method
Des2020.bigint.d.ts205findIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: an… method
477findIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: a… method
/third_party/typescript/lib/
Dlib.es2015.core.d.ts43 findIndex(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): number; method
364findIndex(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): numb… method
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DASTMetadataHLSL.cpp107 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
275 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
353 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
DCallDAG.h60 size_t findIndex(const TSymbolUniqueId &id) const;
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DASTMetadataHLSL.cpp123 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
291 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
369 size_t calleeIndex = mDag.findIndex(node->getFunction()->uniqueId()); in visitAggregate()
DCallDAG.h60 size_t findIndex(const TSymbolUniqueId &id) const;

1234