Searched refs:ptr_current_ (Results 1 – 2 of 2) sorted by relevance
892 if (ptr_current_ + sizeof(T) > ptr_end_) { in ReadUintAndAdvance()897 *value += ptr_current_[i] << (i * kBitsPerByte); in ReadUintAndAdvance()899 ptr_current_ += sizeof(T); in ReadUintAndAdvance()904 if (ptr_current_ + data_size > ptr_end_) { in CompareAndAdvance()907 if (memcmp(ptr_current_, data, data_size) == 0) { in CompareAndAdvance()908 ptr_current_ += data_size; in CompareAndAdvance()918 size_t byte_count = (ptr_end_ - ptr_current_) * sizeof(*ptr_current_); in Fill()919 uint8_t* buffer = ptr_current_; in Fill()924 return (ptr_end_ - ptr_current_) * sizeof(*ptr_current_); in CountUnreadBytes()928 return ptr_current_; in GetCurrentPtr()[all …]
677 ptr_current_ = storage_.get(); in SafeBuffer()678 ptr_end_ = ptr_current_ + size; in SafeBuffer()709 uint8_t* ptr_current_; member