Home
last modified time | relevance | path

Searched refs:outputBuffer (Results 1 – 25 of 64) sorted by relevance

123

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs66 byte[] outputBuffer; field in Google.Protobuf.Benchmarks.WriteRawPrimitivesBenchmark
77 outputBuffer = new byte[BytesToWrite]; in GlobalSetup()
125 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint32_CodedOutputStream()
143 var span = new Span<byte>(outputBuffer); in WriteRawVarint32_WriteContext()
167 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint64_CodedOutputStream()
190 var span = new Span<byte>(outputBuffer); in WriteRawVarint64_WriteContext()
204 var cos = new CodedOutputStream(outputBuffer); in WriteFixed32_CodedOutputStream()
217 var span = new Span<byte>(outputBuffer); in WriteFixed32_WriteContext()
231 var cos = new CodedOutputStream(outputBuffer); in WriteFixed64_CodedOutputStream()
244 var span = new Span<byte>(outputBuffer); in WriteFixed64_WriteContext()
[all …]
DWriteMessagesBenchmark.cs148 private readonly byte[] outputBuffer; field in Google.Protobuf.Benchmarks.WriteMessagesBenchmark.SubTest
156 this.outputBuffer = new byte[messageSize]; in SubTest()
164 var cos = new CodedOutputStream(outputBuffer); // use pre-existing output buffer in WriteToCodedOutputStream_PreAllocatedBuffer()
166 return outputBuffer; in WriteToCodedOutputStream_PreAllocatedBuffer()
171 var span = new Span<byte>(outputBuffer); // use pre-existing output buffer in WriteToSpan_PreAllocatedBuffer()
173 return outputBuffer; in WriteToSpan_PreAllocatedBuffer()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledSamplingTests.cpp193 wgpu::Buffer outputBuffer = device.CreateBuffer(&outputBufferDesc); in TEST_P() local
217 {2, outputBuffer, alignedResultSize * sampleOffset, kResultSize}})); in TEST_P()
229 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 0 * alignedResultSize, 8) in TEST_P()
233 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 1 * alignedResultSize, 8) in TEST_P()
237 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 2 * alignedResultSize, 8) in TEST_P()
241 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 3 * alignedResultSize, 8) in TEST_P()
245 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 4 * alignedResultSize, 8) in TEST_P()
249 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 5 * alignedResultSize, 8) in TEST_P()
253 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 6 * alignedResultSize, 8) in TEST_P()
257 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 7 * alignedResultSize, 8) in TEST_P()
DDepthStencilSamplingTests.cpp290 wgpu::Buffer outputBuffer = CreateOutputBuffer(componentCount); in DoSamplingTestImpl() local
294 {{0, inputTexture.CreateView(&inputViewDesc)}, {1, outputBuffer}}); in DoSamplingTestImpl()
323 CheckBuffer(textureValues[i], outputBuffer); in DoSamplingTestImpl()
345 wgpu::Buffer outputBuffer = CreateOutputBuffer(componentCount); in DoSamplingTestImpl() local
349 {{0, inputTexture.CreateView(&inputViewDesc)}, {1, outputBuffer}}); in DoSamplingTestImpl()
375 CheckBuffer(textureValues[i], outputBuffer); in DoSamplingTestImpl()
547 wgpu::Buffer outputBuffer = CreateOutputBuffer(); in DoDepthCompareRefTest() local
554 {3, outputBuffer}}); in DoDepthCompareRefTest()
578 EXPECT_BUFFER_U32_EQ(*reinterpret_cast<uint32_t*>(expected), outputBuffer, 0); in DoDepthCompareRefTest()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/switch/
Dswitch-case-to-merge-block.amber31 OpDecorate %outputBuffer DescriptorSet 0
32 OpDecorate %outputBuffer Binding 1
50 %outputBuffer = OpVariable %OutputBlock_ptr Uniform
98 %ptrOut = OpAccessChain %uint_uniform_ptr %outputBuffer %int_0
106 BUFFER outputBuffer DATA_TYPE uint32 DATA 0 END
112 BIND BUFFER outputBuffer AS storage DESCRIPTOR_SET 0 BINDING 1
117 EXPECT outputBuffer IDX 0 EQ 4
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DAAssetDataSource.cpp68 auto outputBuffer = std::make_unique<float[]>(numSamples); in newFromCompressedAsset() local
71 memcpy(outputBuffer.get(), decodedData, (size_t)bytesDecoded); in newFromCompressedAsset()
76 outputBuffer.get(), in newFromCompressedAsset()
83 return new AAssetDataSource(std::move(outputBuffer), in newFromCompressedAsset()
/third_party/flutter/skia/tests/
DPDFDeflateWStreamTest.cpp38 uint8_t outputBuffer[kBufferSize]; in stream_inflate() local
45 flateData.next_out = outputBuffer; in stream_inflate()
67 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
71 flateData.next_out = outputBuffer; in stream_inflate()
90 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
94 flateData.next_out = outputBuffer; in stream_inflate()
/third_party/skia/tests/
DPDFDeflateWStreamTest.cpp38 uint8_t outputBuffer[kBufferSize]; in stream_inflate() local
45 flateData.next_out = outputBuffer; in stream_inflate()
67 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
71 flateData.next_out = outputBuffer; in stream_inflate()
90 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
94 flateData.next_out = outputBuffer; in stream_inflate()
/third_party/node/test/common/
Ddebugger.js21 const outputBuffer = [];
26 outputBuffer.push(chunk);
30 return outputBuffer.join('\n').replace(/\b/g, '');
46 outputBuffer.length = 0;
137 return outputBuffer.join('').toString();
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/
DSampleBuffer.cpp74 float *outputBuffer = new float[numOutFrames]; // multi-channel buffer to be filled in resampleData() local
75 output->mBuffer = outputBuffer; in resampleData()
85 resampler->readNextFrame(outputBuffer); in resampleData()
86 outputBuffer += numChannels; in resampleData()
/third_party/skia/third_party/externals/oboe/src/flowgraph/
DManyToMultiConverter.cpp36 float *outputBuffer = output.getBuffer() + ch; in onProcess() local
41 *outputBuffer = sample; in onProcess()
42 outputBuffer += channelCount; // advance to next multichannel frame in onProcess()
DChannelCountConverter.cpp34 float *outputBuffer = output.getBuffer(); in onProcess() local
43 outputBuffer[outputChannel] = inputBuffer[inputChannel]; in onProcess()
48 outputBuffer += outputChannelCount; in onProcess()
DSampleRateConverter.cpp50 float *outputBuffer = output.getBuffer(); in onProcess() local
64 mResampler.readNextFrame(outputBuffer); in onProcess()
65 outputBuffer += channelCount; in onProcess()
DRampLinear.cpp43 float *outputBuffer = output.getBuffer(); in onProcess() local
63 *outputBuffer++ = *inputBuffer++ * currentLevel; in onProcess()
73 *outputBuffer++ = *inputBuffer++ * mLevelTo; in onProcess()
DMultiToMonoConverter.cpp32 float *outputBuffer = output.getBuffer(); in onProcess() local
36 *outputBuffer++ = *inputBuffer; in onProcess()
DClipToRange.cpp30 float *outputBuffer = output.getBuffer(); in onProcess() local
34 *outputBuffer++ = std::min(mMaximum, std::max(mMinimum, *inputBuffer++)); in onProcess()
DMonoToMultiConverter.cpp32 float *outputBuffer = output.getBuffer(); in onProcess() local
38 *outputBuffer++ = sample; in onProcess()
DSourceFloat.cpp30 float *outputBuffer = output.getBuffer(); in onProcess() local
39 memcpy(outputBuffer, floatData, numSamples * sizeof(float)); in onProcess()
/third_party/glslang/glslang/MachineIndependent/
DShaderLang.cpp1103 std::string outputBuffer; in operator ()() local
1105 std::bind(&TInputScanner::getLastValidSourceIndex, &input), &outputBuffer); in operator ()()
1107 parseContext.setExtensionCallback([&lineSync, &outputBuffer]( in operator ()()
1110 outputBuffer += "#extension "; in operator ()()
1111 outputBuffer += extension; in operator ()()
1112 outputBuffer += " : "; in operator ()()
1113 outputBuffer += behavior; in operator ()()
1116 parseContext.setLineCallback([&lineSync, &outputBuffer, &parseContext]( in operator ()()
1120 outputBuffer += "#line "; in operator ()()
1121 outputBuffer += std::to_string(newLineNum); in operator ()()
[all …]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSynthVoice.java50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { in mix() argument
51 int numFrames = outputBuffer.length / samplesPerFrame; in mix()
56 outputBuffer[offset + jf] += output * level; in mix()
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
DREADME.md46 float *outputBuffer; // multi-channel buffer to be filled
57 resampler->readNextFrame(outputBuffer);
58 outputBuffer += channelCount;
70 float *outputBuffer; // multi-channel buffer to be filled
82 resampler->readNextFrame(outputBuffer);
83 outputBuffer += channelCount;
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp156 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
201 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
203 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *outputBuffer); in iterate()
278 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
324 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
326 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *outputBuffer); in iterate()
403 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
424 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
434 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
608 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelPadding.cpp249 …vk::BufferWithMemory outputBuffer {vkd, device, allocator, outputBufferInfo, vk::MemoryRequirement… in iterate() local
256 auto& outputAlloc = outputBuffer.getAllocation(); in iterate()
284 …const auto outputBufferDescriptorInfo = vk::makeDescriptorBufferInfo(outputBuffer.get(), 0ull, VK_… in iterate()
317 …Barrier(vk::VK_ACCESS_HOST_WRITE_BIT, vk::VK_ACCESS_SHADER_WRITE_BIT, outputBuffer.get(), 0ull, VK… in iterate()
318 …yBarrier(vk::VK_ACCESS_SHADER_WRITE_BIT, vk::VK_ACCESS_HOST_READ_BIT, outputBuffer.get(), 0ull, VK… in iterate()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp121 float *outputBuffer = (is16Bit) ? mConversionBuffer.get() : static_cast<float *>(audioData); in onAudioReady() local
135 mMixer.renderAudio(outputBuffer+(oboeStream->getChannelCount()*i), 1); in onAudioReady()
140 oboe::convertFloatToPcm16(outputBuffer, in onAudioReady()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp191 …const compute::Buffer outputBuffer(vk, device, allocator, vk::makeBufferCreateInfo(bufferSizeBytes… in iterate() local
194 const vk::Allocation& alloc = outputBuffer.getAllocation(); in iterate()
214 …const vk::VkDescriptorBufferInfo descriptorInfo = vk::makeDescriptorBufferInfo(*outputBuffer, 0ull… in iterate()
330 outputBuffer.get(), in iterate()
345 const vk::Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()

123