Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/security/credentials/plugin/
Dplugin_credentials.cc49 grpc_plugin_credentials_pending_request* pending_request) { in pending_request_remove_locked() argument
50 if (pending_request->prev == nullptr) { in pending_request_remove_locked()
51 c->pending_requests = pending_request->next; in pending_request_remove_locked()
53 pending_request->prev->next = pending_request->next; in pending_request_remove_locked()
55 if (pending_request->next != nullptr) { in pending_request_remove_locked()
56 pending_request->next->prev = pending_request->prev; in pending_request_remove_locked()
158 grpc_plugin_credentials_pending_request* pending_request = in plugin_get_request_metadata() local
160 gpr_zalloc(sizeof(*pending_request))); in plugin_get_request_metadata()
161 pending_request->creds = c; in plugin_get_request_metadata()
162 pending_request->md_array = md_array; in plugin_get_request_metadata()
[all …]
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc227 grpc_oauth2_pending_get_request_metadata* pending_request = in on_oauth2_token_fetcher_http_response() local
232 while (pending_request != nullptr) { in on_oauth2_token_fetcher_http_response()
234 grpc_credentials_mdelem_array_add(pending_request->md_array, in on_oauth2_token_fetcher_http_response()
240 GRPC_CLOSURE_SCHED(pending_request->on_request_metadata, error); in on_oauth2_token_fetcher_http_response()
242 pending_request->pollent, grpc_polling_entity_pollset_set(&c->pollent)); in on_oauth2_token_fetcher_http_response()
243 grpc_oauth2_pending_get_request_metadata* prev = pending_request; in on_oauth2_token_fetcher_http_response()
244 pending_request = pending_request->next; in on_oauth2_token_fetcher_http_response()
278 grpc_oauth2_pending_get_request_metadata* pending_request = in oauth2_token_fetcher_get_request_metadata() local
280 gpr_malloc(sizeof(*pending_request))); in oauth2_token_fetcher_get_request_metadata()
281 pending_request->md_array = md_array; in oauth2_token_fetcher_get_request_metadata()
[all …]