Lines Matching refs:sl
580 ssize_t bytes = 0, sl; in print_option() local
585 sl = decode_rfc3397(NULL, 0, data, dl); in print_option()
586 if (sl == 0 || sl == -1) in print_option()
587 return sl; in print_option()
588 l = (size_t)sl + 1; in print_option()
593 sl = print_string(s, len, type, (uint8_t *)tmp, l - 1); in print_option()
595 return sl; in print_option()
603 sl = print_string(s, len, type, (uint8_t *)tmp, l); in print_option()
605 return sl; in print_option()
652 sl = ipv6_printaddr(NULL, 0, data, ifname); in print_option()
653 if (sl != -1) in print_option()
654 l += (size_t)sl; in print_option()
676 sl = snprintf(s, len, "%u", *data); in print_option()
681 sl = snprintf(s, len, "%u", u16); in print_option()
686 sl = snprintf(s, len, "%d", s16); in print_option()
691 sl = snprintf(s, len, "%u", u32); in print_option()
696 sl = snprintf(s, len, "%d", s32); in print_option()
700 sl = snprintf(s, len, "%s", inet_ntoa(addr)); in print_option()
709 sl = r; in print_option()
711 sl = 0; in print_option()
716 sl = 0; in print_option()
717 if (len <= sl) { in print_option()
721 len -= (size_t)sl; in print_option()
722 bytes += sl; in print_option()
723 s += sl; in print_option()