/system/update_engine/update_manager/ |
H A D | prng.h | 36 // Returns a random integer uniformly distributed in the range [min, max]. 37 int RandMinMax(int min, int max) { argument 38 DCHECK_LE(min, max); 39 return std::uniform_int_distribution<>(min, max)(gen_);
|
/system/extras/simpleperf/runtest/ |
H A D | runtest.conf | 6 <symbol name="Function1()" min="90" max="100"/> 10 <symbol name="main" min="90" max="100"/> 24 <symbol name="Function1()" min="30" max="70"/> 25 <symbol name="Function2()" min="30" max="70"/> 29 <symbol name="main" min="90" max="100"/> 47 <symbol name="ParentFunction()" min="10" max="90"/> 48 <symbol name="ChildFunction()" min="10" max="90"/> 52 <symbol name="main" min="10"/> 69 <symbol name="MainThreadFunction()" min="20" max="80"/> 70 <symbol name="ChildThreadFunction(void*)" min [all...] |
/system/core/base/include/android-base/ |
H A D | parsedouble.h | 29 // Optionally allows the caller to define a 'min' and 'max' beyond which 32 double min = std::numeric_limits<double>::lowest(), 40 if (result < min || max < result) {
|
H A D | parseint.h | 58 // that value. Optionally allows the caller to define a 'min' and 'max 63 T min = std::numeric_limits<T>::min(), 72 if (result < min || max < result) { 82 T min = std::numeric_limits<T>::min(), 84 return ParseInt(s.c_str(), out, min, max);
|
H A D | properties.h | 46 T min = std::numeric_limits<T>::min(),
|
/system/vold/ |
H A D | hash.h | 44 #ifndef min 45 #define min(a,b) (((a)>(b))?(b):(a)) macro
|
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
H A D | strsuftoll.c | 117 long long min, long long max) 122 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); 135 long long min, long long max, char *ebuf, size_t ebuflen, size_t depth) 211 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen, 227 if (num < min) { 230 desc, (long long)num, (long long)min); 245 long long min, long long max, char *ebuf, size_t ebuflen) 247 return __strsuftollx(desc, val, min, max, ebuf, ebuflen, 0); 134 __strsuftollx(const char *desc, const char *val, long long min, long long max, char *ebuf, size_t ebuflen, size_t depth) argument 244 strsuftollx(const char *desc, const char *val, long long min, long long max, char *ebuf, size_t ebuflen) argument
|
/system/extras/tests/kernel.config/ |
H A D | aslr_rec_test.cpp | 44 EXPECT_FALSE(set_mmap_rnd_bits(min - 1, false)); 45 EXPECT_TRUE(set_mmap_rnd_bits(min, false)); 46 EXPECT_EQ(min, get_mmap_rnd_bits(false)); 80 /* make sure observed entropy is what we expect when we set min value */ 86 EXPECT_TRUE(set_mmap_rnd_bits(min, false)); 87 EXPECT_EQ(min, calc_mmap_entropy(path, lib, 16)); 91 /* make sure observed compat entropy is what we expect when we set min value */
|
H A D | aslr_test.h | 47 static unsigned int def, min, max; member in class:AslrMmapTest
|
H A D | aslr_test.cpp | 159 unsigned int AslrMmapTest::def, AslrMmapTest::min, AslrMmapTest::max; member in class:AslrMmapTest 167 min = 28; 179 min = 8; 195 min = 18 - (pgbits - 12); 208 min = 8;
|
/system/chre/platform/slpi/ |
H A D | platform_sensor_util.cc | 40 std::min(millis.getMilliseconds(), kMaxInterval)); 46 smgrRate = static_cast<uint16_t>(std::min(rateHz, kMaxRate));
|
/system/extras/tests/audio/alsa/ |
H A D | pcmtest.cpp | 130 unsigned int min; local 138 min = pcm_params_get_min(params, PCM_PARAM_RATE); 140 EXPECT_LE(min, max); 141 /* printf(" Rate:\tmin=%uHz\tmax=%uHz\n", min, max); */ 142 min = pcm_params_get_min(params, PCM_PARAM_CHANNELS); 144 EXPECT_LE(min, max); 145 /* printf(" Channels:\tmin=%u\t\tmax=%u\n", min, max); */ 146 min = pcm_params_get_min(params, PCM_PARAM_SAMPLE_BITS); 148 EXPECT_LE(min, max); 149 /* printf(" Sample bits:\tmin=%u\t\tmax=%u\n", min, ma [all...] |
/system/update_engine/payload_generator/ |
H A D | tarjan.cc | 25 using std::min; 60 (*graph)[vertex].lowlink = min((*graph)[vertex].lowlink, 63 (*graph)[vertex].lowlink = min((*graph)[vertex].lowlink,
|
H A D | full_update_generator.cc | 131 full_chunk_size = std::min(static_cast<size_t>(config.hard_chunk_size), 134 full_chunk_size = std::min(kDefaultFullChunkSize, config.soft_chunk_size); 164 size_t num_blocks = std::min(chunk_blocks,
|
/system/keymaster/ |
H A D | iso18033kdf.cpp | 24 inline size_t min(size_t a, size_t b) { function in namespace:keymaster 77 size_t block_length = min(digest_size_, output_len - block_start);
|
/system/update_engine/payload_consumer/ |
H A D | extent_writer.cc | 28 using std::min; 44 static_cast<size_t>(min(static_cast<uint64_t>(count - bytes_written),
|
/system/netd/libnetdutils/include/netdutils/ |
H A D | Slice.h | 97 const size_t tmp = std::min(cut, s.size()); 113 const auto min = std::min(dst.size(), src.size()); local 114 memcpy(dst.base(), src.base(), min); 115 return min;
|
/system/extras/ext4_utils/ |
H A D | indirect.c | 47 len = min(region_len * info.block_size, backing_len); 78 int ind_block_len = min((int)aux_info.blocks_per_ind, len); 95 int dind_block_len = min((int)aux_info.blocks_per_dind, len); 128 int ind_block_len = min((int)aux_info.blocks_per_ind, len); 158 int dind_block_len = min((int)aux_info.blocks_per_dind, len); 171 int len = min(*block_len, EXT4_NDIR_BLOCKS); 194 int len = min(*block_len, aux_info.blocks_per_ind); 226 int len = min(*block_len, aux_info.blocks_per_dind); 258 int len = min(*block_len, aux_info.blocks_per_tind); 291 u32 ind_block_len = min(aux_inf [all...] |
/system/bt/bta/ag/ |
H A D | bta_ag_at.h | 52 uint8_t min; /* minimum value for int arg */ member in struct:__anon5
|
/system/core/adb/ |
H A D | shell_service_protocol.cpp | 45 size_t read_length = std::min(bytes_left_, data_capacity());
|
/system/extras/perfprofd/quipper/ |
H A D | perf_internals.h | 36 #undef min macro
|
/system/tools/aidl/ |
H A D | aidl.h | 34 UNKOWN = std::numeric_limits<int32_t>::min(),
|
/system/update_engine/scripts/update_payload/ |
H A D | format_utils.py | 38 precision = min(min_precision, max_precision)
|
/system/chre/apps/wifi_offload/ |
H A D | chre_scan_params_safe.cc | 55 chre_scan_params_.frequencyListLen = std::min( 71 std::min(static_cast<uint8_t>(scan_params.ssids_to_scan_.size()),
|
/system/bt/stack/btm/ |
H A D | btm_pm.cc | 183 (p_mode->min <= p_cb->interval)) || 186 BTM_TRACE_DEBUG("BTM_SetPowerMode: mode:0x%x interval %d max:%d, min:%d", 187 p_mode->mode, p_cb->interval, p_mode->max, p_mode->min); 461 /* min of the two */ 464 p_res->min = (p_md1->min > p_md2->min) ? (p_md1->min) : (p_md2->min); 467 if (p_res->max < p_res->min) retur [all...] |