OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_bytesAllocated
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
Canvas2DLayerManager.cpp
43
:
m_bytesAllocated
(0)
52
ASSERT(!
m_bytesAllocated
);
108
m_bytesAllocated
+= layer->bytesAllocated();
117
ASSERT((intptr_t)
m_bytesAllocated
+ deltaBytes >= 0);
118
m_bytesAllocated
= (intptr_t)
m_bytesAllocated
+ deltaBytes;
132
if (
m_bytesAllocated
> m_maxBytesAllocated) {
135
while (
m_bytesAllocated
> m_targetBytesAllocated && layer) {
136
layer->freeMemoryIfPossible(
m_bytesAllocated
- m_targetBytesAllocated);
142
while (
m_bytesAllocated
> m_targetBytesAllocated && leastRecentlyUsedLayer)
[
all
...]
Canvas2DLayerManager.h
55
size_t
m_bytesAllocated
;
Canvas2DLayerManagerTest.cpp
61
return
m_bytesAllocated
;
76
m_bytesAllocated
-= bytesFreed;
113
EXPECT_EQ((size_t)0, manager.
m_bytesAllocated
);
115
EXPECT_EQ((size_t)1, manager.
m_bytesAllocated
);
118
EXPECT_EQ((size_t)2, manager.
m_bytesAllocated
);
121
EXPECT_EQ((size_t)1, manager.
m_bytesAllocated
);
125
EXPECT_EQ((size_t)1, manager.
m_bytesAllocated
);
128
EXPECT_EQ((size_t)3, manager.
m_bytesAllocated
);
131
EXPECT_EQ((size_t)1, manager.
m_bytesAllocated
);
Canvas2DLayerBridge.h
73
size_t bytesAllocated() const {return
m_bytesAllocated
;}
91
size_t
m_bytesAllocated
;
Canvas2DLayerBridge.cpp
76
,
m_bytesAllocated
(0)
137
intptr_t delta = (intptr_t)bytesAllocated - (intptr_t)
m_bytesAllocated
;
138
m_bytesAllocated
= bytesAllocated;
174
m_bytesAllocated
-= bytesFreed;
Completed in 39 milliseconds