Home | History | Annotate | Download | only in libxml2

Lines Matching refs:INVALID_SOCKET

488     ret->controlFd = INVALID_SOCKET;
515 if (ctxt->controlFd != INVALID_SOCKET) closesocket(ctxt->controlFd);
516 ctxt->controlFd = INVALID_SOCKET;
571 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1);
623 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
624 ctxt->controlFd = INVALID_SOCKET;
652 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1);
741 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1);
830 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1);
956 if (ctxt->controlFd == INVALID_SOCKET) {
967 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
968 ctxt->controlFd = INVALID_SOCKET;
977 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
978 ctxt->controlFd = INVALID_SOCKET;
1035 ctxt->controlFd = INVALID_SOCKET;
1057 ctxt->controlFd = INVALID_SOCKET;
1063 ctxt->controlFd = INVALID_SOCKET;
1074 ctxt->controlFd = INVALID_SOCKET;
1097 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1098 ctxt->controlFd = INVALID_SOCKET;
1108 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1109 ctxt->controlFd = INVALID_SOCKET;
1128 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1129 ctxt->controlFd = INVALID_SOCKET;
1150 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1151 ctxt->controlFd = INVALID_SOCKET;
1161 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1162 ctxt->controlFd = INVALID_SOCKET;
1171 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1172 ctxt->controlFd = INVALID_SOCKET;
1181 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1182 ctxt->controlFd = INVALID_SOCKET;
1196 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1197 ctxt->controlFd = INVALID_SOCKET;
1202 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1203 ctxt->controlFd = INVALID_SOCKET;
1218 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1219 ctxt->controlFd = INVALID_SOCKET;
1275 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1);
1324 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET) || (file == NULL)) return(-1);
1382 if (ctxt == NULL) return INVALID_SOCKET;
1398 if (ctxt->dataFd == INVALID_SOCKET) {
1400 return INVALID_SOCKET;
1417 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1418 return INVALID_SOCKET;
1423 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1424 return INVALID_SOCKET;
1429 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1440 if (ctxt->dataFd != INVALID_SOCKET) {
1441 closesocket (ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1443 return INVALID_SOCKET;
1455 if (ctxt->dataFd != INVALID_SOCKET) {
1456 closesocket (ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1458 return INVALID_SOCKET;
1467 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1468 return INVALID_SOCKET;
1481 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1482 return INVALID_SOCKET;
1488 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1489 return INVALID_SOCKET;
1518 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1519 return INVALID_SOCKET;
1523 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1524 return INVALID_SOCKET;
1547 if ((ctxt == NULL) || (ctxt->controlFd == INVALID_SOCKET)) return(-1);
1549 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1561 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1569 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1573 closesocket(ctxt->controlFd); ctxt->controlFd = INVALID_SOCKET;
1734 if (ctxt->dataFd == INVALID_SOCKET)
1743 if (ctxt->dataFd == INVALID_SOCKET)
1755 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1760 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1776 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1782 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1783 ctxt->dataFd = INVALID_SOCKET;
1787 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1796 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1797 ctxt->dataFd = INVALID_SOCKET;
1835 return INVALID_SOCKET;
1837 return INVALID_SOCKET;
1839 if (ctxt->dataFd == INVALID_SOCKET)
1840 return INVALID_SOCKET;
1850 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1851 return INVALID_SOCKET;
1855 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1856 return INVALID_SOCKET;
1870 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1871 return INVALID_SOCKET;
1875 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1876 return INVALID_SOCKET;
1908 if (xmlNanoFTPGetSocket(ctxt, filename) == INVALID_SOCKET)
1921 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1927 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1928 ctxt->dataFd = INVALID_SOCKET;
1932 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1941 closesocket(ctxt->dataFd); ctxt->dataFd = INVALID_SOCKET;
1967 if (ctxt->dataFd == INVALID_SOCKET) return(0);
2008 if (sock == INVALID_SOCKET) {
2031 if (ctxt->dataFd != INVALID_SOCKET) {
2033 ctxt->dataFd = INVALID_SOCKET;
2035 if (ctxt->controlFd != INVALID_SOCKET) {
2038 ctxt->controlFd = INVALID_SOCKET;