Lines Matching refs:cp

140         char *cp = buf;  in parseInputFile()  local
141 if (*cp == '#') in parseInputFile()
144 if (isdigit(*cp)) { in parseInputFile()
145 int time = strtoul(cp, &cp, 0); in parseInputFile()
146 while (isspace(*cp)) in parseInputFile()
147 cp += 1; in parseInputFile()
148 int threadId = strtoul(cp, &cp, 0); in parseInputFile()
152 indentEnd = cp; in parseInputFile()
155 if (indentEnd - cp + 1 > maxFrames) in parseInputFile()
156 maxFrames = indentEnd - cp + 1; in parseInputFile()
177 char *cp = buf; in parseInputFile() local
180 if (*cp == '#') in parseInputFile()
184 if (!isdigit(*cp)) { in parseInputFile()
191 time = strtoul(cp, &cp, 0); in parseInputFile()
192 while (isspace(*cp)) in parseInputFile()
193 cp += 1; in parseInputFile()
194 threadId = strtoul(cp, &cp, 0); in parseInputFile()
195 cp += 1; in parseInputFile()
206 save_cp = cp; in parseInputFile()
207 while (isspace(*cp)) { in parseInputFile()
208 cp += 1; in parseInputFile()
210 indent = cp - save_cp + 1; in parseInputFile()
214 save_cp = cp; in parseInputFile()
215 while (*cp != '\n') in parseInputFile()
216 cp += 1; in parseInputFile()
219 cp -= 1; in parseInputFile()
220 while (isspace(*cp)) in parseInputFile()
221 cp -= 1; in parseInputFile()
222 cp += 1; in parseInputFile()
223 len = cp - save_cp; in parseInputFile()
230 cp = strchr(save_cp, '.'); in parseInputFile()
231 if (cp) { in parseInputFile()
232 len = cp - save_cp; in parseInputFile()
235 save_cp = cp + 1; in parseInputFile()
236 cp = strchr(save_cp, ' '); in parseInputFile()
237 if (cp == NULL) in parseInputFile()
238 cp = strchr(save_cp, '\n'); in parseInputFile()
239 if (cp && cp > save_cp) { in parseInputFile()
240 len = cp - save_cp; in parseInputFile()
242 save_cp = cp + 1; in parseInputFile()
243 cp = strchr(save_cp, ' '); in parseInputFile()
244 if (cp == NULL) in parseInputFile()
245 cp = strchr(save_cp, '\n'); in parseInputFile()
246 if (cp && cp > save_cp) { in parseInputFile()
247 len = cp - save_cp; in parseInputFile()