Searched refs:struct_tree (Results 1 – 4 of 4) sorted by relevance
18 ScopedFPDFStructTree 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.get())); in TEST_F()23 FPDF_StructTree_GetChildAtIndex(struct_tree.get(), -1); in TEST_F()25 element = FPDF_StructTree_GetChildAtIndex(struct_tree.get(), 1); in TEST_F()27 element = FPDF_StructTree_GetChildAtIndex(struct_tree.get(), 0); in TEST_F()84 ScopedFPDFStructTree struct_tree(FPDF_StructTree_GetForPage(page)); in TEST_F() local85 ASSERT_TRUE(struct_tree); in TEST_F()86 ASSERT_EQ(1, FPDF_StructTree_CountChildren(struct_tree.get())); in TEST_F()89 FPDF_StructTree_GetChildAtIndex(struct_tree.get(), 0); in TEST_F()[all …]
45 FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_Close() argument47 CPDFStructTreeFromFPDFStructTree(struct_tree)); in FPDF_StructTree_Close()51 FPDF_StructTree_CountChildren(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_CountChildren() argument52 CPDF_StructTree* tree = CPDFStructTreeFromFPDFStructTree(struct_tree); in FPDF_StructTree_CountChildren()61 FPDF_StructTree_GetChildAtIndex(FPDF_STRUCTTREE struct_tree, int index) { in FPDF_StructTree_GetChildAtIndex() argument62 CPDF_StructTree* tree = CPDFStructTreeFromFPDFStructTree(struct_tree); in FPDF_StructTree_GetChildAtIndex()
171 CPDF_StructTree* struct_tree) { in FPDFStructTreeFromCPDFStructTree() argument172 return reinterpret_cast<FPDF_STRUCTTREE>(struct_tree); in FPDFStructTreeFromCPDFStructTree()175 FPDF_STRUCTTREE struct_tree) { in CPDFStructTreeFromFPDFStructTree() argument176 return reinterpret_cast<CPDF_StructTree*>(struct_tree); in CPDFStructTreeFromFPDFStructTree()
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);