Home
last modified time | relevance | path

Searched refs:Encode (Results 1 – 25 of 25) sorted by relevance

/art/runtime/
Dclass_table-inl.h100 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in Read()
115 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in VisitRoot()
123 inline uint32_t ClassTable::TableSlot::Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits) { in Encode() function
129 : data_(Encode(klass, MaskHash(descriptor_hash))) { in TableSlot()
Dobj_ptr-inl.h54 inline uintptr_t ObjPtr<MirrorType>::Encode(MirrorType* ptr) { in Encode() function
70 : reference_(Encode(static_cast<MirrorType*>(ptr))) { in ObjPtr()
102 reference_ = Encode(ptr); in Assign()
Dobj_ptr.h116 OBJPTR_INLINE static uintptr_t Encode(MirrorType* ptr) REQUIRES_SHARED(Locks::mutator_lock_);
Dclass_table.h98 static uint32_t Encode(ObjPtr<mirror::Class> klass, uint32_t hash_bits)
Dvdex_file.cc360 verifier_deps.Encode(dex_files, &verifier_deps_data); in WriteToDisk()
/art/libartbase/base/
Dbit_table_test.cc37 builder.Encode(writer); in TEST()
58 builder.Encode(writer); in TEST()
81 builder.Encode(writer); in TEST()
102 builder.Encode(writer); in TEST()
151 builder.Encode(writer); in TEST()
Dbit_field_test.cc32 ASSERT_EQ(32U, TestBitFields::Encode(16)); in TEST()
Dbit_field.h70 static uintptr_t Encode(T value) { in Encode() function
Dbit_table.h353 void Encode(BitMemoryWriter<Vector>& out) const { in Encode() function
444 void Encode(BitMemoryWriter<Vector>& out) const { in Encode() function
/art/compiler/optimizing/
Dintrinsic_objects.h47 return PatchTypeField::Encode(static_cast<uint32_t>(patch_type)) | IndexField::Encode(index);
Dcode_generator_arm_vixl.h797 return BakerReadBarrierKindField::Encode(BakerReadBarrierKind::kField) | in EncodeBakerReadBarrierFieldData()
798 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierFieldData()
799 BakerReadBarrierSecondRegField::Encode(holder_reg) | in EncodeBakerReadBarrierFieldData()
800 BakerReadBarrierWidthField::Encode(width); in EncodeBakerReadBarrierFieldData()
805 return BakerReadBarrierKindField::Encode(BakerReadBarrierKind::kArray) | in EncodeBakerReadBarrierArrayData()
806 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierArrayData()
807 BakerReadBarrierSecondRegField::Encode(kBakerReadBarrierInvalidEncodedReg) | in EncodeBakerReadBarrierArrayData()
808 BakerReadBarrierWidthField::Encode(BakerReadBarrierWidth::kWide); in EncodeBakerReadBarrierArrayData()
816 return BakerReadBarrierKindField::Encode(BakerReadBarrierKind::kGcRoot) | in EncodeBakerReadBarrierGcRootData()
817 BakerReadBarrierFirstRegField::Encode(root_reg) | in EncodeBakerReadBarrierGcRootData()
[all …]
Dcode_generator_arm64.h808 return BakerReadBarrierKindField::Encode(BakerReadBarrierKind::kField) | in EncodeBakerReadBarrierFieldData()
809 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierFieldData()
810 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierFieldData()
817 return BakerReadBarrierKindField::Encode(BakerReadBarrierKind::kAcquire) | in EncodeBakerReadBarrierAcquireData()
818 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierAcquireData()
819 BakerReadBarrierSecondRegField::Encode(holder_reg); in EncodeBakerReadBarrierAcquireData()
824 return BakerReadBarrierKindField::Encode(BakerReadBarrierKind::kArray) | in EncodeBakerReadBarrierArrayData()
825 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierArrayData()
826 BakerReadBarrierSecondRegField::Encode(kBakerReadBarrierInvalidEncodedReg); in EncodeBakerReadBarrierArrayData()
831 return BakerReadBarrierKindField::Encode(BakerReadBarrierKind::kGcRoot) | in EncodeBakerReadBarrierGcRootData()
[all …]
Dstack_map_test.cc65 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
151 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
321 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
376 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
435 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
483 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
582 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
726 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
750 ScopedArenaVector<uint8_t> memory = stream.Encode(); in TEST()
Dstack_map_stream.h93 ScopedArenaVector<uint8_t> Encode();
Dlocations.h359 return Location(kUnallocated, PolicyField::Encode(policy)); in UnallocatedLocation()
409 : value_(KindField::Encode(kind) | PayloadField::Encode(payload)) {} in Location()
Dstack_map_stream.cc290 bit_table.Encode(out); in EncodeTable()
293 ScopedArenaVector<uint8_t> StackMapStream::Encode() { in Encode() function in art::StackMapStream
Doptimizing_compiler.cc1171 return stack_map_stream->Encode(); in CreateJniStackMap()
Dcode_generator.cc1032 ScopedArenaVector<uint8_t> stack_map = GetStackMapStream()->Encode(); in BuildStackMaps()
/art/runtime/verifier/
Dverifier_deps.cc589 template<typename T> inline uint32_t Encode(T in);
591 template<> inline uint32_t Encode<uint16_t>(uint16_t in) { in Encode() function
594 template<> inline uint32_t Encode<uint32_t>(uint32_t in) { in Encode() function
597 template<> inline uint32_t Encode<dex::TypeIndex>(dex::TypeIndex in) { in Encode() function
600 template<> inline uint32_t Encode<dex::StringIndex>(dex::StringIndex in) { in Encode() function
621 EncodeUnsignedLeb128(out, Encode(std::get<0>(t))); in EncodeTuple()
622 EncodeUnsignedLeb128(out, Encode(std::get<1>(t))); in EncodeTuple()
634 EncodeUnsignedLeb128(out, Encode(std::get<0>(t))); in EncodeTuple()
635 EncodeUnsignedLeb128(out, Encode(std::get<1>(t))); in EncodeTuple()
636 EncodeUnsignedLeb128(out, Encode(std::get<2>(t))); in EncodeTuple()
[all …]
Dverifier_deps.h124 void Encode(const std::vector<const DexFile*>& dex_files, std::vector<uint8_t>* buffer) const;
/art/compiler/
Dcompiled_method.cc29 packed_fields_(InstructionSetField::Encode(instruction_set)) { in CompiledCode()
Dexception_test.cc84 ScopedArenaVector<uint8_t> stack_map = stack_maps.Encode(); in SetUp()
/art/dex2oat/
Dverifier_deps_test.cc1144 verifier_deps_->Encode(dex_files_, &buffer); in TEST_F()
1156 verifier_deps_->Encode(dex_files_, &buffer); in TEST_F()
1233 deps1.Encode(dex_files, &buffer1); in TEST_F()
1235 deps2.Encode(dex_files, &buffer2); in TEST_F()
1251 verifier_deps_->Encode(dex_files_, &buffer); in TEST_F()
1427 verifier_deps_->Encode(dex_files_, &buffer); in TEST_F()
1469 verifier_deps_->Encode(dex_files_, &buffer); in TEST_F()
/art/tools/hiddenapi/
Dhiddenapi.cc657 void Encode() { in Encode() function in art::hiddenapi::DexFileEditor
986 dex_editor.Encode(); in EncodeAccessFlags()
/art/dex2oat/linker/
Doat_writer.cc2648 verifier_deps->Encode(*dex_files_, &buffer); in WriteVerifierDeps()