Searched refs:sizeInBytes (Results 1 - 25 of 47) sorted by relevance

12

/external/skia/src/gpu/
H A DGrBuffer.cpp12 GrBuffer* GrBuffer::CreateCPUBacked(GrGpu* gpu, size_t sizeInBytes, GrBufferType intendedType, argument
17 cpuData = sk_calloc_throw(sizeInBytes);
19 cpuData = sk_malloc_flags(sizeInBytes, SK_MALLOC_THROW);
22 memcpy(cpuData, data, sizeInBytes);
24 return new GrBuffer(gpu, sizeInBytes, intendedType, cpuData);
27 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, void* cpuData) argument
30 fSizeInBytes(sizeInBytes),
37 GrBuffer::GrBuffer(GrGpu* gpu, size_t sizeInBytes, GrBufferType type, GrAccessPattern pattern) argument
40 fSizeInBytes(sizeInBytes),
H A DGrOpFlushState.h87 void putBackVertexSpace(size_t sizeInBytes) { fVertexPool.putBack(sizeInBytes); } argument
/external/skia/include/gpu/
H A DGrBuffer.h20 static SK_WARN_UNUSED_RESULT GrBuffer* CreateCPUBacked(GrGpu*, size_t sizeInBytes, GrBufferType,
30 size_t sizeInBytes() const { return fSizeInBytes; } function in class:GrBuffer
111 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, GrAccessPattern);
119 GrBuffer(GrGpu*, size_t sizeInBytes, GrBufferType, void* cpuData);
/external/skia/src/gpu/gl/
H A DGrGLBuffer.cpp167 if (GR_GL_USE_BUFFER_DATA_NULL_HINT || fGLSizeInBytes != this->sizeInBytes()) {
168 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage));
176 if (fGLSizeInBytes != this->sizeInBytes()) {
177 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage));
184 GL_CALL_RET(fMapPtr, MapBufferRange(target, 0, this->sizeInBytes(),
191 if (fGLSizeInBytes != this->sizeInBytes()) {
192 GL_CALL(BufferData(target, this->sizeInBytes(), nullptr, fUsage));
194 GL_CALL_RET(fMapPtr, MapBufferSubData(target, 0, this->sizeInBytes(),
199 fGLSizeInBytes = this->sizeInBytes();
240 if (srcSizeInBytes > this->sizeInBytes()) {
[all...]
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
H A DWebRtcAudioTrack.java81 final int sizeInBytes = byteBuffer.capacity();
87 nativeGetPlayoutData(sizeInBytes, nativeAudioTrack);
91 assertTrue(sizeInBytes <= byteBuffer.remaining());
94 bytesWritten = writeOnLollipop(audioTrack, byteBuffer, sizeInBytes);
96 bytesWritten = writePreLollipop(audioTrack, byteBuffer, sizeInBytes);
98 if (bytesWritten != sizeInBytes) {
124 private int writeOnLollipop(AudioTrack audioTrack, ByteBuffer byteBuffer, int sizeInBytes) { argument
125 return audioTrack.write(byteBuffer, sizeInBytes, AudioTrack.WRITE_BLOCKING);
128 private int writePreLollipop(AudioTrack audioTrack, ByteBuffer byteBuffer, int sizeInBytes) { argument
129 return audioTrack.write(byteBuffer.array(), byteBuffer.arrayOffset(), sizeInBytes);
[all...]
/external/libmojo/mojo/public/cpp/bindings/lib/
H A Dstring_traits_wtf.cc19 original_size_in_bytes = static_cast<size_t>(input.sizeInBytes());
38 static_cast<size_t>(input.sizeInBytes()));
/external/pdfium/xfa/fxbarcode/qrcode/
H A DBC_QRCoderBitVector.cpp51 int32_t CBC_QRCoderBitVector::sizeInBytes() { function in class:CBC_QRCoderBitVector
109 int32_t sizeInBytes = (m_sizeInBits + 7) >> 3; local
110 for (int32_t i = 0; i < sizeInBytes; ++i) {
H A DBC_QRCoderBitVector.h25 int32_t sizeInBytes();
H A DBC_QRCoderEncoder.cpp366 int32_t numInputBytes = dataBits.sizeInBytes();
378 numInputBytes = headerAndDataBits.sizeInBytes();
431 int32_t numInputBytes = dataBits.sizeInBytes();
445 numInputBytes = headerAndDataBits.sizeInBytes();
508 int32_t numInputBytes = dataBits.sizeInBytes();
517 int32_t numLetters = mode == CBC_QRCoderMode::sBYTE ? dataBits.sizeInBytes()
581 int32_t numPaddingBytes = numDataBytes - bits->sizeInBytes();
866 if (bits->sizeInBytes() != numDataBytes) {
920 if (numTotalBytes != result->sizeInBytes())
/external/v8/src/inspector/
H A Dv8-debugger-script.cc41 size_t sizeInBytes = sizeof(UChar) * str.length(); local
43 for (size_t i = 0; i < sizeInBytes / 4; i += 4) {
50 if (sizeInBytes % 4) {
52 for (size_t i = sizeInBytes - sizeInBytes % 4; i < sizeInBytes; ++i) {
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationCommonEdgeTests.cpp328 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(gridPosComps) + sizeInBytes(gridTessParams) + sizeInBytes(gridIndices);
330 const std::size_t vertexTessParamsOffset = sizeInBytes(gridPosComps);
331 const std::size_t vertexIndicesOffset = vertexTessParamsOffset + sizeInBytes(gridTessParams);
340 deMemcpy(pData + vertexPositionsOffset, &gridPosComps[0], static_cast<std::size_t>(sizeInBytes(gridPosComps)));
341 deMemcpy(pData + vertexTessParamsOffset, &gridTessParams[0], static_cast<std::size_t>(sizeInBytes(gridTessParams)));
342 deMemcpy(pData + vertexIndicesOffset, &gridIndices[0], static_cast<std::size_t>(sizeInBytes(gridIndices)));
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleTestsUtil.hpp102 inline std::size_t sizeInBytes(const std::vector<T>& vec) function in namespace:vkt::pipeline::multisample
H A DvktPipelineRenderToImageTests.cpp87 inline VkDeviceSize sizeInBytes (const vector<T>& vec) function in namespace:vkt::pipeline::__anon3854
600 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices);
H A DvktPipelineMultisampleImageTests.cpp78 inline VkDeviceSize sizeInBytes(const std::vector<T>& vec) function in namespace:vkt::pipeline::__anon3848
795 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices);
986 const VkDeviceSize vertexBufferSize = sizeInBytes(vertices);
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicClass.cpp91 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(m_vertexPosData) + sizeInBytes(m_vertexAttrData);
H A DvktGeometryTestsUtil.hpp159 inline std::size_t sizeInBytes (const std::vector<T>& vec) function in namespace:vkt::geometry
H A DvktGeometryInstancedRenderingTests.cpp361 const VkDeviceSize vertexBufferSize = sizeInBytes(perInstanceAttribute);
/external/skia/src/gpu/ops/
H A DGrDrawPathOp.h149 static int Align32(int sizeInBytes) { return (sizeInBytes + 3) & ~3; }
/external/lzma/CPP/7zip/Archive/7z/
H A D7zEncode.cpp122 const UInt32 sizeInBytes = _options.Password.Len() * 2; local
123 CByteBuffer buffer(sizeInBytes);
130 RINOK(cryptoSetPassword->CryptoSetPassword((const Byte *)buffer, sizeInBytes));
/external/libvncserver/libvncserver/
H A Dscale.c317 ptr->sizeInBytes = ptr->paddedWidthInBytes * ptr->height;
320 ptr->frameBuffer = malloc(ptr->sizeInBytes);
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp66 inline VkDeviceSize sizeInBytes(const std::vector<T>& vec) function in namespace:vkt::FragmentOperations::__anon3801
562 , m_vertexBufferSize (sizeInBytes(vertices))
H A DvktFragmentOperationsScissorTests.cpp85 inline VkDeviceSize sizeInBytes(const std::vector<T>& vec) function in namespace:vkt::FragmentOperations::__anon3802
540 , m_vertexBufferSize (sizeInBytes(m_vertices))
/external/lzma/C/
H A DLzFind.c167 size_t sizeInBytes = (size_t)num * sizeof(CLzRef); local
168 if (sizeInBytes / sizeof(CLzRef) != num)
170 return (CLzRef *)alloc->Alloc(alloc, sizeInBytes);
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesTestsUtil.hpp326 inline std::size_t sizeInBytes (const std::vector<T>& vec) function in namespace:vkt::sparse
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.repository.tools_2.0.1.R36x_v20100823.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 3237 milliseconds

12