Home | History | Annotate | Download | only in debug

Lines Matching defs:const

120 // Notes: The category must always be in a long-lived char* (i.e. static const).
125 // const char* arg_values are only referenced by default:
128 // Use TRACE_STR_COPY to force copying of a const char*:
147 // virtual void AppendAsTraceFormat(std::string* out) const OVERRIDE {
200 // By default, const char* argument values are assumed to have long-lived scope
201 // and will not be copied. Use this macro to force a const char* to be copied.
767 // const unsigned char*
768 // TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(const char* category_group)
781 // const unsigned char* category_group_enabled,
782 // const char* name,
785 // const char** arg_names,
786 // const unsigned char* arg_types,
787 // const unsigned long long* arg_values,
795 // const unsigned char* category_group_enabled,
796 // const char* name,
799 // const TimeTicks& timestamp,
801 // const char** arg_names,
802 // const unsigned char* arg_types,
803 // const unsigned long long* arg_values,
810 // const unsigned char* category_group_enabled,
811 // const char* name,
851 reinterpret_cast<const unsigned char*>(TRACE_EVENT_API_ATOMIC_LOAD( \
863 const unsigned char* INTERNAL_TRACE_EVENT_UID(category_group_enabled); \
989 const int kZeroNumArgs = 0;
990 const unsigned long long kNoEventId = 0;
999 explicit DontMangle(const void* id)
1017 unsigned long long data() const { return data_; }
1039 unsigned long long data() const { return data_; }
1044 TraceID(const void* id, unsigned char* flags)
1075 unsigned long long data() const { return data_; }
1087 const void* as_pointer;
1088 const char* as_string;
1091 // Simple container for const char* that should be copied instead of retained.
1094 explicit TraceStringWithCopy(const char* str) : str_(str) {}
1095 operator const char* () const { return str_; }
1097 const char* str_;
1138 INTERNAL_DECLARE_SET_TRACE_VALUE(const void*, as_pointer,
1140 INTERNAL_DECLARE_SET_TRACE_VALUE(const char*, as_string,
1142 INTERNAL_DECLARE_SET_TRACE_VALUE(const TraceStringWithCopy&, as_string,
1149 static inline void SetTraceValue(const std::string& arg,
1167 const unsigned char* category_group_enabled,
1168 const char* name,
1171 const base::TimeTicks& timestamp,
1173 const char* arg1_name,
1174 const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg1_val) {
1175 const int num_args = 1;
1186 const unsigned char* category_group_enabled,
1187 const char* name,
1190 const base::TimeTicks& timestamp,
1192 const char* arg1_name,
1193 const ARG1_TYPE& arg1_val,
1194 const char* arg2_name,
1195 const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg2_val) {
1196 const int num_args = 2;
1197 const char* arg_names[2] = { arg1_name, arg2_name };
1216 const unsigned char* category_group_enabled,
1217 const char* name,
1220 const base::TimeTicks& timestamp,
1222 const char* arg1_name,
1223 const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg1_val,
1224 const char* arg2_name,
1225 const ARG2_TYPE& arg2_val) {
1226 const int num_args = 2;
1227 const char* arg_names[2] = { arg1_name, arg2_name };
1246 const unsigned char* category_group_enabled,
1247 const char* name,
1250 const base::TimeTicks& timestamp,
1252 const char* arg1_name,
1253 const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg1_val,
1254 const char* arg2_name,
1255 const scoped_refptr<base::debug::ConvertableToTraceFormat>& arg2_val) {
1256 const int num_args = 2;
1257 const char* arg_names[2] = { arg1_name, arg2_name };
1271 const unsigned char* category_group_enabled,
1272 const char* name,
1275 const base::TimeTicks& timestamp,
1284 const unsigned char* category_group_enabled,
1285 const char* name,
1298 const unsigned char* category_group_enabled,
1299 const char* name,
1302 const base::TimeTicks& timestamp,
1304 const char* arg1_name,
1305 const ARG1_TYPE& arg1_val) {
1306 const int num_args = 1;
1318 const unsigned char* category_group_enabled,
1319 const char* name,
1322 const char* arg1_name,
1323 const ARG1_TYPE& arg1_val) {
1335 const unsigned char* category_group_enabled,
1336 const char* name,
1339 const base::TimeTicks& timestamp,
1341 const char* arg1_name,
1342 const ARG1_TYPE& arg1_val,
1343 const char* arg2_name,
1344 const ARG2_TYPE& arg2_val) {
1345 const int num_args = 2;
1346 const char* arg_names[2] = { arg1_name, arg2_name };
1359 const unsigned char* category_group_enabled,
1360 const char* name,
1363 const char* arg1_name,
1364 const ARG1_TYPE& arg1_val,
1365 const char* arg2_name,
1366 const ARG2_TYPE& arg2_val) {
1387 void Initialize(const unsigned char* category_group_enabled,
1388 const char* name,
1403 const unsigned char* category_group_enabled;
1404 const char* name;
1414 ScopedTraceBinaryEfficient(const char* category_group, const char* name);
1418 const unsigned char* category_group_enabled_;
1419 const char* name_;
1438 TraceEventSamplingStateScope(const char* category_and_name) {
1447 static inline const char* Current() {
1448 return reinterpret_cast<const char*>(TRACE_EVENT_API_ATOMIC_LOAD(
1452 static inline void Set(const char* category_and_name) {
1460 const char* previous_state_;
1470 TraceScopedTrackableObject(const char* category_group, const char* name,
1487 const char* category_group_;
1488 const char* name_;