/system/extras/tests/bionic/libc/other/ |
H A D | test_thread_max.c | 42 int count; local 49 for ( count = 0; count != ~0; count++ ) { 53 if (pthread_create( &thread, &attr, thread_func, (void*)(long)count ) < 0) { 54 fprintf(stderr, "could not create thread %d\n", count);
|
H A D | bench_locks.c | 19 long count; local 24 for (count = ITERATIONS; count > 0; count--) {
|
H A D | test_timer_create3.c | 36 static int count; variable 53 count += 1; 55 /* this should disable the timer, and hence make 'count' no more than 1 */ 100 if (count == 1) { 104 printf("KO (count=%d)\n", count);
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/ |
H A D | proc_stat.c | 48 int proc_stat_res_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data); 59 int proc_stat_res_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument 66 count -= 80; /* some reserve */ 68 len += (len<count)?sprintf(page+len,"-------------- STA Health Configuration ---------------\n"):0; 69 len += (len<count)?sprintf(page+len,"Full recovery enabled = %d\n",pHealthMonitor->bFullRecoveryEnable):0; 70 len += (len<count)?sprintf(page+len,"Timer interval = %d msec\n",pHealthMonitor->timerInterval):0; 71 len += (len<count)?sprintf(page+len,"\n"):0; 74 len += (len<count)?sprintf(page+len,"-------------- STA Health Failure Statistics ---------------\n"):0; 75 len += (len<count)?sprintf(page+len,"Health test perfomred = %d\n",pHealthMonitor->numOfHealthTests):0; 76 len += (len<count) [all...] |
H A D | string.c | 41 * @count: The size of the area. 43 int memcmp(const void * cs,const void * ct, unsigned int count) argument 48 for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
|
H A D | bmtrace.c | 59 int count; member in struct:__anon1078 75 int count, int *eof, void *data) 79 int limit=count-80; 86 entry_count = (bm_control->count > BM_NUM_ENTRIES) ? BM_NUM_ENTRIES : bm_control->count; 91 bm_control->pos = bm_control->count = bm_control->print_pos = 0; 99 entry_count, bm_control->count-entry_count); 104 if (bm_control->count > BM_NUM_ENTRIES) 125 bm_control->pos = bm_control->count = bm_control->print_pos = 0; 153 bm_control->pos = bm_control->count 74 bm_res_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) argument [all...] |
/system/extras/tests/bionic/libc/bionic/ |
H A D | test_getgrouplist.c | 37 int count = MAX_GROUPS; local 45 ret = getgrouplist( TEST_USER, TEST_GROUP, groups, &count ); 48 ret, count);
|
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/ |
H A D | string.c | 44 * @count: The size of the area. 46 int memcmp(const void * cs,const void * ct, unsigned int count) argument 51 for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
|
/system/core/toolbox/ |
H A D | watchprops.c | 44 unsigned count = pa->count; local 47 if(count >= 1024) exit(1); 49 for(n = 0; n < count; n++) { 59 while(count < pa->count){ 60 watchlist[count].pi = __system_property_find_nth(count); 61 watchlist[count].serial = watchlist[n].pi->serial; 62 announce(watchlist[count] [all...] |
H A D | umount.c | 16 int count; local 30 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest); 31 if (count == 3) { 37 } while (count == 3);
|
H A D | hd.c | 23 int count = 0; local 35 count = strtol(optarg, NULL, 0); 48 fprintf(stderr, "Usage: %s [-b base] [-c count] [-r delay] file\n", argv[0]); 67 if(count > 0 && base + count - filepos < read_len) 68 read_len = base + count - filepos; 87 if(filepos == base + count)
|
/system/core/libcutils/ |
H A D | uio.c | 22 int readv( int fd, struct iovec* vecs, int count ) 26 for ( ; count > 0; count--, vecs++ ) { 49 int writev( int fd, const struct iovec* vecs, int count ) 53 for ( ; count > 0; count--, vecs++ ) {
|
/system/core/libsysutils/src/ |
H A D | ServiceManager.cpp | 21 int count = 200; local 22 while(count--) { 27 if (!count) { 45 int count = 200; local 46 while(count--) { 52 if (!count) {
|
H A D | NetlinkListener.cpp | 36 ssize_t count; local 42 if ((count = recvmsg(socket, &hdr, 0)) < 0) { 66 if (!evt->decode(mBuffer, count)) {
|
/system/core/include/cutils/ |
H A D | uio.h | 38 extern int readv( int fd, struct iovec* vecs, int count ); 39 extern int writev( int fd, const struct iovec* vecs, int count );
|
H A D | abort_socket.h | 83 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout); 85 int asocket_write(struct asocket *s, const void *buf, size_t count,
|
/system/core/sh/bltin/ |
H A D | echo.c | 64 int count; local 98 count = 3; 99 while (--count >= 0 && (unsigned)(*p - '0') < 8)
|
/system/extras/libpagemap/ |
H A D | pm_map.c | 33 uint64_t count; local 51 &count); 55 usage.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 56 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); 57 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); 73 uint64_t count, flags; local 98 &count); 102 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 103 ws.pss += (count > [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/common/src/utils/ |
H A D | memMngrEx.c | 65 UINT32 count,i; local 83 for( count = 0 ; count < pMemMngrInit.numOfPools ; count++ ) 85 if( pMemMngrInit.bufPoolInit[count].buffersSize > MAX_BUFFER_LENGTH || 86 pMemMngrInit.bufPoolInit[count].buffersSize < MIN_BUFFER_LENGTH) 91 if( count != 0 ) 93 if(pMemMngrInit.bufPoolInit[count].buffersSize < pMemMngrInit.bufPoolInit[count-1].buffersSize ) 139 for( count 281 UINT32 count; local 352 UINT32 poolIndex,count,dataBufNum; local 443 UINT32 count; local 945 UINT32 count; local [all...] |
/system/extras/latencytop/ |
H A D | latencytop.c | 35 unsigned long count; member in struct:latency_entry 72 int count, erase; local 137 count = 0; 140 while ((iterations == 0) || (count++ < iterations)) { 328 unsigned long count, max, total; local 345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); 349 e->count += count; 355 e->count = count; 371 int i, count; local [all...] |
/system/extras/tests/icachetest/ |
H A D | icache_main.c | 4 extern void icache_test(long count, long step); 5 extern void icache_test2(long count);
|
/system/netd/ |
H A D | UsbController.cpp | 50 int count = snprintf(value, sizeof(value), "%d\n", (enable ? 1 : 0)); local 51 write(fd, value, count);
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/Inc/ |
H A D | TNETWArb_buffer.h | 83 UINT16 count; member in struct:__anon636 86 #define TNETWARB_IS_QUEUE_EMPTY(p_q) (p_q.count == 0)
|
/system/core/include/mincrypt/ |
H A D | sha.h | 38 uint64_t count; member in struct:SHA_CTX
|
/system/extras/ext4_utils/ |
H A D | sha1.h | 21 uint32_t count[2]; member in struct:__anon171
|