Lines Matching refs:ptr
111 char *ptr, *pptr, *tmp; in get_last_jit_image() local
125 ptr = haystack; in get_last_jit_image()
129 ret = regexec(®ex, ptr, 1, pmatch, 0); in get_last_jit_image()
131 ptr += pmatch[0].rm_eo; in get_last_jit_image()
138 ptr = haystack + off - (pmatch[0].rm_eo - pmatch[0].rm_so); in get_last_jit_image()
139 ret = sscanf(ptr, "flen=%d proglen=%d pass=%d image=%lx", in get_last_jit_image()
144 tmp = ptr = haystack + off; in get_last_jit_image()
145 while ((ptr = strtok(tmp, "\n")) != NULL && ulen < ilen) { in get_last_jit_image()
147 if (!strstr(ptr, "JIT code")) in get_last_jit_image()
149 pptr = ptr; in get_last_jit_image()
150 while ((ptr = strstr(pptr, ":"))) in get_last_jit_image()
151 pptr = ptr + 1; in get_last_jit_image()
152 ptr = pptr; in get_last_jit_image()
155 if (ptr == pptr || ulen >= ilen) { in get_last_jit_image()
159 ptr = pptr; in get_last_jit_image()