/third_party/grpc/src/core/tsi/alts/frame_protector/ |
D | frame_handler.cc | 85 GPR_MIN(*bytes_size, in alts_write_frame_bytes() 100 GPR_MIN(writer->input_size - writer->input_bytes_written, *bytes_size); in alts_write_frame_bytes() 170 size_t bytes_to_write = GPR_MIN( in alts_read_frame_bytes() 202 size_t bytes_to_write = GPR_MIN(*bytes_size, reader->bytes_remaining); in alts_read_frame_bytes()
|
D | alts_frame_protector.cc | 159 size_t bytes_to_buffer = GPR_MIN(*unprotected_bytes_size, in alts_protect() 269 GPR_MIN(impl->max_unprotected_frame_size - in alts_unprotect() 293 size_t bytes_to_write = GPR_MIN( in alts_unprotect() 388 GPR_MIN(*max_protected_frame_size, kMaxFrameLength); in alts_create_frame_protector()
|
/third_party/grpc/test/core/gpr/ |
D | useful_test.cc | 31 GPR_ASSERT(GPR_MIN(1, 2) == 1); in main() 33 GPR_ASSERT(GPR_MIN(2, 1) == 1); in main()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | writing.cc | 333 return static_cast<uint32_t> GPR_MIN( in max_outgoing() 335 GPR_MIN(stream_remote_window(), t_->flow_control->remote_window())); in max_outgoing() 341 uint32_t send_bytes = static_cast<uint32_t> GPR_MIN( in FlushUncompressedBytes() 357 uint32_t send_bytes = static_cast<uint32_t> GPR_MIN( in FlushCompressedBytes()
|
D | flow_control.h | 271 return static_cast<uint32_t> GPR_MIN( in target_window()
|
D | flow_control.cc | 320 target *= 1 - GPR_MIN(1, (memory_pressure - kHighMemPressure) / in AdjustForMemoryPressure()
|
D | hpack_encoder.cc | 787 c, GPR_MIN(c->max_table_size, max_table_size)); in grpc_chttp2_hpack_compressor_set_max_usable_size() 811 max_table_size = GPR_MIN(max_table_size, c->max_usable_size); in grpc_chttp2_hpack_compressor_set_max_table_size()
|
D | chttp2_transport.cc | 1401 s->deadline = GPR_MIN(s->deadline, s->send_initial_metadata->deadline); in perform_stream_op_locked() 1939 GPR_MIN(s->frame_storage.length, GRPC_HEADER_SIZE_IN_BYTES), in grpc_chttp2_maybe_complete_recv_trailing_metadata()
|
D | hpack_parser.cc | 1658 const uint8_t* target = start + GPR_MIN(MAX_PARSE_LENGTH, end - start); in grpc_chttp2_hpack_parser_parse()
|
/third_party/grpc/src/core/lib/gpr/ |
D | useful.h | 24 #define GPR_MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
/third_party/grpc/test/core/tsi/alts/frame_protector/ |
D | frame_handler_test.cc | 71 size_t bytes_written = GPR_MIN(write_length, handler->buffer_size - offset); in frame() 86 size_t bytes_read = GPR_MIN(read_length, handler->buffer_size - offset); in deframe()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | timer_generic.cc | 605 if (next != nullptr) *next = GPR_MIN(*next, min_timer); in run_some_expired_timers() 650 *next = GPR_MIN(*next, g_shard_queue[0]->min_deadline); in run_some_expired_timers() 696 *next = GPR_MIN(*next, min_timer); in timer_check()
|
D | error.cc | 197 (*err)->arena_capacity = static_cast<uint8_t> GPR_MIN( in get_placement()
|
D | resource_quota.cc | 726 (gpr_atm)GPR_MIN((size_t)GPR_ATM_MAX, size)); in grpc_resource_quota_resize()
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 59 GPR_MIN(strlen(lb_service_name), GRPC_GRPCLB_SERVICE_NAME_MAX_LENGTH); in GrpcLbRequestCreate()
|
/third_party/grpc/test/core/util/ |
D | trickle_endpoint.cc | 187 GPR_MIN(bytes, te->write_buffer.length), in grpc_trickle_endpoint_trickle()
|
/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector.cc | 281 GPR_MIN(*max_protected_frame_size, kMaxFrameLength); in alts_zero_copy_grpc_protector_create()
|
/third_party/grpc/src/core/lib/surface/ |
D | channel.cc | 314 static_cast<gpr_atm>(GPR_MIN(cur - 1, (255 * cur + size) / 256))); in grpc_channel_update_call_size_estimate()
|
D | call.cc | 400 send_deadline = GPR_MIN(send_deadline, args->parent->send_deadline); in grpc_call_create()
|
/third_party/grpc/src/core/ext/transport/inproc/ |
D | inproc_transport.cc | 175 deadline = GPR_MIN(deadline, cs->write_buffer_deadline); in inproc_stream() 1025 *dl = GPR_MIN(*dl, op->payload->send_initial_metadata in perform_stream_op()
|
/third_party/grpc/src/core/tsi/ |
D | fake_transport_security.cc | 419 GPR_MIN(impl->max_frame_size, in fake_zero_copy_grpc_protector_protect()
|
/third_party/grpc/src/core/ext/filters/client_channel/xds/ |
D | xds_api.cc | 1671 numerator = GPR_MIN(numerator, 1000000); in DropParseAndAppend()
|
/third_party/grpc/src/core/ext/xds/ |
D | xds_api.cc | 2065 numerator = GPR_MIN(numerator, 1000000); in DropParseAndAppend()
|