/art/libelffile/dwarf/ |
D | writer.h | 40 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/ |
D | class_iterator.h | 53 : 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_;
|
D | dex_instruction_iterator.h | 69 : 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 …]
|
D | type_lookup_table.h | 114 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
|
D | class_accessor.h | 195 : 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/ |
D | bit_string.h | 44 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.
|
D | hash_set.h | 238 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 …]
|
D | bounded_fifo.h | 54 data_[back_index_++ & mask_] = value; in push_back() 59 return data_[(back_index_ - size_) & mask_]; in front() 70 T data_[kMaxSize]; variable
|
D | transform_iterator.h | 62 : 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
|
D | bit_memory_region.h | 43 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 …]
|
D | leb128.h | 223 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_;
|
D | transform_array_ref.h | 65 : 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
|
D | length_prefixed_array.h | 68 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
|
D | bit_table.h | 269 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/ |
D | interpreter_cache.h | 59 data_.fill(Entry{}); in InterpreterCache() 70 return data_; in GetArray() 81 std::array<Entry, kSize> data_; variable
|
D | interpreter_cache-inl.h | 28 Entry& entry = data_[IndexOf(key)]; in Get() 40 data_[IndexOf(key)] = Entry{key, value}; in Set()
|
D | interpreter_cache.cc | 27 for (Entry& entry : data_) { in Clear()
|
/art/runtime/ |
D | class_table.h | 54 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
|
D | class_table-inl.h | 190 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/ |
D | dt_fd_forward.cc | 249 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/ |
D | timing_logger.cc | 169 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()
|
D | timing_logger.h | 138 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/ |
D | ddm_ext.cc | 41 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/ |
D | hiddenapi.cc | 560 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/ |
D | adbconnection.cc | 238 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
|