Searched defs:count (Results 1 - 25 of 74) sorted by relevance

123

/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);
H A Dtest_cond.c78 int count = (int)(sizeof t/sizeof t[0]); local
80 for (nn = 0; nn < count; nn++) {
88 for (nn = 0; nn < count; nn++) {
/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/core/include/mincrypt/
H A Dsha.h38 uint64_t count; member in struct:SHA_CTX
/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/sh/bltin/
H A Decho.c64 int count; local
98 count = 3;
99 while (--count >= 0 && (unsigned)(*p - '0') < 8)
/system/wlan/ti/lib/
H A Dscanmerge.h40 unsigned long count; member in struct:SCANMERGE_STRUCT
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/src/
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 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...]
/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 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)
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 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...]
/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/netd/
H A DUsbController.cpp50 int count = snprintf(value, sizeof(value), "%d\n", (enable ? 1 : 0)); local
51 write(fd, value, count);
/system/core/libcutils/
H A Dabort_socket.c166 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout) { argument
199 ret = read(s->fd, buf, count);
211 int asocket_write(struct asocket *s, const void *buf, size_t count, argument
245 ret = write(s->fd, buf, count);
/system/core/nexus/
H A DTiwlanWifiController.cpp69 int count = 100; local
75 while (count-- > 0) {
/system/core/init/
H A Dlogo.c33 void android_memset16(void *_ptr, unsigned short val, unsigned count) argument
36 count >>= 1;
37 while(count--)
103 /* 565RLE image format: [count(2 bytes), rle(2 bytes)] */
110 unsigned count, max; local
135 count = s.st_size;
137 while (count > 3) {
145 count -= 4;
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp119 size_t count = mCacheData.size(); local
120 for (size_t i=0 ; i<count ; i++) {
/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:__anon536
86 #define TNETWARB_IS_QUEUE_EMPTY(p_q) (p_q.count == 0)
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/data_ctrl/Tx/
H A DMsduList.c225 UINT32 count; local
239 for(count = 0 ; count < this->CurrNumOfMsdu ; count++)
/system/wlan/ti/wilink_6_1/CUDK/tiwlan_loader/
H A Dtiwlan_loader.c176 int count; local
178 for(count=4;( count != 0 );count--) {
184 if( count ) {
190 return( count );

Completed in 426 milliseconds

123