Home
last modified time | relevance | path

Searched refs:max_num_props (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc346 size_t max_num_props = 0; in grpc_shallow_peer_from_ssl_auth_context() local
353 while (grpc_auth_property_iterator_next(&it) != nullptr) max_num_props++; in grpc_shallow_peer_from_ssl_auth_context()
355 if (max_num_props > 0) { in grpc_shallow_peer_from_ssl_auth_context()
357 gpr_malloc(max_num_props * sizeof(tsi_peer_property))); in grpc_shallow_peer_from_ssl_auth_context()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc967 size_t max_num_props = 0; local
974 while (grpc_auth_property_iterator_next(&it) != nullptr) max_num_props++;
976 if (max_num_props > 0) {
978 gpr_malloc(max_num_props * sizeof(tsi_peer_property)));