Searched refs:DiscardableMemoryType (Results 1 – 9 of 9) sorted by relevance
18 enum DiscardableMemoryType { enum68 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);
14 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()
19 : 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()
20 std::vector<DiscardableMemoryType>* types) { in GetSupportedTypes()21 const DiscardableMemoryType supported_types[] = { in GetSupportedTypes()30 DiscardableMemoryType type, size_t size) { in CreateLockedMemoryWithType()
53 std::vector<DiscardableMemoryType>* types) { in GetSupportedTypes()54 const DiscardableMemoryType supported_types[] = { in GetSupportedTypes()64 DiscardableMemoryType type, size_t size) { in CreateLockedMemoryWithType()
165 std::vector<DiscardableMemoryType>* types) { in GetSupportedTypes()166 const DiscardableMemoryType supported_types[] = { in GetSupportedTypes()176 DiscardableMemoryType type, size_t size) { in CreateLockedMemoryWithType()
532 std::vector<base::DiscardableMemoryType> supported_types; in Init()537 base::DiscardableMemoryType type = supported_types[0]; in Init()542 base::DiscardableMemoryType requested_type = in Init()
1154 base::DiscardableMemoryType type = in allocateAndLockDiscardableMemory()