Lines Matching full:tok1
376 char * tmp, * ptr, * tok1, * tok2 = NULL;
392 && (tok1 = strtok_r(ptr, ",", &tok2)) != NULL) {
394 if ((ptr = strstr(tok1, ":")) != NULL) {
400 event = find_event_by_name(tok1, 0, 0);
424 ibs_vc[ibs_selected_size].name = tok1;
441 char * tmp, * tok1, * tok2 = NULL, *end = NULL;
446 tok1 = strtok_r(tmp, ":", &tok2);
447 *count = strtoul(tok1, &end, 10);
524 char * tmp, * ptr, * tok1, * tok2 = NULL;
540 tok1 = strtok_r(ptr, "|", &tok2);
542 while (tok1 != NULL) {
544 if (!strncmp("fetch:", tok1, strlen("fetch:"))) {
546 tok1 = tok1 + strlen("fetch:");
547 if (ibs_parse_and_set_events(tok1) == -1)
551 while (tok1) {
552 if (*tok1 == '\0')
554 if (*tok1 != ':') {
555 tok1++;
557 tok1++;
562 if (ibs_parse_counts(tok1, &ibs_fetch_count) == -1)
566 while (tok1) {
567 if (*tok1 == '\0')
569 if (*tok1 != ':') {
570 tok1++;
572 tok1++;
577 if (ibs_parse_and_set_um_fetch(tok1) == -1)
580 } else if (!strncmp("op:", tok1, strlen("op:"))) {
582 tok1 = tok1 + strlen("op:");
583 if (ibs_parse_and_set_events(tok1) == -1)
587 while (tok1) {
588 if (*tok1 == '\0')
590 if (*tok1 != ':') {
591 tok1++;
593 tok1++;
598 if (ibs_parse_counts(tok1, &ibs_op_count) == -1)
602 while (tok1) {
603 if (*tok1 == '\0')
605 if (*tok1 != ':') {
606 tok1++;
608 tok1++;
613 if (ibs_parse_and_set_um_op(tok1, &ibs_op_um))
619 tok1 = strtok_r(NULL, "|", &tok2);