/external/skia/src/core/ |
D | SkWriter32.cpp | 12 size_t fSize; member 15 size_t available() const { return fSize - fAllocated; } in available() 24 SkASSERT(fAllocated <= fSize); in alloc() 38 block->fSize = size; in Create() 58 fSize = 0; in reset() 74 uint32_t* ptr = (uint32_t*)(fSingleBlock + fSize); in reserve() 75 fSize += size; in reserve() 76 SkASSERT(fSize <= fSingleBlockSize); in reserve() 91 fSize += size; in reserve() 98 SkASSERT(offset <= fSize); in peek32() [all …]
|
D | SkMallocPixelRef.cpp | 18 fSize = size; in SkMallocPixelRef() 42 buffer.write32(fSize); in flatten() 43 buffer.writePad(fStorage, fSize); in flatten() 54 fSize = buffer.readU32(); in SkMallocPixelRef() 55 fStorage = sk_malloc_throw(fSize); in SkMallocPixelRef() 56 buffer.read(fStorage, fSize); in SkMallocPixelRef()
|
D | SkMemory_stdlib.cpp | 48 size_t fSize; member 65 fSize = realSize; in add() 83 size_t size = header->fSize; in Dump() 107 size += header->fSize; in Dump() 128 const char* trailer = fTrailer + fSize; in remove() 144 char* trailer = header->fTrailer + header->fSize; in InMutexValidate() 186 printf("sk_realloc_throw %p oldSize=%zd\n", addr, header->fSize); in sk_realloc_throw() 228 printf("sk_free %p size=%zd\n", p, header->fSize); in sk_free() 230 size_t size = header->fSize + sizeof(SkBlockHeader); in sk_free()
|
D | SkData.cpp | 15 fSize = size; in SkData() 22 fReleaseProc(fPtr, fSize, fReleaseProcContext); in ~SkData() 27 size_t available = fSize; in copyRange()
|
D | SkMMapStream.cpp | 55 fSize = size; in SkMMAPStream() 73 munmap(fAddr, fSize); in closeMMap()
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | MMap.h | 17 fSize(-1), // -1 is the error value returned by GetFileSize() in TMMap() 24 fSize = 0; in TMMap() 26 fSize++; in TMMap() 30 fSize++; in TMMap() 32 fBuff = (char*)malloc(sizeof(char) * fSize); in TMMap() 43 int getSize() { return fSize; } in getSize() 51 int fSize; // size of file to map in
|
/external/skia/samplecode/ |
D | SampleOvalTest.cpp | 17 SkSize fSize; member in OvalTestView 23 fSize.set(SK_Scalar1, SK_Scalar1); in OvalTestView() 49 canvas.drawOval(SkRect::MakeSize(fSize), p); in drawOval() 55 const SkScalar rad = SkScalarHalf(fSize.width()); in checkOval() 56 SkScalar cx = SkScalarHalf(fSize.width()); in checkOval() 57 SkScalar cy = SkScalarHalf(fSize.height()); in checkOval() 94 if (fSize.fWidth < kLimit) { in onDrawContent() 95 SkDebugf("--- width=%g, flat=%d buldge=%d total: flat=%d buldge=%d\n", fSize.fWidth, in onDrawContent() 97 fSize.fWidth += SK_Scalar1; in onDrawContent() 98 fSize.fHeight += SK_Scalar1; in onDrawContent()
|
/external/skia/include/core/ |
D | SkData.h | 26 size_t size() const { return fSize; } in size() 90 size_t fSize; variable 105 fSize = data->size(); in SkAutoDataUnref() 108 fSize = 0; in SkAutoDataUnref() 119 size_t size() const { return fSize; } in size() 127 fSize = 0; in release() 134 size_t fSize; variable
|
D | SkTypes.h | 417 fSize = size; 448 if (size == fSize || (kReuse_OnShrink == shrink && size < fSize)) { 454 fSize = size; 479 fSize = 0; in detach() 485 size_t fSize; // can be larger than the requested size (see kReuse) variable 503 fSize = 0; in SkAutoSMalloc() 513 fSize = 0; in SkAutoSMalloc() 543 if (size == fSize || (SkAutoMalloc::kReuse_OnShrink == shrink && 544 size < fSize)) { 562 size_t fSize; // can be larger than the requested size (see kReuse) variable
|
D | SkWriter32.h | 26 fSize(0), in SkWriter32() 115 uint32_t size() const { return fSize; } in size() 135 uint32_t fSize; variable
|
D | SkMallocPixelRef.h | 28 size_t getSize() const { return fSize; } in getSize() 52 size_t fSize;
|
D | SkMMapStream.h | 23 size_t fSize; variable
|
/external/skia/src/images/ |
D | SkFlipPixelRef.cpp | 15 fSize = SkBitmap::ComputeSize(config, width, height); in SkFlipPixelRef() 16 fStorage = sk_malloc_throw(fSize << 1); in SkFlipPixelRef() 18 fPage1 = (char*)fStorage + fSize; in SkFlipPixelRef() 66 buffer.write32(fSize); in flatten() 68 buffer.writePad(fPage0, fSize); in flatten() 73 fSize = buffer.readU32(); in SkFlipPixelRef() 74 fStorage = sk_malloc_throw(fSize << 1); in SkFlipPixelRef() 76 fPage1 = (char*)fStorage + fSize; in SkFlipPixelRef() 77 buffer.read(fPage0, fSize); in SkFlipPixelRef()
|
/external/skia/emoji/ |
D | EmojiFont.cpp | 59 int fSize; member 78 if (NOT_AVAILABLE_ENCODE_SIZE == rec->fSize) { in get_encoderec() 81 if (UNINITIALIZED_ENCODE_SIZE == rec->fSize) { in get_encoderec() 88 rec->fData = fact->GetImageBinaryFromAndroidPua(pua, &rec->fSize); in get_encoderec() 91 rec->fSize = NOT_AVAILABLE_ENCODE_SIZE; in get_encoderec() 109 if (!SkImageDecoder::DecodeMemory(rec->fData, rec->fSize, bitmap)) { in get_bitmap() 112 rec->fSize = NOT_AVAILABLE_ENCODE_SIZE; in get_bitmap()
|
/external/skia/src/ports/ |
D | SkImageRef_ashmem.cpp | 40 fRec.fSize = 0; in SkImageRef_ashmem() 59 SkASSERT(fRec.fSize); in closeFD() 60 munmap(fRec.fAddr, fRec.fSize); in closeFD() 82 SkASSERT(0 == fRec->fSize); in allocPixelRef() 112 fRec->fSize = size; in allocPixelRef() 115 SkASSERT(size == fRec->fSize); in allocPixelRef() 231 fRec.fSize = 0; in SkImageRef_ashmem()
|
D | SkFontHost_mac_coretext.cpp | 288 SkISize fSize; member in Offscreen 299 fSize.set(0,0); in Offscreen() 723 size_t rowBytes = fSize.fWidth * sizeof(CGRGBPixel); in getCG() 724 if (!fCG || fSize.fWidth < glyph.fWidth || fSize.fHeight < glyph.fHeight) { in getCG() 726 if (fSize.fWidth < glyph.fWidth) { in getCG() 727 fSize.fWidth = RoundSize(glyph.fWidth); in getCG() 729 if (fSize.fHeight < glyph.fHeight) { in getCG() 730 fSize.fHeight = RoundSize(glyph.fHeight); in getCG() 733 rowBytes = fSize.fWidth * sizeof(CGRGBPixel); in getCG() 734 void* image = fImageStorage.reset(rowBytes * fSize.fHeight); in getCG() [all …]
|
D | SkImageRef_ashmem.h | 16 size_t fSize; member
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3filestream.c | 356 ANTLR3_UINT32 fSize; in antlr3read8Bit() local 371 fSize = antlr3Fsize(fileName); /* Size of input file */ in antlr3read8Bit() 375 input->data = ANTLR3_MALLOC((size_t)fSize); in antlr3read8Bit() 376 input->sizeBuf = fSize; in antlr3read8Bit() 388 antlr3Fread(infile, fSize, input->data); in antlr3read8Bit()
|
/external/yaffs2/yaffs2/direct/ |
D | yaffs_fileem.c | 70 int fSize; in CheckInit() local 94 fSize = lseek(filedisk.handle,0,SEEK_END); in CheckInit() 96 if(fSize < SIZE_IN_MB * 1024 * 1024) in CheckInit()
|
D | yaffs_fileem2k.c | 79 int fSize; in GetBlockFileHandle() local 84 fSize = lseek(h,0,SEEK_END); in GetBlockFileHandle() 86 if(fSize < requiredSize){ in GetBlockFileHandle() 105 off_t fSize; in CheckInit() local
|
/external/skia/src/effects/ |
D | SkBitmapCache.cpp | 17 size_t fSize; member 25 fSize = size; in Entry() 32 return (fSize == size) && !memcmp(fBuffer, buffer, size); in equals()
|
/external/llvm/lib/Archive/ |
D | ArchiveWriter.cpp | 215 size_t fSize = member.getSize(); in writeMember() local 227 fSize = mFile->getBufferSize(); in writeMember() 237 GetBitcodeSymbols(data, fSize, FullMemberName, Context, symbols, ErrMsg); in writeMember() 264 int hdrSize = fSize; in writeMember() 280 ARFile.write(data,fSize); in writeMember()
|
/external/skia/tests/ |
D | FontHostTest.cpp | 20 size_t fSize; member 54 REPORTER_ASSERT(reporter, gKnownTableSizes[j].fSize == size); in test_tables()
|
/external/skia/src/pipe/ |
D | SkGPipeWrite.cpp | 164 uint32_t fSize; member 169 return memcmp(&a->fSize, &b->fSize, a->fSize + sizeof(a->fSize)); in Compare() 207 flat->fSize = len; in flattenToIndex()
|
/external/skia/include/images/ |
D | SkFlipPixelRef.h | 75 size_t fSize; // size of 1 page. fStorage holds 2 pages variable
|