/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 | 379 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); local 381 return result; 399 int result = get_available_local_transport_index_locked(); local 401 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 | trace.c | 91 bool result = false; local 105 result = atrace_is_cmdline_match(cmdline); 116 return result;
|
H A D | properties.c | 217 int result = -1; local
|
/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/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/libutils/ |
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/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/debuggerd/ |
H A D | crasher.c | 104 void* result = NULL; local 105 pthread_join(t, &result); 106 return (int) result;
|
/system/core/include/utils/ |
H A D | UniquePtr.h | 76 T* result = mPtr; local 78 return result; 122 T* result = mPtr; local 124 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; 117 if(result == NULL) { 134 oldresult = result; // save pointer in case realloc fails 135 result = (char *)realloc(result, curren [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...] |