/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_string.cpp | 18 CPDF_String::CPDF_String() = default; 20 CPDF_String::CPDF_String(WeakPtr<ByteStringPool> pPool, in CPDF_String() function in CPDF_String 28 CPDF_String::CPDF_String(WeakPtr<ByteStringPool> pPool, WideStringView str) in CPDF_String() function in CPDF_String 34 CPDF_String::~CPDF_String() = default; 36 CPDF_Object::Type CPDF_String::GetType() const { in GetType() 40 RetainPtr<CPDF_Object> CPDF_String::Clone() const { in Clone() 41 auto pRet = pdfium::MakeRetain<CPDF_String>(); in Clone() 47 ByteString CPDF_String::GetString() const { in GetString() 51 void CPDF_String::SetString(const ByteString& str) { in SetString() 55 CPDF_String* CPDF_String::AsMutableString() { in AsMutableString() [all …]
|
D | cpdf_string.h | 16 class CPDF_String final : public CPDF_Object { 26 CPDF_String* AsMutableString() override; 34 CPDF_String(); 35 CPDF_String(WeakPtr<ByteStringPool> pPool, const ByteString& str, bool bHex); 36 CPDF_String(WeakPtr<ByteStringPool> pPool, WideStringView str); 37 ~CPDF_String() override; 43 inline CPDF_String* ToString(CPDF_Object* obj) { in ToString() 47 inline const CPDF_String* ToString(const CPDF_Object* obj) { in ToString() 51 inline RetainPtr<const CPDF_String> ToString(RetainPtr<const CPDF_Object> obj) { in ToString() 52 return RetainPtr<const CPDF_String>(ToString(obj.Get())); in ToString()
|
D | cpdf_object.h | 28 class CPDF_String; variable 96 virtual CPDF_String* AsMutableString(); 130 const CPDF_String* AsString() const; 164 std::is_same<T, CPDF_String>::value;
|
D | cpdf_object_avail_unittest.cpp | 132 holder.AddObject(1, pdfium::MakeRetain<CPDF_String>(nullptr, "string", false), in TEST() 144 holder.AddObject(2, pdfium::MakeRetain<CPDF_String>(nullptr, "string", false), in TEST() 250 pdfium::MakeRetain<CPDF_String>(nullptr, "Not available string", false), in TEST() 269 3, pdfium::MakeRetain<CPDF_String>(nullptr, "Exclude me", false), in TEST() 278 pdfium::MakeRetain<CPDF_String>(nullptr, "Not available string", false), in TEST() 307 holder.AddObject(1, pdfium::MakeRetain<CPDF_String>(nullptr, "string", false), in TEST() 329 holder.AddObject(2, pdfium::MakeRetain<CPDF_String>(nullptr, "Data", false), in TEST()
|
D | cpdf_object_unittest.cpp | 63 pdfium::MakeRetain<CPDF_String>(nullptr, L"A simple test"); in SetUp() 64 auto str_spec_obj = pdfium::MakeRetain<CPDF_String>(nullptr, L"\t\n"); in SetUp() 79 m_StreamDictObj->SetNewFor<CPDF_String>("key1", L" test dict"); in SetUp() 280 m_DictObj->SetNewFor<CPDF_String>("string", "ium", false); in TEST_F() 554 string_array->InsertNewAt<CPDF_String>(i, vals[i], false); in TEST() 678 arr->InsertNewAt<CPDF_String>(6, "", false); in TEST() 679 arr->InsertNewAt<CPDF_String>(7, "It is a test!", false); in TEST() 689 dict_val->SetNewFor<CPDF_String>("key1", "Linda", false); in TEST() 690 dict_val->SetNewFor<CPDF_String>("key2", "Zoe", false); in TEST() 693 stream_dict->SetNewFor<CPDF_String>("key1", "John", false); in TEST() [all …]
|
D | fpdf_parser_utility_unittest.cpp | 45 dict->SetNewFor<CPDF_String>("Type", L"foo"); in TEST() 75 dict->SetNewFor<CPDF_String>("f3", L"foo"); in TEST() 116 dict->SetNewFor<CPDF_String>("Type", L"foo"); in TEST()
|
D | fpdf_parser_decode_unittest.cpp | 74 decoders->AppendNew<CPDF_String>("FlateEncode", false); in TEST() 94 decoders->AppendNew<CPDF_String>("AHx", false); in TEST() 115 decoders->AppendNew<CPDF_String>("RL", false); in TEST() 153 pdfium::MakeRetain<CPDF_String>(nullptr, "FlateDecode", false); in TEST() 188 dict->SetNewFor<CPDF_String>("Filter", "RL", false); in TEST()
|
D | cpdf_object.cpp | 158 CPDF_String* CPDF_Object::AsMutableString() { in AsMutableString() 162 const CPDF_String* CPDF_Object::AsString() const { in AsString()
|
D | cpdf_security_handler.cpp | 592 pEncryptDict->SetNewFor<CPDF_String>("O", ByteString(passcode, 32), false); in OnCreateInternal() 605 pEncryptDict->SetNewFor<CPDF_String>("U", ByteString(tempbuf, 32), false); in OnCreateInternal() 623 pEncryptDict->SetNewFor<CPDF_String>("U", ByteString(digest, 32), false); in OnCreateInternal() 669 pEncryptDict->SetNewFor<CPDF_String>(bOwner ? "O" : "U", in AES256_SetPassword() 688 pEncryptDict->SetNewFor<CPDF_String>(bOwner ? "OE" : "UE", in AES256_SetPassword() 720 pEncryptDict->SetNewFor<CPDF_String>("Perms", ByteString(buf1, 16), false); in AES256_SetPerms()
|
D | cpdf_object_walker_unittest.cpp | 60 EXPECT_EQ(Walk(pdfium::MakeRetain<CPDF_String>()), "Str"); in TEST() 68 dict->SetFor("1", pdfium::MakeRetain<CPDF_String>()); in TEST()
|
D | cpdf_dictionary.h | 77 RetainPtr<const CPDF_String> GetStringFor(const ByteString& key) const; 136 const CPDF_String* GetStringForInternal(const ByteString& key) const;
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_formfield_unittest.cpp | 112 opt_array->AppendNew<CPDF_String>(L"Alpha"); in TEST() 113 opt_array->AppendNew<CPDF_String>(L"Beta"); in TEST() 114 opt_array->AppendNew<CPDF_String>(L"Gamma"); in TEST() 115 opt_array->AppendNew<CPDF_String>(L"Delta"); in TEST() 116 opt_array->AppendNew<CPDF_String>(L"Epsilon"); in TEST() 129 auto values = pdfium::MakeRetain<CPDF_String>(/*pPool=*/nullptr, L"Gamma"); in TEST() 138 auto values = pdfium::MakeRetain<CPDF_String>(/*pPool=*/nullptr, L"Omega"); in TEST() 148 values->AppendNew<CPDF_String>(L"Beta"); in TEST() 158 values->AppendNew<CPDF_String>(L"Omega"); in TEST() 168 values->AppendNew<CPDF_String>(L"Beta"); in TEST() [all …]
|
D | cpdf_filespec_unittest.cpp | 76 auto str_obj = pdfium::MakeRetain<CPDF_String>(nullptr, test_data.input); in TEST() 110 dict_obj->SetNewFor<CPDF_String>(keywords[i], test_data[i].input); in TEST() 115 dict_obj->SetNewFor<CPDF_String>("FS", "URL", false); in TEST() 133 dict_obj->SetNewFor<CPDF_String>("FS", "URL", false); in TEST() 173 dict_obj->SetNewFor<CPDF_String>(keys[i], file_name); in TEST() 188 dict_obj->SetNewFor<CPDF_String>("FS", "URL", false); in TEST() 206 dict_obj->SetNewFor<CPDF_String>("UF", L"test.pdf"); in TEST()
|
D | cpdf_filespec.cpp | 100 RetainPtr<const CPDF_String> pUF = in GetFileName() 105 RetainPtr<const CPDF_String> pK = in GetFileName() 115 RetainPtr<const CPDF_String> pValue = in GetFileName() 124 } else if (const CPDF_String* pString = m_pObj->AsString()) { in GetFileName()
|
D | cpdf_nametree.cpp | 34 pLimits->SetNewAt<CPDF_String>(0, csRight.AsStringView()); in GetNodeLimitsAndSanitize() 35 pLimits->SetNewAt<CPDF_String>(1, csLeft.AsStringView()); in GetNodeLimitsAndSanitize() 122 pLimits->SetNewAt<CPDF_String>(0, csNewLeft.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 123 pLimits->SetNewAt<CPDF_String>(1, csNewRight.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 163 pLimits->SetNewAt<CPDF_String>(0, csNewLeft.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 164 pLimits->SetNewAt<CPDF_String>(1, csNewRight.AsStringView()); in UpdateNodesAndLimitsUponDeletion() 523 pFind->InsertNewAt<CPDF_String>(nNameIndex, name.AsStringView()); in AddValueAndName() 535 pLimits->SetNewAt<CPDF_String>(0, name.AsStringView()); in AddValueAndName() 538 pLimits->SetNewAt<CPDF_String>(1, name.AsStringView()); in AddValueAndName()
|
D | cpdf_nametree_unittest.cpp | 16 names->AppendNew<CPDF_String>(key, false); in AddNameKeyValue() 33 limits->AppendNew<CPDF_String>(least, false); in AddLimitsArray() 34 limits->AppendNew<CPDF_String>(greatest, false); in AddLimitsArray() 44 RetainPtr<const CPDF_String> left = limits->GetStringAt(0); in CheckLimitsArray() 46 RetainPtr<const CPDF_String> right = limits->GetStringAt(1); in CheckLimitsArray() 111 pNames->AppendNew<CPDF_String>(ByteString(kData, sizeof(kData) - 1), true); in TEST()
|
D | cpdf_bafontmap_unittest.cpp | 26 annot_dict->SetNewFor<CPDF_String>("DA", "0 0 0 rg /F1 12 Tf", in TEST_F() 54 annot_dict->SetNewFor<CPDF_String>("DA", "0 0 0 rg /F1 12 Tf", in TEST_F()
|
D | cpdf_action_unittest.cpp | 42 dict->SetNewFor<CPDF_String>("S", action_type, /*is_hex=*/false); in CreateInvalidActionDictWithType() 49 dict->SetNewFor<CPDF_String>("S", action_type, /*is_hex=*/false); in CreateInvalidActionDictWithoutType()
|
D | cpdf_formfield.h | 25 class CPDF_String; variable 148 int FindListSel(CPDF_String* str);
|
D | cpdf_annotlist.cpp | 92 pAnnotDict->SetNewFor<CPDF_String>( in CreatePopupAnnot() 95 pAnnotDict->SetNewFor<CPDF_String>(pdfium::annotation::kContents, in CreatePopupAnnot() 166 pAnnotDict->SetNewFor<CPDF_String>( in GenerateAP()
|
D | cpdf_formfield.cpp | 368 m_pDict->SetNewFor<CPDF_String>(key, csValue.AsStringView()); in SetValue() 531 m_pDict->SetNewFor<CPDF_String>(pdfium::form_fields::kV, in SetItemSelectionSelected() 540 m_pDict->SetNewFor<CPDF_String>(pdfium::form_fields::kV, in SetItemSelectionSelected() 548 pArray->AppendNew<CPDF_String>(GetOptionValue(i).AsStringView()); in SetItemSelectionSelected() 588 const CPDF_String* pString = pOption->AsString(); in GetOptionText()
|
D | cpdf_bookmark.cpp | 30 RetainPtr<const CPDF_String> pString = in GetTitle()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_attachment.cpp | 83 pFile->SetNewFor<CPDF_String>("UF", wsName.AsStringView()); in FPDFDoc_AddAttachment() 84 pFile->SetNewFor<CPDF_String>(pdfium::stream::kF, wsName.AsStringView()); in FPDFDoc_AddAttachment() 178 pParamsDict->SetNewFor<CPDF_String>(bsKey, bsValue, bEncodedAsHex); in FPDFAttachment_SetStringValue() 199 const CPDF_String* stringValue = in FPDFAttachment_GetStringValue() 204 value = pdfium::MakeRetain<CPDF_String>(nullptr, encoded, false) in FPDFAttachment_GetStringValue() 237 pParamsDict->SetNewFor<CPDF_String>( in FPDFAttachment_SetFile() 246 pParamsDict->SetNewFor<CPDF_String>( in FPDFAttachment_SetFile()
|
D | fpdf_doc_unittest.cpp | 87 bookmarks[1].obj->SetNewFor<CPDF_String>("Title", L"Chapter 1"); in TEST_F() 93 bookmarks[2].obj->SetNewFor<CPDF_String>("Title", L"Chapter 2"); in TEST_F() 131 bookmarks[1].obj->SetNewFor<CPDF_String>("Title", L"Chapter 1"); in TEST_F() 137 bookmarks[2].obj->SetNewFor<CPDF_String>("Title", L"Chapter 2"); in TEST_F() 166 bookmarks[1].obj->SetNewFor<CPDF_String>("Title", L"Chapter 1"); in TEST_F() 172 bookmarks[2].obj->SetNewFor<CPDF_String>("Title", L"Chapter 2"); in TEST_F() 178 bookmarks[3].obj->SetNewFor<CPDF_String>("Title", L"Chapter 3"); in TEST_F()
|
D | fpdf_save.cpp | 123 pArray->InsertNewAt<CPDF_String>(iLast, "datasets", false); in SaveXFADocumentData() 143 pArray->InsertNewAt<CPDF_String>(iLast, "form", false); in SaveXFADocumentData()
|