• Home
  • Raw
  • Download

Lines Matching refs:C2Param

53             C2Param::CoreIndex paramIndex) const override;
101 std::map<C2Param::CoreIndex, const C2StructDescriptor> _mStructs; ///< descriptors
121 C2Param::CoreIndex index, size_t offset);
131 typename std::enable_if<std::is_convertible<T, C2Param>::value>::type>
133 : _mRef(reinterpret_cast<std::shared_ptr<C2Param>*>(&param)) { }
136 operator std::shared_ptr<C2Param> *() const { return _mRef; }
141 std::shared_ptr<C2Param> get() const { return *_mRef; }
144 std::shared_ptr<C2Param> *_mRef;
174 C2ParamField makeParamField(C2Param::Index index) const;
238 Field(std::shared_ptr<FieldHelper> helper, C2Param::Index index);
290 std::shared_ptr<C2Param> value();
293 std::shared_ptr<const C2Param> value() const;
315 const C2Param *value, bool mayBlock,
321 const std::vector<C2Param::Index> getDownDependencies() const;
324 void addDownDependency(C2Param::Index index);
336 C2Param::Index index() const;
355 void setDefaultValue(std::shared_ptr<C2Param> default_);
358 void setSetter(std::function<C2R(const C2Param *, bool, bool *, Factory &)> setter);
361 void setGetter(std::function<std::shared_ptr<C2Param>(bool)> getter);
364 void setDependencies(std::vector<C2Param::Index> indices, std::vector<ParamRef> refs);
403 _mReflector, T::CORE_INDEX, offs - sizeof(C2Param));
409 baseOffs += sizeof(C2Param);
486 *mTypedParam = std::shared_ptr<T>(T::From(C2Param::Copy(*default_).release()));
489 setGetter([typedParam](bool) -> std::shared_ptr<C2Param> {
490 return std::static_pointer_cast<C2Param>(*typedParam);
514 const C2Param *value, bool mayBlock __unused, bool *changed, Factory &) -> C2R {
547 const C2Param *value, bool mayBlock, bool *changed, Factory &factory) -> C2R {
556 std::shared_ptr<T>(T::From(C2Param::Copy(*value).release()));
572 setDependencies(std::vector<C2Param::Index>{ deps->index()... },
588 const C2Param *value, bool mayBlock, bool *changed, Factory &factory) -> C2R {
597 std::shared_ptr<T>(T::From(C2Param::Copy(*value).release()));
612 setDependencies(std::vector<C2Param::Index>{ deps->index()... },
645 const std::vector<C2Param*> &stackParams,
646 const std::vector<C2Param::Index> &heapParamIndices,
648 std::vector<std::unique_ptr<C2Param>>* const heapParams) const;
666 const std::vector<C2Param*> &params, c2_blocking_t mayBlock,
669 std::vector<std::shared_ptr<C2Param>> *changes = nullptr);
717 size_t getDependencyIndex_l(C2Param::Index ix) const;