/external/skqp/src/gpu/ |
D | GrBuffer.cpp | 12 sk_sp<GrBuffer> GrBuffer::MakeCPUBacked(GrGpu* gpu, size_t sizeInBytes, GrBufferType intendedType, in MakeCPUBacked() argument 17 cpuData = sk_calloc_throw(sizeInBytes); in MakeCPUBacked() 19 cpuData = sk_malloc_throw(sizeInBytes); in MakeCPUBacked() 22 memcpy(cpuData, data, sizeInBytes); in MakeCPUBacked() 24 return sk_sp<GrBuffer>(new GrBuffer(gpu, sizeInBytes, intendedType, cpuData)); in MakeCPUBacked() 27 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, void* cpuData) in GrBuffer() argument 30 , fSizeInBytes(sizeInBytes) in GrBuffer() 37 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, GrAccessPattern pattern) in GrBuffer() argument 40 , fSizeInBytes(sizeInBytes) in GrBuffer()
|
D | GrBuffer.h | 20 static SK_WARN_UNUSED_RESULT sk_sp<GrBuffer> MakeCPUBacked(GrGpu*, size_t sizeInBytes, 31 size_t sizeInBytes() const { return fSizeInBytes; } in sizeInBytes() function 104 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, GrAccessPattern); 112 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, void* cpuData);
|
/external/skqp/src/gpu/gl/ |
D | GrGLBuffer.cpp | 177 if (this->glCaps().useBufferDataNullHint() || fGLSizeInBytes != this->sizeInBytes()) { in onMap() 178 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap() 186 if (fGLSizeInBytes != this->sizeInBytes()) { in onMap() 187 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap() 194 GL_CALL_RET(fMapPtr, MapBufferRange(target, 0, this->sizeInBytes(), in onMap() 201 if (fGLSizeInBytes != this->sizeInBytes()) { in onMap() 202 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage)); in onMap() 204 GL_CALL_RET(fMapPtr, MapBufferSubData(target, 0, this->sizeInBytes(), in onMap() 209 fGLSizeInBytes = this->sizeInBytes(); in onMap() 252 if (srcSizeInBytes > this->sizeInBytes()) { in onUpdateData() [all …]
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioTrack.java | 81 final int sizeInBytes = byteBuffer.capacity(); in run() local 87 nativeGetPlayoutData(sizeInBytes, nativeAudioTrack); in run() 91 assertTrue(sizeInBytes <= byteBuffer.remaining()); in run() 94 bytesWritten = writeOnLollipop(audioTrack, byteBuffer, sizeInBytes); in run() 96 bytesWritten = writePreLollipop(audioTrack, byteBuffer, sizeInBytes); in run() 98 if (bytesWritten != sizeInBytes) { in run() 124 private int writeOnLollipop(AudioTrack audioTrack, ByteBuffer byteBuffer, int sizeInBytes) { in writeOnLollipop() argument 125 return audioTrack.write(byteBuffer, sizeInBytes, AudioTrack.WRITE_BLOCKING); in writeOnLollipop() 128 private int writePreLollipop(AudioTrack audioTrack, ByteBuffer byteBuffer, int sizeInBytes) { in writePreLollipop() argument 129 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes); in writePreLollipop()
|
/external/skqp/src/gpu/mock/ |
D | GrMockBuffer.h | 17 GrMockBuffer(GrMockGpu* gpu, size_t sizeInBytes, GrBufferType type, in GrMockBuffer() argument 19 : INHERITED(gpu, sizeInBytes, type, accessPattern) { in GrMockBuffer() 26 fMapPtr = sk_malloc_throw(this->sizeInBytes()); in onMap()
|
D | GrMockGpu.cpp | 186 sk_sp<GrBuffer> GrMockGpu::onCreateBuffer(size_t sizeInBytes, GrBufferType type, in onCreateBuffer() argument 188 return sk_sp<GrBuffer>(new GrMockBuffer(this, sizeInBytes, type, accessPattern)); in onCreateBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationCommonEdgeTests.cpp | 331 …nst VkDeviceSize vertexDataSizeBytes = sizeInBytes(gridPosComps) + sizeInBytes(gridTessParams) … in test() 333 const std::size_t vertexTessParamsOffset = sizeInBytes(gridPosComps); in test() 334 const std::size_t vertexIndicesOffset = vertexTessParamsOffset + sizeInBytes(gridTessParams); in test() 343 …deMemcpy(pData + vertexPositionsOffset, &gridPosComps[0], static_cast<std::size_t>(sizeInBytes(… in test() 344 …deMemcpy(pData + vertexTessParamsOffset, &gridTessParams[0], static_cast<std::size_t>(sizeInBytes(… in test() 345 …deMemcpy(pData + vertexIndicesOffset, &gridIndices[0], static_cast<std::size_t>(sizeInBytes(… in test()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 102 void GrMtlBuffer::internalMap(size_t sizeInBytes) { 120 [this->mtlGpu()->device() newBufferWithLength: sizeInBytes 132 void GrMtlBuffer::internalUnmap(size_t sizeInBytes) { 147 [fMappedBuffer didModifyRange: NSMakeRange(0, sizeInBytes)]; 157 size: sizeInBytes];
|
D | GrMtlBuffer.h | 40 void internalMap(size_t sizeInBytes); 41 void internalUnmap(size_t sizeInBytes);
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 110 void GrMtlBuffer::internalMap(size_t sizeInBytes) { 127 [this->mtlGpu()->device() newBufferWithLength: sizeInBytes 138 void GrMtlBuffer::internalUnmap(size_t sizeInBytes) { 153 [fMappedBuffer didModifyRange: NSMakeRange(0, sizeInBytes)]; 162 size: sizeInBytes];
|
D | GrMtlBuffer.h | 40 void internalMap(size_t sizeInBytes); 41 void internalUnmap(size_t sizeInBytes);
|
/external/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 17 GrMockBuffer(GrMockGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrMockBuffer() argument 19 : INHERITED(gpu, sizeInBytes, type, accessPattern) { in GrMockBuffer()
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_cmd.h | 1297 uint32 sizeInBytes; member 1336 uint32 sizeInBytes; member 1493 uint32 sizeInBytes; member 1505 uint32 sizeInBytes; member 1530 uint32 sizeInBytes; member 1559 uint32 sizeInBytes; member 1574 uint32 sizeInBytes; member 1859 uint32 sizeInBytes; member
|
D | svga3d_dx.h | 217 uint32 sizeInBytes; member 521 uint32 sizeInBytes; /* max bytes to write */ member 534 uint32 sizeInBytes; member 1273 uint32 sizeInBytes; /* Number of bytes of shader text. */ member 1282 uint32 sizeInBytes; member 1445 uint32 sizeInBytes; member
|
/external/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 12 GrGpuBuffer::GrGpuBuffer(GrGpu* gpu, size_t sizeInBytes, GrGpuBufferType type, in GrGpuBuffer() argument 16 , fSizeInBytes(sizeInBytes) in GrGpuBuffer()
|
D | GrGpuBuffer.h | 94 GrGpuBuffer(GrGpu*, size_t sizeInBytes, GrGpuBufferType, GrAccessPattern);
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoderBitVector.cpp | 41 size_t CBC_QRCoderBitVector::sizeInBytes() const { in sizeInBytes() function in CBC_QRCoderBitVector 91 for (size_t i = 0; i < sizeInBytes(); ++i) in XOR()
|
D | BC_QRCoderEncoder.cpp | 365 int32_t numPaddingBytes = numDataBytes - bits->sizeInBytes(); in TerminateBits() 516 if (bits->sizeInBytes() != static_cast<size_t>(numDataBytes)) in InterleaveWithECBytes() 558 return static_cast<size_t>(numTotalBytes) == result->sizeInBytes(); in InterleaveWithECBytes() 580 int32_t numInputBytes = dataBits.sizeInBytes(); in Encode() 585 int32_t numLetters = mode == CBC_QRCoderMode::sBYTE ? dataBits.sizeInBytes() in Encode()
|
D | BC_QRCoderBitVector.h | 23 size_t sizeInBytes() const;
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_cmd_vgpu10.c | 481 sot->sizeInBytes = targets[i].sizeInBytes; in SVGA3D_vgpu10_SetSOTargets() 487 sot->sizeInBytes = ~0u; in SVGA3D_vgpu10_SetSOTargets() 1057 uint32 sizeInBytes) in SVGA3D_vgpu10_DefineAndBindShader() argument 1076 dcmd->sizeInBytes = sizeInBytes; in SVGA3D_vgpu10_DefineAndBindShader() 1230 uint32 sizeInBytes) in SVGA3D_vgpu10_SetSingleConstantBuffer() argument 1236 assert(sizeInBytes == 0); in SVGA3D_vgpu10_SetSingleConstantBuffer() 1238 assert(sizeInBytes > 0); in SVGA3D_vgpu10_SetSingleConstantBuffer() 1250 cmd->sizeInBytes = sizeInBytes; in SVGA3D_vgpu10_SetSingleConstantBuffer()
|
/external/v8/src/inspector/ |
D | v8-debugger-script.cc | 38 size_t sizeInBytes = sizeof(UChar) * str.length(); in calculateHash() local 40 for (size_t i = 0; i < sizeInBytes / 4; ++i) { in calculateHash() 53 if (sizeInBytes % 4) { in calculateHash() 56 for (size_t i = sizeInBytes - sizeInBytes % 4; i < sizeInBytes; ++i) { in calculateHash()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicClass.cpp | 94 …const VkDeviceSize vertexDataSizeBytes = sizeInBytes(m_vertexPosData) + sizeInBytes(m_vertexAt… in iterate()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cudnn_7_0.inc | 313 size_t *sizeInBytes ) { 317 return func_ptr(handle, reduceTensorDesc, aDesc, cDesc, sizeInBytes); 325 size_t *sizeInBytes ) { 329 return func_ptr(handle, reduceTensorDesc, aDesc, cDesc, sizeInBytes); 657 size_t *sizeInBytes ) { 661 return func_ptr(handle, xDesc, wDesc, convDesc, yDesc, algo, sizeInBytes); 803 size_t *sizeInBytes ) { 807 return func_ptr(handle, xDesc, dyDesc, convDesc, gradDesc, algo, sizeInBytes); 910 size_t *sizeInBytes ) { 914 return func_ptr(handle, wDesc, dyDesc, convDesc, dxDesc, algo, sizeInBytes); [all …]
|
D | cudnn_6_0.inc | 302 size_t *sizeInBytes ) { 306 return func_ptr(handle, reduceTensorDesc, aDesc, cDesc, sizeInBytes); 314 size_t *sizeInBytes ) { 318 return func_ptr(handle, reduceTensorDesc, aDesc, cDesc, sizeInBytes); 591 size_t *sizeInBytes ) { 595 return func_ptr(handle, xDesc, wDesc, convDesc, yDesc, algo, sizeInBytes); 714 size_t *sizeInBytes ) { 718 return func_ptr(handle, xDesc, dyDesc, convDesc, gradDesc, algo, sizeInBytes); 798 size_t *sizeInBytes ) { 802 return func_ptr(handle, wDesc, dyDesc, convDesc, dxDesc, algo, sizeInBytes); [all …]
|
D | cudnn_7_4.inc | 317 size_t *sizeInBytes) { 321 return func_ptr(handle, reduceTensorDesc, aDesc, cDesc, sizeInBytes); 329 size_t *sizeInBytes) { 333 return func_ptr(handle, reduceTensorDesc, aDesc, cDesc, sizeInBytes); 655 size_t *sizeInBytes) { 659 return func_ptr(handle, xDesc, wDesc, convDesc, yDesc, algo, sizeInBytes); 801 size_t *sizeInBytes) { 805 return func_ptr(handle, xDesc, dyDesc, convDesc, gradDesc, algo, sizeInBytes); 908 size_t *sizeInBytes) { 912 return func_ptr(handle, wDesc, dyDesc, convDesc, dxDesc, algo, sizeInBytes); [all …]
|