Searched refs:ArrayView (Results 1 – 9 of 9) sorted by relevance
50 slicer::ArrayView<const dex::ClassDef> ClassDefs() const;51 slicer::ArrayView<const dex::StringId> StringIds() const;52 slicer::ArrayView<const dex::TypeId> TypeIds() const;53 slicer::ArrayView<const dex::FieldId> FieldIds() const;54 slicer::ArrayView<const dex::MethodId> MethodIds() const;55 slicer::ArrayView<const dex::ProtoId> ProtoIds() const;102 void ParseInstructions(slicer::ArrayView<const dex::u2> code);121 slicer::ArrayView<const T> section(int offset, int count) const { in section()122 return slicer::ArrayView<const T>(ptr<T>(offset), count); in section()
27 class ArrayView {29 ArrayView() = default;31 ArrayView(const ArrayView&) = default;32 ArrayView& operator=(const ArrayView&) = default;34 ArrayView(T* ptr, size_t count) : begin_(ptr), end_(ptr + count) {} in ArrayView() function
232 slicer::ArrayView<const dex::u2> instructions;233 slicer::ArrayView<const dex::TryBlock> try_blocks;
108 size_t Push(const ArrayView<T>& a) { in Push()
228 void WriteInstructions(slicer::ArrayView<const dex::u2> instructions);
39 slicer::ArrayView<const dex::ClassDef> Reader::ClassDefs() const { in ClassDefs()44 slicer::ArrayView<const dex::StringId> Reader::StringIds() const { in StringIds()49 slicer::ArrayView<const dex::TypeId> Reader::TypeIds() const { in TypeIds()54 slicer::ArrayView<const dex::FieldId> Reader::FieldIds() const { in FieldIds()59 slicer::ArrayView<const dex::MethodId> Reader::MethodIds() const { in MethodIds()64 slicer::ArrayView<const dex::ProtoId> Reader::ProtoIds() const { in ProtoIds()717 slicer::ArrayView<const dex::u2>(dex_code->insns, dex_code->insns_size); in ExtractCode()735 slicer::ArrayView<const dex::TryBlock>(tries, dex_code->tries_size); in ExtractCode()878 void Reader::ParseInstructions(slicer::ArrayView<const dex::u2> code) { in ParseInstructions()
822 void Writer::WriteInstructions(slicer::ArrayView<const dex::u2> instructions) { in WriteInstructions()947 for (dex::TryBlock& dex_try : slicer::ArrayView<dex::TryBlock>( in WriteTryBlocks()
107 ir_code->try_blocks = slicer::ArrayView<const dex::TryBlock>(tries_ptr, tries_count); in Encode()
630 ir_code->instructions = slicer::ArrayView<const dex::u2>( in Encode()