/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
D | getbsize.c | 57 long n, max, mul, blocksize; in __weak_alias() local 76 max = MAXB / GB; in __weak_alias() 81 max = MAXB / KB; in __weak_alias() 86 max = MAXB / MB; in __weak_alias() 90 max = MAXB; in __weak_alias() 97 max = 0; in __weak_alias() 100 if (n > max) { in __weak_alias() 102 n = max; in __weak_alias()
|
D | humanize_number.c | 52 int64_t divisor, max, post = 1; in humanize_number() local 124 for (max = 100, i = len - baselen; i-- > 0;) in humanize_number() 125 max *= 10; in humanize_number() 132 for (i = 0; bytes >= max - 50 && i < maxscale; i++) in humanize_number()
|
/system/extras/tests/schedtest/ |
D | schedtest.c | 29 long max = 0; in main() local 40 if (usec > max) max = usec; in main() 43 printf("max %ld\tavg %ld\n", max, avg); in main() 44 max = 0; in main()
|
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
D | strsuftoll.c | 117 long long min, long long max) in __weak_alias() 122 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); in __weak_alias() 135 long long min, long long max, char *ebuf, size_t ebuflen, size_t depth) in __strsuftollx() argument 211 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen, in __strsuftollx() 233 if (num > max) { in __strsuftollx() 236 desc, (long long)num, (long long)max); in __strsuftollx() 245 long long min, long long max, char *ebuf, size_t ebuflen) in strsuftollx() argument 247 return __strsuftollx(desc, val, min, max, ebuf, ebuflen, 0); in strsuftollx()
|
/system/vold/ |
D | Process.cpp | 35 int Process::readSymLink(const char *path, char *link, size_t max) { in readSymLink() argument 45 length = readlink(path, link, max- 1); in readSymLink() 66 void Process::getProcessName(int pid, char *buffer, size_t max) { in getProcessName() argument 68 snprintf(buffer, max, "/proc/%d/cmdline", pid); in getProcessName() 73 int length = read(fd, buffer, max - 1); in getProcessName() 83 …ess::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max) { in checkFileDescriptorSymLinks() argument 112 memset(openFilename, 0, max); in checkFileDescriptorSymLinks() 113 strlcpy(openFilename, link, max); in checkFileDescriptorSymLinks() 128 int Process::checkFileMaps(int pid, const char *mountPoint, char *openFilename, size_t max) { in checkFileMaps() argument 142 memset(openFilename, 0, max); in checkFileMaps() [all …]
|
D | Process.h | 28 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max); 30 …c int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max); 31 static void getProcessName(int pid, char *buffer, size_t max); 33 static int readSymLink(const char *path, char *link, size_t max);
|
/system/extras/tests/audio/alsa/ |
D | pcmtest.cpp | 134 unsigned int max; in getPcmParams() local 142 max = pcm_params_get_max(params, PCM_PARAM_RATE); in getPcmParams() 143 EXPECT_LE(min, max); in getPcmParams() 146 max = pcm_params_get_max(params, PCM_PARAM_CHANNELS); in getPcmParams() 147 EXPECT_LE(min, max); in getPcmParams() 150 max = pcm_params_get_max(params, PCM_PARAM_SAMPLE_BITS); in getPcmParams() 151 EXPECT_LE(min, max); in getPcmParams() 154 max = pcm_params_get_max(params, PCM_PARAM_PERIOD_SIZE); in getPcmParams() 155 EXPECT_LE(min, max); in getPcmParams() 158 max = pcm_params_get_max(params, PCM_PARAM_PERIODS); in getPcmParams() [all …]
|
/system/extras/latencytop/ |
D | latencytop.c | 37 unsigned long max; member 329 unsigned long count, max, total; in read_latency_file() local 346 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); in read_latency_file() 347 if (max > 0 || total > 0) { in read_latency_file() 351 if (max > e->max) in read_latency_file() 352 e->max = max; in read_latency_file() 357 e->max = max; in read_latency_file() 399 e->max / 1000, (e->max % 1000) / 10, in print_latency_entries() 442 return numcmp(pb->max, pa->max); in lat_cmp()
|
/system/bt/stack/mcap/ |
D | mca_dsm.c | 178 int i, max; in mca_dcb_alloc() local 186 max = p_cs->max_mdl; in mca_dcb_alloc() 187 for (i=0; i<max; i++, p_dcb_tmp++) in mca_dcb_alloc() 218 int i, max; in mca_dep_free_mdl() local 228 max = p_cs->max_mdl; in mca_dep_free_mdl() 229 for (i=0; i<max; i++, p_dcb++) in mca_dep_free_mdl() 240 max = 0; in mca_dep_free_mdl() 243 left = max - count; in mca_dep_free_mdl()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 160 int max = -1; in runListener() local 165 max = mSock; in runListener() 170 if (mCtrlPipe[0] > max) in runListener() 171 max = mCtrlPipe[0]; in runListener() 178 if (fd > max) { in runListener() 179 max = fd; in runListener() 183 SLOGV("mListen=%d, max=%d, mSocketName=%s", mListen, max, mSocketName); in runListener() 184 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) { in runListener() 187 SLOGE("select failed (%s) mListen=%d, max=%d", strerror(errno), mListen, max); in runListener()
|
/system/extras/tests/workloads/ |
D | capture.sh | 29 max=$2 31 if [ $max -eq 0 ]; then 34 ((out=in*scale/max))
|
/system/core/libutils/ |
D | primes.py | 39 max = 2**31 - 1 variable 40 while n < max:
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 55 struct timeval max = { 0 }; in print_stats() local 74 if (timercmp(&t, &max, >)) { in print_stats() 75 max = t; in print_stats() 87 max_usecs = (max.tv_sec * 1000000LL) + max.tv_usec; in print_stats()
|
/system/bt/stack/btm/ |
D | btm_pm.c | 219 …((p_mode->mode & BTM_PM_MD_FORCE) && (p_mode->max >= p_cb->interval) && (p_mode->min <= p_cb->inte… in BTM_SetPowerMode() 220 ((p_mode->mode & BTM_PM_MD_FORCE)==0 && (p_mode->max >= p_cb->interval)) ) in BTM_SetPowerMode() 222 …de: mode:0x%x interval %d max:%d, min:%d", p_mode->mode, p_cb->interval, p_mode->max, p_mode->min); in BTM_SetPowerMode() 486 p_res->max = (p_md1->max < p_md2->max)? (p_md1->max) : (p_md2->max); in btm_pm_compare_modes() 491 if( p_res->max < p_res->min) in btm_pm_compare_modes() 596 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval)) ) in btm_pm_snd_md_req() 653 md_res.max, md_res.min)) in btm_pm_snd_md_req() 661 md_res.max, md_res.min, md_res.attempt, in btm_pm_snd_md_req() 670 md_res.max, md_res.min)) in btm_pm_snd_md_req()
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 243 double min = FLT_MAX, max = 0.0, total = 0.0; // Time in seconds for all in client() local 288 max = (delta > max) ? delta : max; in client() 303 << " max: " << max in client()
|
/system/core/logd/ |
D | LogStatistics.cpp | 191 ssize_t drop_len = std::max(pruned.length() + 1, pruned_len); in format_line() 192 ssize_t size_len = std::max(size.length() + 1, in format_line() 320 name.appendFormat("%*s%s", (int)std::max(6 - name.length(), (size_t)1), "", n); in format() 373 name.appendFormat("%*s%s", (int)std::max(12 - name.length(), (size_t)1), "", n); in format() 377 … name.appendFormat("%*s%s", (int)std::max(12 - name.length(), (size_t)1), "", un); in format() 427 name.appendFormat("%*s%s", (int)std::max(12 - name.length(), (size_t)1), "", n); in format() 432 … name.appendFormat("%*s%s", (int)std::max(12 - name.length(), (size_t)1), "", un); in format() 487 name.appendFormat("%*s%s", (int)std::max(14 - name.length(), (size_t)1), "", n); in format()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 286 int size, consumed, max, payload; in TEST() local 290 size = consumed = max = payload = 0; in TEST() 296 &max, &payload)) { in TEST() 329 EXPECT_GT(full_size, max); in TEST() 330 EXPECT_GT(max, payload); in TEST() 333 && (full_size > max) in TEST() 334 && (max > payload)) { in TEST()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 148 …ar *name, size_t size, size_t copies, double running_avg, double std_dev, double min, double max) { in printSummary() argument 151 max/1024.0); in printSummary() 184 double running_avg, double square_avg, double min, double max) { in printColdSummary() argument 187 computeStdDev(running_avg, square_avg)/1024.0, min/1024.0, max/1024.0); in printColdSummary() 195 double min = 0.0, max = 0.0, running_avg = 0.0, square_avg = 0.0; \ 208 if (avg > max) { \ 209 max = avg; \ 231 std_dev, min, max)); 257 running_avg, square_avg, min, max)); 380 min, max)); in benchmarkSleep() [all …]
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 35 #ifndef max 36 #define max(x,y) ({ typeof(x) _max1 = (x); typeof(y) _max2 = (y); (void) (& _max1 == & _max2); _max… macro
|
/system/core/libpixelflinger/ |
D | trap.cpp | 64 static inline int max(int a, int b) CONST; 66 static inline int max(int a, int b, int c) CONST; 77 inline int max(int a, int b) { in max() function 83 inline int max(int a, int b, int c) { in max() function 84 return max(a,max(b,c)); in max() 542 const int32_t bmaxx = TRI_CEIL( max(x0, x1, x2)) >> TRI_FRACTION_BITS; in trianglex_small() 543 const int32_t bmaxy = TRI_CEIL( max(y0, y1, y2)) >> TRI_FRACTION_BITS; in trianglex_small() 544 const int32_t minx = max(bminx, c->state.scissor.left); in trianglex_small() 545 const int32_t miny = max(bminy, c->state.scissor.top); in trianglex_small() 745 const int32_t xl = max(left_x >> TRI_ITERATORS_BITS, xmin); in triangle_sweep_edges() [all …]
|
/system/bt/btif/include/ |
D | btif_av_co.h | 172 BOOLEAN bta_av_co_get_remote_bitpool_pref(UINT8 *min, UINT8 *max);
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 33 #ifndef max 34 #define max(x, y) ({ \ macro
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | bitalloc-sbc.c | 121 OI_UINT8 max = common->maxBitneed; in OI_CODEC_SBC_GetMaxBitneed() local 124 return max; in OI_CODEC_SBC_GetMaxBitneed()
|
/system/extras/perfprofd/quipper/ |
D | perf_internals.h | 35 #undef max
|
/system/bt/bta/ag/ |
D | bta_ag_at.h | 53 INT16 max; /* maximum value for int arg */ member
|