/system/core/libutils/ |
H A D | primes.py | 39 max = 2**31 - 1 variable 40 while n < max:
|
/system/extras/perfprofd/quipper/ |
H A D | perf_internals.h | 35 #undef max macro
|
H A D | address_mapper.cc | 190 uint64_t max = iter->mapped_addr + iter->size; local 192 return max - min;
|
/system/extras/tests/schedtest/ |
H A D | schedtest.c | 29 long max = 0; local 40 if (usec > max) max = usec; 43 printf("max %ld\tavg %ld\n", max, avg); 44 max = 0;
|
/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); 54 int max) { 58 return lib->SendEnumToUMA(std::string(name), sample, max); 43 CMetricsLibrarySendToUMA(CMetricsLibrary handle, const char* name, int sample, int min, int max, int nbuckets) argument 52 CMetricsLibrarySendEnumToUMA(CMetricsLibrary handle, const char* name, int sample, int max) argument
|
H A D | timer.cc | 102 int max, int num_buckets) 105 max_(max), 101 TimerReporter(const std::string& histogram_name, int min, int max, int num_buckets) argument
|
H A D | metrics_client.cc | 35 "Usage: metrics_client [-t] name sample min max nbuckets\n" 36 " metrics_client -e name sample max\n" 42 " |min| > 0, |min| <= sample < |max|\n" 105 int max = ParseInt(argv[name_index + 2]); local 106 metrics_lib.SendEnumToUMA(name, sample, max); 109 int max = ParseInt(argv[name_index + 3]); local 111 metrics_lib.SendToUMA(name, sample, min, max, nbuckets);
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
H A D | getbsize.c | 57 long n, max, mul, blocksize; local 76 max = MAXB / GB; 81 max = MAXB / KB; 86 max = MAXB / MB; 90 max = MAXB; 97 max = 0; 100 if (n > max) { 102 n = max;
|
H A D | humanize_number.c | 52 int64_t divisor, max, post = 1; local 124 for (max = 100, i = len - baselen; i-- > 0;) 125 max *= 10; 132 for (i = 0; bytes >= max - 50 && i < maxscale; i++)
|
/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, 233 if (num > max) { 236 desc, (long long)num, (long long)max); 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/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, 54 int max) { 56 android::String8(name).string(), 1, max, max + 1, 38 recordHistogram( const String16& name, int sample, int min, int max, int nbuckets) argument 52 recordLinearHistogram(const String16& name, int sample, int max) argument
|
H A D | metrics_log_base.cc | 131 HistogramBase::Sample max; local 133 it->Get(&min, &max, &count); 136 bucket->set_max(max); 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 151 max = 32; 163 max = 16; 179 max = 24; 192 max = 16;
|
/system/bt/bta/ag/ |
H A D | bta_ag_at.h | 54 INT16 max; /* maximum value for int arg */ member in struct:__anon4
|
/system/extras/memory_replay/ |
H A D | Action.cpp | 172 size_t max = MAX(sizeof(EndThreadAction), sizeof(MallocAction)); local 173 max = MAX(max, sizeof(CallocAction)); 174 max = MAX(max, sizeof(ReallocAction)); 175 max = MAX(max, sizeof(MemalignAction)); 176 return MAX(max, sizeof(FreeAction));
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
H A D | kernel.h | 35 #ifndef max 36 #define max(x,y) ({ typeof(x) _max1 = (x); typeof(y) _max2 = (y); (void) (& _max1 == & _max2); _max1 > _max2 ? _max1 : _max2; }) macro
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | bitalloc-sbc.c | 121 OI_UINT8 max = common->maxBitneed; local 124 return max;
|
/system/core/libsysutils/src/ |
H A D | SocketListener.cpp | 160 int max = -1; local 165 max = mSock; 170 if (mCtrlPipe[0] > max) 171 max = mCtrlPipe[0]; 178 if (fd > max) { 179 max = fd; 183 SLOGV("mListen=%d, max=%d, mSocketName=%s", mListen, max, mSocketName); 184 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) { 187 SLOGE("select failed (%s) mListen=%d, max [all...] |
/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, 151 int max() const { return max_; } function in class:chromeos_metrics::TimerReporter
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
H A D | kernel.h | 33 #ifndef max 34 #define max(x, y) ({ \ macro
|
/system/extras/tests/audio/alsa/ |
H A D | pcmtest.cpp | 134 unsigned int max; local 142 max = pcm_params_get_max(params, PCM_PARAM_RATE); 143 EXPECT_LE(min, max); 144 /* printf(" Rate:\tmin=%uHz\tmax=%uHz\n", min, max); */ 146 max = pcm_params_get_max(params, PCM_PARAM_CHANNELS); 147 EXPECT_LE(min, max); 148 /* printf(" Channels:\tmin=%u\t\tmax=%u\n", min, max); */ 150 max = pcm_params_get_max(params, PCM_PARAM_SAMPLE_BITS); 151 EXPECT_LE(min, max); 152 /* printf(" Sample bits:\tmin=%u\t\tmax=%u\n", min, max); */ [all...] |
/system/extras/tests/ext4/ |
H A D | rand_emmc_perf.c | 55 struct timeval max = { 0 }; local 74 if (timercmp(&t, &max, >)) { 75 max = t; 87 max_usecs = (max.tv_sec * 1000000LL) + max.tv_usec;
|