Searched defs:result (Results 1 - 25 of 67) sorted by relevance

123

/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_join.c44 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 Dtest_sem_post.c82 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 Dtest_track_devices.c19 int result = 0; local
27 result += len2;
31 return result;
37 int result = 0; local
45 result += len2;
49 return result;
H A Dtest_track_jdwp.c19 int result = 0; local
27 result += len2;
31 return result;
37 int result = 0; local
45 result += len2;
49 return result;
H A Dtransport_local.c379 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 Ddebugger.c34 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 Dashmem-host.c99 int result; local
101 result = fstat(fd, &buf);
102 if (result == -1) {
H A Dtrace.c91 bool result = false; local
105 result = atrace_is_cmdline_match(cmdline);
116 return result;
H A Dproperties.c217 int result = -1; local
/system/extras/ext4_utils/
H A Duuid.c50 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 Dbitops.h61 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 DSystemClock.cpp115 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 DTokenizer.cpp57 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 Dkill.c103 int result = 0; local
139 result = err;
147 return result;
H A Dumount.c35 int result = 0; local
49 result = 1;
56 return result;
H A Duptime.c60 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 DProcess.cpp165 int result = 0; local
168 result = 10 * result + (*s++ - '0');
170 return result;
/system/core/debuggerd/
H A Dcrasher.c104 void* result = NULL; local
105 pthread_join(t, &result);
106 return (int) result;
/system/core/include/utils/
H A DUniquePtr.h76 T* result = mPtr; local
78 return result;
122 T* result = mPtr; local
124 return result;
/system/core/libctest/
H A Dctest.c122 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 DSocketClient.cpp94 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 Dnetcfg.c146 int result = dump_interfaces(); local
148 return result;
/system/extras/fatblock/
H A Dfatblock.c54 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 Dusb_linux.c113 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 Dusb_osx.c74 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...]

Completed in 269 milliseconds

123