/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.cpp | 40 std::vector<deUint8> expectedBytes; in verifyOutputWithEpsilon() local 41 expectedOutputs[outputNdx].getBytes(expectedBytes); in verifyOutputWithEpsilon() 43 std::vector<float> expectedFloats (expectedBytes.size() / sizeof (float)); in verifyOutputWithEpsilon() 44 std::vector<float> actualFloats (expectedBytes.size() / sizeof (float)); in verifyOutputWithEpsilon() 46 memcpy(&expectedFloats[0], &expectedBytes.front(), expectedBytes.size()); in verifyOutputWithEpsilon() 47 memcpy(&actualFloats[0], outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size()); in verifyOutputWithEpsilon()
|
D | vktSpvAsmWorkgroupMemoryTests.cpp | 63 std::vector<deUint8> expectedBytes; in checkResultsFloat16() local 64 expectedOutputs.front().getBuffer()->getPackedBytes(expectedBytes); in checkResultsFloat16() 67 const deUint16* expected = reinterpret_cast<const deUint16*>(&expectedBytes[0]); in checkResultsFloat16() 69 for (size_t i = 0; i < expectedBytes.size() / sizeof (deUint16); i++) in checkResultsFloat16() 92 std::vector<deUint8> expectedBytes; in checkResultsFloat32() local 93 expectedOutputs.front().getBuffer()->getPackedBytes(expectedBytes); in checkResultsFloat32() 96 const deUint32* expected = reinterpret_cast<const deUint32*>(&expectedBytes[0]); in checkResultsFloat32() 98 for (size_t i = 0; i < expectedBytes.size() / sizeof (deUint32); i++) in checkResultsFloat32() 128 std::vector<deUint8> expectedBytes; in checkResultsFloat64() local 129 expectedOutputs.front().getBuffer()->getPackedBytes(expectedBytes); in checkResultsFloat64() [all …]
|
D | vktSpvAsmEmptyStructTests.cpp | 46 std::vector<deUint8> expectedBytes; in verifyResult() local 47 expectedOutputs[outputNdx].getBytes(expectedBytes); in verifyResult() 49 const deUint32 itemCount = static_cast<deUint32>(expectedBytes.size()) / 4u; in verifyResult() 51 const deUint32* expected = reinterpret_cast<const deUint32*>(&expectedBytes.front()); in verifyResult()
|
D | vktSpvAsmComputeShaderTestUtil.hpp | 191 std::vector<deUint8> expectedBytes; in compareWithRetvals() local 193 expectedOutput->getBytes(expectedBytes); in compareWithRetvals() 195 if (deMemCmp(&expectedBytes.front(), values, expectedBytes.size())) in compareWithRetvals()
|
D | vktSpvAsmComputeShaderCase.cpp | 854 vector<deUint8> expectedBytes; in iterate() local 856 expectedOutput->getBytes(expectedBytes); in iterate() 858 … if (deMemCmp(&expectedBytes.front(), outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size())) in iterate() 862 const deUint8* ptrExpected = static_cast<deUint8*>(&expectedBytes.front()); in iterate() 866 for (; ndx < expectedBytes.size(); ++ndx) in iterate() 872 for (; ndx < expectedBytes.size(); ++ndx) in iterate()
|
D | vktSpvAsmCompositeInsertTests.cpp | 123 vector<deUint8> expectedBytes; in verifyMatrixOutput() local 124 expectedOutputs[0].getBytes(expectedBytes); in verifyMatrixOutput() 126 …const float* const expectedOutputAsFloat = reinterpret_cast<const float*>(&expectedBytes.fr… in verifyMatrixOutput() 130 for (size_t idx = 0; idx < expectedBytes.size() / sizeof(float); ++idx) in verifyMatrixOutput()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmComputeShaderTestUtil.cpp | 40 std::vector<deUint8> expectedBytes; in verifyOutputWithEpsilon() local 41 expectedOutputs[outputNdx].getBytes(expectedBytes); in verifyOutputWithEpsilon() 43 std::vector<float> expectedFloats (expectedBytes.size() / sizeof (float)); in verifyOutputWithEpsilon() 44 std::vector<float> actualFloats (expectedBytes.size() / sizeof (float)); in verifyOutputWithEpsilon() 46 memcpy(&expectedFloats[0], &expectedBytes.front(), expectedBytes.size()); in verifyOutputWithEpsilon() 47 memcpy(&actualFloats[0], outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size()); in verifyOutputWithEpsilon()
|
D | vktSpvAsmWorkgroupMemoryTests.cpp | 63 std::vector<deUint8> expectedBytes; in checkResultsFloat16() local 64 expectedOutputs.front().getBuffer()->getPackedBytes(expectedBytes); in checkResultsFloat16() 67 const deUint16* expected = reinterpret_cast<const deUint16*>(&expectedBytes[0]); in checkResultsFloat16() 69 for (size_t i = 0; i < expectedBytes.size() / sizeof (deUint16); i++) in checkResultsFloat16() 92 std::vector<deUint8> expectedBytes; in checkResultsFloat32() local 93 expectedOutputs.front().getBuffer()->getPackedBytes(expectedBytes); in checkResultsFloat32() 96 const deUint32* expected = reinterpret_cast<const deUint32*>(&expectedBytes[0]); in checkResultsFloat32() 98 for (size_t i = 0; i < expectedBytes.size() / sizeof (deUint32); i++) in checkResultsFloat32() 128 std::vector<deUint8> expectedBytes; in checkResultsFloat64() local 129 expectedOutputs.front().getBuffer()->getPackedBytes(expectedBytes); in checkResultsFloat64() [all …]
|
D | vktSpvAsmEmptyStructTests.cpp | 46 std::vector<deUint8> expectedBytes; in verifyResult() local 47 expectedOutputs[outputNdx].getBytes(expectedBytes); in verifyResult() 49 const deUint32 itemCount = static_cast<deUint32>(expectedBytes.size()) / 4u; in verifyResult() 51 const deUint32* expected = reinterpret_cast<const deUint32*>(&expectedBytes.front()); in verifyResult()
|
D | vktSpvAsmComputeShaderTestUtil.hpp | 191 std::vector<deUint8> expectedBytes; in compareWithRetvals() local 193 expectedOutput->getBytes(expectedBytes); in compareWithRetvals() 195 if (deMemCmp(&expectedBytes.front(), values, expectedBytes.size())) in compareWithRetvals()
|
D | vktSpvAsmComputeShaderCase.cpp | 854 vector<deUint8> expectedBytes; in iterate() local 856 expectedOutput->getBytes(expectedBytes); in iterate() 858 … if (deMemCmp(&expectedBytes.front(), outputAllocs[outputNdx]->getHostPtr(), expectedBytes.size())) in iterate() 862 const deUint8* ptrExpected = static_cast<deUint8*>(&expectedBytes.front()); in iterate() 866 for (; ndx < expectedBytes.size(); ++ndx) in iterate() 872 for (; ndx < expectedBytes.size(); ++ndx) in iterate()
|
D | vktSpvAsmCompositeInsertTests.cpp | 123 vector<deUint8> expectedBytes; in verifyMatrixOutput() local 124 expectedOutputs[0].getBytes(expectedBytes); in verifyMatrixOutput() 126 …const float* const expectedOutputAsFloat = reinterpret_cast<const float*>(&expectedBytes.fr… in verifyMatrixOutput() 130 for (size_t idx = 0; idx < expectedBytes.size() / sizeof(float); ++idx) in verifyMatrixOutput()
|
D | vktSpvAsmImageSamplerTests.cpp | 1127 vector<deUint8> expectedBytes; in verifyDepthCompareResult() local 1128 expectedOutputs[0].getBytes(expectedBytes); in verifyDepthCompareResult() 1131 const float* expectedAsFloat = reinterpret_cast<const float*>(&expectedBytes.front()); in verifyDepthCompareResult() 1133 …for (deUint32 elementNdx = 0; elementNdx < static_cast<deUint32>(expectedBytes.size() / sizeof(flo… in verifyDepthCompareResult()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | BinaryProtocolTest.java | 56 byte[] expectedBytes = expected.toByteArray(); in proto3Roundtrip() 60 ExperimentalSerializationUtil.fromByteArray(expectedBytes, Proto3Message.class); in proto3Roundtrip() 65 Assert.assertEquals(expectedBytes.length, actualBytes.length); in proto3Roundtrip() 75 byte[] expectedBytes = expected.toByteArray(); in proto2Roundtrip() 79 ExperimentalSerializationUtil.fromByteArray(expectedBytes, Proto2Message.class); in proto2Roundtrip() 84 Assert.assertEquals(expectedBytes.length, actualBytes.length); in proto2Roundtrip()
|
D | CodedAdapterTest.java | 56 byte[] expectedBytes = expected.toByteArray(); in proto3Roundtrip() 59 Proto3Message result = fromByteArray(expectedBytes, Proto3Message.class); in proto3Roundtrip() 63 byte[] actualBytes = toByteArray(result, expectedBytes.length); in proto3Roundtrip() 73 byte[] expectedBytes = expected.toByteArray(); in proto2Roundtrip() 76 Proto2Message result = fromByteArray(expectedBytes, Proto2Message.class); in proto2Roundtrip() 80 byte[] actualBytes = toByteArray(result, expectedBytes.length); in proto2Roundtrip()
|
D | CodedOutputStreamTest.java | 340 final byte[] expectedBytes = TestUtil.getGoldenMessage().toByteArray(); in testWriteWholeMessage() 348 assertEqualBytes(outputType, expectedBytes, rawBytes); in testWriteWholeMessage() 356 assertEqualBytes(OutputType.STREAM, expectedBytes, coder.toByteArray()); in testWriteWholeMessage() 365 byte[] expectedBytes = TestUtil.getGoldenPackedFieldsMessage().toByteArray(); in testWriteWholePackedFieldsMessage() 373 assertEqualBytes(outputType, expectedBytes, rawBytes); in testWriteWholePackedFieldsMessage() 522 final byte[] expectedBytes = expectedBytesStream.toByteArray(); 526 Coder coder = outputType.newCoder(expectedBytes.length); 532 assertEqualBytes(outputType, expectedBytes, coder.toByteArray());
|
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
D | DecodeTest.cs | 75 byte[] expectedBytes = Org.Brotli.Dec.Transform.ReadUniBytes(expected); in CheckDecodeResourceWithDictionary() 79 NUnit.Framework.Assert.AreEqual(expectedBytes, actual); in CheckDecodeResourceWithDictionary() 85 byte[] expectedBytes = Org.Brotli.Dec.Transform.ReadUniBytes(expected); in CheckDecodeResource() 88 NUnit.Framework.Assert.AreEqual(expectedBytes, actual); in CheckDecodeResource() 90 NUnit.Framework.Assert.AreEqual(expectedBytes, actualByByte); in CheckDecodeResource()
|
/third_party/node/test/parallel/ |
D | test-stdin-pipe-large.js | 15 const expectedBytes = 1024 * 1024; constant 18 child.stdin.end(Buffer.alloc(expectedBytes)); 22 assert.strictEqual(readBytes, expectedBytes);
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
D | DecodeTest.java | 61 byte[] expectedBytes = readUniBytes(expected); in checkDecodeResource() 64 assertArrayEquals(expectedBytes, actual); in checkDecodeResource() 66 assertArrayEquals(expectedBytes, actualByByte); in checkDecodeResource()
|
/third_party/typescript/tests/baselines/reference/ |
D | duplicateLocalVariable1.js | 206 …var expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A,… 208 expectedBytes.forEach(function (val) { 273 …var expectedBytes = [0xF0, 0x90, 0x92, 0x80, 0xF0, 0x90, 0x92, 0x81, 0xF0, 0x90, 0x92, 0x82, 0x54,… 274 expectedBytes.forEach(function (val) { 531 …var expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A,… 533 expectedBytes.forEach(function (val) { 586 …var expectedBytes = [0xF0, 0x90, 0x92, 0x80, 0xF0, 0x90, 0x92, 0x81, 0xF0, 0x90, 0x92, 0x82, 0x54,… 587 expectedBytes.forEach(function (val) {
|
D | duplicateLocalVariable1.types | 206 …expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A, 0x0… 207 …expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A, 0x0… 208 …expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A, 0x0… 1089 …expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A, 0x0… 1093 …expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A, 0x0… 1098 …expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A, 0x0… 1171 …var expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A,… 1172 >expectedBytes : number[] 1196 expectedBytes.forEach(function (val) { 1197 >expectedBytes.forEach(function (val) { var byteVal = savedFile.readByte(); … [all …]
|
D | duplicateLocalVariable1.symbols | 627 …var expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A,… 628 >expectedBytes : Symbol(expectedBytes, Decl(duplicateLocalVariable1.ts, 204, 15)) 633 expectedBytes.forEach(function (val) { 634 >expectedBytes.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) 635 >expectedBytes : Symbol(expectedBytes, Decl(duplicateLocalVariable1.ts, 204, 15)) 822 …var expectedBytes = [0xF0, 0x90, 0x92, 0x80, 0xF0, 0x90, 0x92, 0x81, 0xF0, 0x90, 0x92, 0x82, 0x54,… 823 >expectedBytes : Symbol(expectedBytes, Decl(duplicateLocalVariable1.ts, 271, 15)) 825 expectedBytes.forEach(function (val) { 826 >expectedBytes.forEach : Symbol(Array.forEach, Decl(lib.es5.d.ts, --, --)) 827 >expectedBytes : Symbol(expectedBytes, Decl(duplicateLocalVariable1.ts, 271, 15))
|
D | duplicateLocalVariable1.errors.txt | 218 …var expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A,… 220 expectedBytes.forEach(function (val) { 285 …var expectedBytes = [0xF0, 0x90, 0x92, 0x80, 0xF0, 0x90, 0x92, 0x81, 0xF0, 0x90, 0x92, 0x82, 0x54,… 286 expectedBytes.forEach(function (val) {
|
/third_party/typescript/tests/cases/compiler/ |
D | duplicateLocalVariable1.ts | 208 …var expectedBytes = [0xFF, 0xFE, 0x54, 0x00, 0xE8, 0x00, 0x23, 0x1D, 0x20, 0x20, 0x0D, 0x00, 0x0A,… variable 210 expectedBytes.forEach(function (val) { 275 …var expectedBytes = [0xF0, 0x90, 0x92, 0x80, 0xF0, 0x90, 0x92, 0x81, 0xF0, 0x90, 0x92, 0x82, 0x54,… variable 276 expectedBytes.forEach(function (val) {
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ucptrietest.c | 522 uint32_t value, expectedBytes, actualBytes; in testTrieUTF8() local 613 expectedBytes=0; in testTrieUTF8() 617 expectedBytes=(expectedBytes<<8)|s[k++]; in testTrieUTF8() 621 actualBytes=expectedBytes; in testTrieUTF8() 633 (long)value, (long)values[i], (unsigned long)expectedBytes); in testTrieUTF8() 639 (long)(p-s), (long)i8, (unsigned long)expectedBytes); in testTrieUTF8() 659 expectedBytes=0; in testTrieUTF8() 663 expectedBytes=(expectedBytes<<8)|s[k++]; in testTrieUTF8() 667 actualBytes=expectedBytes; in testTrieUTF8() 679 (long)value, (long)values[i], (unsigned long)expectedBytes); in testTrieUTF8() [all …]
|