Home
last modified time | relevance | path

Searched refs:MemoryState (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/base/memory/
Dmemory_coordinator_client.cc11 const char* MemoryStateToString(MemoryState state) { in MemoryStateToString()
13 case MemoryState::UNKNOWN: in MemoryStateToString()
15 case MemoryState::NORMAL: in MemoryStateToString()
17 case MemoryState::THROTTLED: in MemoryStateToString()
19 case MemoryState::SUSPENDED: in MemoryStateToString()
Dmemory_coordinator_client_registry_unittest.cc17 void OnMemoryStateChange(MemoryState state) override { state_ = state; } in OnMemoryStateChange()
21 MemoryState state() const { return state_; } in state()
25 MemoryState state_ = MemoryState::UNKNOWN;
39 registry->Notify(MemoryState::THROTTLED); in TEST()
41 ASSERT_EQ(MemoryState::THROTTLED, client.state()); in TEST()
Dmemory_coordinator_client.h33 enum class MemoryState : int { enum
48 const int kMemoryStateMax = static_cast<int>(MemoryState::SUSPENDED) + 1;
51 BASE_EXPORT const char* MemoryStateToString(MemoryState state);
66 virtual void OnMemoryStateChange(MemoryState state) {} in OnMemoryStateChange()
Dmemory_coordinator_proxy.cc31 MemoryState MemoryCoordinatorProxy::GetCurrentMemoryState() const { in GetCurrentMemoryState()
33 return MemoryState::NORMAL; in GetCurrentMemoryState()
Dmemory_coordinator_proxy.h21 virtual MemoryState GetCurrentMemoryState() const = 0;
36 MemoryState GetCurrentMemoryState() const;
Dmemory_coordinator_client_registry.h40 void Notify(MemoryState state);
Dmemory_coordinator_client_registry.cc32 void MemoryCoordinatorClientRegistry::Notify(MemoryState state) { in Notify()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DMinidump.h92 enum class MemoryState : uint32_t { enum
110 support::little_t<MemoryState> State;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMinidump.h92 enum class MemoryState : uint32_t { enum
110 support::little_t<MemoryState> State;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DMinidumpYAML.cpp127 void yaml::ScalarBitSetTraits<MemoryState>::bitset(IO &IO, MemoryState &State) { in bitset()
129 IO.bitSetCase(State, #NATIVENAME, MemoryState::NAME); in bitset()
252 mapRequiredAs<MemoryState>(IO, "State", Info.State); in mapping()
/external/llvm-project/llvm/lib/ObjectYAML/
DMinidumpYAML.cpp127 void yaml::ScalarBitSetTraits<MemoryState>::bitset(IO &IO, MemoryState &State) { in bitset()
129 IO.bitSetCase(State, #NATIVENAME, MemoryState::NAME); in bitset()
252 mapRequiredAs<MemoryState>(IO, "State", Info.State); in mapping()
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DMinidumpYAML.h252 LLVM_YAML_DECLARE_BITSET_TRAITS(llvm::minidump::MemoryState)
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DMinidumpYAML.h252 LLVM_YAML_DECLARE_BITSET_TRAITS(llvm::minidump::MemoryState)
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.h103 enum MemoryState : uint8_t { enum
/external/llvm-project/llvm/unittests/Object/
DMinidumpTest.cpp599 EXPECT_EQ(MemoryState::Commit, Info.State); in TEST()
/external/llvm-project/lldb/source/Plugins/Process/minidump/
DMinidumpParser.cpp546 region.SetMapped(entry.State != MemoryState::Free ? yes : no); in CreateRegionsCacheFromMemoryInfoList()