Lines Matching refs:LEN_OR_ZERO
860 #define LEN_OR_ZERO (len ? len - pos : 0) macro
887 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
891 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
893 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
896 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
898 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
900 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
904 pos += snprintf(buf + pos, LEN_OR_ZERO, "\", %s", arg); in __set_print_fmt()
915 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
923 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
931 #undef LEN_OR_ZERO