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

123

/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_join.c44 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 Dtest_sem_post.c82 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 Dtest_track_devices.c19 int result = 0; local
27 result += len2;
31 return result;
37 int result = 0; local
45 result += len2;
49 return result;
H A Dtest_track_jdwp.c19 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 Dashmem-host.c105 int result; local
107 result = fstat(fd, &buf);
108 if (result == -1) {
H A Ddebugger.c55 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 Dtrace.c90 bool result = false; local
104 result = atrace_is_cmdline_match(cmdline);
115 return result;
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/
H A Dstrsuftoll.c110 * 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 Duuid.c50 void generate_uuid(const char *namespace, const char *name, u8 result[16]) argument
53 struct uuid *uuid = (struct uuid *)result;
/system/keymaster/
H A Ddsa_operation.cpp60 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 Decdsa_operation.cpp57 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 Dgoogle_keymaster_utils.cpp31 uint8_t result = 0; local
33 result |= *s1++ ^ *s2++;
34 return result == 0 ? 0 : 1;
H A Dgoogle_keymaster_test_utils.h98 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 Dauthorization_set_test.cpp26 int result = RUN_ALL_TESTS(); local
27 return result;
H A Dgoogle_keymaster_messages_test.cpp29 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 Dkey_blob_test.cpp31 int result = RUN_ALL_TESTS(); local
35 return result;
/system/core/fastbootd/
H A Dnetwork_discovery.c85 DNSServiceErrorType result; local
92 result = DNSServiceRegister(&sdref, flags, kDNSServiceInterfaceIndexAny,
95 if (result != kDNSServiceErr_NoError) {
/system/core/toolbox/
H A Dumount.c35 int result = 0; local
48 result = 1;
55 return result;
H A Duptime.c59 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 Dbitops.h61 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 DSystemClock.cpp113 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 DTokenizer.cpp57 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 Dcrasher.c89 void* result = NULL; local
90 pthread_join(t, &result);
91 return (int) (uintptr_t) result;
/system/core/libmincrypt/test/
H A Decdsa_test.c170 // 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 Dnetcfg.c140 int result = dump_interfaces(); local
142 return result;

Completed in 6017 milliseconds

123