Searched refs:logical_end (Results 1 – 2 of 2) sorted by relevance
42 char* logical_end; member in TextSlice52 t->logical_end = t->begin(); in allocate()67 return logical_end; in end()71 return logical_end - (char*)(this + 1); in size()75 return physical_end - logical_end; in avail()79 memcpy(logical_end, first, last - first); in append()80 logical_end += last - first; in append()84 logical_end = p; in set_end()
72 char* logical_end;80 t->logical_end = t->begin();91 char* end() {return logical_end;}93 size_t size() const {return logical_end-(char*)(this+1);}95 size_t avail() const {return physical_end-logical_end;}98 memcpy( logical_end, first, last-first );99 logical_end += last-first;102 void set_end( char* p ) {logical_end=p;}