Lines Matching refs:ptr
682 static int parse_line_num(char **ptr, int *val, const char *what) in parse_line_num() argument
684 const char *start = *ptr; in parse_line_num()
687 *val = strtol(*ptr, ptr, 0); in parse_line_num()
688 if (errno || *ptr == start) { in parse_line_num()
790 char *ptr, *tmp; in parse_perf_probe_point() local
800 ptr = strpbrk(arg, ";=@+%"); in parse_perf_probe_point()
801 if (ptr && *ptr == '=') { /* Event name */ in parse_perf_probe_point()
802 *ptr = '\0'; in parse_perf_probe_point()
803 tmp = ptr + 1; in parse_perf_probe_point()
820 ptr = strpbrk(arg, ";:+@%"); in parse_perf_probe_point()
821 if (ptr) { in parse_perf_probe_point()
822 nc = *ptr; in parse_perf_probe_point()
823 *ptr++ = '\0'; in parse_perf_probe_point()
837 while (ptr) { in parse_perf_probe_point()
838 arg = ptr; in parse_perf_probe_point()
846 ptr = strpbrk(arg, ";:+@%"); in parse_perf_probe_point()
847 if (ptr) { in parse_perf_probe_point()
848 nc = *ptr; in parse_perf_probe_point()
849 *ptr++ = '\0'; in parse_perf_probe_point()