Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_array_unittest.cpp17 TEST(ArrayTest, GetBooleanAt) { in TEST() argument
25 EXPECT_TRUE(arr->GetBooleanAt(0, true)); in TEST()
26 EXPECT_TRUE(arr->GetBooleanAt(0, false)); in TEST()
27 EXPECT_FALSE(arr->GetBooleanAt(1, true)); in TEST()
28 EXPECT_FALSE(arr->GetBooleanAt(1, false)); in TEST()
29 EXPECT_TRUE(arr->GetBooleanAt(2, true)); in TEST()
30 EXPECT_FALSE(arr->GetBooleanAt(2, false)); in TEST()
31 EXPECT_TRUE(arr->GetBooleanAt(3, true)); in TEST()
32 EXPECT_FALSE(arr->GetBooleanAt(3, false)); in TEST()
33 EXPECT_TRUE(arr->GetBooleanAt(99, true)); in TEST()
[all …]
Dcpdf_array.h60 bool GetBooleanAt(size_t index, bool bDefault) const;
Dcpdf_array.cpp133 bool CPDF_Array::GetBooleanAt(size_t index, bool bDefault) const { in GetBooleanAt() function in CPDF_Array
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp123 const bool bStartExtend = pArray && pArray->GetBooleanAt(0, false); in DrawAxialShading()
124 const bool bEndExtend = pArray && pArray->GetBooleanAt(1, false); in DrawAxialShading()
193 const bool bStartExtend = pArray && pArray->GetBooleanAt(0, false); in DrawRadialShading()
194 const bool bEndExtend = pArray && pArray->GetBooleanAt(1, false); in DrawRadialShading()