/external/libchrome/base/ |
D | unguessable_token_unittest.cc | 17 void TestSmallerThanOperator(const UnguessableToken& a, in TestSmallerThanOperator() 18 const UnguessableToken& b) { in TestSmallerThanOperator() 26 UnguessableToken token = UnguessableToken::Deserialize(1, 2); in TEST() 27 UnguessableToken same_token = UnguessableToken::Deserialize(1, 2); in TEST() 28 UnguessableToken diff_token = UnguessableToken::Deserialize(1, 3); in TEST() 43 UnguessableToken token = UnguessableToken::Create(); in TEST() 47 UnguessableToken copied_token(token); in TEST() 51 UnguessableToken uninitialized; in TEST() 55 EXPECT_TRUE(UnguessableToken().is_empty()); in TEST() 56 EXPECT_FALSE(UnguessableToken()); in TEST() [all …]
|
D | unguessable_token.cc | 13 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 <<()
|
D | unguessable_token.h | 40 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()
|
D | value_conversions.h | 17 class UnguessableToken; variable 29 const UnguessableToken& token); 31 UnguessableToken* token);
|
D | value_conversions.cc | 66 const UnguessableToken& token) { in CreateUnguessableTokenValue() 75 bool GetValueAsUnguessableToken(const Value& value, UnguessableToken* token) { in GetValueAsUnguessableToken() 94 *token = UnguessableToken::Deserialize(representation.field.high, in GetValueAsUnguessableToken()
|
/external/libchrome/base/android/java/src/org/chromium/base/ |
D | UnguessableToken.java | 21 public class UnguessableToken implements Parcelable { class 25 private UnguessableToken(long high, long low) { in UnguessableToken() method in UnguessableToken 31 private static UnguessableToken create(long high, long low) { in create() 32 return new UnguessableToken(high, low); in create() 56 public static final Parcelable.Creator<UnguessableToken> CREATOR = 57 new Parcelable.Creator<UnguessableToken>() { 59 public UnguessableToken createFromParcel(Parcel source) { 66 return new UnguessableToken(high, low); 70 public UnguessableToken[] newArray(int size) { 71 return new UnguessableToken[size]; [all …]
|
/external/libchrome/mojo/public/cpp/base/ |
D | unguessable_token_unittest.cc | 13 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()
|
D | unguessable_token_mojom_traits.h | 16 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()
|
D | unguessable_token_mojom_traits.cc | 11 base::UnguessableToken>:: 13 base::UnguessableToken* out) { in Read() 21 *out = base::UnguessableToken::Deserialize(high, low); in Read()
|
D | unguessable_token.typemap | 13 type_mappings = [ "mojo_base.mojom.UnguessableToken=base::UnguessableToken" ]
|
/external/libchrome/base/android/ |
D | unguessable_token_android_unittest.cc | 17 base::UnguessableToken token = base::UnguessableToken::Deserialize(high, low); in TEST() 20 base::UnguessableToken result = in TEST() 30 base::UnguessableToken token = base::UnguessableToken::Deserialize(high, low); in TEST() 35 base::UnguessableToken token_clone = in TEST()
|
D | unguessable_token_android.cc | 14 const base::UnguessableToken& token) { in Create() 22 base::UnguessableToken UnguessableTokenAndroid::FromJavaUnguessableToken( in FromJavaUnguessableToken() 30 return base::UnguessableToken::Deserialize(high, low); in FromJavaUnguessableToken()
|
D | unguessable_token_android.h | 22 const base::UnguessableToken& token); 25 static base::UnguessableToken FromJavaUnguessableToken(
|
/external/libchrome/base/memory/ |
D | shared_memory_handle.h | 74 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_;
|
D | shared_memory_tracker.h | 30 static std::string GetDumpNameForTracing(const UnguessableToken& id); 33 const UnguessableToken& id); 69 const UnguessableToken& mapped_id, 74 UsageInfo(size_t size, const UnguessableToken& id) in UsageInfo() 78 UnguessableToken mapped_id;
|
D | shared_memory_mapping.h | 59 const UnguessableToken& guid() const { in guid() 68 const UnguessableToken& guid); 79 UnguessableToken guid_; 105 const UnguessableToken& guid); 137 const UnguessableToken& guid);
|
D | platform_shared_memory_region.h | 131 const UnguessableToken& guid); 195 const UnguessableToken& GetGUID() const { return guid_; } in GetGUID() 216 const UnguessableToken& guid); 221 UnguessableToken guid_;
|
D | platform_shared_memory_region_android.cc | 38 const UnguessableToken& guid) { in Take() 153 UnguessableToken guid = UnguessableToken::Create(); in Create() 199 const UnguessableToken& guid) in PlatformSharedMemoryRegion()
|
D | shared_memory_mapping.cc | 64 const UnguessableToken& guid) in SharedMemoryMapping() 102 const UnguessableToken& guid) in ReadOnlySharedMemoryMapping() 114 const UnguessableToken& guid) in WritableSharedMemoryMapping()
|
D | shared_memory_handle_posix.cc | 20 const base::UnguessableToken& guid) in SharedMemoryHandle() 28 handle.guid_ = UnguessableToken::Create(); in ImportHandle()
|
D | shared_memory_tracker.cc | 25 const UnguessableToken& id) { in GetDumpNameForTracing() 32 SharedMemoryTracker::GetGlobalDumpIdForTracing(const UnguessableToken& id) { in GetGlobalDumpIdForTracing() 110 const UnguessableToken& mapped_id, in GetOrCreateSharedMemoryDumpInternal()
|
D | shared_memory_handle_android.cc | 32 const base::UnguessableToken& guid) in SharedMemoryHandle() 43 handle.guid_ = UnguessableToken::Create(); in ImportHandle()
|
/external/libchrome/base/trace_event/ |
D | process_memory_dump.h | 32 class UnguessableToken; variable 194 const UnguessableToken& shared_memory_guid, 198 const UnguessableToken& shared_memory_guid, 242 const UnguessableToken& process_token() const { return process_token_; } in process_token() 243 void set_process_token_for_testing(UnguessableToken token) { in set_process_token_for_testing() 254 const UnguessableToken& shared_memory_guid, 260 UnguessableToken process_token_;
|
D | process_memory_dump.cc | 52 UnguessableToken GetTokenForCurrentProcess() { in GetTokenForCurrentProcess() 53 static UnguessableToken instance = UnguessableToken::Create(); in GetTokenForCurrentProcess() 425 const UnguessableToken& shared_memory_guid, in CreateSharedMemoryOwnershipEdge() 434 const UnguessableToken& shared_memory_guid, in CreateWeakSharedMemoryOwnershipEdge() 442 const UnguessableToken& shared_memory_guid, in CreateSharedMemoryOwnershipEdgeInternal()
|
/external/libchrome/mojo/public/mojom/base/ |
D | unguessable_token.mojom | 7 // Corresponds to |base::UnguessableToken| in base/unguessable_token.h 8 struct UnguessableToken {
|