/external/curl/src/ |
D | tool_convert.c | 53 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/ |
D | non-ascii.c | 106 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/ |
D | decode_compressed_op_test.py | 50 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,
|
D | decode_raw_op_test.py | 39 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/ |
D | alts_handshaker_service_api_test.cc | 26 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()
|
D | alts_handshaker_client_test.cc | 249 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()
|
D | alts_handshaker_service_api_test_lib.cc | 56 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/ |
D | cxx11_tensor_argmax_cuda.cu | 34 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 …]
|
D | cxx11_tensor_complex_cuda.cu | 88 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()
|
D | cxx11_tensor_reduction_cuda.cu | 37 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/ |
D | message_filter.cc | 136 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/ |
D | cuda_common.h | 38 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/ |
D | fake_handshaker_server.cc | 154 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()
|
D | handshaker.proto | 124 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/ |
D | alts_handshaker_service_api.cc | 95 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()
|
D | handshaker.pb.c | 47 …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),
|
D | handshaker.pb.h | 44 pb_callback_t in_bytes; member 126 pb_callback_t in_bytes; member
|
/external/OpenCL-CTS/test_conformance/spirv_new/ |
D | test_op_loop_merge.cpp | 34 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()
|
D | test_op_vector_extract.cpp | 40 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()
|
D | test_decorate.cpp | 201 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()
|
D | test_op_vector_insert.cpp | 47 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/ |
D | handshaker.proto | 124 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/ |
D | handshaker.proto | 124 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/ |
D | handshaker.proto | 124 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/ |
D | handshaker.proto | 137 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
|