/system/extras/ext4_utils/ |
H A D | uuid.h | 22 void generate_uuid(const char *namespace, const char *name, u8 result[16]);
|
/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/keymaster/ |
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 | 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)
|
/system/core/libmincrypt/tools/ |
H A D | DumpPublicKey.java | 111 StringBuilder result = new StringBuilder(); 116 result.append("v"); 117 result.append(Integer.toString(version)); 118 result.append(" "); 121 result.append("{"); 122 result.append(nwords); 127 result.append(",0x"); 128 result.append(N0inv.toString(16)); 134 result.append(",{"); 137 result [all...] |
/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/libutils/tests/ |
H A D | Looper_test.cpp | 117 int result = mLooper->pollOnce(100); local 122 EXPECT_EQ(Looper::POLL_TIMEOUT, result) 123 << "pollOnce result should be LOOPER_POLL_TIMEOUT"; 130 int result = mLooper->pollOnce(1000); local 135 EXPECT_EQ(Looper::POLL_WAKE, result) 136 << "pollOnce result should be Looper::POLL_CALLBACK because loop was awoken"; 144 int result = mLooper->pollOnce(1000); local 149 EXPECT_EQ(Looper::POLL_WAKE, result) 150 << "pollOnce result should be Looper::POLL_CALLBACK because loop was awoken"; 155 int result local 171 int result = mLooper->pollOnce(0); local 190 int result = mLooper->pollOnce(0); local 212 int result = mLooper->pollOnce(100); local 231 int result = mLooper->pollOnce(100); local 257 int result = mLooper->pollOnce(1000); local 283 int result = mLooper->pollOnce(100); local 306 int result = mLooper->pollOnce(0); local 348 int result = mLooper->pollOnce(100, &fd, &events, &data); local 367 int result = mLooper->addFd(pipe.receiveFd, 0, Looper::EVENT_INPUT, NULL, NULL); local 375 int result = mLooper->addFd(pipe.receiveFd, -1, Looper::EVENT_INPUT, NULL, NULL); local 384 int result = looper->addFd(pipe.receiveFd, 0, 0, NULL, NULL); local 391 int result = mLooper->removeFd(1); local 403 int result = mLooper->removeFd(pipe.receiveFd); local 425 int result = mLooper->pollOnce(100); local 445 int result = mLooper->pollOnce(100); local 467 int result = mLooper->pollOnce(1000); local 493 int result = mLooper->pollOnce(1000); local 529 int result = mLooper->pollOnce(100); local 547 int result = mLooper->pollOnce(100); local 566 int result = mLooper->pollOnce(1000); local 603 int result = mLooper->pollOnce(100); local 622 int result = mLooper->pollOnce(100); local 643 int result = mLooper->pollOnce(0); local 671 int result = mLooper->pollOnce(0); local [all...] |
/system/media/camera/tests/ |
H A D | camera_metadata_tests.cpp | 219 int result; local 226 result = add_camera_metadata_entry(m, 229 EXPECT_EQ(OK, result); 239 result = add_camera_metadata_entry(m, 242 EXPECT_EQ(OK, result); 252 result = add_camera_metadata_entry(m, 255 EXPECT_EQ(OK, result); 265 result = add_camera_metadata_entry(m, 268 EXPECT_EQ(OK, result); 284 result 372 int result; local 396 int result; local 443 int result; local 465 int result; local 491 int result; local 520 int result; local 550 int result; local 578 int result; local 605 int result; local 629 int result; local 660 int result; local 688 int result; local 715 int result; local 740 int result; local 769 int result; local 795 int result; local 901 int result; local 970 int result; local 1084 int result; local [all...] |
/system/core/libcutils/ |
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 | properties.c | 38 int8_t result = default_value; local 45 result = false; 47 result = true; 51 result = false; 53 result = true; 57 return result; 67 intmax_t result = default_value; local 77 result = strtoimax(buf, &end, /*base*/0); 78 if ((result == INTMAX_MIN || result 298 int result = -1; local [all...] |
/system/core/toolbox/ |
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)
|
H A D | umount.c | 35 int result = 0; local 48 result = 1; 55 return 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/fastboot/ |
H A D | usb_osx.c | 74 HRESULT result; local 121 result = (*plugInInterface)->QueryInterface( 129 if (result || !interface) { 131 (unsigned int) result); 234 ERR("could not clear input pipe; result %x, ignoring...\n", kr); 242 ERR("could not clear output pipe; result %x, ignoring....\n", kr); 265 HRESULT result; local 281 result = (*plugin)->QueryInterface(plugin, 283 if ((result != 0) || (dev == NULL)) { 284 ERR("Couldn't create a device interface (%08x)\n", (int) result); 384 kern_return_t result; local 476 IOReturn result; local 510 IOReturn result; local [all...] |
/system/core/include/private/pixelflinger/ |
H A D | ggl_fixed.h | 112 GGLfixed result, t; local 117 : [lo]"=r"(result), [hi]"=r"(t), [x]"=r"(x) 125 : [lo]"=&r"(result), [hi]"=&r"(t), [x]"=&r"(x) 130 return result; 135 GGLfixed result, t; local 140 : [lo]"=&r"(result), [hi]"=&r"(t), [x]"=&r"(x) 147 : [lo]"=&r"(result), [hi]"=&r"(t), [x]"=&r"(x) 151 return result; 156 GGLfixed result, t; local 161 : [lo]"=&r"(result), [h 198 GGLfixed result,tmp,tmp1,tmp2; local 294 GGLfixed result,t,tmp1,tmp2; local 366 GGLfixed result,t,tmp1,tmp2; local 467 GGLfixed result; local 484 GGLfixed result; local 499 GGLfixed result; local [all...] |
/system/core/libutils/ |
H A D | Looper.cpp | 73 int result = pipe(wakeFds); local 74 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno); 79 result = fcntl(mWakeReadPipeFd, F_SETFL, O_NONBLOCK); 80 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d", 83 result = fcntl(mWakeWritePipeFd, F_SETFL, O_NONBLOCK); 84 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake write pipe non-blocking. errno=%d", 97 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, & eventItem); 98 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d", 109 int result = pthread_key_create(& gTLSKey, threadDestructor); 110 LOG_ALWAYS_FATAL_IF(result ! 135 int result = pthread_once(& gTLSOnce, initTLSKey); local 160 int result = 0; local 215 int result = POLL_WAKE; local 344 int result; local 354 int result = pollOnce(timeoutMillis, outFd, outEvents, outData); local [all...] |
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/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/fastbootd/ |
H A D | network_discovery.c | 85 DNSServiceErrorType result; local 92 result = DNSServiceRegister(&sdref, flags, kDNSServiceInterfaceIndexAny, 95 if (result != kDNSServiceErr_NoError) {
|
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 100 int result = sendDataLockedv(vec, (len > 0) ? 2 : 1); local 103 return result; 115 char *result = (char *)malloc(len * 2 + 3); local 116 char *current = result; 120 if(result == NULL) { 137 oldresult = result; // save pointer in case realloc fails 138 result = (char *)realloc(result, current-result); 139 return result [all...] |