/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsShuffleTests.cpp | 475 subgroups::SSBOData inputData[2]; in noSSBOtest() local 476 inputData[0].format = caseDef.format; in noSSBOtest() 477 inputData[0].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 478 inputData[0].numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 479 inputData[0].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest() 481 inputData[1].format = VK_FORMAT_R32_UINT; in noSSBOtest() 482 inputData[1].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 483 inputData[1].numElements = inputData[0].numElements; in noSSBOtest() 484 inputData[1].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest() 487 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 2, checkVertex… in noSSBOtest() [all …]
|
D | vktSubgroupsBallotTests.cpp | 911 subgroups::SSBOData inputData[1]; in noSSBOtest() local 912 inputData[0].format = VK_FORMAT_R32_UINT; in noSSBOtest() 913 inputData[0].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 914 inputData[0].numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 915 inputData[0].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest() 918 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVertex… in noSSBOtest() 920 …return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVert… in noSSBOtest() 922 …:makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVertexP… in noSSBOtest() 924 …:makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVertexP… in noSSBOtest() 940 subgroups::SSBOData inputData[1]; in test() local [all …]
|
D | vktSubgroupsBallotBroadcastTests.cpp | 447 subgroups::SSBOData inputData[1]; in noSSBOtest() local 448 inputData[0].format = caseDef.format; in noSSBOtest() 449 inputData[0].layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 450 inputData[0].numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 451 inputData[0].initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest() 454 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVertex… in noSSBOtest() 456 …return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVert… in noSSBOtest() 458 …:makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVertexP… in noSSBOtest() 460 …:makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, inputData, 1, checkVertexP… in noSSBOtest() 484 subgroups::SSBOData inputData[1]; in test() local [all …]
|
D | vktSubgroupsQuadTests.cpp | 592 subgroups::SSBOData inputData; in noSSBOtest() local 593 inputData.format = caseDef.format; in noSSBOtest() 594 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 595 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 596 inputData.initializeType = subgroups::SSBOData::InitializeNonZero;; in noSSBOtest() 599 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVerte… in noSSBOtest() 601 …return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVer… in noSSBOtest() 603 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 605 …akeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 622 subgroups::SSBOData inputData; in test() local [all …]
|
D | vktSubgroupsBasicTests.cpp | 2037 subgroups::SSBOData inputData[inputCount]; in test() local 2039 inputData[0].format = VK_FORMAT_R32_UINT; in test() 2040 inputData[0].layout = subgroups::SSBOData::LayoutStd430; in test() 2041 inputData[0].numElements = 1; in test() 2042 inputData[0].initializeType = subgroups::SSBOData::InitializeZero; in test() 2043 inputData[0].binding = 4u; in test() 2044 inputData[0].stages = VK_SHADER_STAGE_VERTEX_BIT; in test() 2046 inputData[1].format = VK_FORMAT_R32_UINT; in test() 2047 inputData[1].layout = subgroups::SSBOData::LayoutStd430; in test() 2048 inputData[1].numElements = 1; in test() [all …]
|
D | vktSubgroupsPartitionedTests.cpp | 836 subgroups::SSBOData inputData; in noSSBOtest() local 837 inputData.format = caseDef.format; in noSSBOtest() 838 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 839 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 840 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest() 843 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVerte… in noSSBOtest() 845 …return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVer… in noSSBOtest() 847 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 849 …akeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 883 subgroups::SSBOData inputData; in test() local [all …]
|
D | vktSubgroupsClusteredTests.cpp | 690 subgroups::SSBOData inputData; in noSSBOtest() local 691 inputData.format = caseDef.format; in noSSBOtest() 692 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 693 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 694 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest() 697 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVerte… in noSSBOtest() 699 …return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVer… in noSSBOtest() 701 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 703 …akeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 719 subgroups::SSBOData inputData; in test() local [all …]
|
D | vktSubgroupsVoteTests.cpp | 628 subgroups::SSBOData inputData; in noSSBOtest() local 629 inputData.format = caseDef.format; in noSSBOtest() 630 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 631 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 632 …inputData.initializeType = OPTYPE_ALLEQUAL == caseDef.opType ? subgroups::SSBOData::InitializeZero… in noSSBOtest() 635 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVerte… in noSSBOtest() 637 …return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVer… in noSSBOtest() 639 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 641 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 643 …return subgroups::makeFragmentFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkFra… in noSSBOtest() [all …]
|
D | vktSubgroupsArithmeticTests.cpp | 841 subgroups::SSBOData inputData; in noSSBOtest() local 842 inputData.format = caseDef.format; in noSSBOtest() 843 inputData.layout = subgroups::SSBOData::LayoutStd140; in noSSBOtest() 844 inputData.numElements = subgroups::maxSupportedSubgroupSize(); in noSSBOtest() 845 inputData.initializeType = subgroups::SSBOData::InitializeNonZero; in noSSBOtest() 848 …return subgroups::makeVertexFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVerte… in noSSBOtest() 850 …return subgroups::makeGeometryFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVer… in noSSBOtest() 852 …makeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 854 …akeTessellationEvaluationFrameBufferTest(context, VK_FORMAT_R32_UINT, &inputData, 1, checkVertexP… in noSSBOtest() 888 subgroups::SSBOData inputData; in test() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmWorkgroupMemoryTests.cpp | 282 vector<double> inputData = getFloat64s(rnd, numElements); in addComputeWorkgroupMemoryTests() local 288 outputData.push_back(inputData[numElements - numIdx - 1]); in addComputeWorkgroupMemoryTests() 295 …spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests() 309 vector<float> inputData = getFloat32s(rnd, numElements); in addComputeWorkgroupMemoryTests() local 315 outputData.push_back(inputData[numElements - numIdx - 1]); in addComputeWorkgroupMemoryTests() 321 …spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests() 340 vector<deFloat16> inputData = getFloat16s(rnd, numElements); in addComputeWorkgroupMemoryTests() local 346 outputData.push_back(inputData[numElements - numIdx - 1]); in addComputeWorkgroupMemoryTests() 354 …spec.inputs.push_back(Resource(BufferSp(new Float16Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_… in addComputeWorkgroupMemoryTests() 372 vector<deInt64> inputData = getInt64s(rnd, numElements); in addComputeWorkgroupMemoryTests() local [all …]
|
D | vktSpvAsmUboMatrixPaddingTests.cpp | 128 vector<tcu::Vec4> inputData; in addComputeUboMatrixPaddingTest() local 131 inputData.reserve(numElements); in addComputeUboMatrixPaddingTest() 133 inputData.push_back(tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat())); in addComputeUboMatrixPaddingTest() 138 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFORM_BUF… in addComputeUboMatrixPaddingTest() 140 spec.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)))); in addComputeUboMatrixPaddingTest() 159 vector<tcu::Vec4> inputData(numDataPoints); in addGraphicsUboMatrixPaddingTest() local 161 inputData[numIdx] = tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat()); in addGraphicsUboMatrixPaddingTest() 163 …resources.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFOR… in addGraphicsUboMatrixPaddingTest() 165 …resources.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORA… in addGraphicsUboMatrixPaddingTest()
|
D | vktSpvAsmIndexingTests.cpp | 75 vector<float> inputData; in addComputeIndexingStructTests() local 78 inputData.reserve(numInputFloats); in addComputeIndexingStructTests() 80 inputData.push_back(rnd.getFloat()); in addComputeIndexingStructTests() 230 spec.inputs.push_back(BufferSp(new Float32Buffer(inputData))); in addComputeIndexingStructTests() 238 …outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() … in addComputeIndexingStructTests() 291 vector<float> inputData; in addGraphicsIndexingStructTests() local 294 inputData.reserve(numInputFloats); in addGraphicsIndexingStructTests() 296 inputData.push_back(rnd.getFloat()); in addGraphicsIndexingStructTests() 428 …resources.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STO… in addGraphicsIndexingStructTests() 484 …outputData.push_back(inputData[element * sizeof(InputData) / 4 + vec.x() * (32 * 4 * 4) + vec.y() … in addGraphicsIndexingStructTests() [all …]
|
D | vktSpvAsmImageSamplerTests.cpp | 756 vector<tcu::Vec4> inputData; in addComputeImageSamplerTest() local 758 inputData.reserve(numDataPoints); in addComputeImageSamplerTest() 761 inputData.push_back(tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat())); in addComputeImageSamplerTest() 800 …spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((Descripto… in addComputeImageSamplerTest() 813 for (size_t i = 0; i < inputData.size(); i++) in addComputeImageSamplerTest() 814 inputData[i] = tcu::Vec4(1.0f) - inputData[i]; in addComputeImageSamplerTest() 816 spec.inputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest() 821 spec.outputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest() 1051 vector<tcu::Vec4> inputData(numDataPoints); in addGraphicsImageSamplerTest() local 1053 inputData[numIdx] = tcu::Vec4(rnd.getFloat(), rnd.getFloat(), rnd.getFloat(), rnd.getFloat()); in addGraphicsImageSamplerTest() [all …]
|
/external/protobuf/benchmarks/ |
D | ProtoBench.java | 90 final byte[] inputData = readAllBytes(file); in runTest() 91 final ByteArrayInputStream inputStream = new ByteArrayInputStream(inputData); in runTest() 92 final ByteString inputString = ByteString.copyFrom(inputData); in runTest() 104 benchmark("Serialize to byte string", inputData.length, new Action() { in runTest() 107 benchmark("Serialize to byte array", inputData.length, new Action() { in runTest() 110 benchmark("Serialize to memory stream", inputData.length, new Action() { in runTest() 116 benchmark("Serialize to /dev/null with FileOutputStream", inputData.length, new Action() { in runTest() 121 … benchmark("Serialize to /dev/null reusing FileOutputStream", inputData.length, new Action() { in runTest() 128 benchmark("Deserialize from byte string", inputData.length, new Action() { in runTest() 133 benchmark("Deserialize from byte array", inputData.length, new Action() { in runTest() [all …]
|
/external/tensorflow/tensorflow/lite/experimental/swift/Tests/ |
D | InterpreterTests.swift | 157 let inputTensor = try interpreter.copy(AddModel.inputData, toInputAt: AddModel.validIndex) in testInterpreter_CopyDataToInputTensorAtIndex() 158 XCTAssertEqual(inputTensor.data, AddModel.inputData) in testInterpreter_CopyDataToInputTensorAtIndex() 163 AddModel.inputData, in testInterpreter_CopyDataToInputTensorAtIndex_ThrowsInvalidIndex() 199 try interpreter.copy(AddModel.inputData, toInputAt: AddModel.validIndex) in setUpAddModelInputTensor() 206 try interpreter.copy(AddQuantizedModel.inputData, toInputAt: AddQuantizedModel.inputOutputIndex) in setUpAddQuantizedModelInputTensor() 228 static let dataCount = inputData.count 229 static let inputData = Data(copyingBufferOf: [Float32(1.0), Float32(3.0)]) variable 237 data: inputData 258 static let inputData = Data([1, 3]) variable 267 data: inputData,
|
/external/libopus/silk/float/ |
D | autocorrelation_FLP.c | 38 …const silk_float *inputData, /* I input data to correlate … in silk_autocorrelation_FLP() argument 50 … results[ i ] = (silk_float)silk_inner_product_FLP( inputData, inputData + i, inputDataSize - i ); in silk_autocorrelation_FLP()
|
/external/tensorflow/tensorflow/lite/experimental/objc/tests/ |
D | TFLInterpreterTests.m | 139 NSMutableData *inputData = [NSMutableData dataWithCapacity:0]; 142 [inputData appendBytes:&one length:sizeof(float)]; 143 [inputData appendBytes:&three length:sizeof(float)]; 144 XCTAssertTrue([inputTensor copyData:inputData error:&error]); 229 NSMutableData *inputData = [NSMutableData dataWithCapacity:0]; 232 [inputData appendBytes:&one length:sizeof(uint8_t)]; 233 [inputData appendBytes:&three length:sizeof(uint8_t)]; 234 XCTAssertTrue([inputTensor copyData:inputData error:&error]); 329 NSMutableData *inputData = [NSMutableData dataWithCapacity:0]; 332 [inputData appendBytes:&one length:sizeof(float)]; [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 68 byte[] inputData = input.ReadBytes(size.Value); in RunTest() 69 if (inputData.Length != size.Value) in RunTest() 71 …throw new EndOfStreamException("Read " + inputData.Length + " bytes of data when expecting " + siz… in RunTest() 73 ConformanceRequest request = ConformanceRequest.Parser.ParseFrom(inputData); in RunTest()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | ValidationTest.java | 55 public ValidationTestUtil.Data inputData; field in ValidationTest.TestData 106 testData.inputData = ValidationTestUtil.parseData(getStringContent(dataFile)); in getTestData() 122 + test.inputData.getErrorMessage(), in runTest() 123 test.inputData.getErrorMessage()); in runTest() 125 for (int i = 0; i < test.inputData.getHandlesCount(); ++i) { in runTest() 128 Message message = new Message(test.inputData.getData(), handles); in runTest()
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
D | bool-is-macro-original.cc | 10 bool functionReturningBool(char* inputData) { in functionReturningBool() argument 11 return inputData[0]; in functionReturningBool()
|
/external/libopus/silk/fixed/ |
D | autocorr_FIX.c | 39 …const opus_int16 *inputData, /* I Input data to correlate … in silk_autocorr() argument 47 *scale = _celt_autocorr(inputData, results, NULL, 0, corrCount-1, inputDataSize, arch); in silk_autocorr()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | IDNAConformanceTest.java | 41 TreeMap inputData = null; in TestConformance() local 44 inputData = ReadInput.getInputData(); in TestConformance() 53 Set keyMap = inputData.keySet(); in TestConformance() 56 HashMap tempHash = (HashMap) inputData.get(element); in TestConformance()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
D | IDNAConformanceTest.java | 44 TreeMap inputData = null; in TestConformance() local 47 inputData = ReadInput.getInputData(); in TestConformance() 56 Set keyMap = inputData.keySet(); in TestConformance() 59 HashMap tempHash = (HashMap) inputData.get(element); in TestConformance()
|
/external/webrtc/webrtc/modules/audio_device/mac/ |
D | audio_device_mac.h | 234 const AudioBufferList* inputData, 249 const AudioBufferList* inputData, 262 OSStatus implDeviceIOProc(const AudioBufferList* inputData, 270 OSStatus implInDeviceIOProc(const AudioBufferList* inputData,
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageViewTests.cpp | 73 static tcu::Vec4 swizzle (tcu::Vec4 inputData, 101 tcu::Vec4 ImageViewTest::swizzle (tcu::Vec4 inputData, VkComponentMapping componentMapping) in swizzle() argument 109 inputData.x(), in swizzle() 110 inputData.y(), in swizzle() 111 inputData.z(), in swizzle() 112 inputData.w(), in swizzle()
|