Lines Matching refs:LEN_OR_ZERO
873 #define LEN_OR_ZERO (len ? len - pos : 0) macro
900 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
904 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
906 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
909 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
911 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
913 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
917 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt()
928 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
936 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
944 #undef LEN_OR_ZERO