Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/
Dfpdf_structtree_embeddertest.cpp18 ScopedFPDFStructTree 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.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() local
85 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 …]
Dfpdf_structtree.cpp45 FPDF_StructTree_Close(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_Close() argument
47 CPDFStructTreeFromFPDFStructTree(struct_tree)); in FPDF_StructTree_Close()
51 FPDF_StructTree_CountChildren(FPDF_STRUCTTREE struct_tree) { in FPDF_StructTree_CountChildren() argument
52 CPDF_StructTree* tree = CPDFStructTreeFromFPDFStructTree(struct_tree); in FPDF_StructTree_CountChildren()
61 FPDF_StructTree_GetChildAtIndex(FPDF_STRUCTTREE struct_tree, int index) { in FPDF_StructTree_GetChildAtIndex() argument
62 CPDF_StructTree* tree = CPDFStructTreeFromFPDFStructTree(struct_tree); in FPDF_StructTree_GetChildAtIndex()
Dcpdfsdk_helpers.h171 CPDF_StructTree* struct_tree) { in FPDFStructTreeFromCPDFStructTree() argument
172 return reinterpret_cast<FPDF_STRUCTTREE>(struct_tree); in FPDFStructTreeFromCPDFStructTree()
175 FPDF_STRUCTTREE struct_tree) { in CPDFStructTreeFromFPDFStructTree() argument
176 return reinterpret_cast<CPDF_StructTree*>(struct_tree); in CPDFStructTreeFromFPDFStructTree()
/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);