Lines Matching full:term
599 struct parse_events_term *term; in test__checkterms_simple() local
602 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
603 TEST_ASSERT_VAL("wrong type term", in test__checkterms_simple()
604 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
606 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
607 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple()
608 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
611 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
612 TEST_ASSERT_VAL("wrong type term", in test__checkterms_simple()
613 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
615 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
616 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
617 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
620 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
621 TEST_ASSERT_VAL("wrong type term", in test__checkterms_simple()
622 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG2); in test__checkterms_simple()
624 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
625 TEST_ASSERT_VAL("wrong val", term->val.num == 3); in test__checkterms_simple()
626 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
629 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
630 TEST_ASSERT_VAL("wrong type term", in test__checkterms_simple()
631 term->type_term == PARSE_EVENTS__TERM_TYPE_USER); in test__checkterms_simple()
633 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
634 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
635 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "umask")); in test__checkterms_simple()
640 * The perf_pmu__test_parse_init injects 'read' term into in test__checkterms_simple()
641 * perf_pmu_events_list, so 'read' is evaluated as read term in test__checkterms_simple()
644 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
645 TEST_ASSERT_VAL("wrong type term", in test__checkterms_simple()
646 term->type_term == PARSE_EVENTS__TERM_TYPE_USER); in test__checkterms_simple()
648 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
649 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
650 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "read")); in test__checkterms_simple()
658 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
659 TEST_ASSERT_VAL("wrong type term", in test__checkterms_simple()
660 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
662 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
663 TEST_ASSERT_VAL("wrong val", term->val.num == 0xead); in test__checkterms_simple()
664 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()