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

#include <profile_common.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::Mapping_Decoder:

Public Member Functions

 Mapping_Decoder (const uint8_t *data, size_t len)
 
 Mapping_Decoder (const std::string &raw)
 
 Mapping_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_iid () const
 
uint64_t iid () const
 
bool has_path_string_ids () const
 
::protozero::RepeatedFieldIterator< uint64_t > path_string_ids () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Mapping_Decoder() [1/3]

perfetto::protos::pbzero::Mapping_Decoder::Mapping_Decoder ( const uint8_t *  data,
size_t  len 
)
inline

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

246 : TypedProtoDecoder(data, len) {}
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ Mapping_Decoder() [2/3]

perfetto::protos::pbzero::Mapping_Decoder::Mapping_Decoder ( const std::string &  raw)
inlineexplicit

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

248 : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()),
249 raw.size()) {}

◆ Mapping_Decoder() [3/3]

perfetto::protos::pbzero::Mapping_Decoder::Mapping_Decoder ( const ::protozero::ConstBytes &  raw)
inlineexplicit

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

251 : TypedProtoDecoder(raw.data, raw.size) {}

Member Function Documentation

◆ has_iid()

bool perfetto::protos::pbzero::Mapping_Decoder::has_iid ( ) const
inline

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

252{ return at<1>().valid(); }

◆ has_path_string_ids()

bool perfetto::protos::pbzero::Mapping_Decoder::has_path_string_ids ( ) const
inline

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

254{ return at<7>().valid(); }

◆ iid()

uint64_t perfetto::protos::pbzero::Mapping_Decoder::iid ( ) const
inline

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

253{ return at<1>().as_uint64(); }

◆ path_string_ids()

::protozero::RepeatedFieldIterator< uint64_t > perfetto::protos::pbzero::Mapping_Decoder::path_string_ids ( ) const
inline

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

255 {
256 return GetRepeated<uint64_t>(7);
257 }

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