Lines Matching refs:cp
129 char* cp = buf; in parseInputFile() local
130 if (*cp == '#') continue; in parseInputFile()
132 if (isdigit(*cp)) { in parseInputFile()
133 while (isspace(*cp)) cp += 1; in parseInputFile()
134 int32_t threadId = strtoul(cp, &cp, 0); in parseInputFile()
137 indentEnd = cp; in parseInputFile()
139 if (indentEnd - cp + 1 > maxFrames) maxFrames = indentEnd - cp + 1; in parseInputFile()
166 char* cp = buf; in parseInputFile() local
169 if (*cp == '#') continue; in parseInputFile()
172 if (!isdigit(*cp)) { in parseInputFile()
179 time = strtoul(cp, &cp, 0); in parseInputFile()
180 while (isspace(*cp)) cp += 1; in parseInputFile()
181 threadId = strtoul(cp, &cp, 0); in parseInputFile()
182 cp += 1; in parseInputFile()
192 save_cp = cp; in parseInputFile()
193 while (isspace(*cp)) { in parseInputFile()
194 cp += 1; in parseInputFile()
196 indent = cp - save_cp + 1; in parseInputFile()
200 save_cp = cp; in parseInputFile()
201 while (*cp != '\n') cp += 1; in parseInputFile()
204 cp -= 1; in parseInputFile()
205 while (isspace(*cp)) cp -= 1; in parseInputFile()
206 cp += 1; in parseInputFile()
207 len = cp - save_cp; in parseInputFile()
214 cp = strchr(save_cp, '.'); in parseInputFile()
215 if (cp) { in parseInputFile()
216 len = cp - save_cp; in parseInputFile()
218 save_cp = cp + 1; in parseInputFile()
219 cp = strchr(save_cp, ' '); in parseInputFile()
220 if (cp == nullptr) cp = strchr(save_cp, '\n'); in parseInputFile()
221 if (cp && cp > save_cp) { in parseInputFile()
222 len = cp - save_cp; in parseInputFile()
224 save_cp = cp + 1; in parseInputFile()
225 cp = strchr(save_cp, ' '); in parseInputFile()
226 if (cp == nullptr) cp = strchr(save_cp, '\n'); in parseInputFile()
227 if (cp && cp > save_cp) { in parseInputFile()
228 len = cp - save_cp; in parseInputFile()