/system/extras/ext4_utils/ |
H A D | uuid.h | 22 void generate_uuid(const char *namespace, const char *name, u8 result[16]);
|
/system/core/libcutils/ |
H A D | debugger.c | 34 int result = 0; local 36 result = -1; 40 result = -1; 45 result = -1; 53 return result; 67 int result = 0; local 69 result = -1; 73 result = -1; 79 result = -1; 86 return result; [all...] |
H A D | ashmem-host.c | 99 int result; local 101 result = fstat(fd, &buf); 102 if (result == -1) {
|
/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/libmincrypt/tools/ |
H A D | DumpPublicKey.java | 77 StringBuilder result = new StringBuilder(); 82 result.append("v"); 83 result.append(Integer.toString(version)); 84 result.append(" "); 87 result.append("{"); 88 result.append(nwords); 93 result.append(",0x"); 94 result.append(N0inv.toString(16)); 100 result.append(",{"); 103 result [all...] |
/system/core/libutils/tests/ |
H A D | Looper_test.cpp | 117 int result = mLooper->pollOnce(100); local 122 EXPECT_EQ(ALOOPER_POLL_TIMEOUT, result) 123 << "pollOnce result should be ALOOPER_POLL_TIMEOUT"; 130 int result = mLooper->pollOnce(1000); local 135 EXPECT_EQ(ALOOPER_POLL_WAKE, result) 136 << "pollOnce result should be ALOOPER_POLL_CALLBACK because loop was awoken"; 144 int result = mLooper->pollOnce(1000); local 149 EXPECT_EQ(ALOOPER_POLL_WAKE, result) 150 << "pollOnce result should be ALOOPER_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, ALOOPER_EVENT_INPUT, NULL, NULL); local 375 int result = mLooper->addFd(pipe.receiveFd, -1, ALOOPER_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 | 195 int result; local 202 result = add_camera_metadata_entry(m, 205 EXPECT_EQ(OK, result); 215 result = add_camera_metadata_entry(m, 218 EXPECT_EQ(OK, result); 228 result = add_camera_metadata_entry(m, 231 EXPECT_EQ(OK, result); 245 result = add_camera_metadata_entry(m, 248 EXPECT_EQ(OK, result); 258 result 313 int result; local 337 int result; local 384 int result; local 406 int result; local 432 int result; local 461 int result; local 491 int result; local 519 int result; local 546 int result; local 570 int result; local 601 int result; local 629 int result; local 656 int result; local 681 int result; local 710 int result; local 736 int result; local 842 int result; local 911 int result; local 1025 int result; local [all...] |
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 94 int result = sendDataLocked(buf, sizeof(buf)); local 95 if (result == 0 && len > 0) { 96 result = sendDataLocked(data, len); 100 return result; 112 char *result = (char *)malloc(len * 2 + 3); local 113 char *current = result; 117 if(result == NULL) { 134 oldresult = result; // save pointer in case realloc fails 135 result = (char *)realloc(result, curren [all...] |
/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;
|
H A D | usb_osx.c | 126 HRESULT result; local 149 result = (*plugInInterface)->QueryInterface(plugInInterface, 154 if (result || !iface) { 155 DBG("ERR: Couldn't query the interface (%08x)\n", (int) result); 183 result = (*plugInInterface)->QueryInterface(plugInInterface, 187 if (result || !dev) { 189 (int) result); 454 IOReturn result; local 472 result = 476 if ((result 494 IOReturn result; local [all...] |
/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 471 IOReturn result; local 505 IOReturn result; local [all...] |
/system/extras/libublock/ |
H A D | ublock.c | 192 int result; local 231 result = (handle_fn)(ub_ctx, in_buf, in_buf_len, out_buf, &out_buf_len); 234 return result; 243 int result; local 253 result = ublock_handle_request(ub_ctx, in_buf, in_len, out_buf, &out_len); 262 if (result) 267 return result; 277 int result; local 279 result = 0; 282 ((exit_cond & EXIT_FAIL) && (result))) { 345 int 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 = ALOOPER_POLL_WAKE; local 344 int result; local 354 int result = pollOnce(timeoutMillis, outFd, outEvents, outData); local [all...] |
H A D | SystemClock.cpp | 115 int result; local 128 result = clock_gettime(CLOCK_BOOTTIME, &ts); 129 if (result == 0) { 147 result = ioctl(s_fd, 150 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/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 [all...] |
/system/core/toolbox/ |
H A D | umount.c | 35 int result = 0; local 49 result = 1; 56 return result;
|
H A D | uptime.c | 60 int fd, result; local 66 result = ioctl(fd, ANDROID_ALARM_GET_TIME(ANDROID_ALARM_ELAPSED_REALTIME), &ts); 69 if (result == 0)
|
/system/core/libmincrypt/test/ |
H A D | rsa_test.c | 40 // This is the result (reformatted) of running DumpPublicKey on: 745 // result can't be longer than input 746 unsigned char* result = malloc(strlen(str)); local 748 unsigned char* p = result; 765 return result; 790 return result; 807 int result = RSA_verify(&key_15, signature, slen, hash, sizeof(hash)); \ 808 printf("message %d: %s\n", n, result ? "verified" : "not verified"); \ 809 success = success && result; \
|
/system/core/libpixelflinger/ |
H A D | fixed.cpp | 31 // the result will overflow, so just set it to the biggest/inf value 262 uint32_t result; local 267 result = 0x7fffffff; // basic overflow 269 result = lo/c; // note: c can't be 0 270 if ((result >> 31) != 0) // result must fit in 31 bits 275 result = 0; 279 result <<= 1; 282 result |= 1; 286 return int32_t(result); 322 int32_t result; local [all...] |
/system/core/libctest/ |
H A D | ctest.c | 122 int result = runCurrentTest(); local 124 if (result != 0) { 130 if (result != ASSERTION_ERROR) { 133 suite->testNames[suite->currentTest], result);
|
/system/core/sh/ |
H A D | arith_lex.l | 54 #define YY_INPUT(buf,result,max) \ 55 result = (*buf = *arith_buf++) ? 1 : YY_NULL;
|