/external/dng_sdk/source/ |
D | dng_ref_counted_block.cpp | 26 : fBuffer (NULL) in dng_ref_counted_block() 36 : fBuffer (NULL) in dng_ref_counted_block() 63 fBuffer = malloc (size + sizeof (header)); in Allocate() 65 if (!fBuffer) in Allocate() 72 new (fBuffer) header (size); in Allocate() 83 if (fBuffer) in Clear() 89 header *blockHeader = (struct header *)fBuffer; in Clear() 104 free (fBuffer); in Clear() 108 fBuffer = NULL; in Clear() 117 : fBuffer (NULL) in dng_ref_counted_block() [all …]
|
D | dng_simple_image.cpp | 44 fBuffer = dng_pixel_buffer (bounds, 0, planes, pixelType, pcInterleaved, fMemory->Buffer ()); in dng_simple_image() 65 result->fBuffer.CopyArea (fBuffer, in Clone() 81 fBuffer.fPixelType = pixelType; in SetPixelType() 96 fBuffer.fData = fBuffer.DirtyPixel (r.t, r.l); in Trim() 98 fBuffer.fArea = fBounds; in Trim() 110 int32 colStep = fBuffer.fColStep; in Rotate() 111 int32 rowStep = fBuffer.fRowStep; in Rotate() 147 fBuffer.fData = fBuffer.DirtyPixel (originV, originH); in Rotate() 149 fBuffer.fColStep = colStep; in Rotate() 150 fBuffer.fRowStep = rowStep; in Rotate() [all …]
|
D | dng_memory.cpp | 26 : fBuffer (NULL) in dng_memory_data() 36 : fBuffer (NULL) in dng_memory_data() 48 : fBuffer (NULL) in dng_memory_data() 75 fBuffer = (char*)malloc (size); in Allocate() 77 if (!fBuffer) in Allocate() 113 if (fBuffer) in Clear() 116 free (fBuffer); in Clear() 118 fBuffer = NULL; in Clear()
|
D | dng_memory.h | 44 char *fBuffer; 98 return fBuffer; in Buffer() 106 return fBuffer; in Buffer() 293 char *fBuffer; variable 299 , fBuffer (NULL) in dng_memory_block() 336 fBuffer = (char *) ((((uintptr) p) + 15) & ~((uintptr) 15)); in SetBuffer() 360 return fBuffer; in Buffer() 368 return fBuffer; in Buffer()
|
D | dng_ref_counted_block.h | 61 void *fBuffer; variable 109 return ((header *)fBuffer)->fSize; in LogicalSize() 114 return (void *)((char *)fBuffer + sizeof (header)); in Buffer() 122 return (const void *)((char *)fBuffer + sizeof (header)); in Buffer()
|
/external/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 39 for (; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in makeBuffer() 40 SkASSERT(fBuffers[i].fBuffer->size() == kDefaultBufferSize); in makeBuffer() 41 if (fBuffers[i].fBuffer->unique()) { in makeBuffer() 46 fBuffers[i].fBuffer = GrCpuBuffer::Make(size); in makeBuffer() 52 tempResult.fBuffer = GrCpuBuffer::Make(size); in makeBuffer() 57 memset(result->fBuffer->data(), 0, result->fBuffer->size()); in makeBuffer() 59 return result->fBuffer; in makeBuffer() 63 for (int i = 0; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in releaseAll() 64 fBuffers[i].fBuffer.reset(); in releaseAll() 81 (float)((block).fBytesFree) / (block).fBuffer->size()); \ [all …]
|
/external/icu/icu4c/source/common/ |
D | unistrappender.h | 49 if (fIdx == UPRV_LENGTHOF(fBuffer)) { in append() 50 fDest->append(fBuffer, 0, fIdx); in append() 53 fBuffer[fIdx++] = x; in append() 57 if (fIdx >= UPRV_LENGTHOF(fBuffer) - 1) { in append() 58 fDest->append(fBuffer, 0, fIdx); in append() 61 U16_APPEND_UNSAFE(fBuffer, fIdx, x); in append() 69 fDest->append(fBuffer, 0, fIdx); in flush() 83 UChar fBuffer[32]; variable
|
/external/skqp/src/gpu/ |
D | GrBufferAllocPool.cpp | 33 (float)((block).fBytesFree) / (block).fBuffer->gpuMemorySize()); \ 34 (block).fBuffer->unmap(); \ 49 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks() 81 if (block.fBuffer->isMapped()) { in unmap() 84 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap() 97 if (!fBlocks.back().fBuffer->isMapped()) { in validate() 101 SkASSERT(fBlocks.empty() || !fBlocks.back().fBuffer->isMapped()); in validate() 105 SkASSERT(!fBlocks[i].fBuffer->isMapped()); in validate() 108 if (fBlocks[i].fBuffer->wasDestroyed()) { in validate() 111 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; in validate() [all …]
|
/external/skia/src/gpu/dawn/ |
D | GrDawnRingBuffer.h | 23 Slice(wgpu::Buffer buffer, int offset) : fBuffer(buffer), fOffset(offset) {} in Slice() 24 Slice() : fBuffer(nullptr), fOffset(0) {} in Slice() 25 Slice(const Slice& other) : fBuffer(other.fBuffer), fOffset(other.fOffset) {} in Slice() 27 fBuffer = other.fBuffer; 31 wgpu::Buffer fBuffer; member 39 wgpu::Buffer fBuffer; variable
|
D | GrDawnBuffer.cpp | 37 fBuffer = this->getDawnGpu()->device().CreateBuffer(&bufferDesc); in GrDawnBuffer() 56 fStagingBuffer->fBuffer.Unmap(); in onUnmap() 59 .CopyBufferToBuffer(fStagingBuffer->fBuffer, 0, fBuffer, 0, this->size()); in onUnmap()
|
/external/skia/src/gpu/geometry/ |
D | GrQuadBuffer.h | 64 , fBuffer(buffer) in Iter() 72 const T& metadata() const { this->validate(); return *(fBuffer->metadata(fCurrentEntry)); } in metadata() 88 return fBuffer->header(fCurrentEntry)->fHasLocals; in isLocalValid() 96 const GrQuadBuffer<T>* fBuffer; variable 106 SkDEBUGCODE(fBuffer->validate(fCurrentEntry, fExpectedCount);) 118 : fBuffer(list) in MetadataIter() 125 T& operator*() { this->validate(); return *(fBuffer->metadata(fCurrentEntry)); } 127 T* operator->() { this->validate(); return fBuffer->metadata(fCurrentEntry); } 130 GrQuadBuffer<T>* fBuffer; 136 SkDEBUGCODE(fBuffer->validate(fCurrentEntry, fExpectedCount);) [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnicodeDecompressor.java | 93 private byte [] fBuffer = new byte [BUFSIZE]; field in UnicodeDecompressor 197 newBytes = fBuffer.length - fBufferLength; in decompress() 204 fBuffer, fBufferLength, newBytes); in decompress() 211 int count = decompress(fBuffer, 0, fBuffer.length, null, in decompress() 278 fBuffer, 0, in decompress() 330 fBuffer, 0, in decompress() 356 fBuffer, 0, in decompress() 387 fBuffer, 0, in decompress() 406 fBuffer, 0, in decompress() 442 fBuffer, 0, in decompress() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UnicodeDecompressor.java | 94 private byte [] fBuffer = new byte [BUFSIZE]; field in UnicodeDecompressor 194 newBytes = fBuffer.length - fBufferLength; in decompress() 201 fBuffer, fBufferLength, newBytes); in decompress() 208 int count = decompress(fBuffer, 0, fBuffer.length, null, in decompress() 275 fBuffer, 0, in decompress() 327 fBuffer, 0, in decompress() 353 fBuffer, 0, in decompress() 384 fBuffer, 0, in decompress() 403 fBuffer, 0, in decompress() 439 fBuffer, 0, in decompress() [all …]
|
/external/skqp/src/sksl/ |
D | SkSLStringStream.h | 20 fBuffer += (char) b; in write8() 24 fBuffer += s; in writeText() 28 fBuffer.append((const char*) s, size); in write() 32 return fBuffer; in str() 36 fBuffer = ""; in reset() 40 String fBuffer;
|
/external/skia/src/sksl/ |
D | SkSLStringStream.h | 21 fBuffer += (char) b; in write8() 25 fBuffer += s; in writeText() 29 fBuffer.append((const char*) s, size); in write() 33 return fBuffer; in str() 37 fBuffer = ""; in reset() 41 String fBuffer;
|
/external/icu/icu4c/source/i18n/ |
D | numparse_types.h | 64 fBuffer[0] = 0; in CompactUnicodeString() 68 : fBuffer(text.length() + 1) { in CompactUnicodeString() 69 uprv_memcpy(fBuffer.getAlias(), text.getBuffer(), sizeof(UChar) * text.length()); in CompactUnicodeString() 70 fBuffer[text.length()] = 0; in CompactUnicodeString() 74 return UnicodeString(TRUE, fBuffer.getAlias(), -1); in toAliasedUnicodeString() 83 MaybeStackArray<UChar, stackCapacity> fBuffer;
|
/external/skqp/bench/ |
D | MemsetBench.cpp | 17 , fBuffer(n) in MemsetBench() 27 SkAutoTMalloc<T> fBuffer; member in MemsetBench 33 sk_memset32(fBuffer.get(), 0xFACEB004, fN); in onDraw() 39 sk_memset16(fBuffer.get(), 0x4973, fN); in onDraw() 50 memsetT<uint32_t>(fBuffer.get(), 0xFACEB004, fN); in onDraw() 56 memsetT<uint16_t>(fBuffer.get(), 0x4973, fN); in onDraw()
|
/external/skia/bench/ |
D | MemsetBench.cpp | 17 , fBuffer(n) in MemsetBench() 27 SkAutoTMalloc<T> fBuffer; member in MemsetBench 33 sk_memset32(fBuffer.get(), 0xFACEB004, fN); in onDraw() 39 sk_memset16(fBuffer.get(), 0x4973, fN); in onDraw() 50 memsetT<uint32_t>(fBuffer.get(), 0xFACEB004, fN); in onDraw() 56 memsetT<uint16_t>(fBuffer.get(), 0x4973, fN); in onDraw()
|
/external/skia/src/core/ |
D | SkRWBuffer.cpp | 157 fBuffer = buffer; in reset() 181 if (fBuffer->fTail == fBlock) { in next() 256 SkASSERT(fGlobalOffset <= fBuffer->size()); in validate() 275 SkROBufferStreamAsset(sk_sp<SkROBuffer> buffer) : fBuffer(std::move(buffer)), fIter(fBuffer) { in SkROBufferStreamAsset() 279 size_t getLength() const override { return fBuffer->size(); } in getLength() 283 fIter.reset(fBuffer.get()); in rewind() 313 SkASSERT(fGlobalOffset <= fBuffer->size()); in read() 318 return fBuffer->size() == fGlobalOffset; in isAtEnd() 347 return new SkROBufferStreamAsset(fBuffer); in onDuplicate() 356 sk_sp<SkROBuffer> fBuffer; member in SkROBufferStreamAsset
|
/external/skqp/src/core/ |
D | SkRWBuffer.cpp | 157 fBuffer = buffer; in reset() 181 if (fBuffer->fTail == fBlock) { in next() 256 SkASSERT(fGlobalOffset <= fBuffer->size()); in validate() 275 SkROBufferStreamAsset(sk_sp<SkROBuffer> buffer) : fBuffer(std::move(buffer)), fIter(fBuffer) { in SkROBufferStreamAsset() 279 size_t getLength() const override { return fBuffer->size(); } in getLength() 283 fIter.reset(fBuffer.get()); in rewind() 313 SkASSERT(fGlobalOffset <= fBuffer->size()); in read() 318 return fBuffer->size() == fGlobalOffset; in isAtEnd() 347 return new SkROBufferStreamAsset(fBuffer); in onDuplicate() 356 sk_sp<SkROBuffer> fBuffer; member in SkROBufferStreamAsset
|
/external/skqp/tools/sk_app/android/ |
D | RasterWindowContext_android.cpp | 33 ANativeWindow_Buffer fBuffer; member in __anon0099d3060111::RasterWindowContext_android 76 ANativeWindow_lock(fNativeWindow, &fBuffer, &fBounds); in getBackbufferSurface() 77 const int bytePerPixel = fBuffer.format == WINDOW_FORMAT_RGB_565 ? 2 : 4; in getBackbufferSurface() 83 info, fBuffer.bits, fBuffer.stride * bytePerPixel, nullptr); in getBackbufferSurface()
|
/external/skia/tools/sk_app/android/ |
D | RasterWindowContext_android.cpp | 33 ANativeWindow_Buffer fBuffer; member in __anonadd4618f0111::RasterWindowContext_android 76 ANativeWindow_lock(fNativeWindow, &fBuffer, &fBounds); in getBackbufferSurface() 77 const int bytePerPixel = fBuffer.format == WINDOW_FORMAT_RGB_565 ? 2 : 4; in getBackbufferSurface() 83 info, fBuffer.bits, fBuffer.stride * bytePerPixel, nullptr); in getBackbufferSurface()
|
/external/skqp/src/images/ |
D | SkJPEGWriteUtility.cpp | 16 dest->next_output_byte = dest->fBuffer; in sk_init_destination() 24 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer() 30 dest->next_output_byte = dest->fBuffer; in sk_empty_output_buffer() 40 if (!dest->fStream->write(dest->fBuffer, size)) { in sk_term_destination()
|
/external/skia/src/images/ |
D | SkJPEGWriteUtility.cpp | 16 dest->next_output_byte = dest->fBuffer; in sk_init_destination() 24 if (!dest->fStream->write(dest->fBuffer, in sk_empty_output_buffer() 30 dest->next_output_byte = dest->fBuffer; in sk_empty_output_buffer() 40 if (!dest->fStream->write(dest->fBuffer, size)) { in sk_term_destination()
|
/external/skqp/src/utils/ |
D | SkFrontBufferedStream.cpp | 44 SkAutoTMalloc<char> fBuffer; member in FrontBufferedStream 80 , fBuffer(bufferSize) {} in FrontBufferedStream() 108 memcpy(dst, fBuffer + fOffset, bytesToCopy); in readFromBuffer() 122 SkASSERT(fBuffer); in bufferAndWriteTo() 126 char* buffer = fBuffer + fOffset; in bufferAndWriteTo() 152 sk_free(fBuffer.release()); in readDirectlyFromStream()
|