OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fAlloc
(Results
1 - 14
of
14
) sorted by null
/external/chromium_org/third_party/skia/src/core/
SkEdgeBuilder.h
30
SkChunkAlloc
fAlloc
;
36
* empty, as we will have preallocated room for the pointers in
fAlloc
's
SkEdgeBuilder.cpp
21
SkEdgeBuilder::SkEdgeBuilder() :
fAlloc
(16*1024) {
26
SkEdge* edge = typedAllocThrow<SkEdge>(
fAlloc
);
35
SkQuadraticEdge* edge = typedAllocThrow<SkQuadraticEdge>(
fAlloc
);
44
SkCubicEdge* edge = typedAllocThrow<SkCubicEdge>(
fAlloc
);
99
char* storage = (char*)
fAlloc
.allocThrow(maxEdgeSize + maxEdgePtrSize);
166
fAlloc
.reset();
SkRecord.h
31
:
fAlloc
(chunkBytes), fCount(0), fReserved(0), kFirstReserveCount(firstReserveCount) {}
68
return (T*)
fAlloc
.allocThrow(sizeof(T) * count);
126
//
fAlloc
: [SkRecords::DrawRect][SkRecords::DrawPosTextH][SkRecords::DrawRect]...
129
// stored in
fAlloc
either; we just write raw data there. But we need that type information.
132
// 2) store the type data manually in
fAlloc
at the start of each record
178
// An untyped pointer to some bytes in
fAlloc
. This is the interface for polymorphic dispatch:
182
// Point this record to its data in
fAlloc
. Returns ptr for convenience.
189
// Get the data in
fAlloc
, assuming it's of type T.
219
//
fAlloc
needs to be a data structure which can append variable length data in contiguous
225
SkChunkAlloc
fAlloc
;
[
all
...]
SkPictureStateTree.cpp
13
:
fAlloc
(2048)
31
Draw* draw = static_cast<Draw*>(
fAlloc
.allocThrow(sizeof(Draw)));
67
SkMatrix* m = static_cast<SkMatrix*>(
fAlloc
.allocThrow(sizeof(SkMatrix)));
82
Node* n = static_cast<Node*>(
fAlloc
.allocThrow(sizeof(Node)));
SkPictureStateTree.h
129
SkChunkAlloc
fAlloc
;
/external/skia/src/core/
SkEdgeBuilder.h
30
SkChunkAlloc
fAlloc
;
36
* empty, as we will have preallocated room for the pointers in
fAlloc
's
SkEdgeBuilder.cpp
21
SkEdgeBuilder::SkEdgeBuilder() :
fAlloc
(16*1024) {
26
SkEdge* edge = typedAllocThrow<SkEdge>(
fAlloc
);
35
SkQuadraticEdge* edge = typedAllocThrow<SkQuadraticEdge>(
fAlloc
);
44
SkCubicEdge* edge = typedAllocThrow<SkCubicEdge>(
fAlloc
);
99
char* storage = (char*)
fAlloc
.allocThrow(maxEdgeSize + maxEdgePtrSize);
166
fAlloc
.reset();
SkRecord.h
31
:
fAlloc
(chunkBytes), fCount(0), fReserved(0), kFirstReserveCount(firstReserveCount) {}
68
return (T*)
fAlloc
.allocThrow(sizeof(T) * count);
126
//
fAlloc
: [SkRecords::DrawRect][SkRecords::DrawPosTextH][SkRecords::DrawRect]...
129
// stored in
fAlloc
either; we just write raw data there. But we need that type information.
132
// 2) store the type data manually in
fAlloc
at the start of each record
178
// An untyped pointer to some bytes in
fAlloc
. This is the interface for polymorphic dispatch:
182
// Point this record to its data in
fAlloc
. Returns ptr for convenience.
189
// Get the data in
fAlloc
, assuming it's of type T.
219
//
fAlloc
needs to be a data structure which can append variable length data in contiguous
225
SkChunkAlloc
fAlloc
;
[
all
...]
SkPictureStateTree.cpp
13
:
fAlloc
(2048)
31
Draw* draw = static_cast<Draw*>(
fAlloc
.allocThrow(sizeof(Draw)));
67
SkMatrix* m = static_cast<SkMatrix*>(
fAlloc
.allocThrow(sizeof(SkMatrix)));
82
Node* n = static_cast<Node*>(
fAlloc
.allocThrow(sizeof(Node)));
SkPictureStateTree.h
129
SkChunkAlloc
fAlloc
;
/external/chromium_org/third_party/skia/src/xml/
SkDOM.cpp
68
SkDOM::SkDOM() :
fAlloc
(kMinChunkSize), fRoot(NULL)
204
SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError),
fAlloc
(chunk)
217
SkDOM::Node* node = (SkDOM::Node*)
fAlloc
->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::Attr),
248
fElemName = dupstr(
fAlloc
, elem);
255
attr->fName = dupstr(
fAlloc
, name);
256
attr->fValue = dupstr(
fAlloc
, value);
284
SkChunkAlloc*
fAlloc
;
295
fAlloc
.reset();
296
SkDOMParser parser(&
fAlloc
);
301
fAlloc
.reset()
[
all
...]
/external/skia/src/xml/
SkDOM.cpp
68
SkDOM::SkDOM() :
fAlloc
(kMinChunkSize), fRoot(NULL)
204
SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError),
fAlloc
(chunk)
217
SkDOM::Node* node = (SkDOM::Node*)
fAlloc
->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::Attr),
248
fElemName = dupstr(
fAlloc
, elem);
255
attr->fName = dupstr(
fAlloc
, name);
256
attr->fValue = dupstr(
fAlloc
, value);
284
SkChunkAlloc*
fAlloc
;
295
fAlloc
.reset();
296
SkDOMParser parser(&
fAlloc
);
301
fAlloc
.reset()
[
all
...]
/external/chromium_org/third_party/skia/include/xml/
SkDOM.h
85
SkChunkAlloc
fAlloc
;
/external/skia/include/xml/
SkDOM.h
85
SkChunkAlloc
fAlloc
;
Completed in 1149 milliseconds