Lines Matching defs:ret
246 int ret;
268 ret = LWRES_R_NOMEMORY;
290 ret = lwres_gabnrequest_render(ctx, &request, &pkt, &b_out);
291 if (ret != LWRES_R_SUCCESS)
294 ret = lwres_context_sendrecv(ctx, b_out.base, b_out.length, buffer,
296 if (ret != LWRES_R_SUCCESS)
305 ret = lwres_lwpacket_parseheader(&b_in, &pkt);
306 if (ret != LWRES_R_SUCCESS)
325 ret = pkt.result;
332 ret = lwres_gabnresponse_parse(ctx, &b_in, &pkt, &response);
333 if (ret != LWRES_R_SUCCESS)
350 return (ret);
362 int ret;
383 ret = LWRES_R_NOMEMORY;
400 ret = lwres_gnbarequest_render(ctx, &request, &pkt, &b_out);
401 if (ret != LWRES_R_SUCCESS)
404 ret = lwres_context_sendrecv(ctx, b_out.base, b_out.length, buffer,
406 if (ret != LWRES_R_SUCCESS)
415 ret = lwres_lwpacket_parseheader(&b_in, &pkt);
416 if (ret != LWRES_R_SUCCESS)
435 ret = pkt.result;
442 ret = lwres_gnbaresponse_parse(ctx, &b_in, &pkt, &response);
443 if (ret != LWRES_R_SUCCESS)
460 return (ret);
469 int ret;
492 ret = LWRES_R_NOMEMORY;
515 ret = lwres_grbnrequest_render(ctx, &request, &pkt, &b_out);
516 if (ret != LWRES_R_SUCCESS)
519 ret = lwres_context_sendrecv(ctx, b_out.base, b_out.length, buffer,
521 if (ret != LWRES_R_SUCCESS)
530 ret = lwres_lwpacket_parseheader(&b_in, &pkt);
531 if (ret != LWRES_R_SUCCESS)
550 ret = pkt.result;
557 ret = lwres_grbnresponse_parse(ctx, &b_in, &pkt, &response);
558 if (ret != LWRES_R_SUCCESS)
575 return (ret);