Home
last modified time | relevance | path

Searched refs:CPDF_Boolean (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_boolean.cpp12 CPDF_Boolean::CPDF_Boolean() = default;
14 CPDF_Boolean::CPDF_Boolean(bool value) : m_bValue(value) {} in CPDF_Boolean() function in CPDF_Boolean
16 CPDF_Boolean::~CPDF_Boolean() = default;
18 CPDF_Object::Type CPDF_Boolean::GetType() const { in GetType()
22 RetainPtr<CPDF_Object> CPDF_Boolean::Clone() const { in Clone()
23 return pdfium::MakeRetain<CPDF_Boolean>(m_bValue); in Clone()
26 ByteString CPDF_Boolean::GetString() const { in GetString()
30 int CPDF_Boolean::GetInteger() const { in GetInteger()
34 void CPDF_Boolean::SetString(const ByteString& str) { in SetString()
38 bool CPDF_Boolean::IsBoolean() const { in IsBoolean()
[all …]
Dcpdf_boolean.h16 class CPDF_Boolean final : public CPDF_Object {
28 CPDF_Boolean* AsBoolean() override;
29 const CPDF_Boolean* AsBoolean() const override;
34 CPDF_Boolean();
35 explicit CPDF_Boolean(bool value);
36 ~CPDF_Boolean() override;
41 inline CPDF_Boolean* ToBoolean(CPDF_Object* obj) { in ToBoolean()
45 inline const CPDF_Boolean* ToBoolean(const CPDF_Object* obj) { in ToBoolean()
Dcpdf_object.h18 class CPDF_Boolean; variable
82 virtual CPDF_Boolean* AsBoolean();
83 virtual const CPDF_Boolean* AsBoolean() const;
Dcpdf_object.cpp117 CPDF_Boolean* CPDF_Object::AsBoolean() { in AsBoolean()
121 const CPDF_Boolean* CPDF_Object::AsBoolean() const { in AsBoolean()
Dcpdf_object_walker_unittest.cpp62 EXPECT_EQ(Walk(pdfium::MakeRetain<CPDF_Boolean>().Get()), "Bool"); in TEST()
70 dict->SetFor("2", pdfium::MakeRetain<CPDF_Boolean>()); in TEST()
Dcpdf_object_unittest.cpp52 auto boolean_false_obj = pdfium::MakeRetain<CPDF_Boolean>(false); in SetUp()
53 auto boolean_true_obj = pdfium::MakeRetain<CPDF_Boolean>(true); in SetUp()
69 m_DictObj->SetNewFor<CPDF_Boolean>("bool", false); in SetUp()
456 arr->InsertNewAt<CPDF_Boolean>(i, vals[i]); in TEST()
634 arr->InsertNewAt<CPDF_Boolean>(0, true); in TEST()
635 arr->InsertNewAt<CPDF_Boolean>(1, false); in TEST()
737 auto boolean_obj = pdfium::MakeRetain<CPDF_Boolean>(true); in TEST()
Dcpdf_array_unittest.cpp18 arr->AddNew<CPDF_Boolean>(true); in TEST()
19 arr->AddNew<CPDF_Boolean>(false); in TEST()
Dcpdf_document_unittest.cpp235 dict->SetNewFor<CPDF_Boolean>("Linearized", true); in TEST_F()
Dcpdf_syntax_parser.cpp455 return pdfium::MakeRetain<CPDF_Boolean>(word == "true"); in GetObjectBodyInternal()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp276 m_pLastObj = pdfium::MakeRetain<CPDF_Boolean>(true); in ParseNextElement()
285 m_pLastObj = pdfium::MakeRetain<CPDF_Boolean>(false); in ParseNextElement()
365 return pdfium::MakeRetain<CPDF_Boolean>(false); in ReadNextObject()
367 return pdfium::MakeRetain<CPDF_Boolean>(true); in ReadNextObject()
Dcpdf_image.cpp194 pDict->SetNewFor<CPDF_Boolean>("ImageMask", true); in SetImage()
/external/pdfium/testing/fuzzers/
Dpdf_hint_table_fuzzer.cc67 linearized_dict->SetNewFor<CPDF_Boolean>("Linearized", true); in LLVMFuzzerTestOneInput()
/external/pdfium/core/fpdfdoc/
Dcpdf_annot.cpp129 m_pAnnotDict->SetNewFor<CPDF_Boolean>(kPDFiumKey_HasGeneratedAP, true); in GenerateAPIfNeeded()
Dcpvt_generateap.cpp488 pGSDict->SetNewFor<CPDF_Boolean>("AIS", false); in GenerateExtGStateDict()
/external/pdfium/fpdfsdk/
Dfpdf_annot.cpp244 pGSDict->SetNewFor<CPDF_Boolean>("AIS", false); in SetExtGStateInResourceDict()