Lines Matching refs:term
776 struct parse_events_term *term; in test__checkterms_simple() local
779 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
781 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
783 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
784 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple()
785 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config")); in test__checkterms_simple()
788 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
790 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
792 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
793 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
794 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config1")); in test__checkterms_simple()
797 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
799 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG2); in test__checkterms_simple()
801 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
802 TEST_ASSERT_VAL("wrong val", term->val.num == 3); in test__checkterms_simple()
803 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config2")); in test__checkterms_simple()
806 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
808 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG3); in test__checkterms_simple()
810 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
811 TEST_ASSERT_VAL("wrong val", term->val.num == 4); in test__checkterms_simple()
812 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config3")); in test__checkterms_simple()
815 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
817 term->type_term == PARSE_EVENTS__TERM_TYPE_USER); in test__checkterms_simple()
819 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
820 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
821 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "umask")); in test__checkterms_simple()
830 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
832 term->type_term == PARSE_EVENTS__TERM_TYPE_RAW); in test__checkterms_simple()
834 term->type_val == PARSE_EVENTS__TERM_TYPE_STR); in test__checkterms_simple()
835 TEST_ASSERT_VAL("wrong val", !strcmp(term->val.str, "read")); in test__checkterms_simple()
836 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "raw")); in test__checkterms_simple()
844 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
846 term->type_term == PARSE_EVENTS__TERM_TYPE_RAW); in test__checkterms_simple()
848 term->type_val == PARSE_EVENTS__TERM_TYPE_STR); in test__checkterms_simple()
849 TEST_ASSERT_VAL("wrong val", !strcmp(term->val.str, "r0xead")); in test__checkterms_simple()
850 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "raw")); in test__checkterms_simple()