Searched defs:result (Results 1 - 25 of 57) sorted by path

123

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dl2cap.h105 uint16_t result; member in struct:__anon252
131 uint16_t result; member in struct:__anon254
182 uint16_t result; member in struct:__anon259
/system/core/adb/
H A Dsockets.c65 asocket *result = NULL; local
70 result = s;
76 return result;
H A Dsysdeps_win32.c261 DWORD result; local
273 result = SetFilePointer( f->fh_handle, pos, NULL, method );
274 if (result == INVALID_SET_FILE_POINTER) {
280 return (int)result;
516 int result = recv( f->fh_socket, buf, len, 0 ); local
517 if (result == SOCKET_ERROR) {
519 result = -1;
521 return result;
527 int result = send( f->fh_socket, buf, len, 0 ); local
528 if (result
2039 int result = 0; local
[all...]
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.c789 atransport *result = NULL; local
811 if (result) {
815 result = NULL;
818 result = t;
822 if (result) {
826 result = NULL;
829 result = t;
831 if (result) {
835 result = NULL;
838 result
[all...]
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;
H A Dusb_linux.c620 int i, result; local
635 result = ioctl(usb->desc, USBDEVFS_CONTROL, &ctrl);
636 if (result > 0)
637 languageCount = (result - 2) / 2;
651 result = ioctl(usb->desc, USBDEVFS_CONTROL, &ctrl);
652 if (result > 0) {
655 result /= 2;
656 for (i = 1; i < result; i++)
H A Dusb_osx.c126 HRESULT result; local
149 result = (*plugInInterface)->QueryInterface(plugInInterface,
154 if (result || !iface) {
155 DBG("ERR: Couldn't query the interface (%08x)\n", (int) result);
183 result = (*plugInInterface)->QueryInterface(plugInInterface,
187 if (result || !dev) {
189 (int) result);
454 IOReturn result; local
472 result =
476 if ((result
494 IOReturn result; local
[all...]
/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_context.h264 uint32_t result = local
269 return (result == 0);
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/init/
H A Dproperty_service.c211 int result = 0; local
223 result = 1;
227 return result;
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c211 uint8_t result; local
/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/libcutils/
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 Dashmem-host.c99 int result; local
101 result = fstat(fd, &buf);
102 if (result == -1) {
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 Dmq.c223 int result = close(fd); local
224 if (result == -1) {
501 ssize_t result = sendmsg(peerProxy->fd->fd, &msg, 0); local
503 if (result < 0) {
812 int result = socketpair(AF_LOCAL, SOCK_STREAM, 0, sockets); local
813 if (result == -1) {
1039 int result = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, local
1042 if (result == -1) {
1267 int result = bind(listenerSocket, (SocketAddress*) getMasterAddress(), local
1269 if (result
1317 int result = connect(masterSocket, (SocketAddress*) getMasterAddress(), local
[all...]
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) {
H A Dtztime.c273 register long result; local
276 result = (codep[0] & 0x80) ? ~0L : 0;
278 result = (result << 8) | (codep[i] & 0xff);
279 return result;
286 register time_t result; local
289 result = (codep[0] & 0x80) ? (~(int_fast64_t) 0) : 0;
291 result = result * 256 + (codep[i] & 0xff);
292 return result;
581 register int result; local
1189 register struct tm * result; local
1313 register struct tm * result; local
1648 register int result; local
[all...]
/system/core/liblog/
H A Dfake_log_device.c323 int result = 0; local
330 return result + w;
332 result += w;
334 return result;
507 * a loop can result in interleaved data. This can be alleviated
H A Dlogprint.c450 int result = 0; local
551 result = android_log_printBinaryEvent(&eventData, &eventDataLen,
553 if (result != 0)
584 return result;
587 result = 1;
649 int result; local
650 result = android_log_printBinaryEvent(&eventData, &inCount, &outBuf,
652 if (result < 0) {
655 } else if (result == 1) {

Completed in 694 milliseconds

123