Lines Matching refs:p
115 char* p = buf; in to_unix() local
117 while (*p) { in to_unix()
118 if (p[0] == '\r' && p[1] == '\n') { in to_unix()
121 p += 2; in to_unix()
124 else if (p[0] == '\r') { in to_unix()
127 p += 1; in to_unix()
131 *q = *p; in to_unix()
132 p += 1; in to_unix()
142 const char* p = buf; in unix_to_dos() local
144 while (*p) { in unix_to_dos()
145 if (*p == '\n') { in unix_to_dos()
149 p += 1; in unix_to_dos()
151 *q = *p; in unix_to_dos()
152 p += 1; in unix_to_dos()