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

/external/linux-kselftest/tools/testing/selftests/android/ion/
H A Dionutils.h14 int datafd; member in struct:socket_info
H A Dionapp_import.c54 shared_fd = skinfo.datafd;
H A Dionapp_export.c118 skinfo.datafd = shared_fd;
H A Dionutils.c223 fd = info->datafd;
256 info->datafd = fd;
/external/libusb/libusb/os/
H A Dsunos_usb.h39 int datafd; /* data file */ member in struct:endpoint
H A Dsunos_usb.c370 if (hpriv->eps[0].datafd > 0) {
377 hpriv->eps[0].datafd = open(filename, O_RDWR);
378 if (hpriv->eps[0].datafd < 0) {
385 close(hpriv->eps[0].datafd);
386 hpriv->eps[0].datafd = -1;
401 if (hdev->eps[i].datafd != -1) {
402 (void) close(hdev->eps[i].datafd);
403 hdev->eps[i].datafd = -1;
415 if (hdev->eps[0].datafd >= 0) {
416 close(hdev->eps[0].datafd);
[all...]
/external/curl/tests/server/
H A Dsws.c1558 curl_socket_t datafd = accept(rootfd, NULL, NULL); local
1559 if(datafd != CURL_SOCKET_BAD) {
1568 if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY,
1576 err = get_request(datafd, &req2);
1585 err = send_doc(datafd, &req2);
1604 clientfd[DATA] = datafd;
1605 datafd = CURL_SOCKET_BAD;
1610 if(datafd != CURL_SOCKET_BAD) {
1612 shutdown(datafd, SHUT_RDWR);
1613 sclose(datafd);
[all...]

Completed in 157 milliseconds