Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dshared_memory_unittest.cc504 static const StringPiece kContents = "Hello World"; in TEST_P() local
507 ASSERT_TRUE(shmem.CreateAndMapAnonymous(kContents.size())); in TEST_P()
515 ASSERT_TRUE(shared.Map(kContents.size())); in TEST_P()
526 ASSERT_TRUE(readonly.Map(kContents.size())); in TEST_P()
533 memcpy(shmem.memory(), kContents.data(), kContents.size()); in TEST_P()
535 ASSERT_EQ(kContents, shmem_contents); in TEST_P()
536 ASSERT_EQ(kContents, shared_contents); in TEST_P()
537 ASSERT_EQ(kContents, readonly_contents); in TEST_P()
540 memcpy(shared.memory(), ToLowerASCII(kContents).c_str(), kContents.size()); in TEST_P()
542 ASSERT_EQ(StringPiece(ToLowerASCII(kContents)), shmem_contents); in TEST_P()
[all …]
/external/perfetto/src/kallsyms/
Dkernel_symbol_map_unittest.cc85 static const char kContents[] = R"(ffffff8f73e2fa10 t one in TEST() local
96 base::WriteAll(tmp.fd(), kContents, sizeof(kContents)); in TEST()
/external/pdfium/fpdfsdk/
Dfpdf_attachment_embeddertest.cpp162 constexpr char kContents[] = "Hello World!"; in TEST_F() local
163 EXPECT_TRUE(FPDFAttachment_SetFile(attachment, document(), kContents, in TEST_F()
164 strlen(kContents))); in TEST_F()
192 EXPECT_EQ(std::string(kContents), std::string(content_buf.data(), 12)); in TEST_F()
Dfpdf_flatten.cpp189 pPage->GetArrayFor(pdfium::page_object::kContents); in SetPageContents()
191 pPage->GetStreamFor(pdfium::page_object::kContents); in SetPageContents()
195 pdfium::page_object::kContents, in SetPageContents()
202 pPage->ConvertToIndirectObjectFor(pdfium::page_object::kContents, pDocument); in SetPageContents()
220 pPage->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDocument, in SetPageContents()
Dfpdf_annot_embeddertest.cpp50 static const wchar_t kContents[] = L"Bar"; in TEST_F() local
51 ScopedFPDFWideString text = GetFPDFWideString(kContents); in TEST_F()
153 FPDFAnnot_GetValueType(annot.get(), pdfium::annotation::kContents)); in TEST_F()
155 annot.get(), pdfium::annotation::kContents, nullptr, 0); in TEST_F()
159 pdfium::annotation::kContents, in TEST_F()
161 static const wchar_t kContents[] = in TEST_F() local
182 EXPECT_EQ(kContents, GetPlatformWString(buf.data())); in TEST_F()
230 annot.get(), pdfium::annotation::kContents, nullptr, 0)); in TEST_F()
328 static const wchar_t kContents[] = L"Hello! This is a customized content."; in TEST_F() local
329 ScopedFPDFWideString text = GetFPDFWideString(kContents); in TEST_F()
[all …]
Dfpdf_transformpage.cpp63 return pPageDict->GetDirectObjectFor(pdfium::page_object::kContents); in GetPageContent()
252 pPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDoc, in FPDFPage_TransFormWithClip()
422 pPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDoc, in FPDFPage_InsertClipPath()
Dfpdf_ppo.cpp665 pSrcPageDict->GetDirectObjectFor(pdfium::page_object::kContents); in MakeXObjectFromPage()
735 pDestPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, in FinishPage()
/external/pdfium/constants/
Dpage_object.h22 constexpr char kContents[] = "Contents"; variable
Dannotation_common.h17 constexpr char kContents[] = "Contents"; variable
/external/google-breakpad/src/processor/
Dproc_maps_linux_unittest.cc231 const string kContents = in TEST() local
242 EXPECT_TRUE(ParseProcMaps(kContents, &regions)); in TEST()
/external/pdfium/core/fpdfapi/page/
Dcpdf_contentparser.cpp34 pPage->GetDict()->GetDirectObjectFor(pdfium::page_object::kContents); in CPDF_ContentParser()
138 m_pObjectHolder->GetDict()->GetArrayFor(pdfium::page_object::kContents); in GetContent()
/external/libchrome/base/debug/
Dproc_maps_linux_unittest.cc307 const std::string kContents = in TEST() local
318 EXPECT_TRUE(ParseProcMaps(kContents, &regions)); in TEST()
/external/pdfium/core/fpdfdoc/
Dcpdf_annotlist.cpp85 pParentDict->GetUnicodeTextFor(pdfium::annotation::kContents); in CreatePopupAnnot()
95 pAnnotDict->SetNewFor<CPDF_String>(pdfium::annotation::kContents, in CreatePopupAnnot()
Dcpvt_generateap.cpp375 swValue += pAnnotDict.GetUnicodeTextFor(pdfium::annotation::kContents); in GetPopupContentsString()
/external/perfetto/src/traced/probes/android_log/
Dandroid_log_data_source_unittest.cc165 static const char kContents[] = R"( in TEST_F() local
178 .WillOnce(Return(kContents)); in TEST_F()