Searched refs:mock_namespace_handle (Results 1 – 1 of 1) sorted by relevance
45 typedef char* mock_namespace_handle; typedef48 virtual mock_namespace_handle mock_create_namespace(50 uint64_t type, const char* permitted_when_isolated_path, mock_namespace_handle parent) = 0;51 virtual bool mock_link_namespaces(bool bridged, mock_namespace_handle from,52 mock_namespace_handle to, const char* sonames) = 0;53 virtual mock_namespace_handle mock_get_exported_namespace(bool bridged, const char* name) = 0;55 mock_namespace_handle ns) = 0;75 #define TO_MOCK_NAMESPACE(ns) reinterpret_cast<Platform::mock_namespace_handle>(ns)78 static std::unordered_map<std::string, Platform::mock_namespace_handle> namespaces = {103 .WillByDefault(testing::Invoke([](bool, const char* name) -> mock_namespace_handle { in MockPlatform()[all …]