HomeSort by relevance Sort by last modified time
    Searched refs:sk_malloc_throw (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /external/skia/src/ports/
SkMemory_mozalloc.cpp 25 void* sk_malloc_throw(size_t size) { function
26 return sk_malloc_flags(size, SK_MALLOC_THROW);
38 return (flags & SK_MALLOC_THROW) ? moz_xmalloc(size) : moz_malloc(size);
SkMemory_brew.cpp 26 void* sk_malloc_throw(size_t size) { function
27 return sk_malloc_flags(size, SK_MALLOC_THROW);
48 if (flags & SK_MALLOC_THROW) {
SkMemory_malloc.cpp 22 void* sk_malloc_throw(size_t size) { function
23 return sk_malloc_flags(size, SK_MALLOC_THROW);
46 if (flags & SK_MALLOC_THROW) {
SkFontHost_ascender.cpp 54 fHandle = (aca_FontHandle)sk_malloc_throw(size);
61 void* hints = sk_malloc_throw(fHintStream->getLength());
84 fWorkspace = sk_malloc_throw(size);
99 fGlyphWorkspace = sk_malloc_throw(size);
  /external/skia/legacy/src/core/
SkColorTable.cpp 24 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor));
38 sk_malloc_throw(count * sizeof(SkPMColor)));
55 sk_malloc_throw(count * sizeof(SkPMColor)));
110 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t));
148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor));
SkMallocPixelRef.cpp 15 storage = sk_malloc_throw(size);
55 fStorage = sk_malloc_throw(fSize);
SkRegionPriv.h 32 RunHead* head = (RunHead*)sk_malloc_throw(sizeof(RunHead) + count * sizeof(RunType));
SkDeque.cpp 98 fFront = (Head*)sk_malloc_throw(sizeof(Head) +
117 first = (Head*)sk_malloc_throw(size);
134 fBack = (Head*)sk_malloc_throw(sizeof(Head) +
153 last = (Head*)sk_malloc_throw(size);
SkMask.cpp 40 return (uint8_t*)sk_malloc_throw(SkAlign4(size));
  /external/skia/src/core/
SkColorTable.cpp 26 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor));
41 sk_malloc_throw(count * sizeof(SkPMColor)));
58 sk_malloc_throw(count * sizeof(SkPMColor)));
113 f16BitCache = (uint16_t*)sk_malloc_throw(fCount * sizeof(uint16_t));
148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor));
SkMallocPixelRef.cpp 16 storage = sk_malloc_throw(size);
56 fStorage = sk_malloc_throw(fSize);
SkMask.cpp 40 return (uint8_t*)sk_malloc_throw(SkAlign4(size));
  /external/skia/legacy/src/ports/
SkMemory_brew.cpp 26 void* sk_malloc_throw(size_t size) { function
27 return sk_malloc_flags(size, SK_MALLOC_THROW);
48 if (flags & SK_MALLOC_THROW) {
SkMemory_malloc.cpp 22 void* sk_malloc_throw(size_t size) { function
23 return sk_malloc_flags(size, SK_MALLOC_THROW);
46 if (flags & SK_MALLOC_THROW) {
SkFontHost_ascender.cpp 54 fHandle = (aca_FontHandle)sk_malloc_throw(size);
61 void* hints = sk_malloc_throw(fHintStream->getLength());
84 fWorkspace = sk_malloc_throw(size);
99 fGlyphWorkspace = sk_malloc_throw(size);
  /external/skia/gm/
factory.cpp 37 void* buffer = sk_malloc_throw(length);
  /external/skia/src/gpu/gl/mesa/
SkMesaGLContext.cpp 68 fImage = (GrGLubyte *) sk_malloc_throw(gBOGUS_SIZE * gBOGUS_SIZE *
  /external/skia/legacy/src/animator/
SkTypedArray.cpp 60 fArray = (int32_t*)sk_malloc_throw(count * sizeof(int32_t));
140 int32_t* array = (int32_t*)sk_malloc_throw(size * sizeof(int32_t));
  /external/skia/legacy/src/effects/
SkDashPathEffect.cpp 35 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * count);
165 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * fCount);
  /external/skia/legacy/src/images/
SkFlipPixelRef.cpp 16 fStorage = sk_malloc_throw(fSize << 1);
74 fStorage = sk_malloc_throw(fSize << 1);
  /external/skia/legacy/src/utils/
SkOSFile.cpp 16 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t));
40 fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t));
  /external/skia/src/animator/
SkTypedArray.cpp 60 fArray = (int32_t*)sk_malloc_throw(count * sizeof(int32_t));
140 int32_t* array = (int32_t*)sk_malloc_throw(size * sizeof(int32_t));
  /external/skia/src/utils/
SkOSFile.cpp 16 uint16_t* dst = (uint16_t*)sk_malloc_throw((len + len2) * sizeof(uint16_t));
40 fStr = (uint16_t*)sk_malloc_throw((len + 1) * sizeof(uint16_t));
  /external/skia/include/core/
SkTDStack.h 40 Rec* rec = (Rec*)sk_malloc_throw(sizeof(Rec));
SkTypes.h 48 SK_MALLOC_THROW = 0x02 //!< instructs sk_malloc to call sk_throw if the memory cannot be allocated.
56 /** Same as sk_malloc(), but hard coded to pass SK_MALLOC_THROW as the flag
58 SK_API extern void* sk_malloc_throw(size_t size);
78 return sk_malloc_throw(size);
446 fPtr = size ? sk_malloc_throw(size) : NULL;
483 fPtr = size ? sk_malloc_throw(size) : NULL;
585 fPtr = sk_malloc_flags(size, SK_MALLOC_THROW | SK_MALLOC_TEMP);

Completed in 265 milliseconds

1 2 3 4 5