Home
last modified time | relevance | path

Searched refs:fBytes (Results 1 – 14 of 14) sorted by relevance

/external/skia/experimental/PdfViewer/pdfparser/native/
DSkPdfNativeObject.h196 fStr.fBytes = 0; in reset()
241 return fStr.fBytes; in lenstr()
507 obj->fStr.fBytes = 0; in makeEmptyDictionary()
530 return set(key->fStr.fBuffer, key->fStr.fBytes, value); in set()
566 return get(key->fStr.fBuffer, key->fStr.fBytes); in get()
611 return get(key->fStr.fBuffer, key->fStr.fBytes); in get()
732 return fObjectType == kKeyword_PdfObjectType && fStr.fBytes == 1 && fStr.fBuffer[0] == 'R'; in isKeywordReference()
750 if (strlen(keyword) != fStr.fBytes) { in isKeyword()
754 if (strncmp(keyword, (const char*)fStr.fBuffer, fStr.fBytes) != 0) { in isKeyword()
773 fStr.fBytes == strlen(name) && in isName()
[all …]
DSkPdfNativeObject.cpp28 SkMemoryStream skstream(fStr.fBuffer, fStr.fBytes >> 2, false); in applyFlateDecodeFilter()
32 fStr.fBytes = (uncompressedData.bytesWritten() << 2) + kOwnedStreamBit + in applyFlateDecodeFilter()
82 fStr.fBytes = ((fStr.fBytes >> 1) << 1) + kFilteredStreamBit; in filterStream()
/external/skia/experimental/PdfViewer/
DSkPdfUtils.h38 size_t fBytes; member
42 str->fBytes = 0; in init()
47 str->fBytes = strlen(sz); in init()
51 return strncmp((const char*)fBuffer, sz, fBytes) == 0 && fBytes == strlen(sz); in equals()
DSkPdfGraphicsState.h70 fColorSpace.fBytes = 7; // strlen("Pattern") in setPatternColorSpace()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp92 const size_t fBytes; member in __anonc6ded2be0111::PoolDiscardableMemory
101 , fBytes(bytes) { in PoolDiscardableMemory()
104 SkASSERT(fBytes > 0); in PoolDiscardableMemory()
164 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo()
165 fUsed -= dm->fBytes; in dumpDownTo()
196 SkASSERT(fUsed >= dm->fBytes); in free()
197 fUsed -= dm->fBytes; in free()
/external/skia/src/gpu/
DGrResourceCache.cpp72 , fBytes(0) in GrResourceCache()
133 fBytes += size; in insertResource()
136 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in insertResource()
168 fBytes -= size; in removeResource()
204 SkASSERT(!fBytes); in abandonAll()
228 SkASSERT(!fBytes); in releaseAll()
405 fBytes += delta; in didChangeGpuMemorySize()
407 fHighWaterBytes = SkTMax(fBytes, fHighWaterBytes); in didChangeGpuMemorySize()
621 size_t fBytes; in validate() member
638 fBytes += resource->gpuMemorySize(); in validate()
[all …]
DGrResourceCache.h90 size_t getResourceBytes() const { return fBytes; } in getResourceBytes()
276 size_t fBytes;
DGrTest.cpp120 SkToInt(fBytes), SkToInt(fBudgetedBytes), byteUtilization, in dumpStats()
/external/icu/icu4c/source/i18n/unicode/
Dsortkey.h257 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
260 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
309 uint8_t *fBytes; member
/external/icu/icu4c/source/tools/genrb/
Dgenrb.c98 uint8_t *fBytes; member
340 poolBundle.fBytes = (uint8_t *)uprv_malloc((poolFileSize + 15) & ~15); in main()
341 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
347 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
358 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
365 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
372 header = (const DataHeader *)poolBundle.fBytes; in main()
429 uprv_free(poolBundle.fBytes); in main()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp96 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in ~CollationKey()
105 if(fFlagAndLength < 0) { uprv_free(fUnion.fFields.fBytes); } in reallocate()
106 fUnion.fFields.fBytes = newBytes; in reallocate()
236 uprv_memcpy(result, fBytes, fCount); in toByteArray()
/external/skia/src/pipe/utils/
DSamplePipeControllers.h75 PipeBlock(void* block, size_t bytes) { fBlock = block, fBytes = bytes; } in PipeBlock()
80 size_t fBytes; member
DSamplePipeControllers.cpp112 reader.playback(fBlockList[currentBlock].fBlock, fBlockList[currentBlock].fBytes); in draw()
/external/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp468 if (data.fBytes != (unsigned int)cnt * 3) { in getImageFromObjectCore()