Home
last modified time | relevance | path

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

/art/runtime/
Dgc_map.h30 explicit NativePcOffsetToReferenceMap(const uint8_t* data) : data_(data) { in NativePcOffsetToReferenceMap()
31 CHECK(data_ != NULL); in NativePcOffsetToReferenceMap()
36 return data_[2] | (data_[3] << 8); in NumEntries()
87 return (static_cast<size_t>(data_[0]) | (static_cast<size_t>(data_[1]) << 8)) >> 3; in RegWidth()
93 return data_ + 4; in Table()
98 return data_[0] & 7; in NativeOffsetWidth()
106 const uint8_t* const data_; // The header and table data variable
Dleb128.h147 data_.reserve(size); in Reserve()
154 data_.push_back(out | 0x80); in PushBackUnsigned()
158 data_.push_back(out); in PushBackUnsigned()
172 data_.push_back(out | 0x80); in PushBackSigned()
177 data_.push_back(out); in PushBackSigned()
188 return data_; in GetData()
192 std::vector<uint8_t> data_;
/art/runtime/base/unix_file/
Dstring_file.cc50 memcpy(buf, data_.data() + offset, available_bytes); in Read()
58 data_.resize(new_length); in SetLength()
63 return data_.size(); in GetLength()
83 data_.append(bytes_past_end, '\0'); in Write()
86 data_.replace(offset, byte_count, buf, byte_count); in Write()
91 data_.assign(new_data.data(), new_data.size()); in Assign()
95 return data_; in ToStringPiece()
Dstring_file.h52 std::string data_;
/art/runtime/base/
Dhash_set.h125 HashSet() : num_elements_(0), num_buckets_(0), data_(nullptr), in HashSet()
129 HashSet(const HashSet& other) : num_elements_(0), num_buckets_(0), data_(nullptr) { in HashSet()
132 HashSet(HashSet&& other) : num_elements_(0), num_buckets_(0), data_(nullptr) { in HashSet()
139 std::swap(data_, other.data_);
151 ElementForIndex(i) = other.data_[i];
261 data_[index] = element; in InsertWithHash()
295 T& element = data_[i]; in Verify()
314 DCHECK(data_ != nullptr); in ElementForIndex()
315 return data_[index]; in ElementForIndex()
319 DCHECK(data_ != nullptr); in ElementForIndex()
[all …]
Dlogging.cc132 if (data_->severity < gMinimumLogSeverity) { in ~LogMessage()
137 if (data_->error != -1) { in ~LogMessage()
138 data_->buffer << ": " << strerror(data_->error); in ~LogMessage()
140 std::string msg(data_->buffer.str()); in ~LogMessage()
146 LogLine(*data_, msg.c_str()); in ~LogMessage()
153 LogLine(*data_, &msg[i]); in ~LogMessage()
160 if (data_->severity == FATAL) { in ~LogMessage()
Dtiming_logger.h109 std::swap(data_, other.data_); in TimingData()
112 std::swap(data_, other.data_);
116 return data_[idx].total_time; in GetTotalTime()
119 return data_[idx].exclusive_time; in GetExclusiveTime()
130 std::vector<CalculatedDataPoint> data_; variable
Dbounded_fifo.h50 data_[back_index_++ & mask_] = value; in push_back()
55 return data_[(back_index_ - size_) & mask_]; in front()
66 T data_[MaxSize]; variable
Dtiming_logger.cc168 ret.data_.resize(timings_.size()); in CalculateTimingData()
175 ret.data_[open_idx].exclusive_time += time; in CalculateTimingData()
176 DCHECK_EQ(ret.data_[open_idx].total_time, 0U); in CalculateTimingData()
177 ret.data_[open_idx].total_time += time; in CalculateTimingData()
184 ret.data_[open_stack.back()].exclusive_time -= time; in CalculateTimingData()
Dlogging.h208 : data_(new LogMessageData(file, line, severity, error)) { in LogMessage()
214 return data_->buffer; in stream()
220 const std::unique_ptr<LogMessageData> data_; variable
/art/runtime/verifier/
Ddex_gc_map.h41 explicit DexPcToReferenceMap(const uint8_t* data) : data_(data) { in DexPcToReferenceMap()
42 CHECK(data_ != NULL); in DexPcToReferenceMap()
110 return data_; in GetData()
116 const uint8_t* const data_; // The header and table data variable
/art/compiler/
Delf_writer_quick.cc72 : ElfFilePiece(offset), dbg_name_(name), data_(data), size_(size) {} in ElfFileMemoryPiece()
75 DCHECK(data_ != nullptr || size_ == 0U) << dbg_name_ << " " << size_; in DoActualWrite()
77 if (!elf_file->WriteFully(data_, size_)) { in DoActualWrite()
91 const void *data_; member in art::ElfFileMemoryPiece