Home
last modified time | relevance | path

Searched refs:SliceHashTable (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/core/lib/slice/
Dslice_hash_table.h45 class SliceHashTable : public RefCounted<SliceHashTable<T>> {
63 static RefCountedPtr<SliceHashTable> Create(size_t num_entries,
77 static int Cmp(const SliceHashTable& a, const SliceHashTable& b);
88 SliceHashTable(size_t num_entries, Entry* entries, ValueCmp value_cmp);
89 virtual ~SliceHashTable();
107 RefCountedPtr<SliceHashTable<T>> SliceHashTable<T>::Create(size_t num_entries, in Create()
110 return MakeRefCounted<SliceHashTable<T>>(num_entries, entries, value_cmp); in Create()
114 SliceHashTable<T>::SliceHashTable(size_t num_entries, Entry* entries, in SliceHashTable() function
128 SliceHashTable<T>::~SliceHashTable() { in ~SliceHashTable()
140 void SliceHashTable<T>::Add(grpc_slice key, T& value) { in Add()
[all …]
/external/grpc-grpc/src/core/lib/transport/
Dservice_config.h84 RefCountedPtr<SliceHashTable<RefCountedPtr<T>>> CreateMethodConfigTable(
95 const SliceHashTable<RefCountedPtr<T>>& table, grpc_slice path);
118 typename SliceHashTable<RefCountedPtr<T>>::Entry* entries, size_t* idx);
145 typename SliceHashTable<RefCountedPtr<T>>::Entry* entries, size_t* idx) { in ParseJsonMethodConfig()
174 RefCountedPtr<SliceHashTable<RefCountedPtr<T>>>
181 typename SliceHashTable<RefCountedPtr<T>>::Entry* entries = nullptr; in CreateMethodConfigTable()
196 entries = static_cast<typename SliceHashTable<RefCountedPtr<T>>::Entry*>( in CreateMethodConfigTable()
198 sizeof(typename SliceHashTable<RefCountedPtr<T>>::Entry))); in CreateMethodConfigTable()
215 RefCountedPtr<SliceHashTable<RefCountedPtr<T>>> method_config_table; in CreateMethodConfigTable()
218 SliceHashTable<RefCountedPtr<T>>::Create(num_entries, entries, nullptr); in CreateMethodConfigTable()
[all …]
/external/grpc-grpc/test/core/slice/
Dslice_hash_table_test.cc38 typedef SliceHashTable<UniquePtr<char>> TestHashTable;
82 TEST(SliceHashTable, Basic) { in TEST() argument
134 TEST(SliceHashTable, CmpEqual) { in TEST() argument
149 TEST(SliceHashTable, CmpDifferentSizes) { in TEST() argument
163 TEST(SliceHashTable, CmpDifferentKey) { in TEST() argument
177 TEST(SliceHashTable, CmpDifferentValue) { in TEST() argument
191 TEST(SliceHashTable, CmpDifferentCmpFunctions) { in TEST() argument
204 TEST(SliceHashTable, CmpEmptyKeysDifferentValue) { in TEST() argument
/external/grpc-grpc/src/core/lib/security/transport/
Dtarget_authority_table.h29 typedef SliceHashTable<UniquePtr<char>> TargetAuthorityTable;
/external/grpc-grpc/src/core/ext/filters/message_size/
Dmessage_size_filter.cc116 grpc_core::RefCountedPtr<grpc_core::SliceHashTable<
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc86 typedef grpc_core::SliceHashTable<