Home
last modified time | relevance | path

Searched refs:UnguessableToken (Results 1 – 25 of 39) sorted by relevance

12

/external/libchrome/base/
Dunguessable_token.cc13 UnguessableToken::UnguessableToken(uint64_t high, uint64_t low) in UnguessableToken() function in base::UnguessableToken
16 std::string UnguessableToken::ToString() const { in ToString()
21 UnguessableToken UnguessableToken::Create() { in Create()
22 UnguessableToken token; in Create()
30 UnguessableToken UnguessableToken::Deserialize(uint64_t high, uint64_t low) { in Deserialize()
34 return UnguessableToken(high, low); in Deserialize()
37 std::ostream& operator<<(std::ostream& out, const UnguessableToken& token) { in operator <<()
Dunguessable_token.h40 class BASE_EXPORT UnguessableToken {
43 static UnguessableToken Create();
50 static UnguessableToken Deserialize(uint64_t high, uint64_t low);
54 constexpr UnguessableToken() = default;
75 bool operator<(const UnguessableToken& other) const {
79 bool operator==(const UnguessableToken& other) const {
83 bool operator!=(const UnguessableToken& other) const {
89 UnguessableToken(uint64_t high, uint64_t low);
98 const UnguessableToken& token);
102 size_t operator()(const base::UnguessableToken& token) const { in operator()
/external/libchrome/mojo/public/cpp/base/
Dunguessable_token_unittest.cc13 TEST(UnguessableTokenTest, UnguessableToken) { in TEST() argument
14 base::UnguessableToken in = base::UnguessableToken::Create(); in TEST()
15 base::UnguessableToken out; in TEST()
18 mojo::test::SerializeAndDeserialize<mojom::UnguessableToken>(&in, &out)); in TEST()
Dunguessable_token_mojom_traits.h16 static_assert(sizeof(base::UnguessableToken) == 2 * sizeof(uint64_t),
22 base::UnguessableToken> { in COMPONENT_EXPORT()
23 static uint64_t high(const base::UnguessableToken& token) { in COMPONENT_EXPORT()
27 static uint64_t low(const base::UnguessableToken& token) { in COMPONENT_EXPORT()
32 base::UnguessableToken* out); in COMPONENT_EXPORT()
Dunguessable_token_mojom_traits.cc11 base::UnguessableToken>::
13 base::UnguessableToken* out) { in Read()
21 *out = base::UnguessableToken::Deserialize(high, low); in Read()
Dunguessable_token.typemap13 type_mappings = [ "mojo_base.mojom.UnguessableToken=base::UnguessableToken" ]
/external/libchrome/base/memory/
Dshared_memory_handle.h74 base::UnguessableToken GetGUID() const;
88 SharedMemoryHandle(HANDLE h, size_t size, const base::UnguessableToken& guid);
101 const base::UnguessableToken& guid);
115 SharedMemoryHandle(mach_vm_size_t size, const base::UnguessableToken& guid);
123 const base::UnguessableToken& guid);
183 const base::UnguessableToken& guid);
230 base::UnguessableToken guid_;
Dshared_memory_mapping.h59 const UnguessableToken& guid() const { in guid()
68 const UnguessableToken& guid);
79 UnguessableToken guid_;
105 const UnguessableToken& guid);
137 const UnguessableToken& guid);
Dplatform_shared_memory_region.h131 const UnguessableToken& guid);
195 const UnguessableToken& GetGUID() const { return guid_; } in GetGUID()
216 const UnguessableToken& guid);
221 UnguessableToken guid_;
Dshared_memory_mapping.cc64 const UnguessableToken& guid) in SharedMemoryMapping()
102 const UnguessableToken& guid) in ReadOnlySharedMemoryMapping()
114 const UnguessableToken& guid) in WritableSharedMemoryMapping()
Dshared_memory_handle_posix.cc20 const base::UnguessableToken& guid) in SharedMemoryHandle()
28 handle.guid_ = UnguessableToken::Create(); in ImportHandle()
Dplatform_shared_memory_region_mac.cc26 const UnguessableToken& guid) { in Take()
189 UnguessableToken::Create()); in Create()
229 const UnguessableToken& guid) in PlatformSharedMemoryRegion()
Dshared_memory_handle_android.cc32 const base::UnguessableToken& guid) in SharedMemoryHandle()
43 handle.guid_ = UnguessableToken::Create(); in ImportHandle()
Dshared_memory.h215 const UnguessableToken& mapped_id() const { return mapped_id_; } in mapped_id()
247 base::UnguessableToken mapped_id_;
Dplatform_shared_memory_region_posix.cc75 const UnguessableToken& guid) { in Take()
272 mode, size, UnguessableToken::Create()); in Create()
324 const UnguessableToken& guid) in PlatformSharedMemoryRegion()
Dshared_memory_posix.cc202 UnguessableToken::Create()); in Create()
253 UnguessableToken::Create()); in Open()
326 mapped_id_ = UnguessableToken(); in Unmap()
Dshared_memory_handle.cc15 base::UnguessableToken SharedMemoryHandle::GetGUID() const { in GetGUID()
Dwritable_shared_memory_region.h93 const UnguessableToken& GetGUID() const { in GetGUID()
Dunsafe_shared_memory_region.h92 const UnguessableToken& GetGUID() const { in GetGUID()
/external/libchrome/mojo/public/mojom/base/
Dunguessable_token.mojom7 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h
8 struct UnguessableToken {
/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc140 base::UnguessableToken guid = memory_handle.GetGUID(); in TEST_F()
183 base::UnguessableToken guid = in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
184 base::UnguessableToken::Deserialize(mojo_guid.high, mojo_guid.low); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dshared_buffer_dispatcher.cc161 base::UnguessableToken guid = base::UnguessableToken::Deserialize( in Deserialize()
349 const base::UnguessableToken& guid = region_.GetGUID(); in EndSerialize()
/external/libchrome/ipc/
Dipc_message_utils_unittest.cc210 base::UnguessableToken token = base::UnguessableToken::Create(); in TEST()
218 base::UnguessableToken deserialized_token; in TEST()
/external/libchrome/mojo/public/cpp/system/
Disolated_connection.h53 const base::UnguessableToken token_;
Disolated_connection.cc13 : token_(base::UnguessableToken::Create()) {} in IsolatedConnection()

12