Lines Matching defs:char

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.
74 // the unsigned char is non-zero, tracing is enabled. If tracing is enabled,
80 // TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED(const char* category_group)
92 // char phase,
94 // const char* name,
95 // const char* scope,
99 // const char** arg_names,
107 // char phase,
109 // const char* name,
110 // const char* scope,
114 // const char** arg_names,
125 // const char* name,
152 // even when the unsigned char* points to garbage data (which may be the case
319 WithScope(const char* scope, uint64_t raw_id)
322 const char* scope() const { return scope_; }
325 const char* scope_ = nullptr;
340 TraceID(unsigned char raw_id, unsigned int* flags) : raw_id_(raw_id) {
355 TraceID(signed char raw_id, unsigned int* flags)
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,
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,
431 SetTraceValue(T arg, unsigned char* type, uint64_t* value) {
440 static V8_INLINE void SetTraceValue(actual_type arg, unsigned char* type, \
449 INTERNAL_DECLARE_SET_TRACE_VALUE(const char*, TRACE_VALUE_TYPE_STRING)
455 unsigned char* type, uint64_t* value) {
463 SetTraceValue(std::unique_ptr<T> ptr, unsigned char* type, uint64_t* value) {
473 static V8_INLINE uint64_t AddTraceEvent(char phase,
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) {
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,
504 const char* arg_names[2] = {arg1_name, arg2_name};
505 unsigned char arg_types[2];
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) {
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) {
546 const char* arg_names[2] = {arg1_name, arg2_name};
547 unsigned char arg_types[2];
572 void Initialize(const uint8_t* category_group_enabled, const char* name,
588 const char* name;
607 const uint8_t* category_group_enabled, const char* name);
613 const char* name;