/system/extras/ext4_utils/ |
H A D | uuid.h | 22 void generate_uuid(const char *namespace, const char *name, u8 result[16]);
|
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/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 | array.c | 95 int result = ensureCapacity(array, size + 1); local 96 if (result < 0) { 97 return result; 148 int result = ensureCapacity(array, newSize); local 149 if (result < 0) { 150 return result;
|
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 | 75 StringBuilder result = new StringBuilder(); 80 result.append("v"); 81 result.append(Integer.toString(version)); 82 result.append(" "); 85 result.append("{"); 86 result.append(nwords); 91 result.append(",0x"); 92 result.append(N0inv.toString(16)); 98 result.append(",{"); 101 result [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/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/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/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; 128 result = (char *)realloc(result, current-result); 129 return result; [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 [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/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;
|
/system/extras/fatblock/ |
H A D | fatblock.c | 54 int result; local 57 result = fs_read(&fs, buf, offset, length); 58 if (result == SKY_IS_FALLING) { 63 return result ? -EINVAL : 0;
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 508 int result; local 536 result = ioctl(ifc_ctl_sock, action, &rt); 537 if (result < 0) { 539 result = 0; 541 result = -errno; 545 return result; 574 int result; local 577 result = ifc_up(ifname); 579 return result; 585 int result; local 605 int result, success; local 706 int result; local 745 int result; local 763 int result; local 824 int result; local [all...] |
/system/core/debuggerd/ |
H A D | crasher.c | 99 void* result = NULL; local 100 pthread_join(t, &result); 101 return (int) result;
|