Searched defs:result (Results 1 - 25 of 57) 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.c376 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 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 Darray.c95 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 Dproperties.c208 int result = -1; local
H A Dselector.c244 int result = select(selector->maxFd + 1, &selector->readFds, local
251 if (result == -1) {
259 } else if (result > 0) {
/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/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/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;
128 result = (char *)realloc(result, current-result);
129 return result;
[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...]
/system/core/include/private/pixelflinger/
H A Dggl_fixed.h112 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 Dgenl.c93 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 Dfixed.cpp31 // 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 Dpackage.c65 *dst = '\0'; /* zero-terminate result */
409 int result = -1; local
489 result = 0;
498 result = -1;
503 result = -1;
507 return result;

Completed in 173 milliseconds

123