Home
last modified time | relevance | path

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

/external/chromium_org/third_party/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/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/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.cpp34 SkMemoryStream skstream(fStr.fBuffer, fStr.fBytes >> 2, false); in applyFlateDecodeFilter()
38 fStr.fBytes = (uncompressedData.bytesWritten() << 2) + kOwnedStreamBit + in applyFlateDecodeFilter()
88 fStr.fBytes = ((fStr.fBytes >> 1) << 1) + kFilteredStreamBit; in filterStream()
/external/chromium_org/third_party/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.cpp34 SkMemoryStream skstream(fStr.fBuffer, fStr.fBytes >> 2, false); in applyFlateDecodeFilter()
38 fStr.fBytes = (uncompressedData.bytesWritten() << 2) + kOwnedStreamBit + in applyFlateDecodeFilter()
88 fStr.fBytes = ((fStr.fBytes >> 1) << 1) + kFilteredStreamBit; in filterStream()
/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp91 const size_t fBytes; member in __anonbcfc1e550111::PoolDiscardableMemory
100 , fBytes(bytes) { in PoolDiscardableMemory()
103 SkASSERT(fBytes > 0); in PoolDiscardableMemory()
163 SkASSERT(fUsed >= dm->fBytes); in dumpDownTo()
164 fUsed -= dm->fBytes; in dumpDownTo()
195 SkASSERT(fUsed >= dm->fBytes); in free()
196 fUsed -= dm->fBytes; in free()
/external/chromium_org/third_party/skia/src/lazy/
DSkDiscardableMemoryPool.cpp92 const size_t fBytes; member in __anon4cd401a80111::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/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/chromium_org/third_party/icu/source/i18n/unicode/
Dsortkey.h256 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
259 return (fFlagAndLength >= 0) ? fUnion.fStackBuffer : fUnion.fFields.fBytes; in getBytes()
308 uint8_t *fBytes; member
/external/chromium_org/third_party/icu/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/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/chromium_org/third_party/icu/source/tools/genrb/
Dgenrb.c99 uint8_t *fBytes; member
341 poolBundle.fBytes = (uint8_t *)uprv_malloc((poolFileSize + 15) & ~15); in main()
342 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
348 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
359 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
366 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
373 header = (const DataHeader *)poolBundle.fBytes; in main()
427 uprv_free(poolBundle.fBytes); in main()
/external/icu/icu4c/source/tools/genrb/
Dgenrb.c114 uint8_t *fBytes; member
356 poolBundle.fBytes = (uint8_t *)uprv_malloc((poolFileSize + 15) & ~15); in main()
357 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
363 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
374 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
381 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
388 header = (const DataHeader *)poolBundle.fBytes; in main()
442 uprv_free(poolBundle.fBytes); in main()
/external/chromium_org/third_party/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/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.cpp466 if (data.fBytes != (unsigned int)cnt * 3) { in getImageFromObjectCore()
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp466 if (data.fBytes != (unsigned int)cnt * 3) { in getImageFromObjectCore()