Home
last modified time | relevance | path

Searched refs:GRPC_MDELEM_DATA (Results 1 – 7 of 7) sorted by relevance

/external/grpc-grpc/src/core/lib/transport/
Dmetadata.h97 #define GRPC_MDELEM_DATA(md) ((grpc_mdelem_data*)((md).payload & ~(uintptr_t)3)) macro
146 #define GRPC_MDKEY(md) (GRPC_MDELEM_DATA(md)->key)
147 #define GRPC_MDVALUE(md) (GRPC_MDELEM_DATA(md)->value)
150 #define GRPC_MDISNULL(md) (GRPC_MDELEM_DATA(md) == NULL)
Dmetadata.cc146 return GRPC_MDELEM_DATA(e) >= &grpc_static_mdelem_table[0] && in is_mdelem_static()
147 GRPC_MDELEM_DATA(e) < in is_mdelem_static()
352 reinterpret_cast<interned_metadata*> GRPC_MDELEM_DATA(gmd); in grpc_mdelem_ref()
375 reinterpret_cast<allocated_metadata*> GRPC_MDELEM_DATA(gmd); in grpc_mdelem_ref()
406 reinterpret_cast<interned_metadata*> GRPC_MDELEM_DATA(gmd); in grpc_mdelem_unref()
433 reinterpret_cast<allocated_metadata*> GRPC_MDELEM_DATA(gmd); in grpc_mdelem_unref()
464 return (void*)grpc_static_mdelem_user_data[GRPC_MDELEM_DATA(md) - in grpc_mdelem_get_user_data()
468 reinterpret_cast<interned_metadata*> GRPC_MDELEM_DATA(md); in grpc_mdelem_get_user_data()
490 return (void*)grpc_static_mdelem_user_data[GRPC_MDELEM_DATA(md) - in grpc_mdelem_set_user_data()
494 reinterpret_cast<interned_metadata*> GRPC_MDELEM_DATA(md); in grpc_mdelem_set_user_data()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dmetadata.h104 #define GRPC_MDELEM_DATA(md) ((grpc_mdelem_data*)((md).payload & ~(uintptr_t)3)) macro
160 #define GRPC_MDKEY(md) (GRPC_MDELEM_DATA(md)->key)
161 #define GRPC_MDVALUE(md) (GRPC_MDELEM_DATA(md)->value)
172 #define GRPC_MDISNULL(md) (GRPC_MDELEM_DATA(md) == NULL)
344 reinterpret_cast<grpc_core::InternedMetadata*> GRPC_MDELEM_DATA(gmd);
355 reinterpret_cast<grpc_core::AllocatedMetadata*> GRPC_MDELEM_DATA(gmd);
386 reinterpret_cast<grpc_core::RefcountedMdBase*> GRPC_MDELEM_DATA(gmd);
Dmetadata.cc281 return reinterpret_cast<grpc_core::StaticMetadata*>(GRPC_MDELEM_DATA(e)) >= in is_mdelem_static()
283 reinterpret_cast<grpc_core::StaticMetadata*>(GRPC_MDELEM_DATA(e)) < in is_mdelem_static()
579 GRPC_MDELEM_DATA(md)) - in grpc_mdelem_get_user_data()
582 auto* am = reinterpret_cast<AllocatedMetadata*>(GRPC_MDELEM_DATA(md)); in grpc_mdelem_get_user_data()
586 auto* im = reinterpret_cast<InternedMetadata*> GRPC_MDELEM_DATA(md); in grpc_mdelem_get_user_data()
621 GRPC_MDELEM_DATA(md)) - in grpc_mdelem_set_user_data()
624 auto* am = reinterpret_cast<AllocatedMetadata*>(GRPC_MDELEM_DATA(md)); in grpc_mdelem_set_user_data()
628 auto* im = reinterpret_cast<InternedMetadata*> GRPC_MDELEM_DATA(md); in grpc_mdelem_set_user_data()
655 auto* md = reinterpret_cast<InternedMetadata*> GRPC_MDELEM_DATA(gmd); in grpc_mdelem_do_unref()
665 auto* md = reinterpret_cast<AllocatedMetadata*> GRPC_MDELEM_DATA(gmd); in grpc_mdelem_do_unref()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.h131 reinterpret_cast<grpc_core::StaticMetadata*>(GRPC_MDELEM_DATA(md)) - in grpc_chttp2_get_static_hpack_table_index()
Dhpack_encoder.cc646 GRPC_MDELEM_DATA(elem)) in maybe_emit_indexed()
648 : reinterpret_cast<grpc_core::StaticMetadata*>(GRPC_MDELEM_DATA(elem)) in maybe_emit_indexed()
873 reinterpret_cast<grpc_core::StaticMetadata*>(GRPC_MDELEM_DATA(md)) in grpc_chttp2_encode_header()
887 GRPC_MDELEM_DATA(l->md)) in grpc_chttp2_encode_header()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_table.cc392 return grpc_hpack_static_mdelem_indices[GRPC_MDELEM_DATA(md) - in grpc_chttp2_get_static_hpack_table_index()