Lines Matching refs:hierarchy_desc

537 static void CreateClassHierarchy(const std::vector<int>& hierarchy_desc) {  in CreateClassHierarchy()  argument
541 int n = static_cast<int>(hierarchy_desc.size()); in CreateClassHierarchy()
552 int fields_count = hierarchy_desc[cur_class]; in CreateClassHierarchy()
581 static void TestClassHierarchy(const std::vector<int>& hierarchy_desc, int n) { in TestClassHierarchy() argument
585 int fields_count_at_current_level = hierarchy_desc[cur_class]; in TestClassHierarchy()
625 static void TestSubclassChain(const std::vector<int>& hierarchy_desc) { in TestSubclassChain() argument
632 CreateClassHierarchy(hierarchy_desc); in TestSubclassChain()
633 TestClassHierarchy(hierarchy_desc, static_cast<int>(hierarchy_desc.size())); in TestSubclassChain()
638 std::vector<int> hierarchy_desc; in TEST() local
640 hierarchy_desc.push_back(i * 10); in TEST()
642 TestSubclassChain(hierarchy_desc); in TEST()
647 std::vector<int> hierarchy_desc; in TEST() local
648 hierarchy_desc.push_back(10); in TEST()
650 hierarchy_desc.push_back(0); in TEST()
652 hierarchy_desc.push_back(230); in TEST()
653 TestSubclassChain(hierarchy_desc); in TEST()
658 std::vector<int> hierarchy_desc; in TEST() local
660 hierarchy_desc.push_back(5); in TEST()
662 TestSubclassChain(hierarchy_desc); in TEST()
673 std::vector<int> hierarchy_desc; in TEST() local
676 hierarchy_desc.push_back(50); in TEST()
679 hierarchy_desc.push_back(100); in TEST()
681 CreateClassHierarchy(hierarchy_desc); in TEST()
721 TestClassHierarchy(hierarchy_desc, kNoOverflowCount); in TEST()
732 std::vector<int> hierarchy_desc; in TEST() local
735 hierarchy_desc.push_back(50); in TEST()
738 hierarchy_desc.push_back(1000); in TEST()
740 CreateClassHierarchy(hierarchy_desc); in TEST()
781 TestClassHierarchy(hierarchy_desc, kNoOverflowCount); in TEST()