Home
last modified time | relevance | path

Searched refs:mapping_ (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/engine/flutter/flow/ohos_layers/
Dtexture_register.cpp71 if (mapping_.find(id) == mapping_.end()) { in RegisterTexture()
72 mapping_[id] = { id, textureHandle, layerTexture }; in RegisterTexture()
74 mapping_[id].id_ = id; in RegisterTexture()
75 mapping_[id].handle_ = textureHandle; in RegisterTexture()
76 mapping_[id].layerTexture_ = layerTexture; in RegisterTexture()
82 if (mapping_.find(id) == mapping_.end()) { in RegisterNativeWindow()
83 mapping_[id] = { in RegisterNativeWindow()
87 mapping_[id].nativeWindow_ = const_cast<void*>(nativeWindow); in RegisterNativeWindow()
93 mapping_.erase(id); in UnregisterTexture()
98 return mapping_[id]; in GetTexture()
Dtexture_register.h48 std::unordered_map<int64_t, AceTextureLayer> mapping_;
/third_party/flutter/engine/flutter/flow/
Dtexture.cc14 mapping_[texture->Id()] = texture; in RegisterTexture()
18 mapping_.erase(id); in UnregisterTexture()
22 for (auto& it : mapping_) { in OnGrContextCreated()
28 for (auto& it : mapping_) { in OnGrContextDestroyed()
34 auto it = mapping_.find(id); in GetTexture()
35 return it != mapping_.end() ? it->second : nullptr; in GetTexture()
Dtexture.h68 std::map<int64_t, std::shared_ptr<Texture>> mapping_;
/third_party/flutter/engine/flutter/fml/
Dicu_util.cc26 ICUContext(std::unique_ptr<Mapping> mapping) : mapping_(std::move(mapping)) { in ICUContext()
63 mapping_ = std::move(file_mapping); in SetupMapping()
81 return mapping_ ? mapping_->GetMapping() : nullptr; in GetMapping()
84 size_t GetSize() const { return mapping_ ? mapping_->GetSize() : 0; } in GetSize()
90 std::unique_ptr<Mapping> mapping_; member in fml::icu::ICUContext
Dmapping.cc107 mapping_ = native_library_->ResolveSymbol(symbol_name); in SymbolMapping()
109 if (mapping_ == nullptr) { in SymbolMapping()
118 mapping_ = in SymbolMapping()
131 return mapping_; in GetMapping()
Dmapping.h75 uint8_t* mapping_ = nullptr; variable
141 const uint8_t* mapping_ = nullptr; variable
/third_party/flutter/engine/flutter/fml/platform/posix/
Dmapping_posix.cc55 : size_(0), mapping_(nullptr) { in FileMapping()
81 mapping_ = static_cast<uint8_t*>(mapping); in FileMapping()
85 mutable_mapping_ = mapping_; in FileMapping()
90 if (mapping_ != nullptr) { in ~FileMapping()
91 ::munmap(mapping_, size_); in ~FileMapping()
100 return mapping_; in GetMapping()
/third_party/flutter/engine/flutter/fml/platform/win/
Dmapping_win.cc45 : size_(0), mapping_(nullptr) { in FileMapping()
96 mapping_ = mapping; in FileMapping()
100 mutable_mapping_ = mapping_; in FileMapping()
105 if (mapping_ != nullptr) { in ~FileMapping()
106 UnmapViewOfFile(mapping_); in ~FileMapping()
115 return mapping_; in GetMapping()
/third_party/protobuf/docs/
Dfield_presence.md33 ### Presence in _named-field mapping_ formats