Home
last modified time | relevance | path

Searched refs:datafd (Results 1 – 7 of 7) sorted by relevance

/external/libusb/libusb/os/
Dsunos_usb.c727 if (hpriv->eps[0].datafd > 0) { in sunos_usb_open_ep0()
733 hpriv->eps[0].datafd = open(filename, O_RDWR); in sunos_usb_open_ep0()
734 if (hpriv->eps[0].datafd < 0) { in sunos_usb_open_ep0()
741 close(hpriv->eps[0].datafd); in sunos_usb_open_ep0()
742 hpriv->eps[0].datafd = -1; in sunos_usb_open_ep0()
757 if (hdev->eps[i].datafd != -1) { in sunos_usb_close_all_eps()
758 (void) close(hdev->eps[i].datafd); in sunos_usb_close_all_eps()
759 hdev->eps[i].datafd = -1; in sunos_usb_close_all_eps()
771 if (hdev->eps[0].datafd >= 0) { in sunos_usb_close_ep0()
772 close(hdev->eps[0].datafd); in sunos_usb_close_ep0()
[all …]
Dsunos_usb.h38 int datafd; /* data file */ member
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionutils.h14 int datafd; member
Dionutils.c217 fd = info->datafd; in socket_send_fd()
250 info->datafd = fd; in socket_receive_fd()
Dionapp_import.c45 shared_fd = skinfo.datafd; in main()
Dionapp_export.c110 skinfo.datafd = shared_fd; in main()
/external/curl/tests/server/
Dsws.c1444 curl_socket_t datafd = accept(rootfd, NULL, NULL); in http_connect() local
1445 if(datafd != CURL_SOCKET_BAD) { in http_connect()
1454 if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, in http_connect()
1461 err = get_request(datafd, &req2); in http_connect()
1470 err = send_doc(datafd, &req2); in http_connect()
1489 clientfd[DATA] = datafd; in http_connect()
1490 datafd = CURL_SOCKET_BAD; in http_connect()
1495 if(datafd != CURL_SOCKET_BAD) { in http_connect()
1497 shutdown(datafd, SHUT_RDWR); in http_connect()
1498 sclose(datafd); in http_connect()