OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sk_malloc_throw
(Results
1 - 25
of
58
) sorted by null
1
2
3
/external/skia/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));
SkData.cpp
66
void* copy =
sk_malloc_throw
(length); // balanced in sk_free_releaseproc
SkStream.cpp
268
fData = SkData::NewFromMalloc(
sk_malloc_throw
(size), size);
380
fBuffer = (char*)
sk_malloc_throw
(fBufferSize);
629
Block* block = (Block*)
sk_malloc_throw
(sizeof(Block) + size);
716
void* buffer =
sk_malloc_throw
(fBytesWritten);
SkTSearch.cpp
93
lc = (char*)
sk_malloc_throw
(len + 1);
/external/skia/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);
SkFontHost_tables.cpp
104
fDir = reinterpret_cast<SkSFNTDirEntry*>(
sk_malloc_throw
(size));
SkImageDecoder_CG.cpp
32
void* data =
sk_malloc_throw
(len);
/external/skia/src/gpu/mesa/
SkMesaGLContext.cpp
67
fImage = (GrGLubyte *)
sk_malloc_throw
(gBOGUS_SIZE * gBOGUS_SIZE *
/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));
SkOperandIterpolator.cpp
30
fStorage =
sk_malloc_throw
((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount);
/external/skia/src/effects/
SkDashPathEffect.cpp
35
fIntervals = (SkScalar*)
sk_malloc_throw
(sizeof(SkScalar) * count);
165
fIntervals = (SkScalar*)
sk_malloc_throw
(sizeof(SkScalar) * fCount);
SkBitmapCache.cpp
24
fBuffer =
sk_malloc_throw
(size);
/external/skia/src/images/
SkFlipPixelRef.cpp
16
fStorage =
sk_malloc_throw
(fSize << 1);
74
fStorage =
sk_malloc_throw
(fSize << 1);
/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));
SkMeshUtils.cpp
43
fStorage =
sk_malloc_throw
(fTexCount * sizeof(SkPoint) +
/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);
416
fPtr = size ?
sk_malloc_throw
(size) : NULL;
453
fPtr = size ?
sk_malloc_throw
(size) : NULL;
555
fPtr = sk_malloc_flags(size,
SK_MALLOC_THROW
| SK_MALLOC_TEMP);
SkDescriptor.h
26
SkDescriptor* desc = (SkDescriptor*)
sk_malloc_throw
(length);
/external/skia/samplecode/
SampleAnimator.cpp
98
char* text = (char*)
sk_malloc_throw
(len);
Completed in 9366 milliseconds
1
2
3