Lines Matching refs:ptr
45 : stream(stream), format(format.c_str()), ptr(format.c_str()), cont(false)
54 : stream(stream), format(format), ptr(format), cont(false)
73 while (*ptr) {
74 switch (*ptr) {
76 if (ptr[1] != '%') {
81 ptr += 2;
86 ++ptr;
89 ++ptr;
90 if (*ptr != '\n')
95 len = strcspn(ptr, "%\n\r\0");
96 stream.write(ptr, len);
97 ptr += len;
115 ++ptr;
116 if (*ptr >= '0' && *ptr <= '9') {
122 switch (*ptr) {
233 number = number * 10 + (*ptr - '0');
276 ++ptr;
284 while (*ptr) {
285 switch (*ptr) {
287 if (ptr[1] != '%')
291 ptr += 2;
296 ++ptr;
299 ++ptr;
300 if (*ptr != '\n')
305 len = strcspn(ptr, "%\n\r\0");
306 stream.write(ptr, len);
307 ptr += len;