• Home
  • Raw
  • Download

Lines Matching refs:art

27 bool HasMembarrier(art::MembarrierCommand cmd) {  in HasMembarrier()
29 int supported_cmds = art::membarrier(art::MembarrierCommand::kQuery); in HasMembarrier()
35 int supported = art::membarrier(art::MembarrierCommand::kQuery); in TEST()
44 if (!HasMembarrier(art::MembarrierCommand::kGlobal)) { in TEST()
48 ASSERT_EQ(0, art::membarrier(art::MembarrierCommand::kGlobal)); in TEST()
51 static const char* MembarrierCommandToName(art::MembarrierCommand cmd) { in MembarrierCommandToName()
54 CASE_VALUE(art::MembarrierCommand::kQuery); in MembarrierCommandToName()
55 CASE_VALUE(art::MembarrierCommand::kGlobal); in MembarrierCommandToName()
56 CASE_VALUE(art::MembarrierCommand::kGlobalExpedited); in MembarrierCommandToName()
57 CASE_VALUE(art::MembarrierCommand::kRegisterGlobalExpedited); in MembarrierCommandToName()
58 CASE_VALUE(art::MembarrierCommand::kPrivateExpedited); in MembarrierCommandToName()
59 CASE_VALUE(art::MembarrierCommand::kRegisterPrivateExpedited); in MembarrierCommandToName()
60 CASE_VALUE(art::MembarrierCommand::kPrivateExpeditedSyncCore); in MembarrierCommandToName()
61 CASE_VALUE(art::MembarrierCommand::kRegisterPrivateExpeditedSyncCore); in MembarrierCommandToName()
65 static void TestRegisterAndBarrierCommands(art::MembarrierCommand membarrier_cmd_register, in TestRegisterAndBarrierCommands()
66 art::MembarrierCommand membarrier_cmd_barrier) { in TestRegisterAndBarrierCommands()
81 if (membarrier_cmd_register == art::MembarrierCommand::kRegisterGlobalExpedited) { in TestRegisterAndBarrierCommands()
83 ASSERT_EQ(0, art::membarrier(membarrier_cmd_barrier)); in TestRegisterAndBarrierCommands()
86 ASSERT_EQ(-1, art::membarrier(membarrier_cmd_barrier)); in TestRegisterAndBarrierCommands()
92 ASSERT_EQ(0, art::membarrier(membarrier_cmd_register)); in TestRegisterAndBarrierCommands()
95 ASSERT_EQ(0, art::membarrier(membarrier_cmd_barrier)); in TestRegisterAndBarrierCommands()
99 TestRegisterAndBarrierCommands(art::MembarrierCommand::kRegisterGlobalExpedited, in TEST()
100 art::MembarrierCommand::kGlobalExpedited); in TEST()
104 TestRegisterAndBarrierCommands(art::MembarrierCommand::kRegisterPrivateExpedited, in TEST()
105 art::MembarrierCommand::kPrivateExpedited); in TEST()
109 TestRegisterAndBarrierCommands(art::MembarrierCommand::kRegisterPrivateExpeditedSyncCore, in TEST()
110 art::MembarrierCommand::kPrivateExpeditedSyncCore); in TEST()