Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_boolean.cpp11 CPDF_Boolean::CPDF_Boolean() : m_bValue(false) {} in CPDF_Boolean() function in CPDF_Boolean
13 CPDF_Boolean::CPDF_Boolean(bool value) : m_bValue(value) {} in CPDF_Boolean() function in CPDF_Boolean
15 CPDF_Boolean::~CPDF_Boolean() {} in ~CPDF_Boolean()
17 CPDF_Object::Type CPDF_Boolean::GetType() const { in GetType()
21 std::unique_ptr<CPDF_Object> CPDF_Boolean::Clone() const { in Clone()
22 return pdfium::MakeUnique<CPDF_Boolean>(m_bValue); in Clone()
25 ByteString CPDF_Boolean::GetString() const { in GetString()
29 int CPDF_Boolean::GetInteger() const { in GetInteger()
33 void CPDF_Boolean::SetString(const ByteString& str) { in SetString()
37 bool CPDF_Boolean::IsBoolean() const { in IsBoolean()
[all …]
Dcpdf_boolean.h16 class CPDF_Boolean : public CPDF_Object {
18 CPDF_Boolean();
19 explicit CPDF_Boolean(bool value);
20 ~CPDF_Boolean() override;
29 CPDF_Boolean* AsBoolean() override;
30 const CPDF_Boolean* AsBoolean() const override;
37 inline CPDF_Boolean* ToBoolean(CPDF_Object* obj) { in ToBoolean()
41 inline const CPDF_Boolean* ToBoolean(const CPDF_Object* obj) { in ToBoolean()
Dcpdf_object.h18 class CPDF_Boolean; variable
80 virtual CPDF_Boolean* AsBoolean();
81 virtual const CPDF_Boolean* AsBoolean() const;
Dcpdf_object.cpp110 CPDF_Boolean* CPDF_Object::AsBoolean() { in AsBoolean()
114 const CPDF_Boolean* CPDF_Object::AsBoolean() const { in AsBoolean()
Dcpdf_object_unittest.cpp49 CPDF_Boolean* boolean_false_obj = new CPDF_Boolean(false); in SetUp()
50 CPDF_Boolean* boolean_true_obj = new CPDF_Boolean(true); in SetUp()
65 m_DictObj->SetNewFor<CPDF_Boolean>("bool", false); in SetUp()
437 arr->InsertNewAt<CPDF_Boolean>(i, vals[i]); in TEST()
615 arr->InsertNewAt<CPDF_Boolean>(0, true); in TEST()
616 arr->InsertNewAt<CPDF_Boolean>(1, false); in TEST()
719 CPDF_Boolean* boolean_obj = new CPDF_Boolean(true); in TEST()
Dcpdf_object_walker_unittest.cpp62 EXPECT_EQ(Walk(pdfium::MakeUnique<CPDF_Boolean>().get()), "Bool"); in TEST()
70 dict->SetFor("2", pdfium::MakeUnique<CPDF_Boolean>()); in TEST()
Dcpdf_document_unittest.cpp229 dict->SetNewFor<CPDF_Boolean>("Linearized", true); in TEST_F()
Dcpdf_syntax_parser.cpp395 return pdfium::MakeUnique<CPDF_Boolean>(word == "true"); in GetObjectBodyInternal()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp286 m_pLastObj = pdfium::MakeUnique<CPDF_Boolean>(true); in ParseNextElement()
295 m_pLastObj = pdfium::MakeUnique<CPDF_Boolean>(false); in ParseNextElement()
375 return pdfium::MakeUnique<CPDF_Boolean>(false); in ReadNextObject()
379 return pdfium::MakeUnique<CPDF_Boolean>(true); in ReadNextObject()
Dcpdf_image.cpp197 pDict->SetNewFor<CPDF_Boolean>("ImageMask", true); in SetImage()
/external/pdfium/testing/libfuzzer/
Dpdf_hint_table_fuzzer.cc66 linearized_dict->SetNewFor<CPDF_Boolean>("Linearized", true); in LLVMFuzzerTestOneInput()
/external/pdfium/core/fpdfdoc/
Dcpdf_annot.cpp132 m_pAnnotDict->SetNewFor<CPDF_Boolean>(kPDFiumKey_HasGeneratedAP, true); in GenerateAPIfNeeded()
Dcpvt_generateap.cpp477 pGSDict->SetNewFor<CPDF_Boolean>("AIS", false); in GenerateExtGStateDict()