/external/chromium_org/chrome/browser/chromeos/policy/ |
D | cloud_external_data_store_unittest.cc | 24 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/ |
D | common_decoder_unittest.cc | 268 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/ |
D | ie7_password_win_unittest.cc | 29 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/ |
D | http_connection_unittest.cc | 247 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/ |
D | bytestring_test.c | 80 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/ |
D | quota_manager_unittest.cc | 466 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/ |
D | reliable_quic_stream_test.cc | 38 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()
|