Lines Matching defs:ret
57 int ret;
60 ret = _org_gethostname(name, namelen);
61 TRACE("LEAVE gethostname %d <%-.100s>\n", ret, name);
63 return (ret);
68 struct hostent FAR *ret;
81 ret = _org_gethostbyname(name);
84 ret = _org_gethostbyname(name);
89 ret = NULL;
93 ret = _org_gethostbyname(nbuff);
97 if (ret != NULL && encodeCtx != NULL) {
99 dumpName(ret->h_name, hbuff, sizeof(hbuff)));
100 stat = idnConvRsp(encodeCtx, ret->h_name, nbuff,
107 strcpy(ret->h_name, nbuff);
111 if (ret == NULL) {
115 dumpHost(ret, hbuff, sizeof(hbuff)));
117 return (ret);
122 struct hostent FAR *ret;
134 ret = _org_gethostbyaddr(addr, len, type);
136 if (ret != NULL && encodeCtx != NULL) {
138 dumpName(ret->h_name, hbuff, sizeof(hbuff)));
139 stat = idnConvRsp(encodeCtx, ret->h_name,
146 strcpy(ret->h_name, nbuff);
150 if (ret == NULL) {
154 dumpHost(ret, hbuff, sizeof(hbuff)));
156 return (ret);
163 HANDLE ret;
173 ret = _org_WSAAsyncGetHostByName(hWnd, wMsg, name,
180 ret = _org_WSAAsyncGetHostByName(hWnd, wMsg, nbuff,
184 TRACE("LEAVE WSAAsyncGetHostByName HANDLE %08x\n", ret);
186 return (ret);
193 HANDLE ret;
205 ret = _org_WSAAsyncGetHostByAddr(hWnd, wMsg, addr, len, type,
207 TRACE("LEAVE WSAAsyncGetHostByAddr HANDLE %08x\n", ret);
209 return (ret);