/third_party/skia/third_party/externals/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()
|
/third_party/flutter/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 …]
|
/third_party/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 41 for (; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in makeBuffer() 42 SkASSERT(fBuffers[i].fBuffer->size() == kDefaultBufferSize); in makeBuffer() 43 if (fBuffers[i].fBuffer->unique()) { in makeBuffer() 48 fBuffers[i].fBuffer = GrCpuBuffer::Make(size); in makeBuffer() 54 tempResult.fBuffer = GrCpuBuffer::Make(size); in makeBuffer() 59 memset(result->fBuffer->data(), 0, result->fBuffer->size()); in makeBuffer() 61 return result->fBuffer; in makeBuffer() 65 for (int i = 0; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in releaseAll() 66 fBuffers[i].fBuffer.reset(); in releaseAll() 83 (float)((block).fBytesFree) / (block).fBuffer->size()); \ [all …]
|
D | GrStagingBufferManager.h | 24 : fBuffer(buffer), fOffset(offset), fOffsetMapPtr(offsetMapPtr) {} in Slice() 25 GrGpuBuffer* fBuffer = nullptr; member 43 fBuffers[i].fBuffer->unmap(); in reset() 53 : fBuffer(std::move(buffer)) in StagingBuffer() 56 sk_sp<GrGpuBuffer> fBuffer; member 60 size_t remaining() { return fBuffer->size() - fOffset; } in remaining()
|
/third_party/flutter/skia/third_party/externals/icu/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
|
/third_party/skia/third_party/externals/icu/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
|
/third_party/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
|
/third_party/node/deps/icu-small/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
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnRingBuffer.h | 22 : fBuffer(buffer), fOffset(offset) {} in Slice() 24 : fBuffer(nullptr), fOffset(0) {} in Slice() 26 : fBuffer(other.fBuffer), fOffset(other.fOffset) {} in Slice() 28 fBuffer = other.fBuffer; 32 wgpu::Buffer fBuffer; member 40 wgpu::Buffer fBuffer; variable
|
D | GrDawnBuffer.cpp | 45 fBuffer = this->getDawnGpu()->device().CreateBuffer(&bufferDesc); in GrDawnBuffer() 48 fBuffer = this->getDawnGpu()->device().CreateBuffer(&bufferDesc); in GrDawnBuffer() 49 fMapPtr = fBuffer.GetMappedRange(); in GrDawnBuffer() 67 fStagingBuffer = static_cast<GrDawnBuffer*>(slice.fBuffer)->get(); in onMap() 85 fBuffer, 0, this->size()); in onUnmap() 87 fBuffer.Unmap(); in onUnmap() 118 fBuffer.MapAsync(wgpu::MapMode::Write, 0, 0, callback_write, this); in mapWriteAsync() 122 fBuffer.MapAsync(wgpu::MapMode::Read, 0, 0, callback_read, this); in mapReadAsync()
|
/third_party/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 …]
|
/third_party/flutter/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() 86 return fBuffer->header(fCurrentEntry)->fHasLocals; in isLocalValid() 94 const GrQuadBuffer<T>* fBuffer; variable 104 SkDEBUGCODE(fBuffer->validate(fCurrentEntry, fExpectedCount);) 116 : fBuffer(list) in MetadataIter() 123 T& operator*() { this->validate(); return *(fBuffer->metadata(fCurrentEntry)); } 125 T* operator->() { this->validate(); return fBuffer->metadata(fCurrentEntry); } 128 GrQuadBuffer<T>* fBuffer; 134 SkDEBUGCODE(fBuffer->validate(fCurrentEntry, fExpectedCount);) [all …]
|
/third_party/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.size(); in bytesWritten() 37 return fBuffer; in str() 41 fBuffer = ""; in reset() 45 String fBuffer;
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
|
/third_party/skia/src/gpu/ops/ |
D | ClearOp.cpp | 51 , fBuffer(buffer) { in ClearOp() 58 if (other->fBuffer == fBuffer) { in onCombineIfPossible() 74 if (other->fBuffer & Buffer::kColor) { in onCombineIfPossible() 77 if (other->fBuffer & Buffer::kStencilClip) { in onCombineIfPossible() 80 fBuffer = Buffer::kBoth; in onCombineIfPossible() 88 if (fBuffer & Buffer::kColor) { in onExecute() 92 if (fBuffer & Buffer::kStencilClip) { in onExecute()
|
/third_party/flutter/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;
|
/third_party/skia/client_utils/android/ |
D | FrontBufferedStream.cpp | 22 bool failedToAllocateBuffer() const { return !fBuffer; } in failedToAllocateBuffer() 49 char* fBuffer; member in __anon9605f9b50111::FrontBufferedStream 100 , fBuffer(bufferSize <= kStorageSize ? fStorage in FrontBufferedStream() 104 if (fBuffer != fStorage) { in ~FrontBufferedStream() 105 free(fBuffer); in ~FrontBufferedStream() 135 memcpy(dst, fBuffer + fOffset, bytesToCopy); in readFromBuffer() 149 SkASSERT(fBuffer); in bufferAndWriteTo() 153 char* buffer = fBuffer + fOffset; in bufferAndWriteTo() 178 if (bytesReadDirectly > 0 && fBuffer != fStorage) { in readDirectlyFromStream() 179 free(fBuffer); in readDirectlyFromStream() [all …]
|
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlBuffer.mm | 66 , fBuffer(std::move(buffer)) {} 69 SkASSERT(fBuffer); 72 if ((*fBuffer).storageMode == MTLStorageModePrivate) { 76 fMapPtr = static_cast<char*>((*fBuffer).contents); 80 SkASSERT(fBuffer); 83 if ((*fBuffer).storageMode == MTLStorageModeManaged) { 84 [*fBuffer didModifyRange: NSMakeRange(0, this->size())];
|
/third_party/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;
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | numparse_types.h | 64 fBuffer[0] = 0; in CompactUnicodeString() 68 : fBuffer(text.length() + 1, status) { in CompactUnicodeString() 70 uprv_memcpy(fBuffer.getAlias(), text.getBuffer(), sizeof(UChar) * text.length()); in CompactUnicodeString() 71 fBuffer[text.length()] = 0; in CompactUnicodeString() 75 return UnicodeString(true, fBuffer.getAlias(), -1); in toAliasedUnicodeString() 84 MaybeStackArray<UChar, stackCapacity> fBuffer;
|
/third_party/node/deps/icu-small/source/i18n/ |
D | numparse_types.h | 64 fBuffer[0] = 0; in CompactUnicodeString() 68 : fBuffer(text.length() + 1, status) { in CompactUnicodeString() 70 uprv_memcpy(fBuffer.getAlias(), text.getBuffer(), sizeof(UChar) * text.length()); in CompactUnicodeString() 71 fBuffer[text.length()] = 0; in CompactUnicodeString() 75 return UnicodeString(true, fBuffer.getAlias(), -1); in toAliasedUnicodeString() 84 MaybeStackArray<UChar, stackCapacity> fBuffer;
|
/third_party/flutter/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()
|