Home
last modified time | relevance | path

Searched refs:binarySearch (Results 1 – 25 of 53) sorted by relevance

123

/third_party/typescript/src/harness/
DcollectionsImpl.ts45 return ts.binarySearch(this._keys, key, ts.identity, this._comparer) >= 0;
49 const index = ts.binarySearch(this._keys, key, ts.identity, this._comparer);
54 const index = ts.binarySearch(this._keys, key, ts.identity, this._comparer);
59 const index = ts.binarySearch(this._keys, key, ts.identity, this._comparer);
74 const index = ts.binarySearch(this._keys, key, ts.identity, this._comparer);
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_data.cpp231 int32_t binarySearch(const MaybeStackVector<UnitPreferenceMetadata> *metadata, in binarySearch() function
281 … int32_t idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
304 idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
312 … idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
Dmeasunit.cpp2070 static int32_t binarySearch( in binarySearch() function
2223 int32_t typeIdx = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), type); in getAvailable()
2264 int32_t st = binarySearch(gSubTypes, gOffsets[t], gOffsets[t + 1], subType); in findBySubType()
2285 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "duration"); in initTime()
2288 result = binarySearch(gSubTypes, gOffsets[fTypeId], gOffsets[fTypeId + 1], timeId); in initTime()
2294 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "currency"); in initCurrency()
2297 result = binarySearch( in initCurrency()
2306 result = binarySearch( in initCurrency()
Dcsrmbcs.cpp95 static int32_t binarySearch(const uint16_t *array, int32_t len, uint16_t value) in binarySearch() function
169 … if (binarySearch(commonChars, commonCharsLen, static_cast<uint16_t>(iter.charValue)) >= 0){ in match_mbcs()
Dcollationfastlatinbuilder.cpp65 binarySearch(const int64_t list[], int32_t limit, int64_t ce) { in binarySearch() function
415 int32_t i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
/third_party/icu/icu4c/source/i18n/
Dunits_data.cpp233 int32_t binarySearch(const MaybeStackVector<UnitPreferenceMetadata> *metadata, in binarySearch() function
283 … int32_t idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
306 idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
314 … idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
Dmeasunit.cpp2107 static int32_t binarySearch( in binarySearch() function
2260 int32_t typeIdx = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), type); in getAvailable()
2301 int32_t st = binarySearch(gSubTypes, gOffsets[t], gOffsets[t + 1], subType); in findBySubType()
2322 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "duration"); in initTime()
2325 result = binarySearch(gSubTypes, gOffsets[fTypeId], gOffsets[fTypeId + 1], timeId); in initTime()
2331 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "currency"); in initCurrency()
2334 result = binarySearch( in initCurrency()
2343 result = binarySearch( in initCurrency()
Dcsrmbcs.cpp95 static int32_t binarySearch(const uint16_t *array, int32_t len, uint16_t value) in binarySearch() function
166 … if (binarySearch(commonChars, commonCharsLen, static_cast<uint16_t>(iter.charValue)) >= 0){ in match_mbcs()
Dcollationfastlatinbuilder.cpp65 binarySearch(const int64_t list[], int32_t limit, int64_t ce) { in binarySearch() function
415 int32_t i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
/third_party/libphonenumber/java/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DPhonePrefixMap.java161 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
192 private int binarySearch(int start, int end, long value) { in binarySearch() method in PhonePrefixMap
DFlyweightMapStorage.java104 int positionInDescriptionPool = Arrays.binarySearch(descriptionPool, description); in createDescriptionPool()
DMappingFileProvider.java160 int index = Arrays.binarySearch(countryCallingCodes, countryCallingCode); in getFileName()
/third_party/node/deps/icu-small/source/i18n/
Dunits_data.cpp239 int32_t binarySearch(const MaybeStackVector<UnitPreferenceMetadata> *metadata, in binarySearch() function
289 … int32_t idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
312 idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
320 … idx = binarySearch(metadata, desired, &foundCategory, &foundUsage, &foundRegion, status); in getPreferenceMetadataIndex()
Dmeasunit.cpp2125 static int32_t binarySearch( in binarySearch() function
2278 int32_t typeIdx = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), type); in getAvailable()
2319 int32_t st = binarySearch(gSubTypes, gOffsets[t], gOffsets[t + 1], subType); in findBySubType()
2340 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "duration"); in initTime()
2343 result = binarySearch(gSubTypes, gOffsets[fTypeId], gOffsets[fTypeId + 1], timeId); in initTime()
2349 int32_t result = binarySearch(gTypes, 0, UPRV_LENGTHOF(gTypes), "currency"); in initCurrency()
2352 result = binarySearch( in initCurrency()
2361 result = binarySearch( in initCurrency()
Dcsrmbcs.cpp95 static int32_t binarySearch(const uint16_t *array, int32_t len, uint16_t value) in binarySearch() function
166 … if (binarySearch(commonChars, commonCharsLen, static_cast<uint16_t>(iter.charValue)) >= 0){ in match_mbcs()
Dcollationfastlatinbuilder.cpp65 binarySearch(const int64_t list[], int32_t limit, int64_t ce) { in binarySearch() function
415 int32_t i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUBinary.java98 int index = binarySearch(bytes, key); in getData()
111 int index = binarySearch(bytes, folder); in addBaseNamesInFolder()
124 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch() method in ICUBinary.DatPackageReader
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatinBuilder.java44 private static final int binarySearch(long[] list, int limit, long ce) { in binarySearch() method in CollationFastLatinBuilder
392 int i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
400 int index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationFastLatinBuilder.java45 private static final int binarySearch(long[] list, int limit, long ce) { in binarySearch() method in CollationFastLatinBuilder
393 int i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
401 int index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUBinary.java94 int index = binarySearch(bytes, key); in getData()
107 int index = binarySearch(bytes, folder); in addBaseNamesInFolder()
120 private static int binarySearch(ByteBuffer bytes, CharSequence key) { in binarySearch() method in ICUBinary.DatPackageReader
/third_party/typescript/src/server/
Dutilities.ts91 const removeIndex = binarySearch(array, remove, identity, compare);
/third_party/icu/tools/unicode/c/genuca/
Dcollationbasedatabuilder.cpp61 binarySearch(const UVector64 &list, int64_t ce) { in binarySearch() function
315 int32_t i = binarySearch(rootElements, ce); in addRootElement()
/third_party/typescript/src/services/
DorganizeImports.ts507 … const index = binarySearch(sortedImports, newImport, identity, compareImportsOrRequireStatements);
512 … const index = binarySearch(sortedImports, newImport, identity, compareImportOrExportSpecifiers);
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/
D0.spvasm10 …OpName %binarySearch_struct_BinarySearchObject_i1_10_1_ "binarySearch(struct-BinarySearchObject-i1…
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCharsetRecog_mbcs.java73 if (Arrays.binarySearch(commonChars, (int) cv) >= 0) { in match()

123