Lines Matching refs:handler
182 void HClassLayoutDesc::InsertKeyAndDesc(const PGOHandler &handler, PropertyDesc &desc)
185 if (oldHandler == handler) {
189 auto newTrackType = handler.GetTrackType();
191 desc.second.SetPropertyMeta(handler.GetPropertyMeta());
197 desc.second.SetPropertyMeta(handler.GetPropertyMeta());
206 desc.second = PGOHandler(newTrackType, handler.GetPropertyMeta());
224 void RootHClassLayoutDesc::InsertKeyAndDesc(const CString &key, const PGOHandler &handler)
226 if (!UpdateKeyAndDesc(key, handler)) {
227 layoutDesc_.emplace_back(key, handler);
231 bool RootHClassLayoutDesc::UpdateKeyAndDesc(const CString &key, const PGOHandler &handler)
235 HClassLayoutDesc::InsertKeyAndDesc(handler, iter);
252 void ChildHClassLayoutDesc::InsertKeyAndDesc(const CString &key, const PGOHandler &handler)
254 if (!UpdateKeyAndDesc(key, handler)) {
255 propertyDesc_ = PropertyDesc(key, handler);
259 bool ChildHClassLayoutDesc::UpdateKeyAndDesc(const CString &key, const PGOHandler &handler)
262 HClassLayoutDesc::InsertKeyAndDesc(handler, propertyDesc_);