/system/extras/simpleperf/runtest/ |
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="20" max="80"/> [all …]
|
/system/libbase/include/android-base/ |
D | parsedouble.h | 32 static inline bool ParseFloatingPoint(const char* s, T* out, T min, T max) { in ParseFloatingPoint() argument 39 if (result < min || max < result) { in ParseFloatingPoint() 52 double min = std::numeric_limits<double>::lowest(), 54 return ParseFloatingPoint<double, strtod>(s, out, min, max); 57 double min = std::numeric_limits<double>::lowest(), 59 return ParseFloatingPoint<double, strtod>(s.c_str(), out, min, max); 66 float min = std::numeric_limits<float>::lowest(), 68 return ParseFloatingPoint<float, strtof>(s, out, min, max); 71 float min = std::numeric_limits<float>::lowest(), 73 return ParseFloatingPoint<float, strtof>(s.c_str(), out, min, max);
|
D | parseint.h | 99 T min = std::numeric_limits<T>::min(), 117 if (result < min || max < result) { 130 T min = std::numeric_limits<T>::min(), 132 return ParseInt(s.c_str(), out, min, max);
|
D | properties.h | 44 T min = std::numeric_limits<T>::min(),
|
/system/extras/tests/audio/alsa/ |
D | pcmtest.cpp | 130 unsigned int min; in getPcmParams() local 138 min = pcm_params_get_min(params, PCM_PARAM_RATE); in getPcmParams() 140 EXPECT_LE(min, max); in getPcmParams() 142 min = pcm_params_get_min(params, PCM_PARAM_CHANNELS); in getPcmParams() 144 EXPECT_LE(min, max); in getPcmParams() 146 min = pcm_params_get_min(params, PCM_PARAM_SAMPLE_BITS); in getPcmParams() 148 EXPECT_LE(min, max); in getPcmParams() 150 min = pcm_params_get_min(params, PCM_PARAM_PERIOD_SIZE); in getPcmParams() 152 EXPECT_LE(min, max); in getPcmParams() 154 min = pcm_params_get_min(params, PCM_PARAM_PERIODS); in getPcmParams() [all …]
|
/system/update_engine/update_manager/ |
D | prng.h | 37 int RandMinMax(int min, int max) { in RandMinMax() argument 38 DCHECK_LE(min, max); in RandMinMax() 39 return std::uniform_int_distribution<>(min, max)(gen_); in RandMinMax()
|
/system/extras/tests/kernel.config/ |
D | aslr_rec_test.cpp | 44 EXPECT_FALSE(set_mmap_rnd_bits(min - 1, false)); in TEST_F() 45 EXPECT_TRUE(set_mmap_rnd_bits(min, false)); in TEST_F() 46 EXPECT_EQ(min, get_mmap_rnd_bits(false)); in TEST_F() 86 EXPECT_TRUE(set_mmap_rnd_bits(min, false)); in TEST_F() 87 EXPECT_EQ(min, calc_mmap_entropy(path, lib, 16)); in TEST_F()
|
D | aslr_test.cpp | 159 unsigned int AslrMmapTest::def, AslrMmapTest::min, AslrMmapTest::max; member in AslrMmapTest 167 min = 28; in SetUpTestCase() 179 min = 8; in SetUpTestCase() 195 min = 18 - (pgbits - 12); in SetUpTestCase() 208 min = 8; in SetUpTestCase()
|
/system/libbase/ |
D | format_benchmark.cpp | 29 benchmark::DoNotOptimize(fmt::format("{} {} {}", 42, std::numeric_limits<int>::min(), in BenchmarkFormatInt() 38 benchmark::DoNotOptimize(StringPrintf("%d %d %d", 42, std::numeric_limits<int>::min(), in BenchmarkStringPrintfInt() 47 benchmark::DoNotOptimize(fmt::format("{} {} {}", 42.42, std::numeric_limits<float>::min(), in BenchmarkFormatFloat() 56 benchmark::DoNotOptimize(StringPrintf("%f %f %f", 42.42, std::numeric_limits<float>::min(), in BenchmarkStringPrintfFloat()
|
/system/core/init/ |
D | security.cpp | 91 static bool SetHighestAvailableOptionValue(const std::string& path, int min, int max) { in SetHighestAvailableOptionValue() argument 99 while (current >= min) { in SetHighestAvailableOptionValue() 121 if (current < min) { in SetHighestAvailableOptionValue() 122 LOG(ERROR) << "Unable to set minimum option value " << min << " in " << path; in SetHighestAvailableOptionValue() 131 static bool SetMmapRndBitsMin(int start, int min, bool compat) { in SetMmapRndBitsMin() argument 139 return SetHighestAvailableOptionValue(path, min, start); in SetMmapRndBitsMin()
|
/system/extras/simpleperf/ |
D | command.h | 81 bool PullUintValue(const OptionName& name, T* value, uint64_t min = 0, 84 if (option_value->uint_value < min || option_value->uint_value > max) { 94 double min = std::numeric_limits<double>::lowest(), 97 if (option_value->double_value < min || option_value->double_value > max) { 171 bool GetUintOption(const std::vector<std::string>& args, size_t* pi, T* value, uint64_t min = 0, 177 if (!android::base::ParseUint(args[*pi], &tmp_value, max, allow_suffixes) || tmp_value < min) { 186 double min = 0, double max = std::numeric_limits<double>::max());
|
/system/netd/libnetdutils/include/netdutils/ |
D | Slice.h | 97 const size_t tmp = std::min(cut, s.size()); in split() 113 const auto min = std::min(dst.size(), src.size()); in copy() local 114 memcpy(dst.base(), src.base(), min); in copy() 115 return min; in copy()
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor_util.cc | 40 std::min(millis.getMilliseconds(), kMaxInterval)); in intervalToSmgrSamplingRate() 46 smgrRate = static_cast<uint16_t>(std::min(rateHz, kMaxRate)); in intervalToSmgrSamplingRate()
|
/system/update_engine/payload_consumer/ |
D | extent_writer.cc | 28 using std::min; 43 static_cast<size_t>(min(static_cast<uint64_t>(count - bytes_written), in Write()
|
D | fake_file_descriptor.cc | 39 first_failure = std::min(first_failure, failure.first); in Read() 41 count = std::min(static_cast<uint64_t>(count), first_failure - offset_); in Read()
|
D | extent_writer_unittest.cc | 35 using std::min; 118 size_t bytes_to_write = min(data.size() - bytes_written, chunk_size); in WriteAlignedExtents() 120 bytes_to_write = min(data.size() - bytes_written, first_chunk_size); in WriteAlignedExtents() 160 min(block_count * kBlockSize - bytes_written, data.size()); in TEST_F()
|
D | file_descriptor_utils.cc | 29 using std::min; 55 auto read_blocks = std::min(total_blocks, buffer_blocks); in CommonHashExtents()
|
/system/bt/stack/btm/ |
D | btm_pm.cc | 186 (p_mode->min <= p_cb->interval)) || in BTM_SetPowerMode() 191 << " max " << p_mode->max << " min " << p_mode->min; in BTM_SetPowerMode() 470 p_res->min = (p_md1->min > p_md2->min) ? (p_md1->min) : (p_md2->min); in btm_pm_compare_modes() 473 if (p_res->max < p_res->min) return NULL; in btm_pm_compare_modes() 572 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval))) in btm_pm_snd_md_req() 624 md_res.min); in btm_pm_snd_md_req() 630 md_res.min, md_res.attempt, md_res.timeout); in btm_pm_snd_md_req() 636 md_res.min); in btm_pm_snd_md_req()
|
/system/chre/core/ |
D | sensor_request.cc | 56 mInterval = std::min(interval, Nanoseconds(kMaxIntervalLatencyNs)); in SensorRequest() 59 mLatency = std::min(latency, Nanoseconds(kMaxIntervalLatencyNs)); in SensorRequest() 73 Nanoseconds batchInterval = std::min(getBatchInterval(*this), in mergeWith()
|
/system/media/audio_utils/tests/ |
D | fifo_tests.cpp | 27 #ifndef min 28 #define min(x, y) (((x) < (y)) ? (x) : (y)) macro 137 if (actualWritten < min((int) frameCount - fifoFillLevel, (int) framesToWrite)) { in main() 193 if (actualRead < min(fifoFillLevel, (int) framesToRead)) { in main()
|
/system/keymaster/km_openssl/ |
D | iso18033kdf.cpp | 25 inline size_t min(size_t a, size_t b) { in min() function 72 size_t block_length = min(digest_size_, output_len - block_start); in GenerateKey()
|
/system/libhwbinder/vts/performance/ |
D | PerfTest.cpp | 46 using std::min; 88 ret.best_ = min(a.best_, b.best_); in combine() 103 buckets_[min(nano, kMaxTimeBucket - 1) / kTimePerBucket] += 1; in addTime() 104 best_ = min(nano, best_); in addTime()
|
/system/chre/apps/wifi_offload/ |
D | chre_scan_params_safe.cc | 55 chre_scan_params_.frequencyListLen = std::min( in UpdateFromScanParams() 71 std::min(static_cast<uint8_t>(scan_params.ssids_to_scan_.size()), in UpdateFromScanParams()
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 55 #ifndef min /* already defined by windows.h */ 56 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
|
/system/update_engine/payload_generator/ |
D | full_update_generator.cc | 128 full_chunk_size = std::min(static_cast<size_t>(config.hard_chunk_size), in GenerateOperations() 131 full_chunk_size = std::min(kDefaultFullChunkSize, config.soft_chunk_size); in GenerateOperations() 162 std::min(chunk_blocks, partition_blocks - i * chunk_blocks); in GenerateOperations()
|