Lines Matching refs:term

785 	struct parse_events_term *term;  in test__checkterms_simple()  local
788 term = list_entry(terms->terms.next, struct parse_events_term, list); in test__checkterms_simple()
790 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); 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 == 10); in test__checkterms_simple()
794 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config")); 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_CONFIG1); 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 == 1); in test__checkterms_simple()
803 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config1")); 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_CONFIG2); 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 == 3); in test__checkterms_simple()
812 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config2")); 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_CONFIG3); 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 == 4); in test__checkterms_simple()
821 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "config3")); in test__checkterms_simple()
824 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
826 term->type_term == PARSE_EVENTS__TERM_TYPE_USER); in test__checkterms_simple()
828 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
829 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
830 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "umask")); in test__checkterms_simple()
839 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
841 term->type_term == PARSE_EVENTS__TERM_TYPE_RAW); in test__checkterms_simple()
843 term->type_val == PARSE_EVENTS__TERM_TYPE_STR); in test__checkterms_simple()
844 TEST_ASSERT_VAL("wrong val", !strcmp(term->val.str, "read")); in test__checkterms_simple()
845 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "raw")); in test__checkterms_simple()
853 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
855 term->type_term == PARSE_EVENTS__TERM_TYPE_RAW); in test__checkterms_simple()
857 term->type_val == PARSE_EVENTS__TERM_TYPE_STR); in test__checkterms_simple()
858 TEST_ASSERT_VAL("wrong val", !strcmp(term->val.str, "r0xead")); in test__checkterms_simple()
859 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "raw")); in test__checkterms_simple()