Home
last modified time | relevance | path

Searched refs:GPR_ROUND_UP_TO_ALIGNMENT_SIZE (Results 1 – 11 of 11) sorted by relevance

/third_party/grpc/src/core/lib/channel/
Dchannel_stack.cc50 size_t size = GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(grpc_channel_stack)) + in grpc_channel_stack_size()
51 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * in grpc_channel_stack_size()
60 size += GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filters[i]->sizeof_channel_data); in grpc_channel_stack_size()
67 ((grpc_channel_element*)((char*)(stk) + GPR_ROUND_UP_TO_ALIGNMENT_SIZE( \
71 ((grpc_call_element*)((char*)(stk) + GPR_ROUND_UP_TO_ALIGNMENT_SIZE( \
95 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(grpc_call_stack)) + in grpc_channel_stack_init()
96 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * sizeof(grpc_call_element)); in grpc_channel_stack_init()
107 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * in grpc_channel_stack_init()
129 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filters[i]->sizeof_channel_data); in grpc_channel_stack_init()
130 call_size += GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filters[i]->sizeof_call_data); in grpc_channel_stack_init()
[all …]
Dconnected_channel.cc95 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(call_data))))
98 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(call_data))))
/third_party/grpc/test/core/util/
Dmemory_counters.cc74 __real_malloc(GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size)) + size); in __wrap_malloc()
76 return static_cast<char*>(ptr) + GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size)); in __wrap_malloc()
86 __real_calloc(GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size)) + size); in __wrap_calloc()
88 return static_cast<char*>(ptr) + GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size)); in __wrap_calloc()
100 static_cast<char*>(ptr) - GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size)); in __wrap_realloc()
107 __real_realloc(rptr, GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size)) + size); in __wrap_realloc()
110 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size)); in __wrap_realloc()
116 static_cast<char*>(ptr) - GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(size_t)); in __wrap_free()
/third_party/grpc/src/core/lib/gprpp/
Darena.cc38 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(grpc_core::Arena)); in ArenaStorage()
39 initial_size = GPR_ROUND_UP_TO_ALIGNMENT_SIZE(initial_size); in ArenaStorage()
70 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(Arena)); in CreateWithAlloc()
91 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(Zone)); in AllocZone()
Darena.h60 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(Arena)); in Alloc()
61 size = GPR_ROUND_UP_TO_ALIGNMENT_SIZE(size); in Alloc()
99 : total_used_(GPR_ROUND_UP_TO_ALIGNMENT_SIZE(initial_alloc)), in total_used_()
/third_party/grpc/src/core/ext/filters/client_channel/
Ddynamic_filters.cc26 (grpc_call_stack*)((char*)(call) + GPR_ROUND_UP_TO_ALIGNMENT_SIZE( \
30 GPR_ROUND_UP_TO_ALIGNMENT_SIZE( \
179 size_t allocation_size = GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(Call)) + in CreateCall()
Dsubchannel.cc73 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(SubchannelCall)))
76 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(SubchannelCall)))
125 return GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(SubchannelCall)) + in GetInitialCallSizeEstimate()
Dclient_channel.cc4902 ? (GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(LoadBalancedCall)) + in Create()
4972 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(LoadBalancedCall)); in GetParentData()
/third_party/grpc/src/core/lib/gpr/
Dalloc.h25 #define GPR_ROUND_UP_TO_ALIGNMENT_SIZE(x) \ macro
/third_party/grpc/src/core/lib/transport/
Dtransport.cc121 return GPR_ROUND_UP_TO_ALIGNMENT_SIZE(transport->vtable->sizeof_stream);
/third_party/grpc/src/core/lib/surface/
Dcall.cc277 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(grpc_call)))
280 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(grpc_call)))
352 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(grpc_call)) + in grpc_call_create()