/external/grpc-grpc/src/core/lib/http/ |
D | parser.cc | 248 size_t* body_length = nullptr; in addbyte_body() local 252 body_length = &parser->http.response->body_length; in addbyte_body() 255 body_length = &parser->http.request->body_length; in addbyte_body() 262 if (*body_length == parser->body_capacity) { in addbyte_body() 267 (*body)[*body_length] = static_cast<char>(byte); in addbyte_body() 268 (*body_length)++; in addbyte_body()
|
D | parser.h | 66 size_t body_length; member 78 size_t body_length; member
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/http/ |
D | parser.cc | 268 size_t* body_length = nullptr; in addbyte_body() local 272 body_length = &parser->http.response->body_length; in addbyte_body() 275 body_length = &parser->http.request->body_length; in addbyte_body() 282 if (*body_length == parser->body_capacity) { in addbyte_body() 286 (*body)[*body_length] = static_cast<char>(byte); in addbyte_body() 287 (*body_length)++; in addbyte_body()
|
D | parser.h | 66 size_t body_length; member 78 size_t body_length = 0; member
|
/external/grpc-grpc/test/core/http/ |
D | parser_test.cc | 66 GPR_ASSERT(strlen(expect_body) == request.body_length); in test_request_succeeds() 67 GPR_ASSERT(0 == memcmp(expect_body, request.body, request.body_length)); in test_request_succeeds() 69 GPR_ASSERT(request.body_length == 0); in test_request_succeeds() 121 GPR_ASSERT(strlen(expect_body) == response.body_length); in test_succeeds() 122 GPR_ASSERT(0 == memcmp(expect_body, response.body, response.body_length)); in test_succeeds() 124 GPR_ASSERT(response.body_length == 0); in test_succeeds()
|
D | httpcli_test.cc | 53 GPR_ASSERT(response->body_length == strlen(expect)); in on_finish() 54 GPR_ASSERT(0 == memcmp(expect, response->body, response->body_length)); in on_finish()
|
D | httpscli_test.cc | 55 GPR_ASSERT(response->body_length == strlen(expect)); in on_finish() 56 GPR_ASSERT(0 == memcmp(expect, response->body, response->body_length)); in on_finish()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 149 if (response->body_length > 0) { in grpc_oauth2_token_fetcher_credentials_parse_server_response() 151 static_cast<char*>(gpr_malloc(response->body_length + 1)); in grpc_oauth2_token_fetcher_credentials_parse_server_response() 152 null_terminated_body[response->body_length] = '\0'; in grpc_oauth2_token_fetcher_credentials_parse_server_response() 153 memcpy(null_terminated_body, response->body, response->body_length); in grpc_oauth2_token_fetcher_credentials_parse_server_response() 567 size_t body_length = 0; in fetch_oauth2() local 568 grpc_error* err = FillBody(&body, &body_length); in fetch_oauth2() 592 http_context, pollent, resource_quota, &request, body, body_length, in fetch_oauth2() 601 grpc_error* FillBody(char** body, size_t* body_length) { in FillBody() argument 608 auto cleanup = [&body, &body_length, &body_parts, &subject_token, in FillBody() 613 *body_length = body_str.size(); in FillBody()
|
/external/autotest/client/common_lib/cros/fake_device_server/ |
D | common_util.py | 17 body_length = int(cherrypy.request.headers.get('Content-Length', 0)) 18 data = cherrypy.request.rfile.read(body_length)
|
D | oauth.py | 71 body_length = int(cherrypy.request.headers.get('Content-Length', 0)) 72 body = cherrypy.request.rfile.read(body_length)
|
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 132 if (response->body_length > 0) { in grpc_oauth2_token_fetcher_credentials_parse_server_response() 134 static_cast<char*>(gpr_malloc(response->body_length + 1)); in grpc_oauth2_token_fetcher_credentials_parse_server_response() 135 null_terminated_body[response->body_length] = '\0'; in grpc_oauth2_token_fetcher_credentials_parse_server_response() 136 memcpy(null_terminated_body, response->body, response->body_length); in grpc_oauth2_token_fetcher_credentials_parse_server_response()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/external/ |
D | external_account_credentials.cc | 316 std::string(ctx_->response.body, ctx_->response.body_length).c_str()); in OnExchangeTokenInternal() 335 ctx_->response.body_length); in ImpersenateServiceAccount() 405 ctx_->response.body_length); in OnImpersenateServiceAccountInternal() 443 metadata_req_->response.body_length = body.length(); in OnImpersenateServiceAccountInternal()
|
D | aws_external_account_credentials.cc | 192 ctx_->response.body_length); in OnRetrieveRegionInternal() 240 role_name_ = std::string(ctx_->response.body, ctx_->response.body_length); in OnRetrieveRoleNameInternal() 304 ctx_->response.body_length); in OnRetrieveSigningKeysInternal()
|
D | url_external_account_credentials.cc | 168 ctx_->response.body_length); in OnRetrieveSubjectTokenInternal()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_web.c | 314 int body_length; in web_connection_parse_get() local 404 body_length = (char *) wpabuf_put(buf, 0) - body_start; in web_connection_parse_get() 405 os_snprintf(len_buf, 10, "%d", body_length); in web_connection_parse_get() 851 int body_length = (char *) wpabuf_put(buf, 0) - body_start; in web_connection_send_reply() local 853 os_snprintf(len_buf, sizeof(len_buf), "%d", body_length); in web_connection_send_reply()
|
/external/python/apitools/apitools/base/py/ |
D | http_wrapper.py | 152 body_length = getattr( 154 self.headers['content-length'] = str(body_length)
|
/external/python/cpython3/Lib/email/ |
D | quoprimime.py | 97 def body_length(bytearray): function
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.c | 2004 int (*body_length)(struct ieee802_1x_mka_participant *participant); member 2014 .body_length = ieee802_1x_mka_basic_body_length, 2022 .body_length = ieee802_1x_mka_get_live_peer_length, 2030 .body_length = ieee802_1x_mka_get_potential_peer_length, 2038 .body_length = ieee802_1x_mka_get_sak_use_length, 2046 .body_length = ieee802_1x_mka_get_dist_sak_length, 2054 .body_length = NULL, 2062 .body_length = NULL, 2070 .body_length = NULL, 2078 .body_length = ieee802_1x_mka_get_icv_length, [all …]
|
/external/libdrm/tests/amdgpu/ |
D | basic_tests.c | 515 uint32_t body_length; member 2330 memcpy(ptr + shader->header_length + shader->body_length * i, in amdgpu_dispatch_load_cs_shader_hang_slow() 2332 shader->body_length * sizeof(uint32_t)); in amdgpu_dispatch_load_cs_shader_hang_slow() 2334 memcpy(ptr + shader->header_length + shader->body_length * loop, in amdgpu_dispatch_load_cs_shader_hang_slow() 2335 shader->shader + shader->header_length + shader->body_length, in amdgpu_dispatch_load_cs_shader_hang_slow() 2980 memcpy(ptr + shader->header_length + shader->body_length * i, in amdgpu_draw_load_ps_shader_hang_slow() 2982 shader->body_length * sizeof(uint32_t)); in amdgpu_draw_load_ps_shader_hang_slow() 2984 memcpy(ptr + shader->header_length + shader->body_length * loop, in amdgpu_draw_load_ps_shader_hang_slow() 2985 shader->shader + shader->header_length + shader->body_length, in amdgpu_draw_load_ps_shader_hang_slow()
|
/external/grpc-grpc/test/core/util/ |
D | port_server_client.cc | 183 for (i = 0; i < response->body_length; i++) { in got_port_from_server()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/ |
D | http_connect_handshaker.cc | 340 request.http.body_length = 0; in DoHandshake()
|
/external/grpc-grpc/test/core/security/ |
D | jwt_verifier_test.cc | 316 response.body_length = strlen(body); in http_response()
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | jwt_verifier_test.cc | 334 response.body_length = strlen(body); in http_response()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_verifier.cc | 420 absl::string_view(response->body, response->body_length), &error); in json_from_http()
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_verifier.cc | 416 json = grpc_json_parse_string_with_len(response->body, response->body_length); in json_from_http()
|