Lines Matching refs:term
564 struct parse_events_term *term; in test__checkterms_simple() local
567 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
569 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
571 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
572 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple()
573 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
576 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
578 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
580 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
581 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
582 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
585 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
587 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG2); in test__checkterms_simple()
589 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
590 TEST_ASSERT_VAL("wrong val", term->val.num == 3); in test__checkterms_simple()
591 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
594 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
596 term->type_term == PARSE_EVENTS__TERM_TYPE_USER); in test__checkterms_simple()
598 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
599 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
600 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "umask")); in test__checkterms_simple()