Lines Matching refs:ret
240 int ret = 0; in nsi_cmd_gen_switch_syntax() local
252 ret = snprintf(buf, size, "-%s", args_s_el->option); in nsi_cmd_gen_switch_syntax()
255 ret = snprintf(buf, size, "-%s=<%s>", in nsi_cmd_gen_switch_syntax()
258 ret = snprintf(buf, size, "-%s <%s>...", in nsi_cmd_gen_switch_syntax()
263 if (ret < 0) { in nsi_cmd_gen_switch_syntax()
267 if (size - ret < 0) { in nsi_cmd_gen_switch_syntax()
274 buf += ret; in nsi_cmd_gen_switch_syntax()
275 size -= ret; in nsi_cmd_gen_switch_syntax()
318 int ret; in nsi_cmd_print_long_help() local
336 ret = fprintf(stdout, " %-*s:", _LONG_HELP_ALIGN-1, stringy); in nsi_cmd_print_long_help()
337 printed_in_line = ret; in nsi_cmd_print_long_help()
341 ret = fprintf(stdout, "%.*s\n", in nsi_cmd_print_long_help()
344 printed_right += ret - 1; in nsi_cmd_print_long_help()
348 ret = fprintf(stdout, "%.*s\n", in nsi_cmd_print_long_help()
351 printed_right += ret - 1; in nsi_cmd_print_long_help()
397 int ret; in nsi_cmd_parse_one_arg() local
409 ret = nsi_cmd_is_option(argv, args_struct[count].option, in nsi_cmd_parse_one_arg()
411 if (ret) { in nsi_cmd_parse_one_arg()
413 ret, in nsi_cmd_parse_one_arg()