Searched refs:min (Results 1 - 25 of 144) sorted by relevance

123456

/system/update_engine/update_manager/
H A Dprng.h36 // 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 Druntest.conf6 <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"/>
46 <symbol name="ParentFunction()" min="10" max="90"/>
47 <symbol name="ChildFunction()" min="10" max="90"/>
51 <symbol name="main" min="10" max="90"/>
68 <symbol name="MainThreadFunction()" min="20" max="80"/>
69 <symbol name="ChildThreadFunction(void*)" min
[all...]
/system/vold/
H A Dhash.h44 #ifndef min
45 #define min(a,b) (((a)>(b))?(b):(a)) macro
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/
H A Dstrsuftoll.c117 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 Daslr_rec_test.cpp44 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 */
/system/core/metricsd/aidl/android/brillo/metrics/
H A DIMetricsd.aidl20 oneway void recordHistogram(String name, int sample, int min, int max,
/system/core/metricsd/uploader/proto/
H A Dhistogram_event.proto40 // Each bucket's range is bounded by min <= x < max.
42 // If the min field is omitted, its value is assumed to be equal to max - 1.
44 // bucket's min value (possibly computed per above). The last bucket in a
46 optional int64 min = 1;
/system/core/metricsd/include/metrics/
H A Dc_metrics_library.h37 int min, int max, int nbuckets);
H A Dmetrics_library_mock.h32 int min, int max, int nbuckets));
H A Dtimer_mock.h47 MOCK_CONST_METHOD0(min, int());
/system/core/base/include/android-base/
H A Dparseint.h49 // that value. Optionally allows the caller to define a 'min' and 'max
54 T min = std::numeric_limits<T>::min(),
63 if (result < min || max < result) {
/system/core/metricsd/uploader/
H A Dmetrics_log_base.cc130 HistogramBase::Sample min; local
133 it->Get(&min, &max, &count);
135 bucket->set_min(min);
144 bucket->max() == histogram_proto->bucket(i + 1).min()) {
146 } else if (bucket->max() == bucket->min() + 1) {
H A Dmetrics_log_base_unittest.cc110 // 1-5 becomes 1-/ (max is same as next min).
113 EXPECT_EQ(1, histogram_proto.bucket(0).min());
118 EXPECT_EQ(5, histogram_proto.bucket(1).min());
121 // 8-9 becomes /-9 (min is same as max - 1).
129 EXPECT_EQ(10, histogram_proto.bucket(3).min());
131 // 11-12 becomes /-12 (last record must keep max, min is same as max - 1).
H A Dbn_metricsd_impl.h31 int min,
/system/extras/tests/audio/alsa/
H A Dpcmtest.cpp133 unsigned int min; local
141 min = pcm_params_get_min(params, PCM_PARAM_RATE);
143 EXPECT_LE(min, max);
144 /* printf(" Rate:\tmin=%uHz\tmax=%uHz\n", min, max); */
145 min = pcm_params_get_min(params, PCM_PARAM_CHANNELS);
147 EXPECT_LE(min, max);
148 /* printf(" Channels:\tmin=%u\t\tmax=%u\n", min, max); */
149 min = pcm_params_get_min(params, PCM_PARAM_SAMPLE_BITS);
151 EXPECT_LE(min, max);
152 /* printf(" Sample bits:\tmin=%u\t\tmax=%u\n", min, ma
[all...]
/system/update_engine/payload_generator/
H A Dtarjan.cc25 using std::min;
60 (*graph)[vertex].lowlink = min((*graph)[vertex].lowlink,
63 (*graph)[vertex].lowlink = min((*graph)[vertex].lowlink,
/system/bt/btif/include/
H A Dbtif_av_co.h172 BOOLEAN bta_av_co_get_remote_bitpool_pref(UINT8 *min, UINT8 *max);
/system/extras/perfprofd/quipper/
H A Dperf_internals.h36 #undef min macro
/system/core/metricsd/
H A Dc_metrics_library.cc45 int min, int max, int nbuckets) {
49 return lib->SendToUMA(std::string(name), sample, min, max, nbuckets);
43 CMetricsLibrarySendToUMA(CMetricsLibrary handle, const char* name, int sample, int min, int max, int nbuckets) argument
H A Dtimer.cc101 TimerReporter::TimerReporter(const std::string& histogram_name, int min, argument
104 min_(min),
/system/keymaster/
H A Diso18033kdf.cpp26 inline size_t min(size_t a, size_t b) { function in namespace:keymaster
79 size_t block_length = min(digest_size_, output_len - block_start);
/system/update_engine/payload_consumer/
H A Dextent_writer.cc28 using std::min;
44 static_cast<size_t>(min(static_cast<uint64_t>(count - bytes_written),
/system/extras/ext4_utils/
H A Dindirect.c45 len = min(region_len * info.block_size, backing_len);
76 int ind_block_len = min((int)aux_info.blocks_per_ind, len);
93 int dind_block_len = min((int)aux_info.blocks_per_dind, len);
126 int ind_block_len = min((int)aux_info.blocks_per_ind, len);
156 int dind_block_len = min((int)aux_info.blocks_per_dind, len);
169 int len = min(*block_len, EXT4_NDIR_BLOCKS);
192 int len = min(*block_len, aux_info.blocks_per_ind);
224 int len = min(*block_len, aux_info.blocks_per_dind);
256 int len = min(*block_len, aux_info.blocks_per_tind);
289 u32 ind_block_len = min(aux_inf
[all...]
/system/bt/bta/ag/
H A Dbta_ag_at.h52 UINT8 min; /* minimum value for int arg */ member in struct:__anon4
/system/core/adb/
H A Dshell_service_protocol.cpp45 size_t read_length = std::min(bytes_left_, data_capacity());

Completed in 453 milliseconds

123456