Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dsunos_usb.c370 if (hpriv->eps[0].datafd > 0) { in sunos_usb_open_ep0()
377 hpriv->eps[0].datafd = open(filename, O_RDWR); in sunos_usb_open_ep0()
378 if (hpriv->eps[0].datafd < 0) { in sunos_usb_open_ep0()
385 close(hpriv->eps[0].datafd); in sunos_usb_open_ep0()
386 hpriv->eps[0].datafd = -1; in sunos_usb_open_ep0()
401 if (hdev->eps[i].datafd != -1) { in sunos_usb_close_all_eps()
402 (void) close(hdev->eps[i].datafd); in sunos_usb_close_all_eps()
403 hdev->eps[i].datafd = -1; in sunos_usb_close_all_eps()
415 if (hdev->eps[0].datafd >= 0) { in sunos_usb_close_ep0()
416 close(hdev->eps[0].datafd); in sunos_usb_close_ep0()
[all …]
Dsunos_usb.h39 int datafd; /* data file */ member
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionutils.c217 fd = info->datafd; in socket_send_fd()
250 info->datafd = fd; in socket_receive_fd()
Dionutils.h14 int datafd; member
Dionapp_import.c54 shared_fd = skinfo.datafd; in main()
Dionapp_export.c119 skinfo.datafd = shared_fd; in main()
/external/curl/tests/server/
Dsws.c1586 curl_socket_t datafd = accept(rootfd, NULL, NULL); in http_connect() local
1587 if(datafd != CURL_SOCKET_BAD) { in http_connect()
1596 if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, in http_connect()
1604 err = get_request(datafd, &req2); in http_connect()
1613 err = send_doc(datafd, &req2); in http_connect()
1632 clientfd[DATA] = datafd; in http_connect()
1633 datafd = CURL_SOCKET_BAD; in http_connect()
1638 if(datafd != CURL_SOCKET_BAD) { in http_connect()
1640 shutdown(datafd, SHUT_RDWR); in http_connect()
1641 sclose(datafd); in http_connect()