Lines Matching refs:fmt
31 #define FORMATTED(fmt, ...) "[%" HILOG_PUBLIC "s]" fmt HILOG_NEWLINE, __FUNCTION__, ##__VA_ARGS__
33 #define FORMATTED(fmt, ...) \
34 "[%" HILOG_PUBLIC "s:%" HILOG_PUBLIC "d] %" HILOG_PUBLIC "s# " fmt HILOG_NEWLINE, __FILE_NAME__, \
107 static inline std::string StringFormat(const char* fmt, ...)
111 std::string format(fmt);
112 va_start(vargs, fmt);
125 #define CHECK_TRUE(expr, retval, log, fmt, ...) \
129 std::string str = StringFormat(fmt, ##__VA_ARGS__); \
132 printf("%s", StringFormat(fmt, ##__VA_ARGS__).c_str()); \
134 std::string str = StringFormat(fmt, ##__VA_ARGS__); \