Home
last modified time | relevance | path

Searched refs:DiscardableMemoryType (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/base/memory/
Ddiscardable_memory.h18 enum DiscardableMemoryType { enum
68 static DiscardableMemoryType GetNamedType(const std::string& name);
71 static const char* GetTypeName(DiscardableMemoryType type);
75 static void GetSupportedTypes(std::vector<DiscardableMemoryType>* types);
80 static void SetPreferredType(DiscardableMemoryType type);
83 static DiscardableMemoryType GetPreferredType();
87 DiscardableMemoryType type, size_t size);
Ddiscardable_memory.cc14 DiscardableMemoryType type;
23 DiscardableMemoryType g_preferred_type = DISCARDABLE_MEMORY_TYPE_NONE;
27 std::vector<DiscardableMemoryType> supported_types; in DefaultPreferredType()
32 DiscardableMemoryType value;
40 DiscardableMemoryType DiscardableMemory::GetNamedType( in GetNamedType()
51 const char* DiscardableMemory::GetTypeName(DiscardableMemoryType type) { in GetTypeName()
61 void DiscardableMemory::SetPreferredType(DiscardableMemoryType type) { in SetPreferredType()
73 DiscardableMemoryType DiscardableMemory::GetPreferredType() { in GetPreferredType()
Ddiscardable_memory_unittest.cc19 : public testing::TestWithParam<DiscardableMemoryType> {
40 bool IsNativeType(DiscardableMemoryType type) { in IsNativeType()
47 std::vector<DiscardableMemoryType> supported_types; in TEST_P()
107 std::vector<DiscardableMemoryType> GetSupportedDiscardableMemoryTypes() { in GetSupportedDiscardableMemoryTypes()
108 std::vector<DiscardableMemoryType> supported_types; in GetSupportedDiscardableMemoryTypes()
Ddiscardable_memory_win.cc20 std::vector<DiscardableMemoryType>* types) { in GetSupportedTypes()
21 const DiscardableMemoryType supported_types[] = { in GetSupportedTypes()
30 DiscardableMemoryType type, size_t size) { in CreateLockedMemoryWithType()
Ddiscardable_memory_linux.cc20 std::vector<DiscardableMemoryType>* types) { in GetSupportedTypes()
21 const DiscardableMemoryType supported_types[] = { in GetSupportedTypes()
30 DiscardableMemoryType type, size_t size) { in CreateLockedMemoryWithType()
Ddiscardable_memory_android.cc53 std::vector<DiscardableMemoryType>* types) { in GetSupportedTypes()
54 const DiscardableMemoryType supported_types[] = { in GetSupportedTypes()
64 DiscardableMemoryType type, size_t size) { in CreateLockedMemoryWithType()
Ddiscardable_memory_mac.cc165 std::vector<DiscardableMemoryType>* types) { in GetSupportedTypes()
166 const DiscardableMemoryType supported_types[] = { in GetSupportedTypes()
176 DiscardableMemoryType type, size_t size) { in CreateLockedMemoryWithType()
/external/chromium_org/content/renderer/
Drender_thread_impl.cc532 std::vector<base::DiscardableMemoryType> supported_types; in Init()
537 base::DiscardableMemoryType type = supported_types[0]; in Init()
542 base::DiscardableMemoryType requested_type = in Init()
/external/chromium_org/content/child/
Dblink_platform_impl.cc1154 base::DiscardableMemoryType type = in allocateAndLockDiscardableMemory()