Home
last modified time | relevance | path

Searched refs:ptr_current_ (Results 1 – 2 of 2) sorted by relevance

/art/libprofile/profile/
Dprofile_compilation_info.cc955 if (ptr_current_ + sizeof(T) > ptr_end_) { in ReadUintAndAdvance()
960 *value += ptr_current_[i] << (i * kBitsPerByte); in ReadUintAndAdvance()
962 ptr_current_ += sizeof(T); in ReadUintAndAdvance()
967 if (ptr_current_ + data_size > ptr_end_) { in CompareAndAdvance()
970 if (memcmp(ptr_current_, data, data_size) == 0) { in CompareAndAdvance()
971 ptr_current_ += data_size; in CompareAndAdvance()
981 size_t byte_count = (ptr_end_ - ptr_current_) * sizeof(*ptr_current_); in Fill()
982 uint8_t* buffer = ptr_current_; in Fill()
987 return (ptr_end_ - ptr_current_) * sizeof(*ptr_current_); in CountUnreadBytes()
991 return ptr_current_; in GetCurrentPtr()
[all …]
Dprofile_compilation_info.h726 ptr_current_ = storage_.get(); in SafeBuffer()
727 ptr_end_ = ptr_current_ + size; in SafeBuffer()
758 uint8_t* ptr_current_; member