/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_string.cpp | 17 CPDF_String::CPDF_String() = default; 19 CPDF_String::CPDF_String(WeakPtr<ByteStringPool> pPool, in CPDF_String() function in CPDF_String 27 CPDF_String::CPDF_String(WeakPtr<ByteStringPool> pPool, const WideString& str) in CPDF_String() function in CPDF_String 33 CPDF_String::~CPDF_String() = default; 35 CPDF_Object::Type CPDF_String::GetType() const { in GetType() 39 RetainPtr<CPDF_Object> CPDF_String::Clone() const { in Clone() 40 auto pRet = pdfium::MakeRetain<CPDF_String>(); in Clone() 46 ByteString CPDF_String::GetString() const { in GetString() 50 void CPDF_String::SetString(const ByteString& str) { in SetString() 54 bool CPDF_String::IsString() const { in IsString() [all …]
|
D | cpdf_string.h | 18 class CPDF_String final : public CPDF_Object { 30 CPDF_String* AsString() override; 31 const CPDF_String* AsString() const override; 38 CPDF_String(); 39 CPDF_String(WeakPtr<ByteStringPool> pPool, const ByteString& str, bool bHex); 40 CPDF_String(WeakPtr<ByteStringPool> pPool, const WideString& str); 41 ~CPDF_String() override; 47 inline CPDF_String* ToString(CPDF_Object* obj) { in ToString() 51 inline const CPDF_String* ToString(const CPDF_Object* obj) { in ToString()
|
D | cpdf_object.h | 27 class CPDF_String; variable 94 virtual CPDF_String* AsString(); 95 virtual const CPDF_String* AsString() const; 131 std::is_same<T, CPDF_String>::value;
|
D | cpdf_object_avail_unittest.cpp | 133 holder.AddObject(1, pdfium::MakeRetain<CPDF_String>(nullptr, "string", false), in TEST() 146 holder.AddObject(2, pdfium::MakeRetain<CPDF_String>(nullptr, "string", false), in TEST() 258 pdfium::MakeRetain<CPDF_String>(nullptr, "Not available string", false), in TEST() 277 3, pdfium::MakeRetain<CPDF_String>(nullptr, "Exclude me", false), in TEST() 286 pdfium::MakeRetain<CPDF_String>(nullptr, "Not available string", false), in TEST() 316 holder.AddObject(1, pdfium::MakeRetain<CPDF_String>(nullptr, "string", false), in TEST() 338 holder.AddObject(2, pdfium::MakeRetain<CPDF_String>(nullptr, "Data", false), in TEST()
|
D | cpdf_object_unittest.cpp | 59 pdfium::MakeRetain<CPDF_String>(nullptr, L"A simple test"); in SetUp() 60 auto str_spec_obj = pdfium::MakeRetain<CPDF_String>(nullptr, L"\t\n"); in SetUp() 78 m_StreamDictObj->SetNewFor<CPDF_String>("key1", L" test dict"); in SetUp() 513 string_array->InsertNewAt<CPDF_String>(i, vals[i], false); in TEST() 640 arr->InsertNewAt<CPDF_String>(6, "", false); in TEST() 641 arr->InsertNewAt<CPDF_String>(7, "It is a test!", false); in TEST() 651 dict_val->SetNewFor<CPDF_String>("key1", "Linda", false); in TEST() 652 dict_val->SetNewFor<CPDF_String>("key2", "Zoe", false); in TEST() 655 stream_dict->SetNewFor<CPDF_String>("key1", "John", false); in TEST() 656 stream_dict->SetNewFor<CPDF_String>("key2", "King", false); in TEST() [all …]
|
D | cpdf_object.cpp | 165 CPDF_String* CPDF_Object::AsString() { in AsString() 169 const CPDF_String* CPDF_Object::AsString() const { in AsString()
|
D | fpdf_parser_utility_unittest.cpp | 44 dict->SetNewFor<CPDF_String>("Type", L"foo"); in TEST() 74 dict->SetNewFor<CPDF_String>("f3", L"foo"); in TEST()
|
D | fpdf_parser_decode_unittest.cpp | 69 decoders->AddNew<CPDF_String>("FlateEncode", false); in TEST() 89 decoders->AddNew<CPDF_String>("AHx", false); in TEST() 110 decoders->AddNew<CPDF_String>("RL", false); in TEST()
|
D | cpdf_page_object_avail_unittest.cpp | 111 "Type", pdfium::MakeRetain<CPDF_String>(nullptr, "Page", false)); in TEST() 116 4, pdfium::MakeRetain<CPDF_String>(nullptr, "Other page data", false), in TEST()
|
D | cpdf_object_walker_unittest.cpp | 61 EXPECT_EQ(Walk(pdfium::MakeRetain<CPDF_String>().Get()), "Str"); in TEST() 69 dict->SetFor("1", pdfium::MakeRetain<CPDF_String>()); in TEST()
|
D | cpdf_security_handler.cpp | 588 pEncryptDict->SetNewFor<CPDF_String>("O", ByteString(passcode, 32), false); in OnCreateInternal() 601 pEncryptDict->SetNewFor<CPDF_String>("U", ByteString(tempbuf, 32), false); in OnCreateInternal() 619 pEncryptDict->SetNewFor<CPDF_String>("U", ByteString(digest, 32), false); in OnCreateInternal() 665 pEncryptDict->SetNewFor<CPDF_String>(bOwner ? "O" : "U", in AES256_SetPassword() 684 pEncryptDict->SetNewFor<CPDF_String>(bOwner ? "OE" : "UE", in AES256_SetPassword() 716 pEncryptDict->SetNewFor<CPDF_String>("Perms", ByteString(buf1, 16), false); in AES256_SetPerms()
|
D | cpdf_document_unittest.cpp | 34 pageNode->SetNewFor<CPDF_String>("Type", "Pages", false); in CreatePageTreeNode() 46 page->SetNewFor<CPDF_String>("Type", "Page", false); in CreateNumberedPage()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_filespec_unittest.cpp | 76 auto str_obj = pdfium::MakeRetain<CPDF_String>(nullptr, test_data.input); in TEST() 111 dict_obj->SetNewFor<CPDF_String>(keywords[i], test_data[i].input); in TEST() 116 dict_obj->SetNewFor<CPDF_String>("FS", "URL", false); in TEST() 134 dict_obj->SetNewFor<CPDF_String>("FS", "URL", false); in TEST() 153 auto str_obj = pdfium::MakeRetain<CPDF_String>(nullptr, L"babababa"); in TEST() 208 dict_obj->SetNewFor<CPDF_String>(keys[i], file_name); in TEST() 224 dict_obj->SetNewFor<CPDF_String>("FS", "URL", false); in TEST() 242 dict_obj->SetNewFor<CPDF_String>("UF", L"test.pdf"); in TEST()
|
D | cpdf_filespec.cpp | 101 const CPDF_String* pUF = ToString(pDict->GetDirectObjectFor("UF")); in GetFileName() 105 const CPDF_String* pK = in GetFileName() 115 const CPDF_String* pValue = ToString(pDict->GetDirectObjectFor(key)); in GetFileName() 123 } else if (const CPDF_String* pString = m_pObj->AsString()) { in GetFileName() 212 pDict->SetNewFor<CPDF_String>(pdfium::stream::kF, wsStr.ToDefANSI(), false); in SetFileName() 213 pDict->SetNewFor<CPDF_String>("UF", wsStr); in SetFileName()
|
D | cpdf_nametree.cpp | 28 pLimits->SetNewAt<CPDF_String>(0, csRight); in GetNodeLimitsMaybeSwap() 29 pLimits->SetNewAt<CPDF_String>(1, csLeft); in GetNodeLimitsMaybeSwap() 104 pLimits->SetNewAt<CPDF_String>(0, csNewLeft); in UpdateNodesAndLimitsUponDeletion() 105 pLimits->SetNewAt<CPDF_String>(1, csNewRight); in UpdateNodesAndLimitsUponDeletion() 143 pLimits->SetNewAt<CPDF_String>(0, csNewLeft); in UpdateNodesAndLimitsUponDeletion() 144 pLimits->SetNewAt<CPDF_String>(1, csNewRight); in UpdateNodesAndLimitsUponDeletion() 351 pFind->InsertNewAt<CPDF_String>(nNameIndex, name); in AddValueAndName() 363 pLimit->SetNewAt<CPDF_String>(0, name); in AddValueAndName() 366 pLimit->SetNewAt<CPDF_String>(1, name); in AddValueAndName()
|
D | cpdf_nametree_unittest.cpp | 16 pNames->AddNew<CPDF_String>(key, false); in AddNameKeyValue() 32 pLimits->AddNew<CPDF_String>(least, false); in AddLimitsArray() 33 pLimits->AddNew<CPDF_String>(greatest, false); in AddLimitsArray() 88 pNames->AddNew<CPDF_String>(ByteString(buf), true); in TEST()
|
D | cpdf_formfield.h | 25 class CPDF_String; variable 152 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 | 352 m_pDict->SetNewFor<CPDF_String>(key, csValue); in SetValue() 536 m_pDict->SetNewFor<CPDF_String>(pdfium::form_fields::kV, opt_value); in SetItemSelectionSelected() 544 m_pDict->SetNewFor<CPDF_String>(pdfium::form_fields::kV, opt_value); in SetItemSelectionSelected() 551 pArray->AddNew<CPDF_String>(GetOptionValue(i)); in SetItemSelectionSelected() 581 pArray->AddNew<CPDF_String>(GetOptionValue(i)); in SetItemSelectionUnselected() 627 const CPDF_String* pString = ToString(pOption); in GetOptionText()
|
D | cpdf_bookmark.cpp | 31 const CPDF_String* pString = ToString(m_pDict->GetDirectObjectFor("Title")); in GetTitle()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_attachment.cpp | 93 pFile->SetNewFor<CPDF_String>("UF", wsName); in FPDFDoc_AddAttachment() 94 pFile->SetNewFor<CPDF_String>(pdfium::stream::kF, wsName); in FPDFDoc_AddAttachment() 183 pParamsDict->SetNewFor<CPDF_String>(bsKey, bsValue, bEncodedAsHex); in FPDFAttachment_SetStringValue() 203 CPDF_String* stringValue = pParamsDict->GetObjectFor(bsKey)->AsString(); in FPDFAttachment_GetStringValue() 206 value = pdfium::MakeRetain<CPDF_String>(nullptr, encoded, false) in FPDFAttachment_GetStringValue() 240 pParamsDict->SetNewFor<CPDF_String>( in FPDFAttachment_SetFile() 249 pParamsDict->SetNewFor<CPDF_String>( in FPDFAttachment_SetFile()
|
D | fpdf_doc_unittest.cpp | 100 bookmarks[1].obj->SetNewFor<CPDF_String>("Title", L"Chapter 1"); in TEST_F() 106 bookmarks[2].obj->SetNewFor<CPDF_String>("Title", L"Chapter 2"); in TEST_F() 144 bookmarks[1].obj->SetNewFor<CPDF_String>("Title", L"Chapter 1"); in TEST_F() 150 bookmarks[2].obj->SetNewFor<CPDF_String>("Title", L"Chapter 2"); in TEST_F() 179 bookmarks[1].obj->SetNewFor<CPDF_String>("Title", L"Chapter 1"); in TEST_F() 185 bookmarks[2].obj->SetNewFor<CPDF_String>("Title", L"Chapter 2"); in TEST_F() 191 bookmarks[3].obj->SetNewFor<CPDF_String>("Title", L"Chapter 3"); in TEST_F()
|
D | fpdf_save.cpp | 127 pArray->InsertNewAt<CPDF_String>(iLast, "datasets", false); in SaveXFADocumentData() 147 pArray->InsertNewAt<CPDF_String>(iLast, "form", false); in SaveXFADocumentData()
|
D | cpdfsdk_baannot.cpp | 86 pDict->SetNewFor<CPDF_String>(pdfium::annotation::kNM, sName); in SetAnnotName() 107 pDict->SetNewFor<CPDF_String>(pdfium::annotation::kAS, str, false); in SetAppState()
|
D | fpdf_catalog_unittest.cpp | 66 m_pRootObj->SetNewFor<CPDF_String>("OTHER_KEY", "other value", false); in TEST_F()
|