Home
last modified time | relevance | path

Searched refs:arg_fmt (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/include/old/
Dtest.h119 const char *arg_fmt, ...)
121 #define tst_resm(ttype, arg_fmt, ...) \ argument
123 (arg_fmt), ##__VA_ARGS__)
126 const void *buf, size_t size, const char *arg_fmt, ...)
128 #define tst_resm_hexd(ttype, buf, size, arg_fmt, ...) \ argument
130 (arg_fmt), ##__VA_ARGS__)
133 void (*func)(void), const char *arg_fmt, ...)
/third_party/ltp/lib/
Dtst_res.c76 #define EXPAND_VAR_ARGS(buf, arg_fmt, buf_len) do {\ argument
78 assert(arg_fmt != NULL); \
79 va_start(ap, arg_fmt); \
80 vsnprintf(buf, buf_len, arg_fmt, ap); \
160 const char *arg_fmt, ...) in tst_res__() argument
170 EXPAND_VAR_ARGS(tmesg + len, arg_fmt, USERMESG - len); in tst_res__()
475 void (*func)(void), const char *arg_fmt, ...) in tst_brk__() argument
482 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_brk__()
524 const char *arg_fmt, ...) in tst_resm_() argument
528 EXPAND_VAR_ARGS(tmesg, arg_fmt, USERMESG); in tst_resm_()
[all …]
/third_party/ltp/include/
Dtst_test.h55 #define tst_res(ttype, arg_fmt, ...) \ argument
59 tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
63 const void *buf, size_t size, const char *arg_fmt, ...)
66 #define tst_res_hexd(ttype, buf, size, arg_fmt, ...) \ argument
68 (arg_fmt), ##__VA_ARGS__)
77 #define tst_brk(ttype, arg_fmt, ...) \ argument
81 tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
/third_party/ltp/doc/
Dc-test-api.txt199 void tst_res(int ttype, char *arg_fmt, ...);
216 void tst_brk(int ttype, char *arg_fmt, ...);