/external/trace-cmd/lib/trace-cmd/ |
D | trace-compress-zlib.c | 16 static int zlib_compress(void *ctx, const void *in, int in_bytes, void *out, int out_bytes) in zlib_compress() argument 22 (unsigned char *)in, (unsigned long)in_bytes, Z_BEST_COMPRESSION); in zlib_compress() 45 static int zlib_decompress(void *ctx, const void *in, int in_bytes, void *out, int out_bytes) in zlib_decompress() argument 51 (unsigned char *)in, (unsigned long)in_bytes); in zlib_decompress() 74 static unsigned int zlib_compress_bound(void *ctx, unsigned int in_bytes) in zlib_compress_bound() argument 76 return compressBound(in_bytes); in zlib_compress_bound()
|
D | trace-compress-zstd.c | 20 static int zstd_compress(void *ctx, const void *in, int in_bytes, void *out, int out_bytes) in zstd_compress() argument 28 ret = ZSTD_compress2(context->ctx_c, out, out_bytes, in, in_bytes); in zstd_compress() 35 static int zstd_decompress(void *ctx, const void *in, int in_bytes, void *out, int out_bytes) in zstd_decompress() argument 43 ret = ZSTD_decompressDCtx(context->ctx_d, out, out_bytes, in, in_bytes); in zstd_decompress() 52 static unsigned int zstd_compress_bound(void *ctx, unsigned int in_bytes) in zstd_compress_bound() argument 54 return ZSTD_compressBound(in_bytes); in zstd_compress_bound()
|
/external/tensorflow/tensorflow/python/kernel_tests/image_ops/ |
D | decode_compressed_op_test.py | 45 in_bytes = array_ops.placeholder(dtypes.string, shape=[2]) 47 in_bytes, compression_type=compression_type) 54 def decode(in_bytes, compression_type=compression_type): argument 56 in_bytes, compression_type=compression_type) 67 def decode(in_bytes, compression_type=compression_type): argument 68 decompressed = parsing_ops.decode_compressed(in_bytes,
|
D | decode_raw_op_test.py | 35 in_bytes = array_ops.placeholder(dtypes.string, shape=[None]) 36 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_gpu.cu | 33 std::size_t in_bytes = in.size() * sizeof(double); in test_gpu_simple_argmax() local 39 gpuMalloc((void**)(&d_in), in_bytes); in test_gpu_simple_argmax() 43 gpuMemcpy(d_in, in.data(), in_bytes, gpuMemcpyHostToDevice); in test_gpu_simple_argmax() 97 std::size_t in_bytes = tensor.size() * sizeof(float); in test_gpu_argmax_dim() local 102 gpuMalloc((void**)(&d_in), in_bytes); in test_gpu_argmax_dim() 105 gpuMemcpy(d_in, tensor.data(), in_bytes, gpuMemcpyHostToDevice); in test_gpu_argmax_dim() 139 gpuMemcpy(d_in, tensor.data(), in_bytes, gpuMemcpyHostToDevice); in test_gpu_argmax_dim() 186 std::size_t in_bytes = tensor.size() * sizeof(float); in test_gpu_argmin_dim() local 191 gpuMalloc((void**)(&d_in), in_bytes); in test_gpu_argmin_dim() 194 gpuMemcpy(d_in, tensor.data(), in_bytes, gpuMemcpyHostToDevice); in test_gpu_argmin_dim() [all …]
|
D | cxx11_tensor_complex_gpu.cu | 85 std::size_t in_bytes = in.size() * sizeof(std::complex<float>); in test_cuda_sum_reductions() local 87 …std::complex<float>* gpu_in_ptr = static_cast<std::complex<float>*>(gpu_device.allocate(in_bytes)); in test_cuda_sum_reductions() 89 gpu_device.memcpyHostToDevice(gpu_in_ptr, in.data(), in_bytes); in test_cuda_sum_reductions() 121 std::size_t in_bytes = in.size() * sizeof(std::complex<float>); in test_cuda_mean_reductions() local 123 …std::complex<float>* gpu_in_ptr = static_cast<std::complex<float>*>(gpu_device.allocate(in_bytes)); in test_cuda_mean_reductions() 125 gpu_device.memcpyHostToDevice(gpu_in_ptr, in.data(), in_bytes); in test_cuda_mean_reductions() 157 std::size_t in_bytes = in.size() * sizeof(std::complex<float>); in test_cuda_product_reductions() local 159 …std::complex<float>* gpu_in_ptr = static_cast<std::complex<float>*>(gpu_device.allocate(in_bytes)); in test_cuda_product_reductions() 161 gpu_device.memcpyHostToDevice(gpu_in_ptr, in.data(), in_bytes); in test_cuda_product_reductions()
|
D | cxx11_tensor_argmax_sycl.cpp | 40 std::size_t in_bytes = in.size() * sizeof(DataType); in test_sycl_simple_argmax() local 43 DataType* d_in = static_cast<DataType*>(sycl_device.allocate(in_bytes)); in test_sycl_simple_argmax() 51 sycl_device.memcpyHostToDevice(d_in, in.data(), in_bytes); in test_sycl_simple_argmax() 103 std::size_t in_bytes = tensor.size() * sizeof(DataType); in test_sycl_argmax_dim() local 106 DataType* d_in = static_cast<DataType*>(sycl_device.allocate(in_bytes)); in test_sycl_argmax_dim() 113 sycl_device.memcpyHostToDevice(d_in, tensor.data(), in_bytes); in test_sycl_argmax_dim() 142 sycl_device.memcpyHostToDevice(d_in, tensor.data(), in_bytes); in test_sycl_argmax_dim() 190 std::size_t in_bytes = tensor.size() * sizeof(DataType); in test_sycl_argmin_dim() local 193 DataType* d_in = static_cast<DataType*>(sycl_device.allocate(in_bytes)); in test_sycl_argmin_dim() 200 sycl_device.memcpyHostToDevice(d_in, tensor.data(), in_bytes); in test_sycl_argmin_dim() [all …]
|
D | cxx11_tensor_reduction_gpu.cu | 34 std::size_t in_bytes = in.size() * sizeof(Type); in test_full_reductions() local 36 Type* gpu_in_ptr = static_cast<Type*>(gpu_device.allocate(in_bytes)); in test_full_reductions() 38 gpu_device.memcpyHostToDevice(gpu_in_ptr, in.data(), in_bytes); in test_full_reductions()
|
/external/perfetto/src/protozero/filtering/ |
D | message_filter.cc | 144 stack_[0].in_bytes != total_len) { in FilterMessageFragments() 206 auto in_bytes_left = state->in_bytes_limit - state->in_bytes - 1; in FilterOneByte() 258 ++state->in_bytes; in FilterOneByte() 259 while (state->in_bytes >= state->in_bytes_limit) { in FilterOneByte() 260 PERFETTO_DCHECK(state->in_bytes == state->in_bytes_limit); in FilterOneByte() 272 const uint32_t in_bytes_processes_for_last_msg = state->in_bytes; in FilterOneByte() 276 state->in_bytes += in_bytes_processes_for_last_msg; in FilterOneByte()
|
/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),
|
/external/OpenCL-CTS/test_conformance/spirv_new/ |
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_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_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/eigen/test/ |
D | gpu_common.h | 47 std::ptrdiff_t in_bytes = in.size() * sizeof(typename Input::Scalar); in run_on_gpu() local 50 gpuMalloc((void**)(&d_in), in_bytes); in run_on_gpu() 53 gpuMemcpy(d_in, in.data(), in_bytes, gpuMemcpyHostToDevice); in run_on_gpu() 87 …gpuMemcpy(const_cast<typename Input::Scalar*>(in.data()), d_in, in_bytes, gpuMemcpyDeviceToHost… in run_on_gpu()
|
/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/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/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
|