Lines Matching refs:LEN_OR_ZERO
1867 #define LEN_OR_ZERO (len ? len - pos : 0) macro
1894 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
1898 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
1900 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
1903 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
1905 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
1907 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
1911 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt()
1921 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
1928 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
1936 #undef LEN_OR_ZERO