Lines Matching full:const
51 uint32_t GetFlags() const in GetFlags()
56 bool IsDynamicClass() const in IsDynamicClass()
61 uint32_t GetObjectSize() const in GetObjectSize()
76 ObjectHeader *GetManagedObject() const in GetManagedObject()
81 panda_file::SourceLang GetSourceLang() const in GetSourceLang()
135 …Class(const uint8_t *descriptor, panda_file::SourceLang lang, uint32_t vtable_size, uint32_t imt_s…
138 Class *GetBase() const in GetBase()
148 panda_file::File::EntityId GetFileId() const in GetFileId()
158 const panda_file::File *GetPandaFile() const in GetPandaFile()
163 void SetPandaFile(const panda_file::File *pf) in SetPandaFile()
168 const uint8_t *GetDescriptor() const in GetDescriptor()
181 Method *GetRawFirstMethodAddr() const in GetRawFirstMethodAddr()
186 Span<Method> GetMethods() const in GetMethods()
191 Span<Method> GetMethodsWithCopied() const in GetMethodsWithCopied()
196 Span<Method> GetStaticMethods() const in GetStaticMethods()
201 Span<Method> GetVirtualMethods() const in GetVirtualMethods()
206 Span<Method> GetCopiedMethods() const in GetCopiedMethods()
212 Span<Field> GetFields() const in GetFields()
217 Span<Field> GetStaticFields() const in GetStaticFields()
222 Span<Field> GetInstanceFields() const in GetInstanceFields()
236 Span<Method *const> GetVTable() const;
238 Span<Class *> GetInterfaces() const in GetInterfaces()
254 Span<Method *const> GetIMT() const in GetIMT()
256 return GetClassSpan().SubSpan<Method *const>(GetIMTOffset(), imt_size_); in GetIMT()
259 uint32_t GetIMTableIndex(uint32_t method_offset) const in GetIMTableIndex()
265 uint32_t GetAccessFlags() const in GetAccessFlags()
275 bool IsPublic() const in IsPublic()
280 bool IsFinal() const in IsFinal()
285 bool IsAnnotation() const in IsAnnotation()
290 bool IsEnum() const in IsEnum()
295 uint32_t GetVTableSize() const in GetVTableSize()
300 uint32_t GetIMTSize() const in GetIMTSize()
305 uint32_t GetClassSize() const in GetClassSize()
310 uint32_t GetObjectSize() const in GetObjectSize()
323 uint32_t GetComponentSize() const;
325 Class *GetComponentType() const in GetComponentType()
335 bool IsArrayClass() const in IsArrayClass()
340 bool IsObjectArrayClass() const in IsObjectArrayClass()
345 bool IsStringClass() const in IsStringClass()
371 bool IsVariableSize() const in IsVariableSize()
376 size_t GetStaticFieldsOffset() const;
378 panda_file::Type GetType() const in GetType()
388 bool IsPrimitive() const in IsPrimitive()
393 bool IsAbstract() const in IsAbstract()
398 bool IsInterface() const in IsInterface()
403 bool IsInstantiable() const in IsInstantiable()
408 bool IsObjectClass() const in IsObjectClass()
417 bool IsClassClass() const;
419 bool IsSubClassOf(const Class *klass) const;
426 bool IsAssignableFrom(const Class *klass) const;
428 bool IsProxy() const in IsProxy()
433 bool Implements(const Class *klass) const;
440 ITable GetITable() const in GetITable()
445 State GetState() const in GetState()
452 bool IsVerified() const in IsVerified()
457 bool IsInitializing() const in IsInitializing()
462 bool IsInitialized() const in IsInitialized()
467 bool IsLoaded() const in IsLoaded()
472 bool IsErroneous() const in IsErroneous()
503 bool IsVerifiedSuccess() const in IsVerifiedSuccess()
512 uint32_t GetInitTid() const in GetInitTid()
519 uint32_t GetNumVirtualMethods() const in GetNumVirtualMethods()
529 uint32_t GetNumCopiedMethods() const in GetNumCopiedMethods()
539 uint32_t GetNumStaticFields() const in GetNumStaticFields()
554 bool HasDefaultMethods() const in HasDefaultMethods()
559 size_t GetIMTOffset() const;
561 std::string GetName() const;
563 ClassLinkerContext *GetLoadContext() const in GetLoadContext()
576 Field *FindInstanceField(Pred pred) const;
578 Field *FindInstanceFieldById(panda_file::File::EntityId id) const;
581 Field *FindStaticField(Pred pred) const;
583 Field *FindStaticFieldById(panda_file::File::EntityId id) const;
586 Field *FindField(Pred pred) const;
589 Field *FindDeclaredField(Pred pred) const;
591 Field *GetInstanceFieldByName(const uint8_t *mutf8_name) const;
593 Field *GetStaticFieldByName(const uint8_t *mutf8_name) const;
595 Field *GetDeclaredFieldByName(const uint8_t *mutf8_name) const;
597 Method *GetVirtualInterfaceMethod(panda_file::File::EntityId id) const;
599 Method *GetStaticInterfaceMethod(panda_file::File::EntityId id) const;
601 Method *GetStaticClassMethod(panda_file::File::EntityId id) const;
603 Method *GetVirtualClassMethod(panda_file::File::EntityId id) const;
605 Method *GetDirectMethod(const uint8_t *mutf8_name, const Method::Proto &proto) const;
607 Method *GetClassMethod(const uint8_t *mutf8_name, const Method::Proto &proto) const;
609 … Method *GetClassMethod(const panda_file::File::StringData &sd, const Method::Proto &proto) const;
611 …Method *GetStaticClassMethodByName(const panda_file::File::StringData &sd, const Method::Proto &pr…
613 …Method *GetVirtualClassMethodByName(const panda_file::File::StringData &sd, const Method::Proto &p…
615 Method *GetInterfaceMethod(const uint8_t *mutf8_name, const Method::Proto &proto) const;
617 …Method *GetInterfaceMethod(const panda_file::File::StringData &sd, const Method::Proto &proto) con…
619 …Method *GetStaticInterfaceMethodByName(const panda_file::File::StringData &sd, const Method::Proto…
621 …Method *GetVirtualInterfaceMethodByName(const panda_file::File::StringData &sd, const Method::Prot…
623 Method *GetDirectMethod(const uint8_t *mutf8_name) const;
625 Method *GetClassMethod(const uint8_t *mutf8_name) const;
627 Method *ResolveVirtualMethod(const Method *method) const;
630 T GetFieldPrimitive(size_t offset) const;
636 ObjectHeader *GetFieldObject(size_t offset) const;
642 T GetFieldPrimitive(const Field &field) const;
645 void SetFieldPrimitive(const Field &field, T value);
648 ObjectHeader *GetFieldObject(const Field &field) const;
651 void SetFieldObject(const Field &field, ObjectHeader *value);
655 ObjectHeader *GetFieldObject(ManagedThread *thread, const Field &field) const;
658 void SetFieldObject(ManagedThread *thread, const Field &field, ObjectHeader *value);
661 T GetFieldPrimitive(size_t offset, std::memory_order memory_order) const;
667 ObjectHeader *GetFieldObject(size_t offset, std::memory_order memory_order) const;
708 static UniqId CalcUniqId(const panda_file::File *file, panda_file::File::EntityId file_id);
711 static UniqId CalcUniqId(const uint8_t *descriptor);
713 UniqId GetUniqId() const in GetUniqId()
755 uint32_t GetRefFieldsNum() const in GetRefFieldsNum()
761 uint32_t GetRefFieldsOffset() const in GetRefFieldsOffset()
767 uint32_t GetVolatileRefFieldsNum() const in GetVolatileRefFieldsNum()
772 panda_file::File::EntityId ResolveClassIndex(panda_file::File::Index idx) const in ResolveClassIndex()
777 panda_file::File::EntityId ResolveMethodIndex(panda_file::File::Index idx) const in ResolveMethodIndex()
782 panda_file::File::EntityId ResolveFieldIndex(panda_file::File::Index idx) const in ResolveFieldIndex()
787 Span<const panda_file::File::EntityId> GetClassIndex() const in GetClassIndex()
792 void SetClassIndex(Span<const panda_file::File::EntityId> index) in SetClassIndex()
797 Span<const panda_file::File::EntityId> GetMethodIndex() const in GetMethodIndex()
802 void SetMethodIndex(Span<const panda_file::File::EntityId> index) in SetMethodIndex()
807 Span<const panda_file::File::EntityId> GetFieldIndex() const in GetFieldIndex()
812 void SetFieldIndex(Span<const panda_file::File::EntityId> index) in SetFieldIndex()
817 static Class *FromClassObject(const ObjectHeader *obj);
842 Span<Field> GetFields() const;
845 Field *FindDeclaredField(Pred pred) const;
848 Field *FindDeclaredField(panda_file::File::EntityId id) const;
851 Field *FindField(Pred pred) const;
854 Span<Method> GetMethods() const;
857 Method *FindDirectMethod(Key key, const Pred &... preds) const;
860 Method *FindClassMethod(Key key, const Pred &... preds) const;
863 Method *FindInterfaceMethod(Key key, const Pred &... preds) const;
870 Span<const std::byte> GetClassSpan() const in GetClassSpan()
872 return Span(reinterpret_cast<const std::byte *>(this), class_size_); in GetClassSpan()
877 const panda_file::File *panda_file_ {nullptr};
879 const uint8_t *descriptor_;
908 UniqId CalcUniqId() const;
918 Span<const panda_file::File::EntityId> class_idx_ {nullptr, nullptr};
919 Span<const panda_file::File::EntityId> method_idx_ {nullptr, nullptr};
920 Span<const panda_file::File::EntityId> field_idx_ {nullptr, nullptr};
923 std::ostream &operator<<(std::ostream &os, const Class::State &state);