Home
last modified time | relevance | path

Searched refs:originalData (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTest.cpp1573 GLubyte originalData[4] = {255, 0, 255, 255}; in TEST_P() local
1579 createEGLImage2DTextureSource(1, 1, GL_RGBA, GL_UNSIGNED_BYTE, originalData, &source, &image); in TEST_P()
1593 verifyResults2D(targetTexture, originalData); in TEST_P()
1594 verifyResultsRenderbuffer(targetRenderbuffer, originalData); in TEST_P()
1610 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, originalData); in TEST_P()
1613 verifyResults2D(targetTexture, originalData); in TEST_P()
1614 verifyResultsRenderbuffer(targetRenderbuffer, originalData); in TEST_P()
1738 GLubyte originalData[4] = {255, 0, 255, 255}; in TEST_P() local
1744 createEGLImage2DTextureSource(1, 1, GL_RGBA, GL_UNSIGNED_BYTE, originalData, &source, &image); in TEST_P()
1755 verifyResults2D(target, originalData); in TEST_P()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DImageTest.cpp4069 GLubyte originalData[4] = {255, 0, 255, 255}; in TEST_P() local
4075 createEGLImage2DTextureSource(1, 1, GL_RGBA, GL_UNSIGNED_BYTE, kDefaultAttribs, originalData, in TEST_P()
4089 verifyResults2D(targetTexture, originalData); in TEST_P()
4090 verifyResultsRenderbuffer(targetRenderbuffer, originalData); in TEST_P()
4106 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, originalData); in TEST_P()
4109 verifyResults2D(targetTexture, originalData); in TEST_P()
4110 verifyResultsRenderbuffer(targetRenderbuffer, originalData); in TEST_P()
4225 GLubyte originalData[4] = {255, 0, 255, 255}; in TEST_P() local
4231 createEGLImage2DTextureSource(1, 1, GL_RGBA, GL_UNSIGNED_BYTE, kDefaultAttribs, originalData, in TEST_P()
4243 verifyResults2D(target, originalData); in TEST_P()
[all …]
/third_party/skia/tests/
DWriter32Test.cpp89 SkAutoTMalloc<uint32_t> originalData(dataSize); in testWritePad() local
93 originalData[(int) i] = rand.nextU(); in testWritePad()
99 writer->writePad(originalData.get(), len); in testWritePad()
113 REPORTER_ASSERT(reporter, memcmp(readPtr, originalData.get(), len) == 0); in testWritePad()
/third_party/flutter/skia/tests/
DWriter32Test.cpp150 SkAutoTMalloc<uint32_t> originalData(dataSize); in testWritePad() local
154 originalData[(int) i] = rand.nextU(); in testWritePad()
160 writer->writePad(originalData.get(), len); in testWritePad()
175 REPORTER_ASSERT(reporter, memcmp(readPtr, originalData.get(), len) == 0); in testWritePad()
/third_party/mindspore/mindspore/lite/java/java/fl_client/src/main/java/com/mindspore/flclient/
DSyncFLJob.java231 …private float calWeightUpdateNorm(Map<String, float[]> originalData, Map<String, float[]> newData)… in calWeightUpdateNorm() argument
233 for (String key : originalData.keySet()) { in calWeightUpdateNorm()
234 float[] data = originalData.get(key); in calWeightUpdateNorm()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DTextureFormatTests.cpp273 std::vector<Data> ExpandDataTo4Component(const std::vector<Data>& originalData, in ExpandDataTo4Component() argument
278 for (size_t i = 0; i < originalData.size() / originalComponentCount; i++) { in ExpandDataTo4Component()
281 result.push_back(originalData[i * originalComponentCount + component]); in ExpandDataTo4Component()