/system/extras/tests/schedtest/ |
H A D | schedtest.c | 28 long max = 0; local 39 if (usec > max) max = usec; 42 printf("max %ld\tavg %ld\n", max, avg); 43 max = 0;
|
/system/vold/ |
H A D | Process.h | 26 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max); 28 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max); 29 static void getProcessName(int pid, char *buffer, size_t max); 31 static int readSymLink(const char *path, char *link, size_t max);
|
H A D | Process.cpp | 35 int Process::readSymLink(const char *path, char *link, size_t max) { argument 45 length = readlink(path, link, max- 1); 66 void Process::getProcessName(int pid, char *buffer, size_t max) { argument 68 snprintf(buffer, max, "/proc/%d/cmdline", pid); 73 int length = read(fd, buffer, max - 1); 83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max) { argument 112 memset(openFilename, 0, max); 113 strncpy(openFilename, link, max-1); 128 int Process::checkFileMaps(int pid, const char *mountPoint, char *openFilename, size_t max) { argument 142 memset(openFilename, 0, max); [all...] |
H A D | DirectVolume.h | 63 int getDeviceNodes(dev_t *devs, int max);
|
H A D | Volume.h | 98 virtual int getDeviceNodes(dev_t *devs, int max) = 0;
|
H A D | DirectVolume.cpp | 219 SLOGE("Dv:partAdd: ignoring part_num = %d (max: %d)\n", part_num, MAX_PARTITIONS-1); 360 int DirectVolume::getDeviceNodes(dev_t *devs, int max) { argument 371 if (i == max)
|
/system/core/libutils/ |
H A D | primes.py | 39 max = 2**31 - 1 variable 40 while n < max:
|
H A D | VectorImpl.cpp | 38 static inline size_t max(size_t a, size_t b) { function in namespace:android 378 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); 431 const size_t new_capacity = max(kMinVectorCapacity, new_size*2);
|
/system/core/toolbox/ |
H A D | id.c | 33 int n, max; local 36 max = getgroups(64, list); 37 if (max < 0) max = 0; 43 if (max) { 46 for(n = 1; n < max; n++) {
|
/system/extras/latencytop/ |
H A D | latencytop.c | 36 unsigned long max; member in struct:latency_entry 328 unsigned long count, max, total; local 345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); 346 if (max > 0 || total > 0) { 350 if (max > e->max) 351 e->max = max; 356 e->max = max; [all...] |
/system/core/libsysutils/src/ |
H A D | SocketListener.cpp | 154 int max = -1; local 159 max = mSock; 164 if (mCtrlPipe[0] > max) 165 max = mCtrlPipe[0]; 171 if (fd > max) 172 max = fd; 175 SLOGV("mListen=%d, max=%d, mSocketName=%s", mListen, max, mSocketName); 176 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) { 179 SLOGE("select failed (%s) mListen=%d, max [all...] |
/system/core/init/ |
H A D | logo.c | 110 unsigned count, max; local 133 max = fb_width(&fb) * fb_height(&fb); 139 if (n > max) 143 max -= n;
|
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 243 double min = FLT_MAX, max = 0.0, total = 0.0; // Time in seconds for all local 288 max = (delta > max) ? delta : max; 303 << " max: " << max
|
/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;
|
/system/extras/tests/bionic/libc/common/ |
H A D | bench_pthread.c | 96 int64_t min, max, avg, median; local 112 /* the minimum is the first, the max the last */ 114 max = stats[max_index]; 125 max*1./SUBCOUNT,
|
/system/core/sh/ |
H A D | arith_lex.l | 54 #define YY_INPUT(buf,result,max) \
|
H A D | arith_lex.c | 522 #define YY_INPUT(buf,result,max) \
|
/system/extras/micro_bench/ |
H A D | micro_bench.cpp | 147 static inline void printSummary(uint64_t time_ns, const char *name, size_t size, size_t copies, double running_avg, double std_dev, double min, double max) { argument 148 printf(" %s %ux%u bytes average %.2f MB/s std dev %.4f min %.2f MB/s max %.2f MB/s\n", 150 max/1024.0); 183 double running_avg, double square_avg, double min, double max) { 184 printf(" %s %ux%ux%u bytes average %.2f MB/s std dev %.4f min %.2f MB/s max %.2f MB/s\n", 186 computeStdDev(running_avg, square_avg)/1024.0, min/1024.0, max/1024.0); 194 double min = 0.0, max = 0.0, running_avg = 0.0, square_avg = 0.0; \ 207 if (avg > max) { \ 208 max = avg; \ 230 std_dev, min, max)); 181 printColdSummary( uint64_t time_ns, const char *name, size_t size, size_t copies, size_t num_buffers, double running_avg, double square_avg, double min, double max) argument [all...] |
/system/core/libpixelflinger/ |
H A 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) { function in namespace:android 83 inline int max(int a, int b, int c) { function in namespace:android 84 return max(a,max(b,c)); 542 const int32_t bmaxx = TRI_CEIL( max(x0, x1, x2)) >> TRI_FRACTION_BITS; 543 const int32_t bmaxy = TRI_CEIL( max(y0, y1, y2)) >> TRI_FRACTION_BITS; 544 const int32_t minx = max(bminx, c->state.scissor.left); 545 const int32_t miny = max(bmin [all...] |
H A D | pixelflinger.cpp | 78 static inline int max(int a, int b) CONST; 79 static inline int max(int a, int b) { function in namespace:android 603 c->state.scissor.left = max(0, l); 605 c->state.scissor.top = max(0, t);
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
H A D | VectorImpl.cpp | 40 static inline size_t max(size_t a, size_t b) { function in namespace:android::tinyutils 285 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); 338 const size_t new_capacity = max(kMinVectorCapacity, new_size*2);
|
/system/core/logcat/ |
H A D | logcat.cpp | 253 int max = 0; local 262 if (dev->fd > max) { 263 max = dev->fd; 274 result = select(max + 1, &readset, NULL, NULL, sleep ? NULL : &timeout); 403 " -n <count> Sets max number of rotated logs to <count>, default 4\n" 764 "max entry is %db, max payload is %db\n", dev->device,
|
/system/media/camera/docs/ |
H A D | camera_metadata_tag_info.mako | 103 enum_value_max_len = max([len(value.name) for value in enum_values]) + 1
|
/system/extras/tests/sdcard/ |
H A D | plot_sdcard.py | 118 self.duration = max(self.duration, dataset.duration)
|
/system/core/charger/ |
H A D | charger.c | 50 #ifndef max 51 #define max(a,b) ((a) > (b) ? (a) : (b)) macro 909 timeout = max(0, next_event - now);
|