/external/boringssl/src/decrepit/blowfish/ |
D | blowfish_test.cc | 70 int out_bytes, final_bytes; in TEST() local 76 ASSERT_TRUE(EVP_EncryptUpdate(ctx.get(), out, &out_bytes, test.plaintext, in TEST() 78 ASSERT_TRUE(EVP_EncryptFinal_ex(ctx.get(), out + out_bytes, &final_bytes)); in TEST() 79 EXPECT_EQ(static_cast<size_t>(out_bytes + final_bytes), in TEST() 88 ASSERT_TRUE(EVP_DecryptUpdate(decrypt_ctx.get(), out, &out_bytes, in TEST() 92 EVP_DecryptFinal_ex(decrypt_ctx.get(), out + out_bytes, &final_bytes)); in TEST() 93 EXPECT_EQ(static_cast<size_t>(out_bytes + final_bytes), in TEST() 106 int out_bytes, final_bytes; in TEST() local 111 ASSERT_TRUE(EVP_EncryptUpdate(ctx.get(), out, &out_bytes, test.plaintext, in TEST() 113 EXPECT_TRUE(EVP_EncryptFinal_ex(ctx.get(), out + out_bytes, &final_bytes)); in TEST() [all …]
|
/external/boringssl/src/decrepit/cast/ |
D | cast_test.cc | 65 int out_bytes, final_bytes; in TEST() local 71 ASSERT_TRUE(EVP_EncryptUpdate(ctx.get(), out, &out_bytes, test.plaintext, in TEST() 73 ASSERT_TRUE(EVP_EncryptFinal_ex(ctx.get(), out + out_bytes, &final_bytes)); in TEST() 74 EXPECT_EQ(static_cast<size_t>(out_bytes + final_bytes), in TEST() 83 ASSERT_TRUE(EVP_DecryptUpdate(decrypt_ctx.get(), out, &out_bytes, in TEST() 87 EVP_DecryptFinal_ex(decrypt_ctx.get(), out + out_bytes, &final_bytes)); in TEST() 88 EXPECT_EQ(static_cast<size_t>(out_bytes + final_bytes), in TEST() 101 int out_bytes, final_bytes; in TEST() local 106 ASSERT_TRUE(EVP_EncryptUpdate(ctx.get(), out, &out_bytes, test.plaintext, in TEST() 108 EXPECT_TRUE(EVP_EncryptFinal_ex(ctx.get(), out + out_bytes, &final_bytes)); in TEST() [all …]
|
/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() 67 &output_ptr, &out_bytes); 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() 97 &output_ptr, &out_bytes); in convert_from_network()
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_argmax_cuda.cu | 35 std::size_t out_bytes = out_max.size() * sizeof(DenseIndex); in test_cuda_simple_argmax() local 41 cudaMalloc((void**)(&d_out_max), out_bytes); in test_cuda_simple_argmax() 42 cudaMalloc((void**)(&d_out_min), out_bytes); in test_cuda_simple_argmax() 56 …assert(cudaMemcpyAsync(out_max.data(), d_out_max, out_bytes, cudaMemcpyDeviceToHost, gpu_device.st… in test_cuda_simple_argmax() 57 …assert(cudaMemcpyAsync(out_min.data(), d_out_min, out_bytes, cudaMemcpyDeviceToHost, gpu_device.st… in test_cuda_simple_argmax() 99 std::size_t out_bytes = tensor_arg.size() * sizeof(DenseIndex); in test_cuda_argmax_dim() local 104 cudaMalloc((void**)(&d_out), out_bytes); in test_cuda_argmax_dim() 116 …assert(cudaMemcpyAsync(tensor_arg.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, gpu_device.str… in test_cuda_argmax_dim() 144 …assert(cudaMemcpyAsync(tensor_arg.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, gpu_device.str… in test_cuda_argmax_dim() 188 std::size_t out_bytes = tensor_arg.size() * sizeof(DenseIndex); in test_cuda_argmin_dim() local [all …]
|
D | cxx11_tensor_random_cuda.cu | 28 std::size_t out_bytes = out.size() * sizeof(float); in test_cuda_random_uniform() local 31 cudaMalloc((void**)(&d_out), out_bytes); in test_cuda_random_uniform() 40 …assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, gpu_device.stream()) … in test_cuda_random_uniform() 53 std::size_t out_bytes = out.size() * sizeof(float); in test_cuda_random_normal() local 56 cudaMalloc((void**)(&d_out), out_bytes); in test_cuda_random_normal() 66 …assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, gpu_device.stream()) … in test_cuda_random_normal()
|
D | cxx11_tensor_complex_cuda.cu | 89 std::size_t out_bytes = full_redux.size() * sizeof(std::complex<float>); in test_cuda_sum_reductions() local 91 …d::complex<float>* gpu_out_ptr = static_cast<std::complex<float>*>(gpu_device.allocate(out_bytes)); in test_cuda_sum_reductions() 100 gpu_device.memcpyDeviceToHost(full_redux_gpu.data(), gpu_out_ptr, out_bytes); in test_cuda_sum_reductions() 126 std::size_t out_bytes = full_redux.size() * sizeof(std::complex<float>); in test_cuda_product_reductions() local 128 …d::complex<float>* gpu_out_ptr = static_cast<std::complex<float>*>(gpu_device.allocate(out_bytes)); in test_cuda_product_reductions() 137 gpu_device.memcpyDeviceToHost(full_redux_gpu.data(), gpu_out_ptr, out_bytes); in test_cuda_product_reductions()
|
D | cxx11_tensor_cuda.cu | 77 std::size_t out_bytes = out.size() * sizeof(float); in test_cuda_elementwise_small() local 84 cudaMalloc((void**)(&d_out), out_bytes); in test_cuda_elementwise_small() 101 assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, in test_cuda_elementwise_small() 129 std::size_t out_bytes = out.size() * sizeof(float); in test_cuda_elementwise() local 138 cudaMalloc((void**)(&d_out), out_bytes); in test_cuda_elementwise() 154 …assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, gpu_device.stream()) … in test_cuda_elementwise() 177 std::size_t out_bytes = out.size() * sizeof(bool); in test_cuda_props() local 182 cudaMalloc((void**)(&d_out), out_bytes); in test_cuda_props() 196 assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, in test_cuda_props() 215 std::size_t out_bytes = out.size() * sizeof(float); in test_cuda_reduction() local [all …]
|
D | cxx11_tensor_device.cu | 281 std::size_t out_bytes = out.size() * sizeof(float); in test_gpu() local 288 cudaMalloc((void**)(&d_out), out_bytes); in test_gpu() 299 assert(cudaMemcpy(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost) == cudaSuccess); in test_gpu() 309 assert(cudaMemcpy(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost) == cudaSuccess); in test_gpu() 319 assert(cudaMemcpy(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost) == cudaSuccess); in test_gpu() 329 assert(cudaMemcpy(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost) == cudaSuccess); in test_gpu() 344 …assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, context.device().stre… in test_gpu() 355 …assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, context.device().stre… in test_gpu() 369 …assert(cudaMemcpyAsync(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost, context.device().stre… in test_gpu()
|
D | cxx11_tensor_reduction_cuda.cu | 38 std::size_t out_bytes = full_redux.size() * sizeof(Type); in test_full_reductions() local 40 Type* gpu_out_ptr = static_cast<Type*>(gpu_device.allocate(out_bytes)); in test_full_reductions() 49 gpu_device.memcpyDeviceToHost(full_redux_gpu.data(), gpu_out_ptr, out_bytes); in test_full_reductions()
|
/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() 127 &output_ptr, &out_bytes); 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() 193 &output_ptr, &out_bytes); 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() 260 &output_ptr, &out_bytes); in Curl_convert_from_utf8()
|
/external/u-boot/drivers/misc/ |
D | cros_ec_i2c.c | 51 static int cros_ec_i2c_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_i2c_packet() argument 68 i2c_msg[0].len = out_bytes + 1; in cros_ec_i2c_packet() 72 memmove(&ec_request_i2c->ec_request, dev->dout, out_bytes); in cros_ec_i2c_packet() 117 int out_bytes = dout_len + 4; in cros_ec_i2c_command() local 129 if (out_bytes > sizeof(dev->dout)) { in cros_ec_i2c_command() 141 i2c_msg[0].len = out_bytes; in cros_ec_i2c_command() 183 cros_ec_dump_data("out", -1, dev->dout, out_bytes); in cros_ec_i2c_command()
|
D | cros_ec.c | 91 int out_bytes = dout_len + sizeof(*rq); in create_proto3_request() local 94 if (out_bytes > (int)sizeof(dev->dout)) { in create_proto3_request() 111 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(dev->dout, out_bytes)); in create_proto3_request() 113 cros_ec_dump_data("out", cmd, dev->dout, out_bytes); in create_proto3_request() 116 return out_bytes; in create_proto3_request() 206 int out_bytes, in_bytes; in send_command_proto3() local 210 out_bytes = create_proto3_request(dev, cmd, cmd_version, in send_command_proto3() 212 if (out_bytes < 0) in send_command_proto3() 213 return out_bytes; in send_command_proto3() 221 rv = ops->packet ? ops->packet(dev->dev, out_bytes, in_bytes) : -ENOSYS; in send_command_proto3()
|
D | cros_ec_spi.c | 21 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_spi_packet() argument 35 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet()
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | file_utils.cc | 51 int ConvertFloatToByteArray(float value, uint8_t out_bytes[4]) { in ConvertFloatToByteArray() 52 if (!out_bytes) { in ConvertFloatToByteArray() 58 out_bytes[i] = binary_value; in ConvertFloatToByteArray() 65 int ConvertDoubleToByteArray(double value, uint8_t out_bytes[8]) { in ConvertDoubleToByteArray() 66 if (!out_bytes) { in ConvertDoubleToByteArray() 72 out_bytes[i] = binary_value; in ConvertDoubleToByteArray()
|
D | file_utils.h | 47 int ConvertFloatToByteArray(float value, uint8_t out_bytes[4]); 52 int ConvertDoubleToByteArray(double value, uint8_t out_bytes[8]);
|
/external/u-boot/drivers/spi/ |
D | exynos_spi.c | 102 uint out_bytes, in_bytes; in spi_rx_tx() local 108 out_bytes = in_bytes = todo; in spi_rx_tx() 144 while (tx_lvl < priv->fifo_size/2 && out_bytes) { in spi_rx_tx() 152 out_bytes -= step; in spi_rx_tx() 185 assert(!out_bytes); in spi_rx_tx() 186 out_bytes = in_bytes; in spi_rx_tx() 193 in_bytes, out_bytes); in spi_rx_tx()
|
/external/eigen/test/ |
D | cuda_common.h | 39 std::ptrdiff_t out_bytes = out.size() * sizeof(typename Output::Scalar); in run_on_cuda() local 42 cudaMalloc((void**)(&d_out), out_bytes); in run_on_cuda() 45 cudaMemcpy(d_out, out.data(), out_bytes, cudaMemcpyHostToDevice); in run_on_cuda() 58 cudaMemcpy(out.data(), d_out, out_bytes, cudaMemcpyDeviceToHost); in run_on_cuda()
|
/external/u-boot/scripts/ |
D | cleanpatch | 130 $out_bytes = 0; 153 $out_bytes += length($line); 230 $out_bytes += length($l); 245 if ($in_bytes != $out_bytes) {
|
/external/boringssl/src/decrepit/cfb/ |
D | cfb_test.cc | 69 int out_bytes; in TEST() local 70 ASSERT_TRUE(EVP_EncryptUpdate(ctx.get(), out.get() + done, &out_bytes, in TEST() 72 ASSERT_EQ(static_cast<size_t>(out_bytes), todo); in TEST()
|
/external/u-boot/arch/arm/mach-exynos/ |
D | spl_boot.c | 69 uint out_bytes, in_bytes; in spi_rx_tx() local 71 out_bytes = todo; in spi_rx_tx() 84 while (tx_lvl < 32 && out_bytes) { in spi_rx_tx() 87 out_bytes -= 4; in spi_rx_tx()
|
/external/libxaac/decoder/ |
D | ixheaacd_decode_main.c | 82 WORD32 *out_bytes, WORD32 num_channel_out) { in ixheaacd_samples_sat() argument 105 *out_bytes = num * sizeof(WORD16); in ixheaacd_samples_sat() 123 *out_bytes = num * 3 * sizeof(WORD8); in ixheaacd_samples_sat() 219 WORD32 *out_bytes, WORD32 frames_done, WORD32 pcmsize, in ixheaacd_dec_main() argument 391 out_bytes, *num_channel_out); in ixheaacd_dec_main()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_asn1.c | 139 int RSA_public_key_to_bytes(uint8_t **out_bytes, size_t *out_len, in RSA_public_key_to_bytes() argument 145 !CBB_finish(&cbb, out_bytes, out_len)) { in RSA_public_key_to_bytes() 235 int RSA_private_key_to_bytes(uint8_t **out_bytes, size_t *out_len, in RSA_private_key_to_bytes() argument 241 !CBB_finish(&cbb, out_bytes, out_len)) { in RSA_private_key_to_bytes()
|
/external/libchrome/base/strings/ |
D | string_number_conversions_fuzzer.cc | 49 std::vector<uint8_t> out_bytes; in LLVMFuzzerTestOneInput() local 50 base::HexStringToBytes(string_piece_input, &out_bytes); in LLVMFuzzerTestOneInput()
|
/external/tensorflow/tensorflow/core/util/ |
D | example_proto_fast_parsing.cc | 2021 string* out_bytes = nullptr; in FastParseSequenceExample() local 2026 out_bytes = context_result->dense_values[t].flat<string>().data(); in FastParseSequenceExample() 2063 *out_bytes++ = *in_bytes++; in FastParseSequenceExample() 2093 num_added = ParseBytesFeature(&stream, out_bytes); in FastParseSequenceExample() 2094 out_bytes += num_added; in FastParseSequenceExample() 2130 string* out_bytes = nullptr; in FastParseSequenceExample() local 2135 out_bytes = context_result->sparse_values[t].flat<string>().data(); in FastParseSequenceExample() 2165 num_added = ParseBytesFeature(&stream, out_bytes); in FastParseSequenceExample() 2166 out_bytes += num_added; in FastParseSequenceExample() 2219 string* out_bytes = nullptr; in FastParseSequenceExample() local [all …]
|
/external/boringssl/src/crypto/ecdsa_extra/ |
D | ecdsa_asn1.c | 193 int ECDSA_SIG_to_bytes(uint8_t **out_bytes, size_t *out_len, in ECDSA_SIG_to_bytes() argument 199 !CBB_finish(&cbb, out_bytes, out_len)) { in ECDSA_SIG_to_bytes()
|