Home
last modified time | relevance | path

Searched refs:upper_bound (Results 1 – 25 of 38) sorted by relevance

12

/aosp12/bionic/libc/upstream-openbsd/lib/libc/crypt/
H A Darc4random_uniform.c33 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() argument
37 if (upper_bound < 2) in arc4random_uniform()
41 min = -upper_bound % upper_bound; in arc4random_uniform()
55 return r % upper_bound; in arc4random_uniform()
/aosp12/art/runtime/native/
H A Djava_lang_StringFactory.cc180 int upper_bound = 0xbf; in StringFactory_newStringFromUtf8Bytes() local
210 upper_bound = 0x9f; in StringFactory_newStringFromUtf8Bytes()
214 upper_bound = 0x8f; in StringFactory_newStringFromUtf8Bytes()
217 if (b < lower_bound || b > upper_bound) { in StringFactory_newStringFromUtf8Bytes()
224 upper_bound = 0xbf; in StringFactory_newStringFromUtf8Bytes()
237 upper_bound = 0xbf; in StringFactory_newStringFromUtf8Bytes()
/aosp12/art/libartbase/base/
H A Dsafe_map.h83 template<typename Kv> iterator upper_bound(const Kv& k) { return map_.upper_bound(k); } in upper_bound() function
84 template<typename Kv> const_iterator upper_bound(const Kv& k) const { in upper_bound() function
85 return map_.upper_bound(k); in upper_bound()
H A Dbit_memory_region_test.cc46 uint32_t upper_bound = RoundUp(MinimumBitsToStore(value), kBitsPerByte) + kVarintBits; in TEST() local
49 EXPECT_GE(upper_bound, writer.NumberOfWrittenBits()); in TEST()
/aosp12/system/vold/
H A DCheckpoint.cpp492 auto s = --relocations.upper_bound(source); in relocate()
504 auto dest_end = --relocations.upper_bound(dest + count); in relocate()
525 auto second_overlap = used_sectors.upper_bound(start); in checkCollision()
600 auto relocation = --relocations.upper_bound(sector); in relocatedRead()
/aosp12/system/update_engine/payload_consumer/
H A Dextent_reader.cc58 std::upper_bound( in Seek()
/aosp12/system/bt/packet/tests/base/
H A Diterator_test.cc34 auto upper_bound = bounds.second; in GetTestPacket() local
36 return TestPacket::Make(test_l2cap_data, lower_bound, upper_bound); in GetTestPacket()
/aosp12/packages/modules/NeuralNetworks/common/operations/
H A DMultinomial.cpp145 auto found_iter = std::upper_bound(cdf.begin(), cdf.end(), target); in EvalFloat32()
/aosp12/system/unwinding/libunwindstack/
H A DDexFile.cpp134 auto it = symbols_.upper_bound(dex_offset); in GetFunctionName()
H A DSymbols.cpp54 auto it = symbols_.upper_bound(addr); in BinarySearch()
H A DDwarfSection.cpp43 auto it = loc_regs_.upper_bound(pc); in Step()
736 auto it = std::upper_bound(fde_index_.begin(), fde_index_.end(), pc, comp); in GetFdeFromPc()
/aosp12/art/compiler/optimizing/
H A Dbounds_check_elimination.cc428 ValueBound upper_bound = range->GetUpper(); in Narrow() local
429 if (upper_bound.IsConstant()) { in Narrow()
430 upper = upper_bound.GetConstant(); in Narrow()
431 } else if (upper_bound.IsRelatedToArrayLength() && upper_bound.GetConstant() <= 0) { in Narrow()
433 upper = max_array_len + upper_bound.GetConstant(); in Narrow()
H A Dreference_type_propagation.cc205 ReferenceTypeInfo upper_bound, in ShouldCreateBoundType() argument
216 if (existing_bound_type->GetUpperBound().IsSupertypeOf(upper_bound)) { in ShouldCreateBoundType()
/aosp12/frameworks/av/services/mediametrics/
H A DTimeMachine.h114 auto eptr = timeSequence.upper_bound(time);
475 auto it = mHistory.upper_bound(url); in getKeyHistoryFromUrl()
H A DTransactionLog.h282 auto it2 = map.upper_bound(endTime);
/aosp12/art/compiler/debug/
H A Delf_debug_line_writer.h226 auto dex2line = std::upper_bound( in WriteCompilationUnit()
/aosp12/art/libdexfile/external/
H A Ddex_file_ext.cc124 auto it = std::upper_bound(class_cache_.begin(), class_cache_.end(), dex_offset, comp); in GetClassDefIndex()
/aosp12/system/update_engine/payload_generator/
H A Dmerge_sequence_generator.cc148 const auto upper_it = std::upper_bound( in FindDependency()
/aosp12/system/update_engine/common/
H A Dprefs.cc259 auto upper_it = std::upper_bound(lower_it, end(values_), ns, upper_comp); in GetSubKeys()
/aosp12/frameworks/base/media/jni/soundpool/
H A DStreamManager.h423 mRestartStreams.upper_bound(systemTime())) in needMoreThreads_l()
/aosp12/system/unwinding/libunwindstack/tests/fuzz/
H A DUnwinderComponentCreator.cpp151 auto entry = map_ends.upper_bound(start); in GetMaps()
/aosp12/packages/providers/MediaProvider/jni/
H A Dnode-inl.h446 children_.upper_bound(std::make_pair(name, std::numeric_limits<uintptr_t>::max())); in ForChild()
/aosp12/system/extras/simpleperf/
H A Dthread_tree.cpp269 auto it = maps.upper_bound(addr); in FindMapByAddr()
/aosp12/frameworks/av/media/codec2/sfplugin/
H A DC2OMXNode.cpp144 it = jobs->queues.upper_bound(comp); in threadLoop()
/aosp12/system/core/init/
H A Dservice_parser.cpp259 std::upper_bound(service_->keycodes_.begin(), service_->keycodes_.end(), code), in ParseKeycodes()

12