Lines Matching defs:const
48 // copies const char* arguments by default.
49 // By default, const char* argument values are assumed to have long-lived scope
50 // and will not be copied. Use this macro to force a const char* to be copied.
79 // const uint8_t*
80 // TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(const char* category_group)
93 // const uint8_t* category_group_enabled,
94 // const char* name,
95 // const char* scope,
99 // const char** arg_names,
100 // const uint8_t* arg_types,
101 // const uint64_t* arg_values,
108 // const uint8_t* category_group_enabled,
109 // const char* name,
110 // const char* scope,
114 // const char** arg_names,
115 // const uint8_t* arg_types,
116 // const uint64_t* arg_values,
124 // const uint8_t* category_group_enabled,
125 // const char* name,
137 v8::base::Relaxed_Load(reinterpret_cast<const v8::base::Atomic8*>( \
160 reinterpret_cast<const uint8_t*>(TRACE_EVENT_API_ATOMIC_LOAD(atomic)); \
171 const uint8_t* INTERNAL_TRACE_EVENT_UID(category_group_enabled); \
305 const int kZeroNumArgs = 0;
306 const decltype(nullptr) kGlobalScope = nullptr;
307 const uint64_t kNoId = 0;
319 WithScope(const char* scope, uint64_t raw_id)
321 uint64_t raw_id() const { return raw_id_; }
322 const char* scope() const { return scope_; }
325 const char* scope_ = nullptr;
329 TraceID(const void* raw_id, unsigned int* flags)
362 uint64_t raw_id() const { return raw_id_; }
363 const char* scope() const { return scope_; }
366 const char* scope_ = nullptr;
370 // Simple container for const char* that should be copied instead of retained.
373 explicit TraceStringWithCopy(const char* str) : str_(str) {}
374 operator const char*() const { return str_; }
377 const char* str_;
381 char phase, const uint8_t* category_group_enabled, const char* name,
382 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
383 const char** arg_names, const uint8_t* arg_types,
384 const uint64_t* arg_values, unsigned int flags) {
403 char phase, const uint8_t* category_group_enabled, const char* name,
404 const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
405 const char** arg_names, const uint8_t* arg_types,
406 const uint64_t* arg_values, unsigned int flags, int64_t timestamp) {
448 INTERNAL_DECLARE_SET_TRACE_VALUE(const void*, TRACE_VALUE_TYPE_POINTER)
449 INTERNAL_DECLARE_SET_TRACE_VALUE(const char*, TRACE_VALUE_TYPE_STRING)
450 INTERNAL_DECLARE_SET_TRACE_VALUE(const TraceStringWithCopy&,
474 const uint8_t* category_group_enabled,
475 const char* name, const char* scope,
485 char phase, const uint8_t* category_group_enabled, const char* name,
486 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
487 const char* arg1_name, ARG1_TYPE&& arg1_val) {
488 const int num_args = 1;
499 char phase, const uint8_t* category_group_enabled, const char* name,
500 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
501 const char* arg1_name, ARG1_TYPE&& arg1_val, const char* arg2_name,
503 const int num_args = 2;
504 const char* arg_names[2] = {arg1_name, arg2_name};
517 char phase, const uint8_t* category_group_enabled, const char* name,
518 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
527 char phase, const uint8_t* category_group_enabled, const char* name,
528 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
529 int64_t timestamp, const char* arg1_name, ARG1_TYPE&& arg1_val) {
530 const int num_args = 1;
541 char phase, const uint8_t* category_group_enabled, const char* name,
542 const char* scope, uint64_t id, uint64_t bind_id, unsigned int flags,
543 int64_t timestamp, const char* arg1_name, ARG1_TYPE&& arg1_val,
544 const char* arg2_name, ARG2_TYPE&& arg2_val) {
545 const int num_args = 2;
546 const char* arg_names[2] = {arg1_name, arg2_name};
565 if (p_data_ && base::Relaxed_Load(reinterpret_cast<const base::Atomic8*>(
572 void Initialize(const uint8_t* category_group_enabled, const char* name,
587 const uint8_t* category_group_enabled;
588 const char* name;
607 const uint8_t* category_group_enabled, const char* name);
612 const uint8_t* category_group_enabled;
613 const char* name;