Home
last modified time | relevance | path

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

12

/art/libelffile/dwarf/
Dwriter.h40 data_->push_back(value & 0xff); in PushUint8()
46 data_->push_back((value >> 0) & 0xff); in PushUint16()
47 data_->push_back((value >> 8) & 0xff); in PushUint16()
51 data_->push_back((value >> 0) & 0xff); in PushUint32()
52 data_->push_back((value >> 8) & 0xff); in PushUint32()
53 data_->push_back((value >> 16) & 0xff); in PushUint32()
54 data_->push_back((value >> 24) & 0xff); in PushUint32()
68 data_->push_back((value >> 0) & 0xff); in PushUint64()
69 data_->push_back((value >> 8) & 0xff); in PushUint64()
70 data_->push_back((value >> 16) & 0xff); in PushUint64()
[all …]
/art/libdexfile/dex/
Dclass_iterator.h50 : data_(dex_file, class_def_idx) {} in ClassIterator()
54 ++data_.class_def_idx_;
66 return data_;
70 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
71 return data_.class_def_idx_ == rhs.data_.class_def_idx_;
79 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
80 return data_.class_def_idx_ < rhs.data_.class_def_idx_;
96 ClassIteratorData data_;
Ddex_instruction_iterator.h67 : data_(reinterpret_cast<const uint16_t*>(inst), dex_pc) {} in DexInstructionIteratorBase()
70 return data_.Inst(); in Inst()
75 return data_.DexPc(); in DexPc()
80 return data_.Instructions(); in Instructions()
84 DexInstructionPcPair data_;
132 data_.dex_pc_ += Inst().SizeInCodeUnits();
144 return data_;
148 return &data_.Inst();
153 return data_.DexPc(); in DexPc()
184 data_.dex_pc_ += instruction_code_units;
[all …]
Dtype_lookup_table.h112 Entry() : str_offset_(0u), data_(0u) {} in Entry()
115 data_(((hash & ~GetMask(mask_bits)) | class_def_index) << mask_bits) { in Entry()
123 data_ |= next_pos_delta; in SetNextPosDelta()
139 return data_ & GetMask(mask_bits); in GetNextPosDelta()
143 return (data_ >> mask_bits) & GetMask(mask_bits); in GetClassDefIdx()
148 return data_ >> (2u * mask_bits); in GetHashBits()
158 uint32_t data_; variable
Dclass_accessor.h192 : data_(dex_file, ptr_pos, hiddenapi_ptr_pos), in DataIterator()
211 return data_;
215 return &data_;
219 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
228 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
245 return data_.ptr_pos_; in GetDataPointer()
254 data_.NextSection(); in ReadData()
256 data_.Read(); in ReadData()
260 DataType data_; variable
/art/runtime/
Dquicken_info.h47 : data_(data.data()), in QuickenInfoTable()
48 num_elements_(!data.empty() ? DecodeUnsignedLeb128(&data_) : 0u) {} in QuickenInfoTable()
51 return data_ == nullptr; in IsNull()
55 return data_[index * 2] | (static_cast<uint16_t>(data_[index * 2 + 1]) << 8); in GetData()
69 return table.data_ + table.NumIndices() * 2 - data.data(); in SizeInBytes()
77 const uint8_t* data_;
Dclass_table-inl.h98 const uint32_t before = data_.load(std::memory_order_relaxed); in Read()
105 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in Read()
112 const uint32_t before = data_.load(std::memory_order_relaxed); in VisitRoot()
120 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in VisitRoot()
134 : data_(Encode(klass, MaskHash(descriptor_hash))) { in TableSlot()
Dclass_table.h54 TableSlot() : data_(0u) {} in TableSlot()
56 TableSlot(const TableSlot& copy) : data_(copy.data_.load(std::memory_order_relaxed)) {} in TableSlot()
63 data_.store(copy.data_.load(std::memory_order_relaxed), std::memory_order_relaxed);
70 return MaskHash(data_.load(std::memory_order_relaxed)); in Hash()
100 mutable Atomic<uint32_t> data_; variable
/art/dexlayout/
Ddex_container.h64 return &data_[0]; in Begin()
68 return data_.size(); in Size()
72 data_.resize(size, 0u); in Resize()
76 data_.clear(); in Clear()
81 temp.swap(data_); in ReleaseData()
86 std::vector<uint8_t> data_;
Ddex_writer.h77 return data_; in Begin()
94 DCHECK_EQ(data_[position_ + i], 0u); in Write()
96 memcpy(&data_[position_], buffer, length); in Write()
103 memcpy(&data_[position_], buffer, length); in Overwrite()
110 memset(&data_[position], 0, length); in Clear()
116 uint8_t* ptr = &data_[position_]; in WriteSleb128()
124 uint8_t* ptr = &data_[position_]; in WriteUleb128()
165 data_ = section_->Begin(); in SyncWithSection()
173 uint8_t* data_ = nullptr; variable
/art/runtime/interpreter/
Dinterpreter_cache.h59 data_.fill(Entry{}); in InterpreterCache()
67 Entry& entry = data_[IndexOf(key)]; in Get()
77 data_[IndexOf(key)] = Entry{key, value}; in Set()
81 return data_; in GetArray()
94 std::array<Entry, kSize> data_; variable
Dinterpreter_cache.cc25 data_.fill(Entry{}); in Clear()
/art/openjdkjvmti/
Dfixed_up_dex_file.h60 return data_.data(); in Begin()
64 return data_.size(); in Size()
71 data_(std::move(data)) {} in FixedUpDexFile()
76 const std::vector<unsigned char> data_; variable
/art/libartbase/base/
Dbit_string.h44 BitStringChar() : data_(0u), bitlength_(0u) { } in BitStringChar()
48 : data_(data), bitlength_(bitlength) { in BitStringChar()
66 return data_; in StorageType()
70 return data_ == storage;
79 return data_ == other.data_;
90 DCHECK_LE(storage, MaximumValue().data_ - data_) << "Addition would overflow " << *this;
91 return BitStringChar(data_ + storage, bitlength_);
102 StorageType data_; // Unused bits (outside of bitlength) are 0.
Dhash_set.h202 data_(nullptr), in HashSet()
218 data_(nullptr), in HashSet()
232 data_(nullptr), in HashSet()
237 ElementForIndex(i) = other.data_[i]; in HashSet()
252 data_(other.data_), in HashSet()
259 other.data_ = nullptr; in HashSet()
279 data_ = const_cast<T*>(reinterpret_cast<const T*>(ptr + offset)); in HashSet()
280 offset += sizeof(*data_) * num_buckets_; in HashSet()
286 offset = ReadFromBytes(ptr, offset, &data_[i]); in HashSet()
305 offset = WriteToBytes(ptr, offset, data_[i]); in WriteToMemory()
[all …]
Dbounded_fifo.h54 data_[back_index_++ & mask_] = value; in push_back()
59 return data_[(back_index_ - size_) & mask_]; in front()
70 T data_[kMaxSize]; variable
Dtransform_iterator.h62 : data_(base, fn) { } in TransformIterator()
66 : data_(other.base(), other.GetFunction()) { in TransformIterator()
70 ++data_.base_;
85 --data_.base_;
133 return data_.base_; in base()
138 return static_cast<const Function&>(data_); in GetFunction()
150 Data data_; variable
Dbit_memory_region.h42 data_ = AlignDown(data + (bit_start >> kBitsPerByteLog2), kPageSize); in BitMemoryRegion()
43 bit_start_ = bit_start + kBitsPerByte * (data - data_); in BitMemoryRegion()
54 ALWAYS_INLINE bool IsValid() const { return data_ != nullptr; } in IsValid()
58 return data_ + bit_start_ / kBitsPerByte; in data()
92 return ((data_[index] >> shift) & 1) != 0; in LoadBit()
99 data_[index] &= ~(1 << shift); // Clear bit. in StoreBit()
100 data_[index] |= (value ? 1 : 0) << shift; // Set bit. in StoreBit()
112 DCHECK(IsAligned<sizeof(Result)>(data_)); in LoadBits()
120 Result* data = reinterpret_cast<Result*>(data_); in LoadBits()
152 data_[index] &= ~(mask << shift); // Clear bits. in StoreBits()
[all …]
Dleb128.h317 explicit Leb128Encoder(Vector* data) : data_(data) { in Leb128Encoder()
322 data_->reserve(size); in Reserve()
326 EncodeUnsignedLeb128(data_, value); in PushBackUnsigned()
337 EncodeSignedLeb128(data_, value); in PushBackSigned()
348 return *data_; in GetData()
352 Vector* const data_;
Dtransform_array_ref.h71 : data_(base, fn) { } in TransformArrayRef()
132 return data_.base_; in base()
135 return ArrayRef<const BaseType>(data_.base_); in base()
148 return static_cast<const Function&>(data_); in GetFunction()
156 Data data_; variable
Dlength_prefixed_array.h68 return RoundUp(offsetof(LengthPrefixedArray<T>, data_), alignment) + index * element_size;
90 size_t gap_offset = offsetof(LengthPrefixedArray<T>, data_);
107 uint8_t data_[0]; variable
/art/runtime/base/
Dtiming_logger.h129 std::swap(data_, other.data_); in TimingData()
132 std::swap(data_, other.data_);
136 return data_[idx].total_time; in GetTotalTime()
139 return data_[idx].exclusive_time; in GetExclusiveTime()
150 std::vector<CalculatedDataPoint> data_; variable
Dtiming_logger.cc174 ret.data_.resize(timings_.size()); in CalculateTimingData()
181 ret.data_[open_idx].exclusive_time += time; in CalculateTimingData()
182 DCHECK_EQ(ret.data_[open_idx].total_time, 0U); in CalculateTimingData()
183 ret.data_[open_idx].total_time += time; in CalculateTimingData()
190 ret.data_[open_stack.back()].exclusive_time -= time; in CalculateTimingData()
/art/tools/hiddenapi/
Dhiddenapi.cc556 data_(sizeof(uint32_t) * (num_classdefs_ + 1), 0u) { in HiddenapiClassDataBuilder()
583 data_.resize(GetOffsetArray()[idx]); in EndClassDef()
597 data_.clear(); in EndClassDef()
607 EncodeUnsignedLeb128(&data_, dex_flags); in WriteFlags()
614 return data_; in GetData()
621 CHECK(IsAligned<sizeof(uint32_t)>(data_.data())); in GetSizeField()
622 return reinterpret_cast<uint32_t*>(data_.data()); in GetSizeField()
628 uint32_t GetCurrentDataSize() const { return data_.size(); } in GetCurrentDataSize()
643 std::vector<uint8_t> data_; member in art::hiddenapi::HiddenapiClassDataBuilder
715 CHECK(!data_.empty()); in WriteTo()
[all …]
/art/dt_fd_forward/
Ddt_fd_forward.cc247 explicit ScopedEventFdLock(const android::base::unique_fd& fd) : fd_(fd), data_(0) { in ScopedEventFdLock()
248 TEMP_FAILURE_RETRY(read(fd_, &data_, sizeof(data_))); in ScopedEventFdLock()
252 TEMP_FAILURE_RETRY(write(fd_, &data_, sizeof(data_))); in ~ScopedEventFdLock()
257 uint64_t data_; member in dt_fd_forward::ScopedEventFdLock
588 : transport_(transport), pkt_(pkt), data_() {} in PacketWriter()
602 IOResult res = transport_->WriteFully(data_.data(), data_.size()); in WriteFully()
616 data_.push_back(HostToNetwork(data)); in PushByte()
621 data_.insert(data_.end(), bytes, bytes + size); in PushData()
626 std::vector<uint8_t> data_; member in dt_fd_forward::PacketWriter

12