Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 25 of 32) 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.h53 : data_(dex_file, class_def_idx) {} in ClassIterator()
57 ++data_.class_def_idx_;
69 return data_;
73 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
74 return data_.class_def_idx_ == rhs.data_.class_def_idx_;
82 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
83 return data_.class_def_idx_ < rhs.data_.class_def_idx_;
99 ClassIteratorData data_;
Ddex_instruction_iterator.h69 : data_(reinterpret_cast<const uint16_t*>(inst), dex_pc) {} in DexInstructionIteratorBase()
72 return data_.Inst(); in Inst()
77 return data_.DexPc(); in DexPc()
82 return data_.Instructions(); in Instructions()
86 DexInstructionPcPair data_;
134 data_.dex_pc_ += Inst().SizeInCodeUnits();
146 return data_;
150 return &data_.Inst();
155 return data_.DexPc(); in DexPc()
186 data_.dex_pc_ += instruction_code_units;
[all …]
Dtype_lookup_table.h114 Entry() : str_offset_(0u), data_(0u) {} in Entry()
117 data_(((hash & ~GetMask(mask_bits)) | class_def_index) << mask_bits) { in Entry()
125 data_ |= next_pos_delta; in SetNextPosDelta()
141 return data_ & GetMask(mask_bits); in GetNextPosDelta()
145 return (data_ >> mask_bits) & GetMask(mask_bits); in GetClassDefIdx()
150 return static_cast<uint64_t>(data_) >> (2u * mask_bits); in GetHashBits()
160 uint32_t data_; variable
Dclass_accessor.h195 : data_(dex_file, ptr_pos, hiddenapi_ptr_pos), in DataIterator()
214 return data_;
218 return &data_;
222 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
231 DCHECK_EQ(&data_.dex_file_, &rhs.data_.dex_file_) << "Comparing different dex files.";
248 return data_.ptr_pos_; in GetDataPointer()
257 data_.NextSection(); in ReadData()
259 data_.Read(); in ReadData()
263 DataType 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.h238 data_(nullptr), in HashSet()
254 data_(nullptr), in HashSet()
259 ElementForIndex(i) = other.data_[i]; in HashSet()
274 data_(other.data_), in HashSet()
281 other.data_ = nullptr; in HashSet()
312 data_(buffer), in HashSet()
339 data_ = const_cast<T*>(reinterpret_cast<const T*>(ptr + offset)); in HashSet()
340 offset += sizeof(*data_) * num_buckets_; in HashSet()
346 offset = ReadFromBytes(ptr, offset, &data_[i]); in HashSet()
365 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_;
84 --data_.base_;
128 return data_.base_; in base()
133 return static_cast<const Function&>(data_); in GetFunction()
145 Data data_; variable
Dbit_memory_region.h43 data_ = AlignDown(data + (bit_start >> kBitsPerByteLog2), kMaxSingleLoadBytes); in BitMemoryRegion()
44 bit_start_ = bit_start + kBitsPerByte * (data - data_); in BitMemoryRegion()
55 ALWAYS_INLINE bool IsValid() const { return data_ != nullptr; } in IsValid()
59 return data_ + bit_start_ / kBitsPerByte; in data()
93 return ((data_[index] >> shift) & 1) != 0; in LoadBit()
100 data_[index] &= ~(1 << shift); // Clear bit. in StoreBit()
101 data_[index] |= (value ? 1 : 0) << shift; // Set bit. in StoreBit()
114 DCHECK(IsAligned<sizeof(Result)>(data_)); in LoadBits()
122 Result* data = reinterpret_cast<Result*>(data_); in LoadBits()
154 data_[index] &= ~(mask << shift); // Clear bits. in StoreBits()
[all …]
Dleb128.h223 explicit Leb128Encoder(Vector* data) : data_(data) { in Leb128Encoder()
228 data_->reserve(size); in Reserve()
232 EncodeUnsignedLeb128(data_, value); in PushBackUnsigned()
243 EncodeSignedLeb128(data_, value); in PushBackSigned()
254 return *data_; in GetData()
258 Vector* const data_;
Dtransform_array_ref.h65 : data_(base, fn) { } in TransformArrayRef()
126 return data_.base_; in base()
129 return ArrayRef<const BaseType>(data_.base_); in base()
142 return static_cast<const Function&>(data_); in GetFunction()
150 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
Dbit_table.h269 std::fill_n(data_, kNumColumns, kLocalNoValue); in Entry()
274 std::copy(values.begin(), values.end(), data_); in Entry()
279 return data_[column];
284 return data_[column];
288 uint32_t data_[kNumColumns];
/art/runtime/interpreter/
Dinterpreter_cache.h59 data_.fill(Entry{}); in InterpreterCache()
70 return data_; in GetArray()
81 std::array<Entry, kSize> data_; variable
Dinterpreter_cache-inl.h28 Entry& entry = data_[IndexOf(key)]; in Get()
40 data_[IndexOf(key)] = Entry{key, value}; in Set()
Dinterpreter_cache.cc27 for (Entry& entry : data_) { in Clear()
/art/runtime/
Dclass_table.h54 TableSlot() : data_(0u) {} in TableSlot()
56 TableSlot(const TableSlot& copy) : data_(copy.data_.load(std::memory_order_relaxed)) {} in TableSlot()
64 data_.store(copy.data_.load(std::memory_order_relaxed), std::memory_order_relaxed);
69 return data_.load(std::memory_order_relaxed); in Data()
75 return MaskHash(data_.load(std::memory_order_relaxed)); in Hash()
113 mutable Atomic<uint32_t> data_; variable
Dclass_table-inl.h190 const uint32_t before = data_.load(std::memory_order_relaxed); in Read()
197 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in Read()
204 const uint32_t before = data_.load(std::memory_order_relaxed); in VisitRoot()
212 data_.CompareAndSetStrongRelease(before, Encode(after_ptr, MaskHash(before))); in VisitRoot()
226 : data_(Encode(klass, MaskHash(descriptor_hash))) { in TableSlot()
231 : data_(ptr | MaskHash(descriptor_hash)) { in TableSlot()
/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
607 : transport_(transport), pkt_(pkt), data_() {} in PacketWriter()
621 IOResult res = transport_->WriteFully(data_.data(), data_.size()); in WriteFully()
635 data_.push_back(HostToNetwork(data)); in PushByte()
640 data_.insert(data_.end(), bytes, bytes + size); in PushData()
645 std::vector<uint8_t> data_; member in dt_fd_forward::PacketWriter
/art/runtime/base/
Dtiming_logger.cc169 ret.data_.resize(timings_.size()); in CalculateTimingData()
176 ret.data_[open_idx].exclusive_time += time; in CalculateTimingData()
177 DCHECK_EQ(ret.data_[open_idx].total_time, 0U); in CalculateTimingData()
178 ret.data_[open_idx].total_time += time; in CalculateTimingData()
185 ret.data_[open_stack.back()].exclusive_time -= time; in CalculateTimingData()
Dtiming_logger.h138 return data_[idx].total_time; in GetTotalTime()
141 return data_[idx].exclusive_time; in GetExclusiveTime()
152 std::vector<CalculatedDataPoint> data_; variable
/art/test/1940-ddms-ext/
Dddm_ext.cc41 DdmCallbackData(jint type, jint size, jbyte* data) : type_(type), data_(data, data + size) {} in DdmCallbackData()
43 std::vector<jbyte> data_; member
151 ScopedLocalRef<jbyteArray> res(env, env->NewByteArray(cb.data_.size())); in Java_art_Test1940_publishListen()
152 env->SetByteArrayRegion(res.get(), 0, cb.data_.size(), cb.data_.data()); in Java_art_Test1940_publishListen()
/art/tools/hiddenapi/
Dhiddenapi.cc560 data_(sizeof(uint32_t) * (num_classdefs_ + 1), 0u) { in HiddenapiClassDataBuilder()
587 data_.resize(GetOffsetArray()[idx]); in EndClassDef()
601 data_.clear(); in EndClassDef()
611 EncodeUnsignedLeb128(&data_, dex_flags); in WriteFlags()
618 return data_; in GetData()
625 CHECK(IsAligned<sizeof(uint32_t)>(data_.data())); in GetSizeField()
626 return reinterpret_cast<uint32_t*>(data_.data()); in GetSizeField()
632 uint32_t GetCurrentDataSize() const { return data_.size(); } in GetCurrentDataSize()
647 std::vector<uint8_t> data_; member in art::hiddenapi::HiddenapiClassDataBuilder
/art/adbconnection/
Dadbconnection.cc238 explicit ScopedEventFdLock(int fd) : fd_(fd), data_(0) { in ScopedEventFdLock()
239 TEMP_FAILURE_RETRY(read(fd_, &data_, sizeof(data_))); in ScopedEventFdLock()
242 ~ScopedEventFdLock() { TEMP_FAILURE_RETRY(write(fd_, &data_, sizeof(data_))); } in ~ScopedEventFdLock()
246 uint64_t data_; member in adbconnection::ScopedEventFdLock

12