Searched refs:count (Results 1 - 25 of 115) sorted by relevance

12345

/system/extras/tests/bionic/libc/other/
H A Dtest_thread_max.c42 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 Dbench_locks.c19 long count; local
24 for (count = ITERATIONS; count > 0; count--) {
H A Dtest_timer_create3.c36 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 Dproc_stat.c48 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 Dstring.c41 * @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 Dbmtrace.c59 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 Dtest_getgrouplist.c37 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 Dstring.c44 * @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 Dwatchprops.c44 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 Dumount.c16 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 Dhd.c23 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 Duio.c22 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 DServiceManager.cpp21 int count = 200; local
22 while(count--) {
27 if (!count) {
45 int count = 200; local
46 while(count--) {
52 if (!count) {
H A DNetlinkListener.cpp36 ssize_t count; local
42 if ((count = recvmsg(socket, &hdr, 0)) < 0) {
66 if (!evt->decode(mBuffer, count)) {
/system/core/include/cutils/
H A Duio.h38 extern int readv( int fd, struct iovec* vecs, int count );
39 extern int writev( int fd, const struct iovec* vecs, int count );
H A Dabort_socket.h83 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 Decho.c64 int count; local
98 count = 3;
99 while (--count >= 0 && (unsigned)(*p - '0') < 8)
/system/extras/libpagemap/
H A Dpm_map.c33 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 DmemMngrEx.c65 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 Dlatencytop.c35 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 Dicache_main.c4 extern void icache_test(long count, long step);
5 extern void icache_test2(long count);
/system/netd/
H A DUsbController.cpp50 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 DTNETWArb_buffer.h83 UINT16 count; member in struct:__anon636
86 #define TNETWARB_IS_QUEUE_EMPTY(p_q) (p_q.count == 0)
/system/core/include/mincrypt/
H A Dsha.h38 uint64_t count; member in struct:SHA_CTX
/system/extras/ext4_utils/
H A Dsha1.h21 uint32_t count[2]; member in struct:__anon171

Completed in 249 milliseconds

12345