Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 25 of 36) 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_;
Doat_quick_method_header.h68 DCHECK_NE(data_, 0u) << std::hex << code; // Probably a padding of native code. in IsOptimized()
69 DCHECK_NE(data_, 0xFFFFFFFF) << std::hex << code; // Probably a stub or trampoline. in IsOptimized()
70 return (data_ & kIsCodeInfoMask) != 0; in IsOptimized()
92 : (data_ & kCodeSizeMask); in GetCodeSize()
97 return data_ & kCodeInfoMask; in GetCodeInfoOffset()
101 data_ = kIsCodeInfoMask | offset; in SetCodeInfoOffset()
153 data_ |= kShouldDeoptimizeMask; in SetHasShouldDeoptimizeFlag()
157 return (data_ & kShouldDeoptimizeMask) != 0; in HasShouldDeoptimizeFlag()
166 uint32_t data_ = 0u; // Combination of fields using the above masks. variable
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
Dclass_table-inl.h137 const uint32_t before = data_.load(std::memory_order_relaxed); in Read()
144 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in Read()
151 const uint32_t before = data_.load(std::memory_order_relaxed); in VisitRoot()
159 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in VisitRoot()
173 : data_(Encode(klass, MaskHash(descriptor_hash))) { in TableSlot()
/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/libartbase/base/
Darena_bit_vector.h67 explicit ArenaBitVectorArray(ArenaBitVector&& bv) : BaseBitVectorArray(), data_(std::move(bv)) {} in ArenaBitVectorArray()
69 : BaseBitVectorArray(BaseBitVectorArray::MaxRowsFor(bv, cols), cols), data_(std::move(bv)) {} in ArenaBitVectorArray()
77 data_(ArenaBitVector(allocator, in BaseBitVectorArray()
88 data_(ArenaBitVector(allocator, in BaseBitVectorArray()
96 return data_; in GetRawData()
100 return data_; in GetRawData()
104 ArenaBitVector data_;
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.
Dbit_vector.h387 explicit BitVectorArray(BitVector&& bv) : BaseBitVectorArray(), data_(std::move(bv)) {} in BitVectorArray()
389 : BaseBitVectorArray(BaseBitVectorArray::MaxRowsFor(bv, cols), cols), data_(std::move(bv)) {} in BitVectorArray()
391 : BaseBitVectorArray(rows, cols), data_(std::move(bv)) {} in BitVectorArray()
395 data_(BaseBitVectorArray::RequiredBitVectorSize(start_rows, start_cols), in BitVectorArray()
401 data_(src.GetRawData(), expandable, allocator) {} in BitVectorArray()
406 return data_; in GetRawData()
410 return data_; in GetRawData()
414 BitVector data_;
423 explicit BitVectorArrayWrapper(BitVector* bv) : BaseBitVectorArray(), data_(bv) {} in BitVectorArrayWrapper()
425 : BaseBitVectorArray(BaseBitVectorArray::MaxRowsFor(*bv, cols), cols), data_(bv) {} in BitVectorArrayWrapper()
[all …]
Dhash_set.h230 data_(nullptr), in HashSet()
246 data_(nullptr), in HashSet()
251 ElementForIndex(i) = other.data_[i]; in HashSet()
266 data_(other.data_), in HashSet()
273 other.data_ = nullptr; in HashSet()
294 data_(buffer), in HashSet()
321 data_ = const_cast<T*>(reinterpret_cast<const T*>(ptr + offset)); in HashSet()
322 offset += sizeof(*data_) * num_buckets_; in HashSet()
328 offset = ReadFromBytes(ptr, offset, &data_[i]); in HashSet()
347 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
/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
/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/runtime/base/
Dtiming_logger.h136 std::swap(data_, other.data_); in TimingData()
139 std::swap(data_, other.data_);
143 return data_[idx].total_time; in GetTotalTime()
146 return data_[idx].exclusive_time; in GetExclusiveTime()
157 std::vector<CalculatedDataPoint> data_; variable
/art/tools/hiddenapi/
Dhiddenapi.cc579 data_(sizeof(uint32_t) * (num_classdefs_ + 1), 0u) { in HiddenapiClassDataBuilder()
606 data_.resize(GetOffsetArray()[idx]); in EndClassDef()
620 data_.clear(); in EndClassDef()
630 EncodeUnsignedLeb128(&data_, dex_flags); in WriteFlags()
637 return data_; in GetData()
644 CHECK(IsAligned<sizeof(uint32_t)>(data_.data())); in GetSizeField()
645 return reinterpret_cast<uint32_t*>(data_.data()); in GetSizeField()
651 uint32_t GetCurrentDataSize() const { return data_.size(); } in GetCurrentDataSize()
666 std::vector<uint8_t> data_; member in art::hiddenapi::HiddenapiClassDataBuilder
738 CHECK(!data_.empty()); in WriteTo()
[all …]
/art/dt_fd_forward/
Ddt_fd_forward.cc249 explicit ScopedEventFdLock(const android::base::unique_fd& fd) : fd_(fd), data_(0) { in ScopedEventFdLock()
250 TEMP_FAILURE_RETRY(read(fd_, &data_, sizeof(data_))); in ScopedEventFdLock()
254 TEMP_FAILURE_RETRY(write(fd_, &data_, sizeof(data_))); in ~ScopedEventFdLock()
259 uint64_t data_; member in dt_fd_forward::ScopedEventFdLock
597 : transport_(transport), pkt_(pkt), data_() {} in PacketWriter()
611 IOResult res = transport_->WriteFully(data_.data(), data_.size()); in WriteFully()
625 data_.push_back(HostToNetwork(data)); in PushByte()
630 data_.insert(data_.end(), bytes, bytes + size); in PushData()
635 std::vector<uint8_t> data_; member in dt_fd_forward::PacketWriter

12