Home
last modified time | relevance | path

Searched refs:kDataSize (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DBufferTests.cpp63 constexpr uint32_t kDataSize = 1000 * 1000; in TEST_P() local
65 for (uint32_t i = 0; i < kDataSize; ++i) { in TEST_P()
70 descriptor.size = static_cast<uint32_t>(kDataSize * sizeof(uint32_t)); in TEST_P()
74 buffer.SetSubData(0, kDataSize * sizeof(uint32_t), myData.data()); in TEST_P()
77 ASSERT_EQ(0, memcmp(mappedData, myData.data(), kDataSize * sizeof(uint32_t))); in TEST_P()
127 constexpr uint32_t kDataSize = 1000 * 1000; in TEST_P() local
129 for (uint32_t i = 0; i < kDataSize; ++i) { in TEST_P()
134 descriptor.size = static_cast<uint32_t>(kDataSize * sizeof(uint32_t)); in TEST_P()
139 memcpy(mappedData, myData.data(), kDataSize * sizeof(uint32_t)); in TEST_P()
142 EXPECT_BUFFER_U32_RANGE_EQ(myData.data(), buffer, 0, kDataSize); in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DUniformBufferTest.cpp828 const GLsizei kDataSize = kStructCount * kVectorElementCount * kBytesPerElement; in TEST_P() local
829 std::vector<GLubyte> v(kDataSize, 0); in TEST_P()
835 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
878 const GLsizei kDataSize = kStructCount * kVectorElementCount * kBytesPerElement; in TEST_P() local
879 std::vector<GLubyte> v(kDataSize, 0); in TEST_P()
885 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
893 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
936 const GLsizei kDataSize = in TEST_P() local
938 std::vector<GLubyte> v(kDataSize, 0); in TEST_P()
944 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferTests.cpp133 constexpr uint32_t kDataSize = 1000 * 1000; in TEST_P() local
134 constexpr size_t kByteSize = kDataSize * sizeof(uint32_t); in TEST_P()
138 for (uint32_t i = 0; i < kDataSize; ++i) { in TEST_P()
341 constexpr uint32_t kDataSize = 1000 * 1000; in TEST_P() local
342 constexpr size_t kByteSize = kDataSize * sizeof(uint32_t); in TEST_P()
343 wgpu::Buffer buffer = CreateMapWriteBuffer(kDataSize * sizeof(uint32_t)); in TEST_P()
346 for (uint32_t i = 0; i < kDataSize; ++i) { in TEST_P()
357 EXPECT_BUFFER_U32_RANGE_EQ(myData.data(), buffer, 16, kDataSize - 5); in TEST_P()
362 constexpr uint32_t kDataSize = 1000; in TEST_P() local
364 for (uint32_t i = 0; i < kDataSize; ++i) { in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DUniformBufferTest.cpp896 const GLsizei kDataSize = kStructCount * kVectorElementCount * kBytesPerElement; in TEST_P() local
897 std::vector<GLubyte> v(kDataSize, 0); in TEST_P()
903 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
946 const GLsizei kDataSize = kStructCount * kVectorElementCount * kBytesPerElement; in TEST_P() local
947 std::vector<GLubyte> v(kDataSize, 0); in TEST_P()
953 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
961 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
1004 const GLsizei kDataSize = in TEST_P() local
1006 std::vector<GLubyte> v(kDataSize, 0); in TEST_P()
1012 glBufferData(GL_UNIFORM_BUFFER, kDataSize, v.data(), GL_STATIC_DRAW); in TEST_P()
[all …]
DVertexAttributeTest.cpp1768 constexpr size_t kDataSize = 48; in TEST_P() local
1774 constexpr GLuint kColorTestData[kDataSize] = { in TEST_P()
1788 glBufferData(GL_ARRAY_BUFFER, sizeof(GLuint) * kDataSize, kColorTestData, GL_STATIC_DRAW); in TEST_P()
1850 constexpr size_t kDataSize = 24; in TEST_P() local
1853 GLuint kColorTestData[kDataSize]; in TEST_P()
1854 for (size_t dataIndex = 0; dataIndex < kDataSize; dataIndex++) in TEST_P()
1861 glBufferData(GL_ARRAY_BUFFER, sizeof(GLuint) * kDataSize, kColorTestData, GL_STATIC_DRAW); in TEST_P()
1921 constexpr size_t kDataSize = 24; in TEST_P() local
1924 GLuint kColorTestData[kDataSize]; in TEST_P()
1925 for (size_t dataIndex = 0; dataIndex < kDataSize; dataIndex++) in TEST_P()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_misc_opcodes.cpp297 requiredSize = SafeUint32Add(requiredSize, dng_area_spec::kDataSize); in dng_opcode_MapTable()
364 stream.Put_uint32 (dng_area_spec::kDataSize + 4 + fCount * 2); in PutData()
495 if (dataSize != dng_area_spec::kDataSize + 4 + (fDegree + 1) * 8) in dng_opcode_MapPolynomial()
535 stream.Put_uint32 (dng_area_spec::kDataSize + 4 + (fDegree + 1) * 8); in PutData()
872 if (dataSize != dng_area_spec::kDataSize + 4 + deltas * 4) in dng_opcode_DeltaPerRow()
918 stream.Put_uint32 (dng_area_spec::kDataSize + 4 + deltas * 4); in PutData()
1078 if (dataSize != dng_area_spec::kDataSize + 4 + deltas * 4) in dng_opcode_DeltaPerColumn()
1124 stream.Put_uint32 (dng_area_spec::kDataSize + 4 + deltas * 4); in PutData()
1285 if (dataSize != dng_area_spec::kDataSize + 4 + scales * 4) in dng_opcode_ScalePerRow()
1331 stream.Put_uint32 (dng_area_spec::kDataSize + 4 + scales * 4); in PutData()
[all …]
Ddng_misc_opcodes.h68 kDataSize = 32 enumerator
Ddng_gain_map.cpp532 stream.Put_uint32 (dng_area_spec::kDataSize + in PutData()
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/
Dcity_test.cc29 static const int kDataSize = 1 << 20; variable
32 static char data[kDataSize];
38 for (int i = 0; i < kDataSize; i++) { in setup()
590 TestUnchanging(testdata[i], 0, kDataSize); in TEST()