Home
last modified time | relevance | path

Searched refs:in_bytes (Results 1 – 25 of 34) sorted by relevance

12

/external/curl/src/
Dtool_convert.c53 size_t res, in_bytes, out_bytes; in convert_to_network() local
65 in_bytes = out_bytes = length; in convert_to_network()
66 res = iconv(outbound_cd, &input_ptr, &in_bytes, in convert_to_network()
68 if((res == (size_t)-1) || (in_bytes != 0)) { in convert_to_network()
83 size_t res, in_bytes, out_bytes; in convert_from_network() local
95 in_bytes = out_bytes = length; in convert_from_network()
96 res = iconv(inbound_cd, &input_ptr, &in_bytes, in convert_from_network()
98 if((res == (size_t)-1) || (in_bytes != 0)) { in convert_from_network()
/external/curl/lib/
Dnon-ascii.c106 size_t in_bytes, out_bytes, rc; in Curl_convert_to_network() local
125 in_bytes = out_bytes = length; in Curl_convert_to_network()
126 rc = iconv(*cd, &input_ptr, &in_bytes, in Curl_convert_to_network()
130 if((rc == ICONV_ERROR) || (in_bytes != 0)) { in Curl_convert_to_network()
172 size_t in_bytes, out_bytes, rc; in Curl_convert_from_network() local
191 in_bytes = out_bytes = length; in Curl_convert_from_network()
192 rc = iconv(*cd, &input_ptr, &in_bytes, in Curl_convert_from_network()
196 if((rc == ICONV_ERROR) || (in_bytes != 0)) { in Curl_convert_from_network()
239 size_t in_bytes, out_bytes, rc; in Curl_convert_from_utf8() local
258 in_bytes = out_bytes = length; in Curl_convert_from_utf8()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_compressed_op_test.py50 in_bytes = array_ops.placeholder(dtypes.string, shape=[2])
52 in_bytes, compression_type=compression_type)
59 def decode(in_bytes, compression_type=compression_type): argument
61 in_bytes, compression_type=compression_type)
72 def decode(in_bytes, compression_type=compression_type): argument
73 decompressed = parsing_ops.decode_compressed(in_bytes,
Ddecode_raw_op_test.py39 in_bytes = array_ops.placeholder(dtypes.string, shape=[None])
40 decode = parsing_ops.decode_raw(in_bytes, dtype)
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test.cc26 const char in_bytes[] = "HELLO GOOGLE!"; in main() local
40 grpc_gcp_handshaker_req_set_in_bytes(req, in_bytes, strlen(in_bytes))); in main()
90 grpc_gcp_handshaker_req_set_in_bytes(req, in_bytes, strlen(in_bytes))); in main()
142 GPR_ASSERT(!grpc_gcp_handshaker_req_set_in_bytes(nullptr, in_bytes, in main()
143 strlen(in_bytes))); in main()
Dalts_handshaker_client_test.cc249 grpc_slice* in_bytes = static_cast<grpc_slice*>(req->next.in_bytes.arg); in check_next_success() local
250 GPR_ASSERT(in_bytes != nullptr); in check_next_success()
251 GPR_ASSERT(memcmp(GRPC_SLICE_START_PTR(*in_bytes), in check_next_success()
253 GRPC_SLICE_LENGTH(*in_bytes)) == 0); in check_next_success()
Dalts_handshaker_service_api_test_lib.cc56 req->server_start.in_bytes.funcs.decode = decode_string_or_bytes_cb; in grpc_gcp_handshaker_decoded_req_create()
312 req->next.in_bytes.funcs.decode = decode_string_or_bytes_cb; in grpc_gcp_handshaker_req_decode()
545 result &= slice_equals(static_cast<grpc_slice*>(l_req->in_bytes.arg), in grpc_gcp_handshaker_server_start_req_equals()
546 static_cast<grpc_slice*>(r_req->in_bytes.arg)); in grpc_gcp_handshaker_server_start_req_equals()
570 return slice_equals(static_cast<grpc_slice*>(l_req->next.in_bytes.arg), in grpc_gcp_handshaker_req_equals()
571 static_cast<grpc_slice*>(r_req->next.in_bytes.arg)); in grpc_gcp_handshaker_req_equals()
/external/eigen/unsupported/test/
Dcxx11_tensor_argmax_cuda.cu34 std::size_t in_bytes = in.size() * sizeof(double); in test_cuda_simple_argmax() local
40 cudaMalloc((void**)(&d_in), in_bytes); in test_cuda_simple_argmax()
44 cudaMemcpy(d_in, in.data(), in_bytes, cudaMemcpyHostToDevice); in test_cuda_simple_argmax()
98 std::size_t in_bytes = tensor.size() * sizeof(float); in test_cuda_argmax_dim() local
103 cudaMalloc((void**)(&d_in), in_bytes); in test_cuda_argmax_dim()
106 cudaMemcpy(d_in, tensor.data(), in_bytes, cudaMemcpyHostToDevice); in test_cuda_argmax_dim()
140 cudaMemcpy(d_in, tensor.data(), in_bytes, cudaMemcpyHostToDevice); in test_cuda_argmax_dim()
187 std::size_t in_bytes = tensor.size() * sizeof(float); in test_cuda_argmin_dim() local
192 cudaMalloc((void**)(&d_in), in_bytes); in test_cuda_argmin_dim()
195 cudaMemcpy(d_in, tensor.data(), in_bytes, cudaMemcpyHostToDevice); in test_cuda_argmin_dim()
[all …]
Dcxx11_tensor_complex_cuda.cu88 std::size_t in_bytes = in.size() * sizeof(std::complex<float>); in test_cuda_sum_reductions() local
90 …std::complex<float>* gpu_in_ptr = static_cast<std::complex<float>*>(gpu_device.allocate(in_bytes)); in test_cuda_sum_reductions()
92 gpu_device.memcpyHostToDevice(gpu_in_ptr, in.data(), in_bytes); in test_cuda_sum_reductions()
125 std::size_t in_bytes = in.size() * sizeof(std::complex<float>); in test_cuda_product_reductions() local
127 …std::complex<float>* gpu_in_ptr = static_cast<std::complex<float>*>(gpu_device.allocate(in_bytes)); in test_cuda_product_reductions()
129 gpu_device.memcpyHostToDevice(gpu_in_ptr, in.data(), in_bytes); in test_cuda_product_reductions()
Dcxx11_tensor_reduction_cuda.cu37 std::size_t in_bytes = in.size() * sizeof(Type); in test_full_reductions() local
39 Type* gpu_in_ptr = static_cast<Type*>(gpu_device.allocate(in_bytes)); in test_full_reductions()
41 gpu_device.memcpyHostToDevice(gpu_in_ptr, in.data(), in_bytes); in test_full_reductions()
/external/perfetto/src/protozero/filtering/
Dmessage_filter.cc136 stack_[0].in_bytes != total_len) { in FilterMessageFragments()
190 auto in_bytes_left = state->in_bytes_limit - state->in_bytes - 1; in FilterOneByte()
234 ++state->in_bytes; in FilterOneByte()
235 while (state->in_bytes >= state->in_bytes_limit) { in FilterOneByte()
236 PERFETTO_DCHECK(state->in_bytes == state->in_bytes_limit); in FilterOneByte()
248 const uint32_t in_bytes_processes_for_last_msg = state->in_bytes; in FilterOneByte()
252 state->in_bytes += in_bytes_processes_for_last_msg; in FilterOneByte()
/external/eigen/test/
Dcuda_common.h38 std::ptrdiff_t in_bytes = in.size() * sizeof(typename Input::Scalar); in run_on_cuda() local
41 cudaMalloc((void**)(&d_in), in_bytes); in run_on_cuda()
44 cudaMemcpy(d_in, in.data(), in_bytes, cudaMemcpyHostToDevice); in run_on_cuda()
57 …cudaMemcpy(const_cast<typename Input::Scalar*>(in.data()), d_in, in_bytes, cudaMemcpyDeviceToHo… in run_on_cuda()
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dfake_handshaker_server.cc154 if (request.in_bytes().empty()) { in ProcessServerStart()
160 if (request.in_bytes() == kClientInitFrame) { in ProcessServerStart()
182 if (request.in_bytes() != kServerFrame) { in ProcessNext()
192 if (request.in_bytes() != kClientInitFrame) { in ProcessNext()
201 if (request.in_bytes().substr(0, strlen(kClientFinishFrame)) != in ProcessNext()
Dhandshaker.proto124 bytes in_bytes = 3; field
142 bytes in_bytes = 1; field
195 // empty if no out_frames have to be sent to the peer or if in_bytes in the
201 // Number of bytes in the in_bytes consumed by the handshaker. It is possible
202 // that part of in_bytes in HandshakerReq was unrelated to the handshake
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_service_api.cc95 destroy_slice(static_cast<grpc_slice*>(req->server_start.in_bytes.arg)); in grpc_gcp_handshaker_req_destroy()
98 destroy_slice(static_cast<grpc_slice*>(req->next.in_bytes.arg)); in grpc_gcp_handshaker_req_destroy()
333 const char* in_bytes, size_t size) { in grpc_gcp_handshaker_req_set_in_bytes() argument
334 if (req == nullptr || in_bytes == nullptr || req->has_client_start) { in grpc_gcp_handshaker_req_set_in_bytes()
340 grpc_slice* slice = create_slice(in_bytes, size); in grpc_gcp_handshaker_req_set_in_bytes()
342 req->next.in_bytes.arg = slice; in grpc_gcp_handshaker_req_set_in_bytes()
343 req->next.in_bytes.funcs.encode = &encode_string_or_bytes_cb; in grpc_gcp_handshaker_req_set_in_bytes()
345 req->server_start.in_bytes.arg = slice; in grpc_gcp_handshaker_req_set_in_bytes()
346 req->server_start.in_bytes.funcs.encode = &encode_string_or_bytes_cb; in grpc_gcp_handshaker_req_set_in_bytes()
Dhandshaker.pb.c47 …PB_FIELD( 3, BYTES , OPTIONAL, CALLBACK, OTHER, grpc_gcp_StartServerHandshakeReq, in_bytes, han…
48 …NAL, STATIC , OTHER, grpc_gcp_StartServerHandshakeReq, local_endpoint, in_bytes, &grpc_gcp_Endpoi…
61 … 1, BYTES , OPTIONAL, CALLBACK, FIRST, grpc_gcp_NextHandshakeMessageReq, in_bytes, in_bytes, 0),
Dhandshaker.pb.h44 pb_callback_t in_bytes; member
126 pb_callback_t in_bytes; member
/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_op_loop_merge.cpp34 size_t in_bytes = rep * bytes; in test_selection_merge() local
36 clMemWrapper in = clCreateBuffer(context, CL_MEM_READ_ONLY, in_bytes, NULL, &err); in test_selection_merge()
39 err = clEnqueueWriteBuffer(queue, in, CL_TRUE, 0, in_bytes, &h_in[0], 0, NULL, NULL); in test_selection_merge()
Dtest_op_vector_extract.cpp40 size_t in_bytes = num * sizeof(Tv); in test_extract() local
41 clMemWrapper in = clCreateBuffer(context, CL_MEM_READ_WRITE, in_bytes, NULL, &err); in test_extract()
44 err = clEnqueueWriteBuffer(queue, in, CL_TRUE, 0, in_bytes, &h_in[0], 0, NULL, NULL); in test_extract()
Dtest_decorate.cpp201 size_t in_bytes = sizeof(Ti) * num; in verify_saturated_results() local
224 clMemWrapper lhs = clCreateBuffer(context, CL_MEM_READ_ONLY, in_bytes, NULL, &err); in verify_saturated_results()
227 err = clEnqueueWriteBuffer(queue, lhs, CL_TRUE, 0, in_bytes, &h_lhs[0], 0, NULL, NULL); in verify_saturated_results()
230 clMemWrapper rhs = clCreateBuffer(context, CL_MEM_READ_ONLY, in_bytes, NULL, &err); in verify_saturated_results()
233 err = clEnqueueWriteBuffer(queue, rhs, CL_TRUE, 0, in_bytes, &h_rhs[0], 0, NULL, NULL); in verify_saturated_results()
329 const size_t in_bytes = num * sizeof(Ti); in TEST_SATURATED_CONVERSION() local
333 clMemWrapper in = clCreateBuffer(context, CL_MEM_READ_ONLY, in_bytes, NULL, &err); in TEST_SATURATED_CONVERSION()
339 err = clEnqueueWriteBuffer(queue, in, CL_TRUE, 0, in_bytes, &h_in[0], 0, NULL, NULL); in TEST_SATURATED_CONVERSION()
Dtest_op_vector_insert.cpp47 size_t in_bytes = num * sizeof(Ts); in test_insert() local
48 clMemWrapper in = clCreateBuffer(context, CL_MEM_READ_WRITE, in_bytes, NULL, &err); in test_insert()
51 err = clEnqueueWriteBuffer(queue, in, CL_TRUE, 0, in_bytes, &h_in[0], 0, NULL, NULL); in test_insert()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/proto/
Dhandshaker.proto124 bytes in_bytes = 3; field
142 bytes in_bytes = 1; field
195 // empty if no out_frames have to be sent to the peer or if in_bytes in the
201 // Number of bytes in the in_bytes consumed by the handshaker. It is possible
202 // that part of in_bytes in HandshakerReq was unrelated to the handshake
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/
Dhandshaker.proto124 bytes in_bytes = 3; field
142 bytes in_bytes = 1; field
195 // empty if no out_frames have to be sent to the peer or if in_bytes in the
201 // Number of bytes in the in_bytes consumed by the handshaker. It is possible
202 // that part of in_bytes in HandshakerReq was unrelated to the handshake
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/
Dhandshaker.proto124 bytes in_bytes = 3; field
142 bytes in_bytes = 1; field
195 // empty if no out_frames have to be sent to the peer or if in_bytes in the
201 // Number of bytes in the in_bytes consumed by the handshaker. It is possible
202 // that part of in_bytes in HandshakerReq was unrelated to the handshake
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/gcp/
Dhandshaker.proto137 bytes in_bytes = 3; field
158 bytes in_bytes = 1; field
214 // empty if no out_frames have to be sent to the peer or if in_bytes in the
220 // Number of bytes in the in_bytes consumed by the handshaker. It is possible
221 // that part of in_bytes in HandshakerReq was unrelated to the handshake

12