/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);
|
H A D | test_cond.c | 78 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 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/core/include/cutils/ |
H A D | aref.h | 36 volatile int32_t count; member in struct:aref 41 r->count = 1; 46 return r->count; 51 android_atomic_inc(&r->count); 56 if (android_atomic_dec(&r->count) == 1)
|
/system/core/libsysutils/src/ |
H A D | NetlinkListener.cpp | 47 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 D | ServiceManager.cpp | 54 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 D | echo.c | 64 int count; local 98 count = 3; 99 while (--count >= 0 && (unsigned)(*p - '0') < 8)
|
/system/core/toolbox/grep/ |
H A D | queue.c | 55 static unsigned long long count; variable 74 if (++count > Bflag) { 91 --count;
|
/system/core/toolbox/ |
H A D | dynarray.h | 8 int count; member in struct:__anon246 35 for (;_nn_##__LINE__ < (_array)->count; ++ _nn_##__LINE__) { \
|
H A D | hd.c | 24 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 D | umount.c | 31 int count; local 45 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest); 46 if (count == 3) { 53 } while (count == 3);
|
H A D | watchprops.c | 81 unsigned count = 0; local
|
/system/extras/ext4_utils/ |
H A D | sha1.h | 32 uint32_t count[2]; member in struct:__anon266
|
/system/core/fastbootd/ |
H A D | config.c | 119 size_t count = 0; local 142 while (count < (size_t)len) { 143 ret = read(fd, buffer + count, len - count); 153 count += ret;
|
/system/core/include/mincrypt/ |
H A D | hash-internal.h | 25 uint64_t count; member in struct:HASH_CTX
|
/system/extras/libpagemap/ |
H A D | pm_map.c | 34 uint64_t count; local 64 &count); 67 usage.rss += (count >= 1) ? map->proc->ker->pagesize : (0); 68 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); 69 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); 92 uint64_t count, flags; local 113 &count); 118 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 119 ws.pss += (count > [all...] |
/system/extras/tests/bionic/libc/common/ |
H A D | test_cpu_set.c | 201 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/media/audio_utils/ |
H A D | primitives.c | 33 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 memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) argument 44 while (count--) { 49 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) argument 51 while (count--) { 56 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) argument 58 while (count 73 downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) argument 81 upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) argument [all...] |
/system/core/include/utils/ |
H A D | BitSet.h | 43 inline uint32_t count() const { return __builtin_popcount(value); } function in struct:android::BitSet32
|
H A D | Flattenable.h | 96 inline status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const; 105 inline status_t unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count); 118 void*& buffer, size_t& size, int*& fds, size_t& count) const { 119 return static_cast<T const*>(this)->T::flatten(buffer, size, fds, count); 123 void const*& buffer, size_t& size, int const*& fds, size_t& count) { 124 return static_cast<T*>(this)->T::unflatten(buffer, size, fds, count); 122 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
|
/system/core/init/ |
H A D | logo.c | 33 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 D | sync.c | 96 int sw_sync_timeline_inc(int fd, unsigned count) argument 98 __u32 arg = count;
|
/system/core/libutils/ |
H A D | CallStack.cpp | 100 ssize_t count = unwind_backtrace(mStack, ignoreDepth + 1, maxDepth); local 101 mCount = count > 0 ? count : 0;
|