HomeSort by relevance Sort by last modified time
    Searched defs:kData (Results 1 - 25 of 38) sorted by null

1 2

  /external/chromium_org/chrome/browser/metrics/
compression_utils_unittest.cc 19 const uint8 kData[] =
39 std::string data(reinterpret_cast<const char*>(kData), arraysize(kData));
  /external/chromium_org/ppapi/examples/video_decode/
testdata.h 10 // We use a kData array of raw H264 data from test-25fps.h264 because
14 const unsigned char kData[] = {
    [all...]
  /external/chromium_org/rlz/lib/
crc32_unittest.cc 19 } kData[] = {
27 for (int i = 0; kData[i].data; i++)
28 EXPECT_EQ(kData[i].crc,
29 rlz_lib::Crc32(reinterpret_cast<const unsigned char*>(kData[i].data),
30 kData[i].len));
38 } kData[] = {
48 for (int i = 0; kData[i].data; i++) {
49 EXPECT_TRUE(rlz_lib::Crc32(kData[i].data, &crc));
50 EXPECT_EQ(kData[i].crc, crc);
  /external/chromium_org/components/webdata/encryptor/
ie7_password_unittest_win.cc 63 const unsigned char kData[] =
78 decrypted_data.resize(arraysize(kData));
79 memcpy(&decrypted_data.front(), kData, sizeof(kData));
  /external/chromium_org/media/base/
decoder_buffer_unittest.cc 29 const uint8 kData[] = "hello";
30 const int kDataSize = arraysize(kData);
32 reinterpret_cast<const uint8*>(&kData), kDataSize));
34 EXPECT_NE(kData, buffer2->data());
36 EXPECT_EQ(0, memcmp(buffer2->data(), kData, kDataSize));
39 reinterpret_cast<const uint8*>(&kData), kDataSize,
40 reinterpret_cast<const uint8*>(&kData), kDataSize));
42 EXPECT_NE(kData, buffer3->data());
44 EXPECT_EQ(0, memcmp(buffer3->data(), kData, kDataSize));
45 EXPECT_NE(kData, buffer3->side_data())
    [all...]
data_buffer_unittest.cc 34 const uint8* kData = data.get();
39 EXPECT_EQ(kData, buffer->data());
95 const char kData[] = "hello";
96 const int kDataSize = arraysize(kData);
106 memcpy(data, kData, kDataSize);
110 ASSERT_EQ(0, memcmp(read_only_data, kData, kDataSize));
  /external/chromium_org/net/base/
upload_bytes_element_reader_unittest.cc 19 const char kData[] = "123abc";
20 bytes_.assign(kData, kData + arraysize(kData));
upload_file_element_reader_unittest.cc 24 const char kData[] = "123456789abcdefghi";
25 bytes_.assign(kData, kData + arraysize(kData) - 1);
242 const char kData[] = "123456789abcdefghi";
243 bytes_.assign(kData, kData + arraysize(kData) - 1);
  /external/chromium_org/net/spdy/
spdy_buffer_unittest.cc 23 const char kData[] = "hello!\0hi.";
24 const size_t kDataSize = arraysize(kData);
38 new SpdyFrame(const_cast<char*>(kData), kDataSize,
41 EXPECT_EQ(kData, buffer.GetRemainingData());
48 std::string data(kData, kDataSize);
53 EXPECT_NE(kData, buffer.GetRemainingData());
55 EXPECT_EQ(std::string(kData, kDataSize), BufferToString(buffer));
70 SpdyBuffer buffer(kData, kDataSize);
79 EXPECT_EQ(std::string(kData, kDataSize), BufferToString(buffer));
82 EXPECT_EQ(std::string(kData + 5, kDataSize - 5), BufferToString(buffer))
    [all...]
spdy_read_queue_unittest.cc 20 const char kData[] = "SPDY read queue test data.\0Some more data.";
21 const size_t kDataSize = arraysize(kData);
79 std::string data(kData, kDataSize);
  /external/chromium_org/base/win/
registry_unittest.cc 141 // kData size is not a multiple of sizeof(wchar_t).
142 const uint8 kData[] = { 1, 2, 3, 4, 5 };
143 EXPECT_EQ(5, arraysize(kData));
144 ASSERT_EQ(ERROR_SUCCESS, key.WriteValue(kName, kData,
145 arraysize(kData), REG_BINARY));
151 ASSERT_EQ(arraysize(kData), iterator.ValueSize());
156 EXPECT_EQ(0, std::memcmp(kData, iterator.Value(), arraysize(kData)));
event_trace_consumer_unittest.cc 366 static const char kData[] = "This is but test data";
367 event.fields[0].DataPtr = reinterpret_cast<ULONG64>(kData);
368 event.fields[0].Length = sizeof(kData);
378 ASSERT_EQ(sizeof(kData), trace->MofLength);
379 ASSERT_STREQ(kData, reinterpret_cast<const char*>(trace->MofData));
  /external/chromium_org/net/quic/
quic_fec_group_test.cc 20 const char* kData[] = {
45 size_t max_len = strlen(kData[0]);
52 redundancy[i] = kData[0][i];
56 uint8 byte = i > strlen(kData[packet]) ? 0x00 : kData[packet][i];
73 fec.redundancy = StringPiece(redundancy.get(), strlen(kData[0]));
79 ASSERT_TRUE(group.Update(header, kData[packet]));
93 ASSERT_TRUE(group.Update(header, kData[packet]));
101 fec.redundancy = StringPiece(redundancy.get(), strlen(kData[0]));
116 ASSERT_GE(len, strlen(kData[lost_packet])) << "Incorrect length"
    [all...]
  /external/chromium_org/base/files/
file_unittest.cc 346 const char kData[] = "test";
347 const int kDataSize = arraysize(kData) - 1;
348 EXPECT_EQ(kDataSize, file.Write(0, kData, kDataSize));
359 std::string(kData));
  /external/chromium_org/content/browser/dom_storage/
dom_storage_database_unittest.cc 346 const char kData[] = "I am not a database.";
347 file_util::WriteFile(file_name, kData, strlen(kData));
  /external/chromium_org/content/browser/loader/
upload_data_stream_builder_unittest.cc 63 const char kData[] = "123";
70 request_body->AppendBytes(kData, arraysize(kData) - 1);
84 EXPECT_EQ(kData, std::string(r1->bytes(), r1->length()));
  /external/chromium_org/media/mp4/
box_reader_unittest.cc 185 static const uint8 kData[] = {
189 std::vector<uint8> buf(kData, kData + sizeof(kData));
  /external/chromium/base/win/
event_trace_consumer_unittest.cc 335 static const char kData[] = "This is but test data";
336 event.fields[0].DataPtr = reinterpret_cast<ULONG64>(kData);
337 event.fields[0].Length = sizeof(kData);
346 ASSERT_EQ(sizeof(kData), trace->MofLength);
347 ASSERT_STREQ(kData, reinterpret_cast<const char*>(trace->MofData));
  /external/chromium_org/base/
platform_file_unittest.cc 413 const char kData[] = "test";
414 const int kDataSize = arraysize(kData) - 1;
415 EXPECT_EQ(kDataSize, WriteFully(file, 0, kData, kDataSize));
429 std::string(kData));
  /external/chromium_org/chrome/browser/download/
chrome_download_manager_delegate_unittest.cc 385 const char kData[] = "helloworld";
386 const size_t kDataLength = sizeof(kData) - 1;
390 file_util::WriteFile(existing_path, kData, kDataLength);
  /external/chromium_org/components/policy/core/common/
schema_unittest.cc 342 const internal::SchemaData kData = {
348 Schema schema = Schema::Wrap(&kData);
  /external/chromium_org/content/browser/fileapi/
file_writer_delegate_unittest.cc 36 const char kData[] = "The quick brown fox jumps over the lazy dog.\n";
37 const int kDataSize = ARRAYSIZE_UNSAFE(kData) - 1;
234 content_ = kData;
254 content_ = kData;
274 content_ = kData;
324 content_ = kData;
358 content_ = kData;
  /external/chromium_org/gpu/command_buffer/service/
common_decoder_unittest.cc 246 static const char kData[] = "1234567890123456789";
251 size_cmd.Init(kBucketId, sizeof(kData));
255 EXPECT_NE(0, memcmp(bucket->GetData(0, sizeof(kData)), kData, sizeof(kData)));
260 memcpy(memory, kData, sizeof(kData));
261 cmd.Init(kBucketId, 0, sizeof(kData),
264 EXPECT_EQ(0, memcmp(bucket->GetData(0, sizeof(kData)), kData, sizeof(kData)))
    [all...]
  /external/chromium_org/media/midi/
midi_manager_win.cc 306 const uint8 kData[] = { status_byte, first_data_byte, second_data_byte };
307 DCHECK_LE(len, arraysize(kData));
308 manager_->ReceiveMIDIData(port_index(), kData, len, timestamp.InSecondsF());
  /external/chromium_org/ppapi/cpp/extensions/dev/
socket_dev.cc 129 const char* const ReadInfo_Dev::kData = "data";
133 data(kData) {
191 const char* const RecvFromInfo_Dev::kData = "data";
197 data(kData),

Completed in 110 milliseconds

1 2