Home
last modified time | relevance | path

Searched refs:req_size (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_debug_allocator.cc99 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw() local
101 static_cast<char*>(allocated_ptr) + req_size - MASK_BYTES, in AllocateRaw()
120 auto req_size = base_allocator_->RequestedSize(static_cast<const char*>(ptr) - in RequestedSize() local
122 return req_size - 2 * MASK_BYTES; in RequestedSize()
148 size_t req_size = base_allocator_->RequestedSize(original_ptr); in CheckFooter() local
149 return CheckMask(stream_exec_, original_ptr + req_size - MASK_BYTES, in CheckFooter()
170 size_t req_size = base_allocator_->RequestedSize(allocated_ptr); in AllocateRaw() local
171 std::vector<float> nans((req_size + sizeof(float) - 1) / sizeof(float), in AllocateRaw()
174 se::DeviceMemoryBase{static_cast<float*>(allocated_ptr), req_size}}; in AllocateRaw()
177 stream_exec_->SynchronousMemcpyH2D(&nans[0], req_size, &nan_ptr); in AllocateRaw()
[all …]
Dgpu_bfc_allocator_test.cc73 size_t req_size = a.RequestedSize(ptrs[i - 1]); in TEST() local
74 ASSERT_GT(req_size, 0); in TEST()
76 req_size); in TEST()
133 size_t req_size = a.RequestedSize(existing_ptrs[i - 1]); in TEST() local
134 ASSERT_GT(req_size, 0); in TEST()
139 req_size); in TEST()
284 size_t req_size = a.RequestedSize(existing_ptrs[i - 1]); in TEST() local
285 ASSERT_GT(req_size, 0); in TEST()
290 req_size); in TEST()
/external/grpc-grpc/test/cpp/qps/
Djson_run_localhost_scenarios.bzl3req_size": 300}}, "client_channels": 300, "threads_per_cq": 0}, "num_clients": 0}]}\'', 'cpp_proto…
Dqps_json_driver_scenarios.bzl3req_size": 0}}, "client_channels": 64, "threads_per_cq": 3}, "num_clients": 0}]}\'', 'cpp_protobuf…
Dclient.h77 int size = payload_config.simple_params().req_size(); in ClientRequestCreator()
98 new char[payload_config.bytebuf_params().req_size()]); in ClientRequestCreator()
99 Slice slice(buf.get(), payload_config.bytebuf_params().req_size()); in ClientRequestCreator()
/external/epid-sdk/tools/revokegrp/src/
Dmain.c215 size_t req_size = 0; in MakeRequest() local
272 req_size = sizeof(EpidFileHeader) + sizeof(uint32_t); in MakeRequest()
277 if (req_file_size < req_size) { in MakeRequest()
283 req_size = req_file_size; in MakeRequest()
288 req_size += req_extra_space; in MakeRequest()
291 req_buf = AllocBuffer(req_size); in MakeRequest()
334 req_size = req_file_size; in MakeRequest()
354 log_msg(" [in] Request Len: %d", (int)req_size); in MakeRequest()
356 PrintBuffer(req_buf, req_size); in MakeRequest()
361 if (0 != WriteLoud(req_buf, req_size, req_file)) { in MakeRequest()
/external/grpc-grpc/tools/run_tests/performance/
Dscenario_config.py72 def _payload_type(use_generic_payload, req_size, resp_size): argument
75 'req_size': req_size,
116 req_size=0, argument
166 use_generic_payload, req_size, resp_size)
169 use_generic_payload, req_size, resp_size)
180 if outstanding_calls * max(req_size, resp_size) > MAX_MEMORY_USE:
182 MAX_MEMORY_USE / max(req_size, resp_size))
246 req_size=1024 * 1024,
260 req_size=1024 * 1024,
274 req_size=300,
[all …]
/external/epid-sdk/tools/revokesig/src/
Dmain.c84 uint8_t* req_buf, size_t req_size, SigRlRequestTop* req_top);
260 uint8_t* req_buf, size_t req_size, SigRlRequestTop* req_top) { in FillRequest() argument
265 (SigRlRequestMid*)(req_buf + req_size - req_mid_size); in FillRequest()
306 size_t req_size = 0; in MakeRequest() local
387 req_size = req_file_size + req_extra_space; in MakeRequest()
389 req_buf = AllocBuffer(req_size); in MakeRequest()
404 FillRequest(&pubkey, sig, sig_size, msg_str, msg_size, req_buf, req_size, in MakeRequest()
419 if (0 != WriteLoud(req_buf, req_size, req_file)) { in MakeRequest()
/external/libcxx/src/
Dios.cpp181 size_t req_size = static_cast<size_t>(index)+1; in iword() local
182 if (req_size > __iarray_cap_) in iword()
184 size_t newcap = __ios_new_cap<long>(req_size, __iarray_cap_); in iword()
198 __iarray_size_ = max<size_t>(__iarray_size_, req_size); in iword()
205 size_t req_size = static_cast<size_t>(index)+1; in pword() local
206 if (req_size > __parray_cap_) in pword()
208 size_t newcap = __ios_new_cap<void *>(req_size, __iarray_cap_); in pword()
222 __parray_size_ = max<size_t>(__parray_size_, req_size); in pword()
231 size_t req_size = __event_size_ + 1; in register_callback() local
232 if (req_size > __event_cap_) in register_callback()
[all …]
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DSimpleProtoParams.php19 private $req_size = 0; variable in Grpc\\Testing\\SimpleProtoParams
36 return $this->req_size;
47 $this->req_size = $var;
DByteBufferParams.php19 private $req_size = 0; variable in Grpc\\Testing\\ByteBufferParams
36 return $this->req_size;
47 $this->req_size = $var;
/external/grpc-grpc/src/ruby/pb/test/
Dclient.rb194 req_size, resp_size = m
195 req = req_cls.new(payload: Payload.new(body: nulls(req_size)),
218 def initialize(req_size, sleep_time) argument
219 @req_size = req_size
272 req_size, wanted_response_size = 271_828, 314_159
274 payload = Payload.new(type: :COMPRESSABLE, body: nulls(req_size))
584 req_size, wanted_response_size = 271_828, 314_159
596 payload = Payload.new(type: :COMPRESSABLE, body: nulls(req_size))
621 duplex_req = req_cls.new(payload: Payload.new(body: nulls(req_size)),
661 req_size, wanted_response_size = 271_828, 314_159
[all …]
Dserver.rb182 req_size = simple_req.response_size
184 body: nulls(req_size)))
/external/epid-sdk/tools/revokekey/src/
Dmain.c125 size_t req_size = 0; in MakeRequest() local
177 req_size = req_file_size + req_extra_space; in MakeRequest()
179 req_buf = AllocBuffer(req_size); in MakeRequest()
224 if (0 != WriteLoud(req_buf, req_size, req_file)) { in MakeRequest()
/external/grpc-grpc/src/proto/grpc/testing/
Dpayloads.proto20 int32 req_size = 1; field
25 int32 req_size = 1; field
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dpayloads.proto22 int32 req_size = 1; field
27 int32 req_size = 1; field
/external/vboot_reference/tests/
Dtlcl_tests.c33 int req_size; /* Request size */ member
89 c->req_size = request_length; in VbExTpmSendReceive()
134 TEST_EQ(calls[0].req_size, 10, "SendReceive size"); in TlclTest()
/external/squashfs-tools/squashfs-tools/
Dxattr.c314 static void *get_xattr_space(unsigned int req_size, long long *disk) in get_xattr_space() argument
347 if(data_space < req_size) { in get_xattr_space()
348 int realloc_size = req_size - data_space; in get_xattr_space()
358 cache_bytes += req_size; in get_xattr_space()
359 return data_cache + cache_bytes - req_size; in get_xattr_space()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator.cc615 size_t req_size, in Allocate() argument
617 Reference ref = AllocateImpl(req_size, type_id); in Allocate()
621 allocs_histogram_->Add(static_cast<HistogramBase::Sample>(req_size)); in Allocate()
631 size_t req_size, in AllocateImpl() argument
636 if (req_size > kSegmentMaxSize - sizeof(BlockHeader)) { in AllocateImpl()
642 uint32_t size = static_cast<uint32_t>(req_size + sizeof(BlockHeader)); in AllocateImpl()
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/
Dbenchmark_client.py64 body='\0' * config.payload_config.simple_params.req_size)
71 self._request = '\0' * config.payload_config.bytebuf_params.req_size
/external/ppp/pppd/
Dsys-solaris.c297 uint_t fl, req_size; in get_first_ethernet() local
317 req_size = num_ifs * sizeof(struct lifreq); in get_first_ethernet()
318 req = malloc(req_size); in get_first_ethernet()
330 lifc.lifc_len = req_size; in get_first_ethernet()
390 uint_t fl, req_size; in get_first_ethernet() local
405 req_size = num_ifs * sizeof(struct ifreq); in get_first_ethernet()
406 req = malloc(req_size); in get_first_ethernet()
416 ifc.ifc_len = req_size; in get_first_ethernet()
/external/grpc-grpc/src/ruby/qps/
Dclient.rb75 body: nulls(simple_params.req_size)))
/external/kernel-headers/original/uapi/scsi/
Dcxlflash_ioctl.h122 __u64 req_size; /* New requested size, in 4K blocks */ member
/external/strace/
Dsocketutils.c94 send_query(struct tcb *tcp, const int fd, void *req, size_t req_size) in send_query() argument
101 .iov_len = req_size in send_query()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_fullstack_trickle.cc81 TrickledCHTTP2(Service* service, bool streaming, size_t req_size, in TrickledCHTTP2() argument
89 fn << "trickle." << (streaming ? "streaming" : "unary") << "." << req_size in TrickledCHTTP2()

12