/system/extras/tests/bionic/libc/common/ |
H A D | test_pthread_join.c | 44 void* result; local 46 pthread_join(t1, &result); 47 printf("thread2 received code %08x from thread1\n", (int)result); 56 void* result; local 58 pthread_join(t1, &result); 59 printf("thread3 received code %08x from thread1\n", (int)result);
|
H A D | test_sem_post.c | 82 void* result; local 83 pthread_join(t[nn], &result); 84 if (result != (void*)t[nn]) { 85 printf("Thread %p joined but returned %p\n", (void*)t[nn], result);
|
/system/core/adb/ |
H A D | test_track_devices.c | 19 int result = 0; local 27 result += len2; 31 return result; 37 int result = 0; local 45 result += len2; 49 return result;
|
H A D | test_track_jdwp.c | 19 int result = 0; local 27 result += len2; 31 return result; 37 int result = 0; local 45 result += len2; 49 return result;
|
/system/core/libcutils/ |
H A D | ashmem-host.c | 105 int result; local 107 result = fstat(fd, &buf); 108 if (result == -1) {
|
H A D | debugger.c | 55 int result = 0; local 57 result = -1; 61 result = -1; 64 return result; 116 int result = 0; local 121 result = -1; 126 return result; 137 int result = 0; local 140 result = -1; 151 return result; [all...] |
H A D | trace.c | 90 bool result = false; local 104 result = atrace_is_cmdline_match(cmdline); 115 return result;
|
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
H A D | strsuftoll.c | 110 * Returns the result upon successful conversion, or exits with an 119 long long result; local 122 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); 125 return result;
|
/system/extras/ext4_utils/ |
H A D | uuid.c | 50 void generate_uuid(const char *namespace, const char *name, u8 result[16]) argument 53 struct uuid *uuid = (struct uuid *)result;
|
/system/keymaster/ |
H A D | dsa_operation.cpp | 60 int result = DSA_verify(0 /* type -- ignored */, data_.peek_read(), data_.available_read(), local 62 if (result < 0) 64 else if (result == 0)
|
H A D | ecdsa_operation.cpp | 57 int result = ECDSA_verify(0 /* type -- ignored */, data_.peek_read(), data_.available_read(), local 59 if (result < 0) 61 else if (result == 0)
|
H A D | google_keymaster_utils.cpp | 31 uint8_t result = 0; local 33 result |= *s1++ ^ *s2++; 34 return result == 0 ? 0 : 1;
|
H A D | google_keymaster_test_utils.h | 98 int result = vprintf(fmt, args); local 99 result += printf("\n"); 101 return result; 107 int result = vprintf(fmt, args); local 108 result += printf("\n"); 110 return result; 116 int result = vfprintf(stderr, fmt, args); local 117 result += printf("\n"); 119 return result; 125 int result local [all...] |
H A D | authorization_set_test.cpp | 26 int result = RUN_ALL_TESTS(); local 27 return result;
|
H A D | google_keymaster_messages_test.cpp | 29 int result = RUN_ALL_TESTS(); local 30 return result; 329 * the result will be a crash. This is especially informative when run under Valgrind memcheck.
|
H A D | key_blob_test.cpp | 31 int result = RUN_ALL_TESTS(); local 35 return result;
|
/system/core/fastbootd/ |
H A D | network_discovery.c | 85 DNSServiceErrorType result; local 92 result = DNSServiceRegister(&sdref, flags, kDNSServiceInterfaceIndexAny, 95 if (result != kDNSServiceErr_NoError) {
|
/system/core/toolbox/ |
H A D | umount.c | 35 int result = 0; local 48 result = 1; 55 return result;
|
H A D | uptime.c | 59 int fd, result; local 65 result = ioctl(fd, ANDROID_ALARM_GET_TIME(ANDROID_ALARM_ELAPSED_REALTIME), ts); 68 return result; 75 int result = elapsedRealtimeAlarm(&ts); local 76 if (result < 0) 77 result = clock_gettime(CLOCK_BOOTTIME, &ts); 79 if (result == 0)
|
/system/core/include/cutils/ |
H A D | bitops.h | 61 int bit, result; local 67 // ffs is 1-indexed, return 0-indexed result 69 result = BITS_PER_WORD * i + bit; 70 if (result >= num_bits) 72 return result;
|
/system/core/libutils/ |
H A D | SystemClock.cpp | 113 int result; local 129 result = ioctl(s_fd, 132 if (result == 0) { 139 result = clock_gettime(CLOCK_BOOTTIME, &ts); 140 if (result == 0) {
|
H A D | Tokenizer.cpp | 57 int result = NO_ERROR; local 60 result = -errno; 65 result = -errno; 87 result = -errno; 96 if (!result) { 102 return result; 113 String8 result; local 114 result.appendFormat("%s:%d", mFilename.string(), mLineNumber); 115 return result;
|
/system/core/debuggerd/ |
H A D | crasher.c | 89 void* result = NULL; local 90 pthread_join(t, &result); 91 return (int) (uintptr_t) result;
|
/system/core/libmincrypt/test/ |
H A D | ecdsa_test.c | 170 // result can't be longer than input 171 unsigned char* result = malloc(strlen(str)); local 173 unsigned char* p = result; 190 return result; 215 return result; 235 int result = dsa_sig_unpack(message, mlen, &r, &s); \ 236 printf(#sig ": %s\n", result ? "good" : "bad"); \ 237 success = success && !(good ^ result); \ 242 int result = !memcmp(P256_DIGITS(&good_dsa_signature_##n##_r), P256_DIGITS(&r), \ 244 success = success && result; \ [all...] |
/system/core/netcfg/ |
H A D | netcfg.c | 140 int result = dump_interfaces(); local 142 return result;
|