Lines Matching defs:encodeCtx
121 idn_resconf_t encodeCtx;
126 encodeCtx = idnGetContext();
128 if (encodeCtx == NULL || name == NULL) {
131 stat = idnConvReq(encodeCtx, name, nbuff, sizeof(nbuff));
142 if (ret != NULL && encodeCtx != NULL) {
145 stat = idnConvRsp(encodeCtx, ret->h_name,
172 idn_resconf_t encodeCtx;
177 encodeCtx = idnGetContext();
181 if (ret != NULL && encodeCtx != NULL) {
184 stat = idnConvRsp(encodeCtx, ret->h_name,
211 idn_resconf_t encodeCtx;
215 encodeCtx = idnGetContext();
217 if (encodeCtx == NULL || name == NULL) {
221 idnHook(hWnd, wMsg, buf, encodeCtx);
222 idnConvReq(encodeCtx, name, nbuff, sizeof(nbuff));
240 idn_resconf_t encodeCtx;
242 encodeCtx = idnGetContext();
244 if (encodeCtx != NULL) {
245 idnHook(hWnd, wMsg, buf, encodeCtx);
266 idn_resconf_t encodeCtx;
271 encodeCtx = idnGetContext();
273 if (name != NULL && encodeCtx != NULL && SVCID_IS_HABN(class) == 0) {
274 idnConvReq(encodeCtx, name, nbuff, sizeof(nbuff));
295 idn_resconf_t encodeCtx;
299 encodeCtx = idnGetContext();
306 encodeCtx != NULL &&
312 if (idnConvRsp(encodeCtx,
501 idn_resconf_t encodeCtx;
505 encodeCtx = idnGetContext();
507 if (nodename == NULL || encodeCtx == NULL) {
511 stat = idnConvReq(encodeCtx, nodename,
520 *res = copy_decode_addrinfo_dynamic(aip, encodeCtx);
563 idn_resconf_t encodeCtx;
567 encodeCtx = idnGetContext();
569 if (host == NULL || hostlen == 0 || encodeCtx == NULL) {
577 stat = idnConvRsp(encodeCtx, name, host, hostlen);