Searched refs:struct_tree (Results 1 – 3 of 3) sorted by relevance
18 FPDF_STRUCTTREE struct_tree = FPDF_StructTree_GetForPage(page); in TEST_F() local19 ASSERT_TRUE(struct_tree); in TEST_F()20 ASSERT_EQ(1, FPDF_StructTree_CountChildren(struct_tree)); in TEST_F()22 FPDF_STRUCTELEMENT element = FPDF_StructTree_GetChildAtIndex(struct_tree, -1); in TEST_F()24 element = FPDF_StructTree_GetChildAtIndex(struct_tree, 1); in TEST_F()26 element = FPDF_StructTree_GetChildAtIndex(struct_tree, 0); in TEST_F()73 FPDF_StructTree_Close(struct_tree); in TEST_F()82 FPDF_STRUCTTREE struct_tree = FPDF_StructTree_GetForPage(page); in TEST_F() local83 ASSERT_TRUE(struct_tree); in TEST_F()84 ASSERT_EQ(1, FPDF_StructTree_CountChildren(struct_tree)); in TEST_F()[all …]
17 CPDF_StructTree* ToStructTree(FPDF_STRUCTTREE struct_tree) { in ToStructTree() argument18 return static_cast<CPDF_StructTree*>(struct_tree); in ToStructTree()51 FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_Close() argument52 std::unique_ptr<CPDF_StructTree>(ToStructTree(struct_tree)); in FPDF_StructTree_Close()56 FPDF_StructTree_CountChildren(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_CountChildren() argument57 CPDF_StructTree* tree = ToStructTree(struct_tree); in FPDF_StructTree_CountChildren()66 FPDF_StructTree_GetChildAtIndex(FPDF_STRUCTTREE struct_tree, int index) { in FPDF_StructTree_GetChildAtIndex() argument67 CPDF_StructTree* tree = ToStructTree(struct_tree); in FPDF_StructTree_GetChildAtIndex()
35 FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree);45 FPDF_StructTree_CountChildren(FPDF_STRUCTTREE struct_tree);56 FPDF_StructTree_GetChildAtIndex(FPDF_STRUCTTREE struct_tree, int index);