Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Static Public Member Functions | List of all members
perfetto::protos::pbzero::InternedString Class Reference

#include <profile_common.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::InternedString:

Public Types

enum  : int32_t { kIidFieldNumber = 1 , kStrFieldNumber = 2 }
 
using Decoder = InternedString_Decoder
 
using FieldMetadata_Iid = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, InternedString >
 
using FieldMetadata_Str = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kBytes, std::string, InternedString >
 

Public Member Functions

void set_iid (uint64_t value)
 
void set_str (const uint8_t *data, size_t size)
 
void set_str (::protozero::ConstBytes bytes)
 
void set_str (std::string value)
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_Iid kIid ()
 
static constexpr FieldMetadata_Str kStr ()
 

Detailed Description

Definition at line 337 of file profile_common.pbzero.h.

Member Typedef Documentation

◆ Decoder

Definition at line 339 of file profile_common.pbzero.h.

◆ FieldMetadata_Iid

using perfetto::protos::pbzero::InternedString::FieldMetadata_Iid = ::protozero::proto_utils::FieldMetadata< 1, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kUint64, uint64_t, InternedString>

Definition at line 348 of file profile_common.pbzero.h.

◆ FieldMetadata_Str

using perfetto::protos::pbzero::InternedString::FieldMetadata_Str = ::protozero::proto_utils::FieldMetadata< 2, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kBytes, std::string, InternedString>

Definition at line 373 of file profile_common.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kIidFieldNumber 
kStrFieldNumber 

Definition at line 340 of file profile_common.pbzero.h.

Member Function Documentation

◆ GetName()

static constexpr const char * perfetto::protos::pbzero::InternedString::GetName ( )
inlinestaticconstexpr

Definition at line 344 of file profile_common.pbzero.h.

344 {
345 return ".perfetto.protos.InternedString";
346 }

◆ kIid()

static constexpr FieldMetadata_Iid perfetto::protos::pbzero::InternedString::kIid ( )
inlinestaticconstexpr

Definition at line 362 of file profile_common.pbzero.h.

362{ return {}; }

◆ kStr()

static constexpr FieldMetadata_Str perfetto::protos::pbzero::InternedString::kStr ( )
inlinestaticconstexpr

Definition at line 387 of file profile_common.pbzero.h.

387{ return {}; }

◆ set_iid()

void perfetto::protos::pbzero::InternedString::set_iid ( uint64_t  value)
inline

Definition at line 363 of file profile_common.pbzero.h.

363 {
364 static constexpr uint32_t field_id = FieldMetadata_Iid::kFieldId;
365 // Call the appropriate protozero::Message::Append(field_id, ...)
366 // method based on the type of the field.
367 ::protozero::internal::FieldWriter<
369 field_id,
370 value);
371 }
uint8_t value

◆ set_str() [1/3]

void perfetto::protos::pbzero::InternedString::set_str ( ::protozero::ConstBytes  bytes)
inline

Definition at line 391 of file profile_common.pbzero.h.

391 {
392 AppendBytes(FieldMetadata_Str::kFieldId, bytes.data, bytes.size);
393 }

◆ set_str() [2/3]

void perfetto::protos::pbzero::InternedString::set_str ( const uint8_t *  data,
size_t  size 
)
inline

Definition at line 388 of file profile_common.pbzero.h.

388 {
389 AppendBytes(FieldMetadata_Str::kFieldId, data, size);
390 }
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
Definition: switches.h:259
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ set_str() [3/3]

void perfetto::protos::pbzero::InternedString::set_str ( std::string  value)
inline

Definition at line 394 of file profile_common.pbzero.h.

394 {
395 static constexpr uint32_t field_id = FieldMetadata_Str::kFieldId;
396 // Call the appropriate protozero::Message::Append(field_id, ...)
397 // method based on the type of the field.
398 ::protozero::internal::FieldWriter<
399 ::protozero::proto_utils::ProtoSchemaType::kBytes>::Append(*this,
400 field_id,
401 value);
402 }

The documentation for this class was generated from the following file: