• Home
  • Raw
  • Download

Lines Matching refs:format

99         __attribute__((format(printf, 4, 5)));
151 #define printf(format, ...) \ argument
153 std::printf(format, ##__VA_ARGS__); \
154 DebugLogger::GetInstance()->Log(LEVEL_STDOUT, HILOG_TAG, format, ##__VA_ARGS__); \
159 #define perror(format, ...) \ argument
161 std::perror(format); \
162 DebugLogger::GetInstance()->Log(LEVEL_STDOUT, HILOG_TAG, format "<%d>\n", \
189 #define HLOG(level, format, ...) \ argument
194 HILOG_TAG_NAME "/" LOG_LEVEL(level) "<%ld>[%s:%d]%s:" format "\n", gettid(), \
202 #define HLOGV_FIRST(first, format, ...) \ argument
206 HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__); \
215 #define HLOGV_FIRST_LOCAL(local_limit, format, ...) \ argument
218 HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__); \
227 #define HLOGV_IF(condition, format, ...) \ argument
229 HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__) \
235 #define HLOGDUMMY(format, ...) while (0) argument
239 #define HLOGM(format, ...) HLOG(LEVEL_MUCH, format, ##__VA_ARGS__) argument
244 #define HLOGV(format, ...) HLOG(LEVEL_VERBOSE, format, ##__VA_ARGS__) argument
248 #define HLOGD(format, ...) HLOG(LEVEL_DEBUG, format, ##__VA_ARGS__) argument
253 #define HLOGI(format, ...) HLOG(LEVEL_INFO, format, ##__VA_ARGS__) argument
257 #define HLOGW(format, ...) HLOG(LEVEL_WARNING, format, ##__VA_ARGS__) argument
261 #define HLOGE(format, ...) HLOG(LEVEL_ERROR, format, ##__VA_ARGS__) argument
265 #define HLOGEP(format, ...) \ argument
266 HLOG(LEVEL_ERROR, format "(errno %d)", ##__VA_ARGS__, errno)
270 #define HLOGF(format, ...) \ argument
271 HLOG(LEVEL_FATAL, "FATAL error at %s:%d " format, __FILE__, __LINE__, ##__VA_ARGS__)
275 #define HLOG_ASSERT_MESSAGE(condition, format, ...) \ argument
277 HLOG(LEVEL_FATAL, " assert failed: '%s' " format, #condition, ##__VA_ARGS__); \