Lines Matching refs:name

46 // Log *contexts* are names concatenated with '_' between them, with the name
54 // Set a thread-global base logging context. This name will be prepended to all
56 // |name| is a char*, std::string or uint32_t to name the context.
57 #define BWE_TEST_LOGGING_GLOBAL_CONTEXT(name)
64 // |name| is a char*, std::string or uint32_t to name the context.
65 #define BWE_TEST_LOGGING_CONTEXT(name)
79 // |name| is a char*, std::string or uint32_t to name the log line.
82 #define BWE_TEST_LOGGING_LOG1(name, format, _1)
83 #define BWE_TEST_LOGGING_LOG2(name, format, _1, _2)
84 #define BWE_TEST_LOGGING_LOG3(name, format, _1, _2, _3)
85 #define BWE_TEST_LOGGING_LOG4(name, format, _1, _2, _3, _4)
86 #define BWE_TEST_LOGGING_LOG5(name, format, _1, _2, _3, _4, _5)
90 // |name| is a char*, std::string or uint32_t to name the plotted value.
93 #define BWE_TEST_LOGGING_PLOT(name, time, value)
105 #define BWE_TEST_LOGGING_GLOBAL_CONTEXT(name) \
107 webrtc::testing::bwe::Logging::GetInstance()->SetGlobalContext(name); \
116 #define __BWE_TEST_LOGGING_CONTEXT_DECLARE(ctx, line, name, time, enabled) \
118 __BWE_TEST_LOGGING_CONTEXT_NAME(ctx, line)(name, time, enabled)
120 #define BWE_TEST_LOGGING_CONTEXT(name) \
121 __BWE_TEST_LOGGING_CONTEXT_DECLARE(__bwe_log_, __LINE__, name, -1, true)
129 #define BWE_TEST_LOGGING_LOG1(name, format, _1) \
131 BWE_TEST_LOGGING_CONTEXT(name); \
134 #define BWE_TEST_LOGGING_LOG2(name, format, _1, _2) \
136 BWE_TEST_LOGGING_CONTEXT(name); \
139 #define BWE_TEST_LOGGING_LOG3(name, format, _1, _2, _3) \
141 BWE_TEST_LOGGING_CONTEXT(name); \
144 #define BWE_TEST_LOGGING_LOG4(name, format, _1, _2, _3, _4) \
146 BWE_TEST_LOGGING_CONTEXT(name); \
150 #define BWE_TEST_LOGGING_LOG5(name, format, _1, _2, _3, _4, _5) \
152 BWE_TEST_LOGGING_CONTEXT(name); \
157 #define BWE_TEST_LOGGING_PLOT(name, time, value)\
159 __BWE_TEST_LOGGING_CONTEXT_DECLARE(__bwe_log_, __LINE__, name, \
175 Context(uint32_t name, int64_t timestamp_ms, bool enabled);
176 Context(const std::string& name, int64_t timestamp_ms, bool enabled);
177 Context(const char* name, int64_t timestamp_ms, bool enabled);
185 void SetGlobalContext(uint32_t name);
186 void SetGlobalContext(const std::string& name);
187 void SetGlobalContext(const char* name);