/system/vold/ |
H A D | hash.h | 44 #ifndef min 45 #define min(a,b) (((a)>(b))?(b):(a)) macro
|
/system/extras/perfprofd/quipper/ |
H A D | perf_internals.h | 36 #undef min macro
|
/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/core/metricsd/ |
H A D | c_metrics_library.cc | 45 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 D | timer.cc | 101 TimerReporter::TimerReporter(const std::string& histogram_name, int min, argument 104 min_(min),
|
H A D | metrics_client.cc | 35 "Usage: metrics_client [-t] name sample min max nbuckets\n" 42 " |min| > 0, |min| <= sample < |max|\n" 108 int min = ParseInt(argv[name_index + 2]); local 111 metrics_lib.SendToUMA(name, sample, min, max, nbuckets);
|
/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/keymaster/ |
H A D | iso18033kdf.cpp | 26 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);
|
H A D | ecdsa_operation.cpp | 94 inline size_t min(size_t a, size_t b) { function in namespace:keymaster 102 if (!data_.write(input.peek_read(), min(data_.available_write(), input.available_read())))
|
H A D | asymmetric_key.cpp | 39 template <typename T> T min(T a, T b) { function in namespace:keymaster::__anon1776 323 time_t notAfterTime = min(static_cast<uint64_t>(UINT32_MAX), usageExpireDateTime / 1000);
|
H A D | integrity_assured_key_blob.cpp | 37 inline size_t min(size_t a, size_t b) { function in namespace:keymaster 75 memcpy(hmac, tmp, min(HMAC_SIZE, tmp_len));
|
/system/core/metricsd/uploader/ |
H A D | bn_metricsd_impl.cc | 39 const String16& name, int sample, int min, int max, int nbuckets) { 41 android::String8(name).string(), min, max, nbuckets, 38 recordHistogram( const String16& name, int sample, int min, int max, int nbuckets) argument
|
H A D | metrics_log_base.cc | 130 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 D | upload_service_test.cc | 74 const std::string& name, int sample, int min, int max, int nbuckets) { 76 name, min, max, nbuckets, base::Histogram::kUmaTargetedHistogramFlag); 73 SendHistogram( const std::string& name, int sample, int min, int max, int nbuckets) argument
|
/system/extras/tests/kernel.config/ |
H A D | aslr_test.h | 47 static unsigned int def, min, max; member in class:AslrMmapTest
|
H A D | aslr_test.cpp | 142 unsigned int AslrMmapTest::def, AslrMmapTest::min, AslrMmapTest::max; member in class:AslrMmapTest 150 min = 28; 162 min = 8; 178 min = 18 - (pgbits - 12); 191 min = 8;
|
/system/bt/bta/ag/ |
H A D | bta_ag_at.h | 52 UINT8 min; /* minimum value for int arg */ member in struct:__anon4
|
/system/core/liblog/ |
H A D | logd_writer.c | 46 #define min(x,y) ((y) ^ (((x) ^ (y)) & -((x) < (y)))) macro
|
H A D | logd_reader.c | 46 #define min(x,y) ((y) ^ (((x) ^ (y)) & -((x) < (y)))) macro 429 n = min(n, remaining); 435 n = min(n, remaining); 525 ret = min(ret, remaining); 533 ret = min(ret, remaining); 543 ret = min(ret, remaining); 550 ret = min(ret, remaining); 557 ret = min(ret, remaining);
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
H A D | kernel.h | 38 #ifndef min 40 #define min(x,y) ({ typeof(x) _min1 = (x); typeof(y) _min2 = (y); (void) (& _min1 == & _min2); _min1 < _min2 ? _min1 : _min2; }) macro
|
/system/core/metricsd/include/metrics/ |
H A D | timer.h | 134 // |min|, |max| and |num_buckets| attributes for the histogram. 135 TimerReporter(const std::string& histogram_name, int min, int max, 150 int min() const { return min_; } function in class:chromeos_metrics::TimerReporter
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
H A D | kernel.h | 41 #ifndef min 42 #define min(x, y) ({ \ macro
|
/system/extras/tests/audio/alsa/ |
H A D | pcmtest.cpp | 133 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/bt/bta/hf_client/ |
H A D | bta_hf_client_at.h | 33 UINT8 min; /* minimum value for int arg */ member in struct:__anon195
|
/system/core/adf/libadfhwc/ |
H A D | adfhwc.cpp | 39 template<typename T> inline T min(T a, T b) { return (a < b) ? a : b; } function 108 for (size_t i = 0; i < min(*numConfigs, unique_configs.size()); i++) {
|