/external/skia/src/gpu/ |
GrVertexBuffer.h | 18 GrVertexBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic) 19 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic) {}
|
GrIndexBuffer.h | 24 return this->sizeInBytes() / (sizeof(uint16_t) * 6); 27 GrIndexBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic) 28 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic) {}
|
GrGeometryBuffer.h | 76 virtual size_t sizeInBytes() const { return fSizeInBytes; } 79 GrGeometryBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic) 81 , fSizeInBytes(sizeInBytes)
|
GrResourceCache.cpp | 114 fClientDetachedBytes += entry->resource()->sizeInBytes(); 129 fEntryBytes -= entry->resource()->sizeInBytes(); 140 fClientDetachedBytes -= entry->resource()->sizeInBytes(); 145 fEntryBytes += entry->resource()->sizeInBytes(); 219 entry, fEntryCount, resource->sizeInBytes(), fEntryBytes); 249 size_t size = entry->resource()->sizeInBytes(); 377 bytes += entry->resource()->sizeInBytes();
|
GrBufferAllocPool.cpp | 111 size_t flushSize = block.fBuffer->sizeInBytes() - block.fBytesFree; 137 size_t bytes = fBlocks[i].fBuffer->sizeInBytes() - fBlocks[i].fBytesFree; 163 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; 203 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; 233 size_t bytesUsed = block.fBuffer->sizeInBytes() - block.fBytesFree; 292 prev.fBuffer->sizeInBytes() - prev.fBytesFree); 338 GrAssert(flushSize <= buffer->sizeInBytes());
|
/external/srec/portable/src/ |
pmemory_ext.h | 36 void* PortNew(size_t sizeInBytes); 41 void PortMemSetPoolSize(size_t sizeInBytes);
|
pmemory_ext.c | 70 #define MEM_MGR_SetPoolSize(sizeInBytes) PortMallocSetPoolSize(sizeInBytes) 73 #define MEM_MGR_Allocate(sizeInBytes) PortMalloc(sizeInBytes) 211 void PortMemSetPoolSize(size_t sizeInBytes) 213 MEM_MGR_SetPoolSize(sizeInBytes); 252 void* PortNew(size_t sizeInBytes) 264 sizeInBytes += GUARD_EXTRA; /* space for: requestedSize,guardStart,guardEnd */ 267 pMemory = MEM_MGR_Allocate(sizeInBytes); 278 unsigned int * guardEndPtr = GUARD_PTR_FIELD(pMemory, GUARD_OFF_END(sizeInBytes)); [all...] |
/external/skia/src/gpu/gl/ |
GrGLPath.h | 31 virtual size_t sizeInBytes() const SK_OVERRIDE { return 100; }
|
GrGLIndexBuffer.cpp | 20 size_t sizeInBytes, 22 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic) 62 this->sizeInBytes(), 107 if (srcSizeInBytes > this->sizeInBytes()) { 114 if (this->sizeInBytes() == srcSizeInBytes) { 125 this->sizeInBytes(), NULL, usage));
|
GrGLVertexBuffer.cpp | 20 size_t sizeInBytes, 22 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic) 60 GL_CALL(BufferData(GR_GL_ARRAY_BUFFER, this->sizeInBytes(), NULL, 104 if (srcSizeInBytes > this->sizeInBytes()) { 111 if (this->sizeInBytes() == srcSizeInBytes) { 121 this->sizeInBytes(), NULL, usage));
|
GrGLIndexBuffer.h | 37 size_t sizeInBytes,
|
GrGLVertexBuffer.h | 34 size_t sizeInBytes,
|
GrGLStencilBuffer.cpp | 16 size_t GrGLStencilBuffer::sizeInBytes() const {
|
GrGLStencilBuffer.h | 39 virtual size_t sizeInBytes() const SK_OVERRIDE;
|
/external/webkit/Source/WebCore/html/canvas/ |
ArrayBuffer.h | 47 ArrayBuffer(void* data, unsigned sizeInBytes);
|
ArrayBuffer.cpp | 56 ArrayBuffer::ArrayBuffer(void* data, unsigned sizeInBytes) 57 : m_sizeInBytes(sizeInBytes)
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
SuperFloppyFormatter.java | 305 public static FatType fatTypeFromSize(long sizeInBytes) { 306 final long sizeInMb = sizeInBytes / (1024 * 1024); 312 public static int clusterSizeFromSize(long sizeInBytes, int sectorSize){ 313 switch(fatTypeFromSize(sizeInBytes)) { 315 return sectorsPerCluster12(sizeInBytes, sectorSize); 317 return sectorsPerCluster16FromSize(sizeInBytes, sectorSize); 319 return sectorsPerCluster32FromSize(sizeInBytes, sectorSize);
|
/frameworks/base/media/java/android/media/ |
AudioRecord.java | 576 * @param sizeInBytes the number of requested bytes. 580 * The number of bytes will not exceed sizeInBytes. 582 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { 587 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 588 || (offsetInBytes + sizeInBytes > audioData.length)) { 592 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes); 626 * @param sizeInBytes the number of requested bytes. 630 * The number of bytes will not exceed sizeInBytes. 632 public int read(ByteBuffer audioBuffer, int sizeInBytes) { 637 if ( (audioBuffer == null) || (sizeInBytes < 0) ) [all...] |
AudioTrack.java | [all...] |
/external/skia/include/gpu/ |
GrResource.h | 58 virtual size_t sizeInBytes() const = 0;
|
GrRenderTarget.h | 29 virtual size_t sizeInBytes() const SK_OVERRIDE;
|
/frameworks/base/core/jni/ |
android_media_AudioTrack.cpp | 87 bool allocSharedMem(int sizeInBytes) { 88 mMemHeap = new MemoryHeapBase(sizeInBytes, 0, "AudioTrack Heap Base"); 92 mMemBase = new MemoryBase(mMemHeap, 0, sizeInBytes); 517 jint offsetInBytes, jint sizeInBytes) { 522 written = track->write(data + offsetInBytes, sizeInBytes); 526 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { 527 sizeInBytes = track->sharedBuffer()->size(); 529 memcpy(track->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes); 530 written = sizeInBytes; 536 if (((size_t)sizeInBytes)*2 > track->sharedBuffer()->size()) [all...] |
android_media_AudioRecord.cpp | 364 jint offsetInBytes, jint sizeInBytes) { 393 sizeInBytes > (jint)recorderBuffSize ? 394 (jint)recorderBuffSize : sizeInBytes ); 413 jobject jBuffer, jint sizeInBytes) { 435 capacity < sizeInBytes ? capacity : sizeInBytes);
|
/external/webkit/Source/WebKit2/Shared/ |
ShareableBitmap.h | 122 size_t sizeInBytes() const { return numBytesForSize(m_size); }
|
/external/webkit/Source/WebKit2/Shared/cg/ |
ShareableBitmapCG.cpp | 80 RetainPtr<CGDataProvider> dataProvider(AdoptCF, CGDataProviderCreateWithData(this, data(), sizeInBytes(), releaseDataProviderData));
|