/third_party/grpc/test/core/surface/ |
D | completion_queue_test.cc | 78 for (size_t i = 0; i < GPR_ARRAY_SIZE(completion_types); i++) { in test_no_op() 79 for (size_t j = 0; j < GPR_ARRAY_SIZE(polling_types); j++) { in test_no_op() 98 for (size_t i = 0; i < GPR_ARRAY_SIZE(completion_types); i++) { in test_pollset_conversion() 99 for (size_t j = 0; j < GPR_ARRAY_SIZE(polling_types); j++) { in test_pollset_conversion() 121 for (size_t i = 0; i < GPR_ARRAY_SIZE(polling_types); i++) { in test_wait_empty() 148 for (size_t i = 0; i < GPR_ARRAY_SIZE(polling_types); i++) { in test_cq_end_op() 183 for (size_t i = 0; i < GPR_ARRAY_SIZE(polling_types); i++) { in test_cq_tls_cache_full() 223 for (size_t i = 0; i < GPR_ARRAY_SIZE(polling_types); i++) { in test_cq_tls_cache_empty() 248 for (size_t i = 0; i < GPR_ARRAY_SIZE(polling_types); i++) { in test_shutdown_then_next_polling() 270 for (size_t i = 0; i < GPR_ARRAY_SIZE(polling_types); i++) { in test_shutdown_then_next_with_timeout() [all …]
|
D | completion_queue_threading_test.cc | 81 grpc_cq_completion completions[GPR_ARRAY_SIZE(tags)]; in test_too_many_plucks() 82 grpc_core::Thread threads[GPR_ARRAY_SIZE(tags)]; in test_too_many_plucks() 83 struct thread_state thread_states[GPR_ARRAY_SIZE(tags)]; in test_too_many_plucks() 91 for (i = 0; i < GPR_ARRAY_SIZE(tags); i++) { in test_too_many_plucks() 110 for (i = 0; i < GPR_ARRAY_SIZE(tags); i++) { in test_too_many_plucks()
|
D | server_test.cc | 163 test_bind_server_to_addrs(addrs, GPR_ARRAY_SIZE(addrs)); in main() 170 test_bind_server_to_addrs(dns_addrs, GPR_ARRAY_SIZE(dns_addrs)); in main()
|
/third_party/grpc/test/core/util/ |
D | cmdline_test.cc | 41 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_simple_int() 56 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_eq_int() 72 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_2dash_int() 87 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_2dash_eq_int() 103 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_simple_string() 118 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_eq_string() 134 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_2dash_string() 149 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_2dash_eq_string() 164 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_flag_on() 179 gpr_cmdline_parse(cl, GPR_ARRAY_SIZE(args), args); in test_flag_no() [all …]
|
/third_party/grpc/test/core/transport/ |
D | byte_stream_test.cc | 53 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 64 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 85 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 129 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 142 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 164 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 185 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 206 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST() 226 for (size_t i = 0; i < GPR_ARRAY_SIZE(input); ++i) { in TEST()
|
/third_party/grpc/src/core/ext/transport/chttp2/alpn/ |
D | alpn.cc | 31 for (i = 0; i < GPR_ARRAY_SIZE(supported_versions); i++) { in grpc_chttp2_is_alpn_version_supported() 38 return GPR_ARRAY_SIZE(supported_versions); in grpc_chttp2_num_alpn_versions() 42 GPR_ASSERT(i < GPR_ARRAY_SIZE(supported_versions)); in grpc_chttp2_get_alpn_version_index()
|
/third_party/grpc/test/core/gprpp/ |
D | mpscq_test.cc | 82 thd_args ta[GPR_ARRAY_SIZE(thds)]; in test_mt() 84 for (size_t i = 0; i < GPR_ARRAY_SIZE(thds); i++) { in test_mt() 94 while (num_done != GPR_ARRAY_SIZE(thds)) { in test_mt() 150 thd_args ta[GPR_ARRAY_SIZE(thds)]; in test_mt_multipop() 152 for (size_t i = 0; i < GPR_ARRAY_SIZE(thds); i++) { in test_mt_multipop() 161 pa.num_thds = GPR_ARRAY_SIZE(thds); in test_mt_multipop() 167 for (size_t i = 0; i < GPR_ARRAY_SIZE(pull_thds); i++) { in test_mt_multipop()
|
/third_party/grpc/test/core/bad_ssl/servers/ |
D | alpn.cc | 42 for (i = 0; i < GPR_ARRAY_SIZE(fake_versions); i++) { in grpc_chttp2_is_alpn_version_supported() 49 return GPR_ARRAY_SIZE(fake_versions); in grpc_chttp2_num_alpn_versions() 53 GPR_ASSERT(i < GPR_ARRAY_SIZE(fake_versions)); in grpc_chttp2_get_alpn_version_index()
|
/third_party/grpc/test/core/end2end/tests/ |
D | hpack_size.cc | 254 hobbits[index % GPR_ARRAY_SIZE(hobbits)][0]); in simple_request_body() 257 hobbits[index % GPR_ARRAY_SIZE(hobbits)][1]); in simple_request_body() 260 grpc_slice_from_static_string(dragons[index % GPR_ARRAY_SIZE(dragons)]); in simple_request_body() 276 op->data.send_initial_metadata.count = GPR_ARRAY_SIZE(extra_metadata); in simple_request_body() 379 for (i = 0; i < 4 * GPR_ARRAY_SIZE(hobbits); i++) { in test_size() 391 for (i = 0; i < GPR_ARRAY_SIZE(interesting_sizes); i++) { in hpack_size() 392 for (j = 0; j < GPR_ARRAY_SIZE(interesting_sizes); j++) { in hpack_size()
|
D | ping.cc | 58 grpc_channel_args client_args = {GPR_ARRAY_SIZE(client_a), client_a}; in test_ping() 59 grpc_channel_args server_args = {GPR_ARRAY_SIZE(server_a), server_a}; in test_ping()
|
D | bad_ping.cc | 91 grpc_channel_args client_args = {GPR_ARRAY_SIZE(client_a), client_a}; in test_bad_ping() 92 grpc_channel_args server_args = {GPR_ARRAY_SIZE(server_a), server_a}; in test_bad_ping() 250 grpc_channel_args client_args = {GPR_ARRAY_SIZE(client_a), client_a}; in test_pings_without_data() 251 grpc_channel_args server_args = {GPR_ARRAY_SIZE(server_a), server_a}; in test_pings_without_data()
|
D | request_with_flags.cc | 187 for (i = 0; i < GPR_ARRAY_SIZE(indices); ++i) { in request_with_flags() 198 for (i = 0; i < GPR_ARRAY_SIZE(flags); ++i) { in request_with_flags()
|
/third_party/grpc/test/core/channel/ |
D | channel_args_test.cc | 93 grpc_channel_args client_args = {GPR_ARRAY_SIZE(client_a), client_a}; in test_channel_create_with_args() 123 old_args, args_to_remove, GPR_ARRAY_SIZE(args_to_remove), in mutate_channel_args() 157 grpc_channel_args client_args = {GPR_ARRAY_SIZE(client_a), client_a}; in test_channel_create_with_global_mutator() 195 grpc_channel_args server_args = {GPR_ARRAY_SIZE(server_a), server_a}; in test_server_create_with_args()
|
/third_party/grpc/test/core/gpr/ |
D | useful_test.cc | 42 GPR_ASSERT(GPR_ARRAY_SIZE(four) == 4); in main() 43 GPR_ASSERT(GPR_ARRAY_SIZE(five) == 5); in main()
|
/third_party/grpc/test/core/security/ |
D | credentials_test.cc | 408 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_google_iam_creds() 424 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_access_token_creds() 481 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_oauth2_google_iam_composite_creds() 633 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_compute_engine_creds_success() 641 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_compute_engine_creds_success() 734 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_refresh_token_creds_success() 742 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_refresh_token_creds_success() 991 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_sts_creds_success() 999 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_sts_creds_success() 1077 make_request_metadata_state(GRPC_ERROR_NONE, emd, GPR_ARRAY_SIZE(emd)); in test_sts_creds_no_actor_token_success() [all …]
|
D | security_connector_test.cc | 350 GPR_ASSERT(tsi_construct_peer(5 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_ssl_peer_to_auth_context() 368 for (i = 0; i < GPR_ARRAY_SIZE(expected_sans); i++) { in test_cn_and_multiple_sans_ssl_peer_to_auth_context() 378 expected_sans, GPR_ARRAY_SIZE(expected_sans))); in test_cn_and_multiple_sans_ssl_peer_to_auth_context() 401 GPR_ASSERT(tsi_construct_peer(7 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context() 423 for (i = 0; i < GPR_ARRAY_SIZE(expected_sans); i++) { in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context() 433 expected_sans, GPR_ARRAY_SIZE(expected_sans))); in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context() 552 for (size_t i = 0; i < GPR_ARRAY_SIZE(addresses); i++) { in test_ipv6_address_san()
|
/third_party/grpc/test/core/iomgr/ |
D | combiner_test.cc | 98 thd_args ta[GPR_ARRAY_SIZE(thds)]; in test_execute_many() 99 for (size_t i = 0; i < GPR_ARRAY_SIZE(thds); i++) { in test_execute_many() 106 for (size_t i = 0; i < GPR_ARRAY_SIZE(thds); i++) { in test_execute_many()
|
D | tcp_posix_test.cc | 219 grpc_channel_args args = {GPR_ARRAY_SIZE(a), a}; in read_test() 270 grpc_channel_args args = {GPR_ARRAY_SIZE(a), a}; in large_read_test() 431 grpc_channel_args args = {GPR_ARRAY_SIZE(a), a}; in write_test() 508 grpc_channel_args args = {GPR_ARRAY_SIZE(a), a}; in release_fd_test() 605 grpc_channel_args args = {GPR_ARRAY_SIZE(a), a}; in create_fixture_tcp_socketpair()
|
/third_party/grpc/src/core/lib/slice/ |
D | slice_intern.cc | 139 static_metadata_hash[(hash + i) % GPR_ARRAY_SIZE(static_metadata_hash)]; in grpc_slice_maybe_static_intern() 170 static_metadata_hash[(hash + i) % GPR_ARRAY_SIZE(static_metadata_hash)]; in MatchStaticSlice() 323 for (size_t i = 0; i < GPR_ARRAY_SIZE(static_metadata_hash); i++) { in grpc_slice_intern_init() 333 for (size_t j = 0; j < GPR_ARRAY_SIZE(static_metadata_hash); j++) { in grpc_slice_intern_init() 335 GPR_ARRAY_SIZE(static_metadata_hash); in grpc_slice_intern_init()
|
/third_party/grpc/src/core/lib/security/security_connector/ |
D | load_system_roots_linux.cc | 64 size_t num_cert_files_ = GPR_ARRAY_SIZE(kLinuxCertFiles); in GetSystemRootCerts() 159 for (size_t i = 0; i < GPR_ARRAY_SIZE(kLinuxCertDirectories); i++) { in LoadSystemRootCerts()
|
/third_party/grpc/test/core/compression/ |
D | compression_test.cc | 42 for (i = 0; i < GPR_ARRAY_SIZE(valid_names); i++) { in test_compression_algorithm_parse() 51 for (i = 0; i < GPR_ARRAY_SIZE(invalid_names); i++) { in test_compression_algorithm_parse() 73 for (i = 0; i < GPR_ARRAY_SIZE(valid_algorithms); i++) { in test_compression_algorithm_name()
|
/third_party/grpc/src/core/ext/transport/chttp2/transport/ |
D | http2_settings.cc | 41 return h < GPR_ARRAY_SIZE(grpc_setting_id_to_wire_id) && in grpc_wire_id_to_setting_id()
|
/third_party/grpc/src/core/lib/channel/ |
D | status_util.cc | 51 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_status_string_entries); ++i) { in grpc_status_code_from_string()
|
/third_party/grpc/src/core/lib/gpr/ |
D | env_linux.cc | 50 for (size_t i = 0; i < GPR_ARRAY_SIZE(names); i++) { in gpr_getenv()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | ev_posix.cc | 168 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_factories); i++) { in try_engine() 188 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_factories); i++) { in grpc_register_event_engine_factory() 196 for (size_t i = 0; i < GPR_ARRAY_SIZE(g_factories); i++) { in grpc_register_event_engine_factory()
|