/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 | atomic-android-sh.c | 123 int result; local 130 result = 0; 132 result = 1; 135 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 | 61 StringBuilder result = new StringBuilder(); 65 result.append("{"); 66 result.append(nwords); 71 result.append(",0x"); 72 result.append(N0inv.toString(16)); 78 result.append(",{"); 81 result.append(n); 84 result.append(","); 89 result.append("}"); 92 result [all...] |
/system/media/camera/tests/ |
H A D | camera_metadata_tests.cpp | 175 int result; local 182 result = add_camera_metadata_entry(m, 185 EXPECT_EQ(OK, result); 193 result = add_camera_metadata_entry(m, 196 EXPECT_EQ(OK, result); 204 result = add_camera_metadata_entry(m, 207 EXPECT_EQ(OK, result); 219 result = add_camera_metadata_entry(m, 222 EXPECT_EQ(OK, result); 236 result 285 int result; local 309 int result; local 358 int result; local 388 int result; local 415 int result; local 448 int result; local 473 int result; local 500 int result; local 526 int result; local 556 int result; local 580 int result; local 607 int result; local 633 int result; local 663 int result; local 686 int result; local 772 int result; local 839 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 146 result = (*plugInInterface)->QueryInterface(plugInInterface, 151 if (result || !iface) { 152 DBG("ERR: Couldn't query the interface (%08x)\n", (int) result); 180 result = (*plugInInterface)->QueryInterface(plugInInterface, 184 if (result || !dev) { 186 (int) result); 446 IOReturn result; local 464 result = 468 if ((result 486 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 280 result = (*plugin)->QueryInterface(plugin, 282 if ((result != 0) || (dev == NULL)) { 283 ERR("Couldn't create a device interface (%08x)\n", (int) result); 376 kern_return_t result; local 463 IOReturn result; local 497 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/extras/atrace/ |
H A D | atrace.c | 121 bool result = true; local 123 result &= setKernelOptionEnable(filenames[i], enable); 125 return result; 209 // clock will result in the kernel using a per-CPU local clock. 291 int result, flush; local 294 result = deflateInit(&zs, Z_DEFAULT_COMPRESSION); 295 if (result != Z_OK) { 296 fprintf(stderr, "error initializing zlib: %d\n", result); 313 result = read(traceFD, in, bufSize); 314 if (result < [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; 128 result = (char *)realloc(result, current-result); 129 return result; [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 261 uint32_t result; local 266 result = 0x7fffffff; // basic overflow 268 result = lo/c; // note: c can't be 0 269 if ((result >> 31) != 0) // result must fit in 31 bits 274 result = 0; 278 result <<= 1; 281 result |= 1; 285 return int32_t(result); 321 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 | 509 int result; local 537 result = ioctl(ifc_ctl_sock, action, &rt); 538 if (result < 0) { 540 result = 0; 542 result = -errno; 546 return result; 575 int result; local 578 result = ifc_up(ifname); 580 return result; 586 int result; local 610 int result, success; local 711 int result; local 750 int result; local 768 int result; local 829 int result; local [all...] |
/system/netd/ |
H A D | DnsProxyListener.cpp | 75 struct addrinfo* result = NULL; local 76 uint32_t rv = getaddrinfo(mHost, mService, mHints, &result); 82 struct addrinfo* ai = result; 93 ALOGW("Error writing DNS result to client"); 96 if (result) { 97 freeaddrinfo(result); 194 int result = inet_pton(addrFamily, addrStr, addr); local 195 if (result <= 0) { 259 ALOGW("GetHostByAddrHandler: Error writing DNS result to client\n");
|