Lines Matching refs:ptr
162 char *ptr, *pptr, *tmp; in get_last_jit_image() local
176 ptr = haystack; in get_last_jit_image()
180 ret = regexec(®ex, ptr, 1, pmatch, 0); in get_last_jit_image()
182 ptr += pmatch[0].rm_eo; in get_last_jit_image()
189 ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); in get_last_jit_image()
190 ret = sscanf(ptr, "flen=%d proglen=%d pass=%d image=%lx", in get_last_jit_image()
197 tmp = ptr = haystack + off; in get_last_jit_image()
198 while ((ptr = strtok(tmp, "\n")) != NULL && ulen < ilen) { in get_last_jit_image()
200 if (!strstr(ptr, "JIT code")) in get_last_jit_image()
202 pptr = ptr; in get_last_jit_image()
203 while ((ptr = strstr(pptr, ":"))) in get_last_jit_image()
204 pptr = ptr + 1; in get_last_jit_image()
205 ptr = pptr; in get_last_jit_image()
208 if (ptr == pptr || ulen >= ilen) { in get_last_jit_image()
212 ptr = pptr; in get_last_jit_image()