/third_party/grpc/test/core/gpr/ |
D | useful_test.cc | 32 GPR_ASSERT(GPR_MAX(1, 2) == 2); in main() 34 GPR_ASSERT(GPR_MAX(2, 1) == 2); in main()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_table.cc | 138 rebuild_ents(tbl, GPR_MAX(tbl->max_entries, 2 * tbl->cap_entries)); in grpc_chttp2_hptbl_set_current_table_size() 140 uint32_t new_cap = GPR_MAX(tbl->max_entries, 16u); in grpc_chttp2_hptbl_set_current_table_size()
|
D | frame_ping.cc | 116 t->ping_ack_capacity = GPR_MAX(t->ping_ack_capacity * 3 / 2, 3); in grpc_chttp2_ping_parser_parse()
|
D | writing.cc | 177 static_cast<uint32_t> GPR_MAX( in report_stall() 326 return static_cast<uint32_t> GPR_MAX( in stream_remote_window()
|
/third_party/grpc/test/core/util/ |
D | fuzzer_util.cc | 42 cap = GPR_MAX(3 * cap / 2, cap + 8); in grpc_fuzzer_get_next_string()
|
D | slice_splitter.cc | 117 capacity = GPR_MAX(capacity * 2, GRPC_SLICE_LENGTH(slices[i]) + length); in grpc_slice_merge()
|
D | test_config.cc | 216 static char g_alt_stack[GPR_MAX(MINSIGSTKSZ, 65536)];
|
/third_party/grpc/src/core/lib/transport/ |
D | bdp_estimator.cc | 58 estimate_ = GPR_MAX(accumulator_, estimate_ * 2); in CompletePing()
|
/third_party/grpc/src/core/lib/gpr/ |
D | useful.h | 25 #define GPR_MAX(a, b) ((a) > (b) ? (a) : (b)) macro
|
D | string.cc | 92 out->capacity = GPR_MAX(8, 2 * out->capacity); in dump_out_append() 293 *capstrs = GPR_MAX(8, 2 * *capstrs); in add_string_to_split()
|
/third_party/grpc/test/core/bad_client/tests/ |
D | window_overflow.cc | 60 g_cap = GPR_MAX(g_count + len, g_cap * 2); in addbuf()
|
D | head_of_line_blocking.cc | 103 g_cap = GPR_MAX(g_count + len, g_cap * 2); in addbuf()
|
/third_party/grpc/src/core/lib/surface/ |
D | channel_init.cc | 56 g_slots[type].cap_slots = GPR_MAX(8, 3 * g_slots[type].cap_slots / 2); in grpc_channel_init_register_stage()
|
/third_party/grpc/src/core/lib/http/ |
D | parser.cc | 224 GPR_MAX(parser->hdr_capacity + 1, parser->hdr_capacity * 3 / 2); in add_header() 283 parser->body_capacity = GPR_MAX(8, parser->body_capacity * 3 / 2); in addbyte_body()
|
/third_party/grpc/test/core/transport/ |
D | bdp_estimator_test.cc | 128 EXPECT_LE(est.EstimateBdp(), GPR_MAX(65536, 2 * NextPow2(max))) in TEST_P()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | timer_heap.cc | 101 GPR_MAX(heap->timer_capacity + 1, heap->timer_capacity * 3 / 2); in grpc_timer_heap_add()
|
D | ev_poll_posix.cc | 886 GPR_MAX(pollset->fd_capacity + 8, pollset->fd_count * 3 / 2); 1210 GPR_MAX(8, 2 * pollset_set->pollset_capacity); 1259 bag->pollset_set_capacity = GPR_MAX(8, 2 * bag->pollset_set_capacity); 1296 pollset_set->fd_capacity = GPR_MAX(8, 2 * pollset_set->fd_capacity);
|
D | ev_epollex_linux.cc | 1365 pss->fd_capacity = GPR_MAX(pss->fd_capacity * 2, 8); 1474 pss->pollset_capacity = GPR_MAX(pss->pollset_capacity * 2, 8); 1528 a->fd_capacity = GPR_MAX(2 * a->fd_capacity, a->fd_count + b->fd_count); 1546 GPR_MAX(2 * a->pollset_capacity, a->pollset_count + b->pollset_count);
|
/third_party/grpc/src/core/lib/avl/ |
D | avl.cc | 66 : 1 + GPR_MAX(calculate_height(node->left), in calculate_height() 90 node->height = 1 + GPR_MAX(node_height(left), node_height(right)); in new_node()
|
/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_grpc_record_protocol_common.cc | 42 rp->iovec_buf_length = GPR_MAX(sb->count, 2 * rp->iovec_buf_length); in ensure_iovec_buf_size()
|
D | alts_zero_copy_grpc_protector.cc | 283 GPR_MAX(*max_protected_frame_size, kMinFrameLength); in alts_zero_copy_grpc_protector_create()
|
/third_party/grpc/src/core/lib/debug/ |
D | stats.cc | 41 g_num_cores = GPR_MAX(1, gpr_cpu_num_cores()); in grpc_stats_init()
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | bm_fullstack_trickle.cc | 306 i < GPR_MAX(FLAGS_warmup_iterations, FLAGS_warmup_megabytes * 1024 * in BM_PumpStreamServerToClient_Trickle() 419 i < GPR_MAX(FLAGS_warmup_iterations, FLAGS_warmup_megabytes * 1024 * in BM_PumpUnbalancedUnary_Trickle()
|
/third_party/grpc/src/core/ext/filters/client_idle/ |
D | client_idle_filter.cc | 120 return GPR_MAX( in GetClientIdleTimeout()
|
/third_party/grpc/src/core/lib/security/context/ |
D | security_context.cc | 225 GPR_MAX(properties_.capacity + 8, properties_.capacity * 2); in ensure_capacity()
|