Lines Matching refs:tok
595 char *tok = bf, *sep, *end; in strarray__strtoul_flags() local
602 sep = memchr(tok, '|', size); in strarray__strtoul_flags()
604 size -= sep - tok + 1; in strarray__strtoul_flags()
607 while (end > tok && isspace(*end)) in strarray__strtoul_flags()
610 toklen = end - tok + 1; in strarray__strtoul_flags()
613 while (isspace(*tok)) in strarray__strtoul_flags()
614 ++tok; in strarray__strtoul_flags()
616 if (isalpha(*tok) || *tok == '_') { in strarray__strtoul_flags()
617 if (!strarray__strtoul(sa, tok, toklen, &val)) in strarray__strtoul_flags()
620 bool is_hexa = tok[0] == 0 && (tok[1] = 'x' || tok[1] == 'X'); in strarray__strtoul_flags()
622 val = strtoul(tok, NULL, is_hexa ? 16 : 0); in strarray__strtoul_flags()
629 tok = sep + 1; in strarray__strtoul_flags()
3780 char *tok, *left = evsel->filter, *new_filter = evsel->filter; local
3782 while ((tok = strpbrk(left, "=<>!")) != NULL) {
3783 char *right = tok + 1, *right_end;
3795 if (++left == tok) {
3809 int left_size = tok - left,
3826 arg, (int)(right - tok), tok, right_size, right);