Home
last modified time | relevance | path

Searched refs:body_size (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc/src/core/lib/http/
Dformat_request.cc73 size_t body_size) { in grpc_httpcli_format_post_request() argument
95 static_cast<unsigned long>(body_size)); in grpc_httpcli_format_post_request()
103 tmp = static_cast<char*>(gpr_realloc(tmp, out_len + body_size)); in grpc_httpcli_format_post_request()
104 memcpy(tmp + out_len, body_bytes, body_size); in grpc_httpcli_format_post_request()
105 out_len += body_size; in grpc_httpcli_format_post_request()
Dhttpcli.h108 const char* body_bytes, size_t body_size,
119 size_t body_size,
Dhttpcli.cc284 const char* body_bytes, size_t body_size, in grpc_httpcli_post() argument
288 if (g_post_override && g_post_override(request, body_bytes, body_size, in grpc_httpcli_post()
295 name, grpc_httpcli_format_post_request(request, body_bytes, body_size)); in grpc_httpcli_post()
Dformat_request.h30 size_t body_size);
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc566 size_t body_size, grpc_millis deadline, grpc_closure* on_done, in httpcli_post_should_not_be_called() argument
627 const grpc_httpcli_request* request, const char* body, size_t body_size) { in validate_refresh_token_http_request() argument
631 GPR_ASSERT(body_size != 0); in validate_refresh_token_http_request()
636 GPR_ASSERT(strlen(expected_body) == body_size); in validate_refresh_token_http_request()
637 GPR_ASSERT(memcmp(expected_body, body, body_size) == 0); in validate_refresh_token_http_request()
650 const grpc_httpcli_request* request, const char* body, size_t body_size, in refresh_token_httpcli_post_success() argument
653 validate_refresh_token_http_request(request, body, body_size); in refresh_token_httpcli_post_success()
660 const grpc_httpcli_request* request, const char* body, size_t body_size, in refresh_token_httpcli_post_failure() argument
663 validate_refresh_token_http_request(request, body, body_size); in refresh_token_httpcli_post_failure()
Djwt_verifier_test.cc322 size_t body_size, grpc_millis deadline, grpc_closure* on_done, in httpcli_post_should_not_be_called() argument
/external/tensorflow/tensorflow/core/kernels/data/
Dreader_dataset_ops.cc454 uint64 body_size = in GetNextInternal() local
457 if (body_size % dataset()->record_bytes_ != 0) { in GetNextInternal()
463 "\" has body length ", body_size, in GetNextInternal()
577 uint64 body_size = in GetNextInternal() local
585 "\" has body length ", body_size, in GetNextInternal()
612 uint64 body_size = file_size - (dataset()->header_bytes_ + in GetNextInternal() local
615 if (body_size % dataset()->record_bytes_ != 0) { in GetNextInternal()
621 "\" has body length ", body_size, in GetNextInternal()
/external/v8/src/objects/
Dcode.h245 inline int body_size() const;
321 static int SizeFor(int body_size) { in SizeFor() argument
322 DCHECK_SIZE_TAG_ALIGNED(body_size); in SizeFor()
323 return RoundUp(kHeaderSize + body_size, kCodeAlignment); in SizeFor()
Dcode-inl.h286 int Code::body_size() const { in body_size() function
338 int Code::CodeSize() const { return SizeFor(body_size()); } in CodeSize()
/external/libevent/include/event2/
Dhttp_struct.h95 size_t body_size; member
/external/libevent/
Dhttp.c932 if ((ev_uint64_t)ntoread > EV_SIZE_MAX - req->body_size) { in evhttp_handle_chunked_read()
936 if (req->body_size + (size_t)ntoread > req->evcon->max_body_size) { in evhttp_handle_chunked_read()
942 req->body_size += (size_t)ntoread; in evhttp_handle_chunked_read()
1010 req->body_size += n; in evhttp_lingering_close()
1057 if ((size_t)(req->body_size + evbuffer_get_length(buf)) < req->body_size) { in evhttp_read_body()
1062 req->body_size += evbuffer_get_length(buf); in evhttp_read_body()
1073 req->body_size += n; in evhttp_read_body()
1077 if (req->body_size > req->evcon->max_body_size || in evhttp_read_body()
3934 req->body_size = 0; in evhttp_request_new()
DChangeLog-2.0441 o Correctly count req->body_size on http usage without Content-Length (8e342e5)
/external/python/google-api-python-client/googleapiclient/
Dhttp.py784 self.body_size = len(self.body or '')
828 self.headers['content-length'] = str(self.body_size)
918 start_headers['content-length'] = str(self.body_size)
/external/v8/src/wasm/
Dwasm-code-manager.cc227 size_t body_size = instructions().size(); in Disassemble() local
228 os << "Body (size = " << body_size << ")\n"; in Disassemble()
231 size_t instruction_size = body_size; in Disassemble()
Dmodule-compiler.cc428 counters->wasm_generated_code_size()->Increment(code->body_size()); in RecordStats()
/external/v8/src/heap/
Dfactory.cc45 int body_size = desc.instr_size; in ComputeCodeObjectSize() local
48 body_size = RoundUp(body_size, kInt64Size) + desc.unwinding_info_size + in ComputeCodeObjectSize()
51 int object_size = Code::SizeFor(RoundUp(body_size, kObjectAlignment)); in ComputeCodeObjectSize()