Home
last modified time | relevance | path

Searched refs:kHelloWorld (Results 1 – 7 of 7) sorted by relevance

/external/bsdiff/
Ddiff_encoder_unittest.cc19 const uint8_t kHelloWorld[] = { variable
31 diff_encoder_.reset(new DiffEncoder(&fake_patch_, kHelloWorld, in SetUp()
32 sizeof(kHelloWorld), kHelloWorld, in SetUp()
33 sizeof(kHelloWorld))); in SetUp()
52 diff_encoder_.reset(new DiffEncoder(&fake_patch_, nullptr, 0, kHelloWorld, in TEST_F()
53 sizeof(kHelloWorld))); in TEST_F()
59 ControlEntry(0, sizeof(kHelloWorld) - 5, 0))); in TEST_F()
64 std::vector<uint8_t> hello_world(kHelloWorld, in TEST_F()
65 kHelloWorld + sizeof(kHelloWorld)); in TEST_F()
72 diff_encoder_->AddControlEntry(ControlEntry(sizeof(kHelloWorld), 0, 0))); in TEST_F()
[all …]
Dbrotli_compressor_unittest.cc13 constexpr uint8_t kHelloWorld[] = { variable
22 EXPECT_TRUE(brotli_compressor.Write(kHelloWorld, sizeof(kHelloWorld))); in TEST()
28 std::vector<uint8_t> decompressed_data(sizeof(kHelloWorld)); in TEST()
33 brotli_decompressor.Read(decompressed_data.data(), sizeof(kHelloWorld))); in TEST()
36 std::vector<uint8_t>(kHelloWorld, kHelloWorld + sizeof(kHelloWorld)), in TEST()
Dpatch_writer_unittest.cc15 const uint8_t kHelloWorld[] = { variable
75 ControlEntry(0, sizeof(kHelloWorld) - 5, 0))); in TEST_F()
76 EXPECT_TRUE(patch_writer_.WriteExtraStream(kHelloWorld, sizeof(kHelloWorld))); in TEST_F()
90 EXPECT_EQ(static_cast<int64_t>(sizeof(kHelloWorld)), patch.new_file_len); in TEST_F()
96 patch_writer_.AddControlEntry(ControlEntry(sizeof(kHelloWorld), 0, 0))); in TEST_F()
97 std::vector<uint8_t> zeros(sizeof(kHelloWorld), 0); in TEST_F()
111 EXPECT_EQ(static_cast<int64_t>(sizeof(kHelloWorld)), patch.new_file_len); in TEST_F()
/external/libchrome/mojo/core/
Dplatform_handle_dispatcher_unittest.cc27 static const char kHelloWorld[] = "hello world"; in TEST() local
33 EXPECT_EQ(sizeof(kHelloWorld), in TEST()
34 fwrite(kHelloWorld, 1, sizeof(kHelloWorld), fp.get())); in TEST()
54 EXPECT_EQ(sizeof(kHelloWorld), in TEST()
56 EXPECT_STREQ(kHelloWorld, read_buffer); in TEST()
Dembedder_unittest.cc74 const char kHelloWorld[] = "hello world"; variable
287 memcpy(buffer, kHelloWorld, sizeof(kHelloWorld)); in TEST_F()
326 EXPECT_EQ(kHelloWorld, std::string(buffer)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dmessage_pipe_unittest.cc31 static const char kHelloWorld[] = "hello world"; variable
91 WriteMessage(pipe0_, kHelloWorld, sizeof(kHelloWorld))); in TEST_F()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dwtf_types_unittest.cc23 const char kHelloWorld[] = "hello world"; variable
69 strs[2] = kHelloWorld; in ConstructStringArray()
79 str_map.insert("1", kHelloWorld); in ConstructStringMap()
137 strs[2] = kHelloWorld; in TEST_F()
177 EXPECT_EQ(kHelloWorld, *strs2[2]); in TEST_F()
182 blink::TestWTFStructPtr input(blink::TestWTFStruct::New(kHelloWorld, 42)); in TEST_F()