Lines Matching refs:term
523 struct parse_events_term *term; in test__checkterms_simple() local
526 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
528 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
530 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
531 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple()
532 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
535 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
537 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
539 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
540 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
541 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
544 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
546 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG2); in test__checkterms_simple()
548 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
549 TEST_ASSERT_VAL("wrong val", term->val.num == 3); in test__checkterms_simple()
550 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
553 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
555 term->type_term == PARSE_EVENTS__TERM_TYPE_USER); in test__checkterms_simple()
557 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
558 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
559 TEST_ASSERT_VAL("wrong config", !strcmp(term->config, "umask")); in test__checkterms_simple()