Lines Matching refs:Ref
483 class WASM_API_EXTERN Ref { class
488 Ref() = default;
489 ~Ref() = default;
492 auto copy() const -> own<Ref>;
493 auto same(const Ref*) const -> bool;
509 Ref* ref;
520 explicit Val(own<Ref>&& r) : kind_(ValKind::EXTERNREF) { impl_.ref = r.release(); } in Val()
537 static auto ref(own<Ref>&& x) -> Val { return Val(std::move(x)); } in ref()
565 auto ref() const -> Ref* { assert(is_ref()); return impl_.ref; } in ref()
568 auto release_ref() -> own<Ref> { in release_ref()
572 return own<Ref>(ref); in release_ref()
593 template<> inline auto Val::make<Ref>(own<Ref>&& x) -> Val { in make()
608 template<> inline auto Val::get<Ref*>() const -> Ref* { return ref(); } in get()
641 class WASM_API_EXTERN Trap : public Ref {
663 class WASM_API_EXTERN Module : public Ref {
702 class WASM_API_EXTERN Foreign : public Ref {
723 class WASM_API_EXTERN Extern : public Ref {
810 Store*, const TableType*, const Ref* init = nullptr) -> own<Table>;
814 auto get(size_t index) const -> own<Ref>;
815 auto set(size_t index, const Ref*) -> bool;
817 auto grow(size_t delta, const Ref* init = nullptr) -> bool;
849 class WASM_API_EXTERN Instance : public Ref {