Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/chromeos/policy/
Dcloud_external_data_store_unittest.cc24 const char kData2[] = "Testing data 2"; variable
49 kData2Hash(crypto::SHA256HashString(kData2)), in CouldExternalDataStoreTest()
75 EXPECT_TRUE(store.Store(kPolicy1, kData1Hash, kData2)); in TEST_F()
82 EXPECT_EQ(kData2, contents.begin()->second); in TEST_F()
98 EXPECT_TRUE(store.Store(kPolicy1, kData1Hash, kData2)); in TEST_F()
105 EXPECT_EQ(kData2, contents.begin()->second); in TEST_F()
121 EXPECT_TRUE(store.Store(kPolicy2, kData2Hash, kData2)); in TEST_F()
128 EXPECT_EQ(kData2, data); in TEST_F()
161 EXPECT_TRUE(store2.Store(kPolicy2, kData2Hash, kData2)); in TEST_F()
171 EXPECT_EQ(kData2, contents.begin()->second); in TEST_F()
[all …]
/external/chromium_org/gpu/command_buffer/service/
Dcommon_decoder_unittest.cc268 static const char kData2[] = "ABCEDFG"; in TEST_F() local
270 memcpy(memory, kData2, sizeof(kData2)); in TEST_F()
271 cmd.Init(kBucketId, kSomeOffsetInBucket, sizeof(kData2), in TEST_F()
274 EXPECT_EQ(0, memcmp(bucket->GetData(kSomeOffsetInBucket, sizeof(kData2)), in TEST_F()
275 kData2, sizeof(kData2))); in TEST_F()
280 EXPECT_EQ(kData[kSomeOffsetInBucket + sizeof(kData2)], in TEST_F()
281 bucket_data[kSomeOffsetInBucket + sizeof(kData2)]); in TEST_F()
284 cmd.Init(kInvalidBucketId, kSomeOffsetInBucket, sizeof(kData2), in TEST_F()
325 static const char kData2[] = "ABCEDFG"; in TEST_F() local
327 memcpy(memory, kData2, sizeof(kData2)); in TEST_F()
[all …]
/external/chromium_org/components/os_crypt/
Die7_password_win_unittest.cc29 const unsigned char kData2[] = in TEST() local
45 decrypted_data2.resize(arraysize(kData2)); in TEST()
46 memcpy(&decrypted_data2.front(), kData2, sizeof(kData2)); in TEST()
/external/chromium_org/net/server/
Dhttp_connection_unittest.cc247 const std::string kData2("more data to write"); in TEST() local
248 EXPECT_TRUE(buffer->Append(kData2)); in TEST()
253 EXPECT_EQ(static_cast<int>(kData.size() + kData2.size()), in TEST()
266 EXPECT_EQ(static_cast<int>(kData.size() + kData2.size()) - kConsumedLength, in TEST()
276 EXPECT_EQ(static_cast<int>(kData2.size()), buffer->GetSizeToWrite()); in TEST()
278 EXPECT_EQ(static_cast<int>(kData2.size()), buffer->total_size()); in TEST()
280 EXPECT_EQ(kData2, in TEST()
284 buffer->DidConsume(kData2.size()); in TEST()
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/
Dbytestring_test.c80 static const uint8_t kData2[] = {0, 2, 1}; in test_get_prefixed_bad() local
89 CBS_init(&data, kData2, sizeof(kData2)); in test_get_prefixed_bad()
104 static const uint8_t kData2[] = {0x30, 3, 1, 2}; in test_get_asn1() local
118 CBS_init(&data, kData2, sizeof(kData2)); in test_get_asn1()
/external/chromium_org/content/browser/quota/
Dquota_manager_unittest.cc466 static const MockOriginData kData2[] = { in TEST_F() local
474 RegisterClient(CreateClient(kData2, ARRAYSIZE_UNSAFE(kData2), in TEST_F()
631 static const MockOriginData kData2[] = { in TEST_F() local
641 RegisterClient(CreateClient(kData2, ARRAYSIZE_UNSAFE(kData2), in TEST_F()
1275 static const MockOriginData kData2[] = { in TEST_F() local
1284 MockStorageClient* client2 = CreateClient(kData2, ARRAYSIZE_UNSAFE(kData2), in TEST_F()
1304 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kData2); ++i) in TEST_F()
1306 GURL(kData2[i].origin), kData2[i].type); in TEST_F()
1505 static const MockOriginData kData2[] = { in TEST_F() local
1514 MockStorageClient* client2 = CreateClient(kData2, ARRAYSIZE_UNSAFE(kData2), in TEST_F()
[all …]
/external/chromium_org/net/quic/
Dreliable_quic_stream_test.cc38 const char kData2[] = "EepAndBaz"; variable
227 stream_->WriteOrBufferData(kData2, false, NULL); in TEST_F()
263 stream_->WriteOrBufferData(kData2, false, NULL); in TEST_F()
299 stream_->WriteOrBufferData(kData2, false, NULL); in TEST_F()