OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PODArena
(Results
1 - 7
of
7
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/testing/
ArenaTestHelpers.h
29
#include "platform/
PODArena
.h"
38
// An allocator for the
PODArena
which tracks the regions which have
40
class TrackedAllocator : public
PODArena
::FastMallocAllocator {
49
void* result =
PODArena
::FastMallocAllocator::allocate(size);
59
PODArena
::FastMallocAllocator::free(ptr);
/external/chromium_org/third_party/WebKit/Source/platform/
PODArenaTest.cpp
27
#include "platform/
PODArena
.h"
68
RefPtr<
PODArena
> arena =
PODArena
::create(allocator);
69
int numIterations = 10 *
PODArena
::DefaultChunkSize / sizeof(TestClass1);
80
RefPtr<
PODArena
> arena =
PODArena
::create(allocator);
91
RefPtr<
PODArena
> arena =
PODArena
::create();
PODArena.h
45
class
PODArena
FINAL : public RefCounted<
PODArena
> {
74
// Creates a new
PODArena
configured with a FastMallocAllocator.
75
static PassRefPtr<
PODArena
> create()
77
return adoptRef(new
PODArena
);
80
// Creates a new
PODArena
configured with the given Allocator.
81
static PassRefPtr<
PODArena
> create(PassRefPtr<Allocator> allocator)
83
return adoptRef(new
PODArena
(allocator));
105
friend class WTF::RefCounted<
PODArena
>;
107
PODArena
()
[
all
...]
PODFreeListArena.h
29
#include "platform/
PODArena
.h"
42
static PassRefPtr<PODFreeListArena> create(PassRefPtr<
PODArena
::Allocator> allocator)
58
//
PODArena
::allocateObject calls T's constructor.
72
//
PODArena
::allocateObject calls T's constructor.
86
: m_arena(
PODArena
::create()), m_freeList(0) { }
88
explicit PODFreeListArena(PassRefPtr<
PODArena
::Allocator> allocator)
89
: m_arena(
PODArena
::create(allocator)), m_freeList(0) { }
112
RefPtr<
PODArena
> m_arena;
PODFreeListArenaTest.cpp
77
int numIterations = 10 *
PODArena
::DefaultChunkSize / sizeof(TestClass1);
PODIntervalTree.h
29
#include "platform/
PODArena
.h"
93
explicit PODIntervalTree(PassRefPtr<
PODArena
> arena)
PODRedBlackTreeTest.cpp
50
int numAdditions = 2 *
PODArena
::DefaultChunkSize / sizeof(int);
Completed in 48 milliseconds