Home
last modified time | relevance | path

Searched refs:slice_shard (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/slice/
Dslice_intern.cc46 typedef struct slice_shard { struct
51 } slice_shard; argument
53 static slice_shard g_shards[SHARD_COUNT];
71 slice_shard* shard = &g_shards[SHARD_IDX(this->hash)]; in ~InternedSliceRefcount()
85 static void grow_shard(slice_shard* shard) { in grow_shard()
204 static InternedSliceRefcount* InternNewStringLocked(slice_shard* shard, in InternNewStringLocked()
238 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in MatchInternedSliceLocked()
261 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in FindOrCreateInternedSlice()
316 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_init()
354 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_shutdown()
/external/grpc-grpc/src/core/lib/slice/
Dslice_intern.cc51 typedef struct slice_shard { struct
56 } slice_shard; argument
62 static slice_shard g_shards[SHARD_COUNT];
80 slice_shard* shard = &g_shards[SHARD_IDX(s->hash)]; in interned_slice_destroy()
129 static void grow_shard(slice_shard* shard) { in grow_shard()
221 slice_shard* shard = &g_shards[SHARD_IDX(hash)]; in grpc_slice_intern()
279 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_init()
311 slice_shard* shard = &g_shards[i]; in grpc_slice_intern_shutdown()