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

1234

/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 DNetlinkListener.cpp47 ssize_t count; local
50 count = TEMP_FAILURE_RETRY(uevent_kernel_multicast_uid_recv(
52 if (count < 0) {
60 if (!evt->decode(mBuffer, count, mFormat)) {
H A DServiceManager.cpp54 int count = SLEEP_MAX_USEC; local
55 while(count > 0) {
57 count -= SLEEP_MIN_USEC;
61 if (count <= 0) {
83 int count = SLEEP_MAX_USEC; local
84 while(count > 0) {
86 count -= SLEEP_MIN_USEC;
91 if (count <= 0) {
/system/core/sh/bltin/
H A Decho.c64 int count; local
98 count = 3;
99 while (--count >= 0 && (unsigned)(*p - '0') < 8)
/system/core/toolbox/grep/
H A Dqueue.c55 static unsigned long long count; variable
74 if (++count > Bflag) {
91 --count;
/system/core/toolbox/
H A Ddynarray.h8 int count; member in struct:__anon478
35 for (;_nn_##__LINE__ < (_array)->count; ++ _nn_##__LINE__) { \
H A Dhd.c24 int count = 0; local
36 count = strtol(optarg, NULL, 0);
49 fprintf(stderr, "Usage: %s [-b base] [-c count] [-r delay] file\n", argv[0]);
68 if(count > 0 && base + count - filepos < read_len)
69 read_len = base + count - filepos;
90 if(filepos == base + count)
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.c31 int count; local
45 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest);
46 if (count == 3) {
53 } while (count == 3);
/system/extras/ext4_utils/
H A Dsha1.h32 uint32_t count[2]; member in struct:__anon498
/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
94 &count);
99 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0);
100 ws.pss += (count >
[all...]
/system/media/audio_utils/
H A Dprimitives.c33 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) argument
35 dst += count;
36 src += count;
37 while (count--) {
42 void downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) argument
44 while (count--) {
50 void upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) argument
52 while (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);
H A Ddir_hash.c270 int count = 0; local
281 count++;
285 list = malloc(count * sizeof(struct list *));
296 count = 0;
298 list[count++] = r;
301 qsort(list, count, sizeof(struct list *), cmp);
315 for (i = 0; i < count; i++) {
/system/extras/tests/bionic/libc/common/
H A Dtest_cpu_set.c201 size_t count; local
202 for (count = 32; count <= 1024; count *= 2) {
203 cpu_set_t* set = CPU_ALLOC(count);
204 test_1_s(count/8, set);
/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/libsync/
H A Dsync.c96 int sw_sync_timeline_inc(int fd, unsigned count) argument
98 __u32 arg = count;
/system/core/debuggerd/
H A Dgetevent.c82 int count = nfds - i - 1; local
84 memmove(device_names + i, device_names + i + 1, sizeof(device_names[0]) * count);
85 memmove(ufds + i, ufds + i + 1, sizeof(ufds[0]) * count);
/system/core/libnetutils/
H A Dpacket.c65 static uint32_t checksum(void *buffer, unsigned int count, uint32_t startsum) argument
71 while (count > 1) {
73 count -= 2;
75 if (count > 0) {
/system/core/libpixelflinger/tinyutils/
H A DKeyedVector.h80 ssize_t removeItemsAt(size_t index, size_t count = 1);
171 ssize_t KeyedVector<KEY, VALUE>::removeItemsAt(size_t index, size_t count) { argument
172 return mVector.removeItemsAt(index, count);

Completed in 180 milliseconds

1234