HomeSort by relevance Sort by last modified time
    Searched refs:kTestBufferLen (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/sfntly/cpp/src/test/
memory_io_test.cc 31 const size_t kTestBufferLen = 102;
38 test_buffer.resize(kTestBufferLen);
39 std::copy(kTestData, kTestData + kTestBufferLen, test_buffer.begin());
42 is.Attach(&(test_buffer[0]), kTestBufferLen);
43 EXPECT_EQ(is.Available(), (int32_t)kTestBufferLen);
72 EXPECT_EQ(is.Available(), (int32_t)kTestBufferLen - 50);
74 EXPECT_EQ(is.Skip(kTestBufferLen + 10), (int32_t)kTestBufferLen);
79 EXPECT_EQ(memcmp(&(b[0]), &(test_buffer[0]) + kTestBufferLen - 10, 10), 0);
86 test_buffer.resize(kTestBufferLen);
    [all...]
  /external/sfntly/cpp/src/test/
memory_io_test.cc 31 const size_t kTestBufferLen = 102;
38 test_buffer.resize(kTestBufferLen);
39 std::copy(kTestData, kTestData + kTestBufferLen, test_buffer.begin());
42 is.Attach(&(test_buffer[0]), kTestBufferLen);
43 EXPECT_EQ(is.Available(), (int32_t)kTestBufferLen);
72 EXPECT_EQ(is.Available(), (int32_t)kTestBufferLen - 50);
74 EXPECT_EQ(is.Skip(kTestBufferLen + 10), (int32_t)kTestBufferLen);
79 EXPECT_EQ(memcmp(&(b[0]), &(test_buffer[0]) + kTestBufferLen - 10, 10), 0);
86 test_buffer.resize(kTestBufferLen);
    [all...]

Completed in 741 milliseconds