/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/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/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/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 | 147 body_length = getattr( 149 self.headers['content-length'] = str(body_length)
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.c | 1957 int (*body_length)(struct ieee802_1x_mka_participant *participant); member 1967 .body_length = ieee802_1x_mka_basic_body_length, 1975 .body_length = ieee802_1x_mka_get_live_peer_length, 1983 .body_length = ieee802_1x_mka_get_potential_peer_length, 1991 .body_length = ieee802_1x_mka_get_sak_use_length, 1999 .body_length = ieee802_1x_mka_get_dist_sak_length, 2007 .body_length = NULL, 2015 .body_length = NULL, 2023 .body_length = NULL, 2031 .body_length = ieee802_1x_mka_get_icv_length, [all …]
|
/external/python/cpython3/Lib/email/ |
D | quoprimime.py | 97 def body_length(bytearray): function
|
/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/grpc-grpc/test/core/security/ |
D | jwt_verifier_test.cc | 316 response.body_length = strlen(body); in http_response()
|
D | credentials_test.cc | 152 response.body_length = strlen(body); in http_response()
|
/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()
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 4302 eq(quoprimime.body_length(bytes([c])), 1) 4304 eq(quoprimime.body_length(bytes([c])), 3)
|