Home
last modified time | relevance | path

Searched refs:fBuffer (Results 1 – 25 of 83) sorted by relevance

1234

/external/dng_sdk/source/
Ddng_simple_image.cpp44 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 …]
Ddng_ref_counted_block.cpp26 : 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 …]
Ddng_memory.cpp26 : 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()
Ddng_memory.h44 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()
Ddng_ref_counted_block.h61 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/
DGrBufferAllocPool.cpp39 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/skqp/src/gpu/
DGrBufferAllocPool.cpp33 (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/icu/icu4c/source/common/
Dunistrappender.h49 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/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeDecompressor.java94 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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeDecompressor.java93 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/skia/src/sksl/
DSkSLStringStream.h20 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/skqp/src/sksl/
DSkSLStringStream.h20 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/core/
DSkRWBuffer.cpp157 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/
DSkRWBuffer.cpp157 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/skia/bench/
DMemsetBench.cpp17 , 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/skqp/bench/
DMemsetBench.cpp17 , 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/icu/icu4c/source/i18n/
Dnumparse_types.h61 fBuffer[0] = 0; in CompactUnicodeString()
65 : fBuffer(text.length() + 1) { in CompactUnicodeString()
66 memcpy(fBuffer.getAlias(), text.getBuffer(), sizeof(UChar) * text.length()); in CompactUnicodeString()
67 fBuffer[text.length()] = 0; in CompactUnicodeString()
71 return UnicodeString(TRUE, fBuffer.getAlias(), -1); in toAliasedUnicodeString()
80 MaybeStackArray<UChar, stackCapacity> fBuffer;
/external/skqp/tools/sk_app/android/
DRasterWindowContext_android.cpp33 ANativeWindow_Buffer fBuffer; member in __anon6438d9440111::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/
DRasterWindowContext_android.cpp33 ANativeWindow_Buffer fBuffer; member in __anon117367cd0111::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/src/images/
DSkJPEGWriteUtility.cpp16 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/images/
DSkJPEGWriteUtility.cpp16 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/utils/
DSkFrontBufferedStream.cpp44 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()
/external/skqp/src/utils/
DSkFrontBufferedStream.cpp44 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()
/external/skia/src/pdf/
DSkJpegInfo.cpp28 fBuffer = nullptr; in read()
38 fBuffer = &fData[fOffset]; in read()
49 const char* data() { return fBuffer; } in data()
61 const char* fBuffer; member in __anon7c7dc1d20111::JpegSegment
/external/skqp/src/pdf/
DSkJpegInfo.cpp28 fBuffer = nullptr; in read()
38 fBuffer = &fData[fOffset]; in read()
49 const char* data() { return fBuffer; } in data()
61 const char* fBuffer; member in __anonfcee51090111::JpegSegment

1234