Lines Matching refs:Ptr
23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) {
29 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) {
31 switch (*Ptr) {
47 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) {
51 if (Ptr <= Scanned && Scanned <= Ptr + Size)
54 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr));
56 UpdatePosition(Position, Ptr, Size);
59 Scanned = Ptr + Size;
75 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) {
77 ComputePosition(Ptr, Size);
81 TheStream->write(Ptr, Size);