Home
last modified time | relevance | path

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

/external/cronet/net/dns/
Ddns_hosts_unittest.cc38 const std::string kContents = in TEST() local
84 ParseHosts(kContents, &actual_hosts); in TEST()
96 const std::string kContents = "127.0.0.1 comma1,comma2"; in TEST() local
105 kContents, &actual_hosts, PARSE_HOSTS_COMMA_IS_TOKEN); in TEST()
110 std::string kContents = "127.0.0.1 comma1,comma2"; in TEST() local
120 kContents, &actual_hosts, PARSE_HOSTS_COMMA_IS_WHITESPACE); in TEST()
126 std::string kContents = "127.0.0.1 comma1,comma2"; in TEST() local
128 ParseHosts(kContents, &actual_hosts); in TEST()
/external/pdfium/core/fpdfapi/render/
Dcpdf_docrenderdata_unittest.cpp89 static constexpr uint8_t kContents[] = "1234"; in CreateType0FunctionStream() local
91 DataVector<uint8_t>(std::begin(kContents), std::end(kContents)), in CreateType0FunctionStream()
129 static constexpr uint8_t kContents[] = "{ 360 mul sin 2 div }"; in CreateType4FunctionStream() local
131 DataVector<uint8_t>(std::begin(kContents), std::end(kContents)), in CreateType4FunctionStream()
147 static constexpr uint8_t kContents[] = "garbage"; in CreateBadType4FunctionStream() local
149 DataVector<uint8_t>(std::begin(kContents), std::end(kContents)), in CreateBadType4FunctionStream()
/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_flatten.cpp196 pPage->GetMutableArrayFor(pdfium::page_object::kContents); in SetPageContents()
198 pPage->GetMutableStreamFor(pdfium::page_object::kContents); in SetPageContents()
201 pPage->SetFor(pdfium::page_object::kContents, in SetPageContents()
208 pPage->ConvertToIndirectObjectFor(pdfium::page_object::kContents, pDocument); in SetPageContents()
225 pPage->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDocument, in SetPageContents()
Dfpdf_attachment_embeddertest.cpp212 constexpr char kContents[] = "Hello World!"; in TEST_F() local
213 EXPECT_TRUE(FPDFAttachment_SetFile(attachment, document(), kContents, in TEST_F()
214 strlen(kContents))); in TEST_F()
244 EXPECT_EQ(std::string(kContents), std::string(content_buf.data(), 12)); in TEST_F()
Dfpdf_transformpage.cpp65 return pPageDict->GetMutableDirectObjectFor(pdfium::page_object::kContents); in GetPageContent()
247 pPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDoc, in FPDFPage_TransFormWithClip()
418 pPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, pDoc, in FPDFPage_InsertClipPath()
Dfpdf_annot_embeddertest.cpp366 static const wchar_t kContents[] = L"Bar"; in TEST_F() local
367 ScopedFPDFWideString text = GetFPDFWideString(kContents); in TEST_F()
466 FPDFAnnot_GetValueType(annot.get(), pdfium::annotation::kContents)); in TEST_F()
468 annot.get(), pdfium::annotation::kContents, nullptr, 0); in TEST_F()
472 pdfium::annotation::kContents, in TEST_F()
474 static const wchar_t kContents[] = in TEST_F() local
495 EXPECT_EQ(kContents, GetPlatformWString(buf.data())); in TEST_F()
537 annot.get(), pdfium::annotation::kContents, nullptr, 0)); in TEST_F()
640 static const wchar_t kContents[] = L"Hello! This is a customized content."; in TEST_F() local
641 ScopedFPDFWideString text = GetFPDFWideString(kContents); in TEST_F()
[all …]
Dfpdf_ppo.cpp602 pSrcPageDict->GetDirectObjectFor(pdfium::page_object::kContents); in MakeXObjectFromPageRaw()
681 pDestPageDict->SetNewFor<CPDF_Reference>(pdfium::page_object::kContents, in FinishPage()
/external/pdfium/constants/
Dpage_object.cpp20 const char kContents[] = "Contents"; variable
Dpage_object.h19 extern const char kContents[];
Dannotation_common.cpp15 const char kContents[] = "Contents"; variable
Dannotation_common.h14 extern const char kContents[];
/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.cpp40 pdfium::page_object::kContents); in CPDF_ContentParser()
150 pdfium::page_object::kContents); in GetContent()
/external/pdfium/core/fpdfdoc/
Dcpdf_annotlist.cpp85 pParentDict->GetUnicodeTextFor(pdfium::annotation::kContents); in CreatePopupAnnot()
95 pAnnotDict->SetNewFor<CPDF_String>(pdfium::annotation::kContents, in CreatePopupAnnot()
Dcpdf_generateap.cpp370 swValue += pAnnotDict.GetUnicodeTextFor(pdfium::annotation::kContents); in GetPopupContentsString()
/external/cronet/base/debug/
Dproc_maps_linux_unittest.cc308 const std::string kContents = in TEST() local
319 EXPECT_TRUE(ParseProcMaps(kContents, &regions)); in TEST()
/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/fpdfapi/parser/
Dcpdf_object_unittest.cpp76 static constexpr char kContents[] = "abcdefghijklmnopqrstuvwxyz"; in SetUp() local
82 DataVector<uint8_t>(std::begin(kContents), std::end(kContents)), in SetUp()
653 static constexpr uint8_t kContents[] = "content: this is a stream"; in TEST() local
655 DataVector<uint8_t>(std::begin(kContents), std::end(kContents)), in TEST()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator_unittest.cpp408 static constexpr uint8_t kContents[] = in TEST_F() local
412 DataVector<uint8_t>(std::begin(kContents), std::end(kContents)), in TEST_F()
/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()