Home
last modified time | relevance | path

Searched refs:struct_tree (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdf_structtree_embeddertest.cpp18 FPDF_STRUCTTREE struct_tree = FPDF_StructTree_GetForPage(page); in TEST_F() local
19 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() local
83 ASSERT_TRUE(struct_tree); in TEST_F()
84 ASSERT_EQ(1, FPDF_StructTree_CountChildren(struct_tree)); in TEST_F()
[all …]
Dfpdf_structtree.cpp17 CPDF_StructTree* ToStructTree(FPDF_STRUCTTREE struct_tree) { in ToStructTree() argument
18 return static_cast<CPDF_StructTree*>(struct_tree); in ToStructTree()
51 FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_Close() argument
52 std::unique_ptr<CPDF_StructTree>(ToStructTree(struct_tree)); in FPDF_StructTree_Close()
56 FPDF_StructTree_CountChildren(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_CountChildren() argument
57 CPDF_StructTree* tree = ToStructTree(struct_tree); in FPDF_StructTree_CountChildren()
66 FPDF_StructTree_GetChildAtIndex(FPDF_STRUCTTREE struct_tree, int index) { in FPDF_StructTree_GetChildAtIndex() argument
67 CPDF_StructTree* tree = ToStructTree(struct_tree); in FPDF_StructTree_GetChildAtIndex()
/external/pdfium/public/
Dfpdf_structtree.h35 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);