/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/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 | transport_local.c | 376 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); local 378 return result; 396 int result = get_available_local_transport_index_locked(); local 398 return 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 | ashmem-host.c | 99 int result; local 101 result = fstat(fd, &buf); 102 if (result == -1) {
|
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 | properties.c | 208 int result = -1; local
|
H A D | selector.c | 244 int result = select(selector->maxFd + 1, &selector->readFds, local 251 if (result == -1) { 259 } else if (result > 0) {
|
/system/extras/ext4_utils/ |
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/toolbox/ |
H A D | kill.c | 103 int result = 0; local 139 result = err; 147 return result;
|
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/vold/ |
H A D | Process.cpp | 165 int result = 0; local 168 result = 10 * result + (*s++ - '0'); 170 return result;
|
/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/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/netcfg/ |
H A D | netcfg.c | 146 int result = dump_interfaces(); local 148 return result;
|
/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/fastboot/ |
H A D | usb_linux.c | 113 int result; local 153 result = ioctl(fd, USBDEVFS_CONTROL, &ctrl); 154 if (result > 0) { 157 result /= 2; 158 for (i = 1; i < result; i++) 183 result = fstat(fd, &st); 184 if (!result && S_ISCHR(st.st_mode)) {
|
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/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/libnl_2/genl/ |
H A D | genl.c | 93 int genl_ctrl_alloc_cache(struct nl_sock *sock, struct nl_cache **result) argument 242 *result = (struct nl_cache *) nl80211_genl_id;
|
/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/run-as/ |
H A D | package.c | 65 *dst = '\0'; /* zero-terminate result */ 409 int result = -1; local 489 result = 0; 498 result = -1; 503 result = -1; 507 return result;
|