Lines Matching refs:opcount
739 int opcount; in pretty_print_option() local
778 opcount = strlcpy(op, inet_ntoa(foo), opleft); in pretty_print_option()
779 if (opcount >= opleft) in pretty_print_option()
781 opleft -= opcount; in pretty_print_option()
785 opcount = snprintf(op, opleft, "%ld", in pretty_print_option()
787 if (opcount >= opleft || opcount == -1) in pretty_print_option()
789 opleft -= opcount; in pretty_print_option()
793 opcount = snprintf(op, opleft, "%lu", in pretty_print_option()
795 if (opcount >= opleft || opcount == -1) in pretty_print_option()
797 opleft -= opcount; in pretty_print_option()
801 opcount = snprintf(op, opleft, "%d", in pretty_print_option()
803 if (opcount >= opleft || opcount == -1) in pretty_print_option()
805 opleft -= opcount; in pretty_print_option()
809 opcount = snprintf(op, opleft, "%u", in pretty_print_option()
811 if (opcount >= opleft || opcount == -1) in pretty_print_option()
813 opleft -= opcount; in pretty_print_option()
817 opcount = snprintf(op, opleft, "%d", in pretty_print_option()
819 if (opcount >= opleft || opcount == -1) in pretty_print_option()
821 opleft -= opcount; in pretty_print_option()
824 opcount = snprintf(op, opleft, "%d", *dp++); in pretty_print_option()
825 if (opcount >= opleft || opcount == -1) in pretty_print_option()
827 opleft -= opcount; in pretty_print_option()
830 opcount = snprintf(op, opleft, "%x", *dp++); in pretty_print_option()
831 if (opcount >= opleft || opcount == -1) in pretty_print_option()
833 opleft -= opcount; in pretty_print_option()
836 opcount = strlcpy(op, in pretty_print_option()
838 if (opcount >= opleft) in pretty_print_option()
840 opleft -= opcount; in pretty_print_option()