Home
last modified time | relevance | path

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

/art/libprofile/profile/
Dprofile_compilation_info.cc908 if (ptr_current_ + sizeof(T) > ptr_end_) { in ReadUintAndAdvance()
913 *value += ptr_current_[i] << (i * kBitsPerByte); in ReadUintAndAdvance()
915 ptr_current_ += sizeof(T); in ReadUintAndAdvance()
920 if (ptr_current_ + data_size > ptr_end_) { in CompareAndAdvance()
923 if (memcmp(ptr_current_, data, data_size) == 0) { in CompareAndAdvance()
924 ptr_current_ += data_size; in CompareAndAdvance()
934 size_t byte_count = (ptr_end_ - ptr_current_) * sizeof(*ptr_current_); in Fill()
935 uint8_t* buffer = ptr_current_; in Fill()
940 return (ptr_end_ - ptr_current_) * sizeof(*ptr_current_); in CountUnreadBytes()
944 return ptr_current_; in GetCurrentPtr()
[all …]
Dprofile_compilation_info.h805 ptr_current_ = storage_.get(); in SafeBuffer()
806 ptr_end_ = ptr_current_ + size; in SafeBuffer()
837 uint8_t* ptr_current_; member