Searched defs:max (Results 1 - 25 of 55) sorted by relevance

123

/system/core/libutils/
H A Dprimes.py39 max = 2**31 - 1 variable
40 while n < max:
/system/extras/perfprofd/quipper/
H A Dperf_internals.h35 #undef max macro
H A Daddress_mapper.cc190 uint64_t max = iter->mapped_addr + iter->size; local
192 return max - min;
/system/extras/tests/schedtest/
H A Dschedtest.c29 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 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/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);
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 Dtimer.cc102 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 Dmetrics_client.cc35 "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 Dgetbsize.c57 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 Dhumanize_number.c52 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 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,
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 Dbn_metricsd_impl.cc39 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 Dmetrics_log_base.cc131 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 Dupload_service_test.cc74 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 Daslr_test.h47 static unsigned int def, min, max; member in class:AslrMmapTest
H A Daslr_test.cpp142 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 Dbta_ag_at.h54 INT16 max; /* maximum value for int arg */ member in struct:__anon4
/system/extras/memory_replay/
H A DAction.cpp172 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 Dkernel.h35 #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 Dbitalloc-sbc.c121 OI_UINT8 max = common->maxBitneed; local
124 return max;
/system/core/libsysutils/src/
H A DSocketListener.cpp160 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 Dtimer.h134 // |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 Dkernel.h33 #ifndef max
34 #define max(x, y) ({ \ macro
/system/extras/tests/audio/alsa/
H A Dpcmtest.cpp134 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 Drand_emmc_perf.c55 struct timeval max = { 0 }; local
74 if (timercmp(&t, &max, >)) {
75 max = t;
87 max_usecs = (max.tv_sec * 1000000LL) + max.tv_usec;

Completed in 392 milliseconds

123