/system/core/toolbox/ |
D | id.c | 33 int n, max; in id_main() local 36 max = getgroups(64, list); in id_main() 37 if (max < 0) max = 0; in id_main() 43 if (max) { in id_main() 46 for(n = 1; n < max; n++) { in id_main()
|
D | dd.c | 1159 static long long strsuftoll(const char* name, const char* arg, int def, unsigned int max) in strsuftoll() argument
|
/system/extras/tests/schedtest/ |
D | schedtest.c | 28 long max = 0; in main() local 39 if (usec > max) max = usec; in main() 42 printf("max %ld\tavg %ld\n", max, avg); in main() 43 max = 0; in main()
|
/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 strncpy(openFilename, link, max-1); 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 | 26 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max); 28 …c 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);
|
D | DirectVolume.h | 59 int getDeviceNodes(dev_t *devs, int max);
|
D | Volume.h | 88 virtual int getDeviceNodes(dev_t *devs, int max) = 0;
|
D | DirectVolume.cpp | 354 int DirectVolume::getDeviceNodes(dev_t *devs, int max) { in getDeviceNodes() argument 365 if (i == max) in getDeviceNodes()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 154 int max = -1; in runListener() local 159 max = mSock; in runListener() 164 if (mCtrlPipe[0] > max) in runListener() 165 max = mCtrlPipe[0]; in runListener() 171 if (fd > max) in runListener() 172 max = fd; in runListener() 175 SLOGV("mListen=%d, max=%d, mSocketName=%s", mListen, max, mSocketName); in runListener() 176 if ((rc = select(max + 1, &read_fds, NULL, NULL, NULL)) < 0) { in runListener() 179 SLOGE("select failed (%s) mListen=%d, max=%d", strerror(errno), mListen, max); in runListener()
|
/system/extras/latencytop/ |
D | latencytop.c | 36 unsigned long max; member 328 unsigned long count, max, total; in read_latency_file() local 345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); in read_latency_file() 346 if (max > 0 || total > 0) { in read_latency_file() 350 if (max > e->max) in read_latency_file() 351 e->max = max; in read_latency_file() 356 e->max = max; in read_latency_file() 398 e->max / 1000, (e->max % 1000) / 10, in print_latency_entries() 441 return numcmp(pb->max, pa->max); in lat_cmp()
|
/system/core/init/ |
D | logo.c | 110 unsigned count, max; in load_565rle_image() local 133 max = fb_width(&fb) * fb_height(&fb); in load_565rle_image() 139 if (n > max) in load_565rle_image() 143 max -= n; in load_565rle_image()
|
D | readme.txt | 213 setrlimit <resource> <cur> <max>
|
/system/extras/tests/bionic/libc/common/ |
D | bench_pthread.c | 96 int64_t min, max, avg, median; in filter_stats() local 114 max = stats[max_index]; in filter_stats() 125 max*1./SUBCOUNT, in filter_stats()
|
/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/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 …]
|
D | pixelflinger.cpp | 78 static inline int max(int a, int b) CONST; 79 static inline int max(int a, int b) { in max() function 603 c->state.scissor.left = max(0, l); in ggl_set_scissor() 605 c->state.scissor.top = max(0, t); in ggl_set_scissor()
|
/system/core/sh/ |
D | arith_lex.l | 54 #define YY_INPUT(buf,result,max) \ argument
|
D | arith_lex.c | 522 #define YY_INPUT(buf,result,max) \ argument
|
/system/core/logcat/ |
D | logcat.cpp | 253 int max = 0; in readLogLines() local 262 if (dev->fd > max) { in readLogLines() 263 max = dev->fd; in readLogLines() 274 result = select(max + 1, &readset, NULL, NULL, sleep ? NULL : &timeout); in readLogLines()
|
D | event.logtags | 70 75001 sqlite_mem_alarm_max (max|1|2)
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
D | VectorImpl.cpp | 40 static inline size_t max(size_t a, size_t b) { in max() function 285 const size_t new_capacity = max(kMinVectorCapacity, ((new_size*3)+1)/2); in _grow() 338 const size_t new_capacity = max(kMinVectorCapacity, new_size*2); in _shrink()
|
/system/media/camera/docs/ |
D | camera_metadata_tag_info.mako | 103 enum_value_max_len = max([len(value.name) for value in enum_values]) + 1
|
/system/core/charger/ |
D | charger.c | 50 #ifndef max 51 #define max(a,b) ((a) > (b) ? (a) : (b)) macro 909 timeout = max(0, next_event - now); in wait_next_event()
|
/system/extras/tests/sdcard/ |
D | plot_sdcard.py | 118 self.duration = max(self.duration, dataset.duration)
|