/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/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/media/mca/filterfw/java/android/filterfw/format/ |
H A D | PrimitiveFormat.java | 28 public static MutableFrameFormat createByteFormat(int count, int target) { argument 29 return createFormat(FrameFormat.TYPE_BYTE, count, target); 32 public static MutableFrameFormat createInt16Format(int count, int target) { argument 33 return createFormat(FrameFormat.TYPE_INT16, count, target); 36 public static MutableFrameFormat createInt32Format(int count, int target) { argument 37 return createFormat(FrameFormat.TYPE_INT32, count, target); 40 public static MutableFrameFormat createFloatFormat(int count, int target) { argument 41 return createFormat(FrameFormat.TYPE_FLOAT, count, target); 44 public static MutableFrameFormat createDoubleFormat(int count, int target) { argument 45 return createFormat(FrameFormat.TYPE_DOUBLE, count, targe 68 createFormat(int baseType, int count, int target) argument [all...] |
H A D | ObjectFormat.java | 29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument 33 if (count != FrameFormat.SIZE_UNSPECIFIED) { 34 result.setDimensions(count); 50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument 53 : fromClass(object.getClass(), count, target);
|
/system/core/toolbox/ |
H A D | dynarray.c | 8 a->count = a->capacity = 0; 14 dynarray_reserve_more( dynarray_t *a, int count ) 20 int new_count = a->count + count; 22 if (count <= 0) 25 if (count > max_cap - a->count) 28 new_count = a->count + count; 48 if (a->count > [all...] |
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 | 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; 88 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 | dynarray.h | 8 int count; member in struct:__anon442 35 for (;_nn_##__LINE__ < (_array)->count; ++ _nn_##__LINE__) { \
|
/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/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/libsysutils/src/ |
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) {
|
H A D | NetlinkListener.cpp | 47 ssize_t count; local 49 count = TEMP_FAILURE_RETRY(uevent_kernel_multicast_recv(socket, mBuffer, sizeof(mBuffer))); 50 if (count < 0) { 56 if (!evt->decode(mBuffer, count, mFormat)) {
|
/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/media/mca/filterfw/native/core/ |
H A D | value.cpp | 47 result.count = 1; 53 Value MakePtrValue(const BASE* values, int count) { argument 56 result.value = malloc(sizeof(BASE) * count); 57 memcpy(result.value, values, sizeof(BASE) * count); 58 result.count = count; 67 value->count = 1; 77 int SetPtrValue(Value* value, const BASE* new_values, int count) { argument 80 value->value = malloc(sizeof(BASE) * count); 81 value->count 193 MakeIntArrayValue(const int* values, int count) argument 197 MakeFloatArrayValue(const float* values, int count) argument 217 SetIntArrayValue(Value* value, const int* new_values, int count) argument 221 SetFloatArrayValue(Value* value, const float* new_values, int count) argument [all...] |
H A D | value.h | 31 int count; member in struct:__anon497 61 Value MakeIntArrayValue(const int* values, int count); 62 Value MakeFloatArrayValue(const float* values, int count); 69 int SetIntArrayValue(Value* value, const int* new_values, int count); 70 int SetFloatArrayValue(Value* value, const float* new_values, int count);
|
/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/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SimpleFrame.java | 51 final int count = format.getLength(); 55 mObject = new byte[count]; 58 mObject = new short[count]; 61 mObject = new int[count]; 64 mObject = new float[count]; 67 mObject = new double[count];
|
/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/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:__anon459
|