/external/chromium_org/third_party/skia/src/gpu/ |
GrIndexBuffer.h | 24 return static_cast<int>(this->sizeInBytes() / (sizeof(uint16_t) * 6)); 27 GrIndexBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic, bool cpuBacked) 28 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic, cpuBacked) {}
|
GrVertexBuffer.h | 18 GrVertexBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic, bool cpuBacked) 19 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic, cpuBacked) {}
|
GrGeometryBuffer.h | 86 virtual size_t sizeInBytes() const { return fSizeInBytes; } 89 GrGeometryBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic, bool cpuBacked) 91 , fSizeInBytes(sizeInBytes)
|
GrBufferAllocPool.cpp | 112 size_t flushSize = block.fBuffer->sizeInBytes() - block.fBytesFree; 138 size_t bytes = fBlocks[i].fBuffer->sizeInBytes() - fBlocks[i].fBytesFree; 164 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; 204 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; 234 size_t bytesUsed = block.fBuffer->sizeInBytes() - block.fBytesFree; 293 prev.fBuffer->sizeInBytes() - prev.fBytesFree); 351 SkASSERT(flushSize <= buffer->sizeInBytes());
|
/external/skia/src/gpu/ |
GrIndexBuffer.h | 24 return static_cast<int>(this->sizeInBytes() / (sizeof(uint16_t) * 6)); 27 GrIndexBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic, bool cpuBacked) 28 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic, cpuBacked) {}
|
GrVertexBuffer.h | 18 GrVertexBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic, bool cpuBacked) 19 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic, cpuBacked) {}
|
GrGeometryBuffer.h | 86 virtual size_t sizeInBytes() const { return fSizeInBytes; } 89 GrGeometryBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic, bool cpuBacked) 91 , fSizeInBytes(sizeInBytes)
|
GrBufferAllocPool.cpp | 112 size_t flushSize = block.fBuffer->sizeInBytes() - block.fBytesFree; 138 size_t bytes = fBlocks[i].fBuffer->sizeInBytes() - fBlocks[i].fBytesFree; 164 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; 204 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; 234 size_t bytesUsed = block.fBuffer->sizeInBytes() - block.fBytesFree; 293 prev.fBuffer->sizeInBytes() - prev.fBytesFree); 351 SkASSERT(flushSize <= buffer->sizeInBytes());
|
/external/srec/portable/src/ |
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...] |
pmemory_ext.h | 36 void* PortNew(size_t sizeInBytes); 41 void PortMemSetPoolSize(size_t sizeInBytes);
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLPath.h | 30 virtual size_t sizeInBytes() const SK_OVERRIDE { return 100; }
|
GrGLStencilBuffer.cpp | 16 size_t GrGLStencilBuffer::sizeInBytes() const {
|
GrGLStencilBuffer.h | 39 virtual size_t sizeInBytes() const SK_OVERRIDE;
|
/external/skia/src/gpu/gl/ |
GrGLPath.h | 30 virtual size_t sizeInBytes() const SK_OVERRIDE { return 100; }
|
GrGLStencilBuffer.cpp | 16 size_t GrGLStencilBuffer::sizeInBytes() const {
|
GrGLStencilBuffer.h | 39 virtual size_t sizeInBytes() const SK_OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ArrayBufferDeallocationObserver.h | 38 virtual void arrayBufferDeallocated(unsigned sizeInBytes) = 0; 43 virtual void blinkAllocatedMemory(unsigned sizeInBytes) = 0;
|
ArrayBufferContents.h | 52 ArrayBufferContents(void* data, unsigned sizeInBytes, ArrayBufferDeallocationObserver*); 59 unsigned sizeInBytes() const { return m_sizeInBytes; }
|
ArrayBufferContents.cpp | 59 void* data, unsigned sizeInBytes, ArrayBufferDeallocationObserver* observer) 61 , m_sizeInBytes(sizeInBytes)
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8ArrayBufferCustom.h | 39 virtual void arrayBufferDeallocated(unsigned sizeInBytes) 41 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(-static_cast<int>(sizeInBytes)); 46 virtual void blinkAllocatedMemory(unsigned sizeInBytes) OVERRIDE 48 v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(static_cast<int>(sizeInBytes));
|
/external/skia/bench/ |
GrResourceCacheBench.cpp | 35 virtual size_t sizeInBytes() const SK_OVERRIDE { 60 virtual size_t sizeInBytes() const SK_OVERRIDE { 95 cache->purgeAsNeeded(1, resource->sizeInBytes()); 105 cache->purgeAsNeeded(1, resource->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/core/jni/ |
android_media_AudioTrack.cpp | 81 bool allocSharedMem(int sizeInBytes) { 82 mMemHeap = new MemoryHeapBase(sizeInBytes, 0, "AudioTrack Heap Base"); 86 mMemBase = new MemoryBase(mMemHeap, 0, sizeInBytes); 511 jint offsetInBytes, jint sizeInBytes) { 516 written = track->write(data + offsetInBytes, sizeInBytes); 524 if ((size_t)sizeInBytes > track->sharedBuffer()->size()) { 525 sizeInBytes = track->sharedBuffer()->size(); 527 memcpy(track->sharedBuffer()->pointer(), data + offsetInBytes, sizeInBytes); 528 written = sizeInBytes; 534 if (((size_t)sizeInBytes)*2 > track->sharedBuffer()->size()) [all...] |
/frameworks/base/media/java/android/media/ |
AudioRecord.java | 565 * @param sizeInBytes the number of requested bytes. 569 * The number of bytes will not exceed sizeInBytes. 571 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { 576 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 577 || (offsetInBytes + sizeInBytes < 0) // detect integer overflow 578 || (offsetInBytes + sizeInBytes > audioData.length)) { 582 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes); 617 * @param sizeInBytes the number of requested bytes. 621 * The number of bytes will not exceed sizeInBytes. 623 public int read(ByteBuffer audioBuffer, int sizeInBytes) { [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
LocalMediaData.java | 85 int width, int height, long sizeInBytes, double latitude, 95 mSizeInBytes = sizeInBytes; 341 long sizeInBytes, double latitude, double longitude) { 343 path, width, height, sizeInBytes, latitude, longitude); 383 long sizeInBytes = c.getLong(COL_SIZE); 388 sizeInBytes, latitude, longitude); 621 String path, int width, int height, long sizeInBytes, 624 path, width, height, sizeInBytes, latitude, longitude); 674 long sizeInBytes = c.getLong(COL_SIZE); 679 dateModifiedInSeconds, path, width, height, sizeInBytes, [all...] |