/aosp12/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
H A D | arc4random_uniform.c | 33 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 D | java_lang_StringFactory.cc | 180 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 D | safe_map.h | 83 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 D | bit_memory_region_test.cc | 46 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 D | Checkpoint.cpp | 492 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 D | extent_reader.cc | 58 std::upper_bound( in Seek()
|
/aosp12/system/bt/packet/tests/base/ |
H A D | iterator_test.cc | 34 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 D | Multinomial.cpp | 145 auto found_iter = std::upper_bound(cdf.begin(), cdf.end(), target); in EvalFloat32()
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | DexFile.cpp | 134 auto it = symbols_.upper_bound(dex_offset); in GetFunctionName()
|
H A D | Symbols.cpp | 54 auto it = symbols_.upper_bound(addr); in BinarySearch()
|
H A D | DwarfSection.cpp | 43 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 D | bounds_check_elimination.cc | 428 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 D | reference_type_propagation.cc | 205 ReferenceTypeInfo upper_bound, in ShouldCreateBoundType() argument 216 if (existing_bound_type->GetUpperBound().IsSupertypeOf(upper_bound)) { in ShouldCreateBoundType()
|
/aosp12/frameworks/av/services/mediametrics/ |
H A D | TimeMachine.h | 114 auto eptr = timeSequence.upper_bound(time); 475 auto it = mHistory.upper_bound(url); in getKeyHistoryFromUrl()
|
H A D | TransactionLog.h | 282 auto it2 = map.upper_bound(endTime);
|
/aosp12/art/compiler/debug/ |
H A D | elf_debug_line_writer.h | 226 auto dex2line = std::upper_bound( in WriteCompilationUnit()
|
/aosp12/art/libdexfile/external/ |
H A D | dex_file_ext.cc | 124 auto it = std::upper_bound(class_cache_.begin(), class_cache_.end(), dex_offset, comp); in GetClassDefIndex()
|
/aosp12/system/update_engine/payload_generator/ |
H A D | merge_sequence_generator.cc | 148 const auto upper_it = std::upper_bound( in FindDependency()
|
/aosp12/system/update_engine/common/ |
H A D | prefs.cc | 259 auto upper_it = std::upper_bound(lower_it, end(values_), ns, upper_comp); in GetSubKeys()
|
/aosp12/frameworks/base/media/jni/soundpool/ |
H A D | StreamManager.h | 423 mRestartStreams.upper_bound(systemTime())) in needMoreThreads_l()
|
/aosp12/system/unwinding/libunwindstack/tests/fuzz/ |
H A D | UnwinderComponentCreator.cpp | 151 auto entry = map_ends.upper_bound(start); in GetMaps()
|
/aosp12/packages/providers/MediaProvider/jni/ |
H A D | node-inl.h | 446 children_.upper_bound(std::make_pair(name, std::numeric_limits<uintptr_t>::max())); in ForChild()
|
/aosp12/system/extras/simpleperf/ |
H A D | thread_tree.cpp | 269 auto it = maps.upper_bound(addr); in FindMapByAddr()
|
/aosp12/frameworks/av/media/codec2/sfplugin/ |
H A D | C2OMXNode.cpp | 144 it = jobs->queues.upper_bound(comp); in threadLoop()
|
/aosp12/system/core/init/ |
H A D | service_parser.cpp | 259 std::upper_bound(service_->keycodes_.begin(), service_->keycodes_.end(), code), in ParseKeycodes()
|