Home
last modified time | relevance | path

Searched refs:dst_len (Results 1 – 25 of 27) sorted by relevance

12

/external/u-boot/cmd/
Dzip.c13 unsigned long src_len, dst_len = ~0UL; in do_zip() local
17 dst_len = simple_strtoul(argv[4], NULL, 16); in do_zip()
28 if (gzip((void *) dst, &dst_len, (void *) src, src_len) != 0) in do_zip()
31 printf("Compressed size: %ld = 0x%lX\n", dst_len, dst_len); in do_zip()
32 env_set_hex("filesize", dst_len); in do_zip()
Dlzmadec.c22 SizeT src_len = ~0UL, dst_len = ~0UL; in do_lzmadec() local
27 dst_len = simple_strtoul(argv[3], NULL, 16); in do_lzmadec()
37 ret = lzmaBuffToBuffDecompress(map_sysmem(dst, dst_len), &src_len, in do_lzmadec()
38 map_sysmem(src, 0), dst_len); in do_lzmadec()
Dunzip.c13 unsigned long src_len = ~0UL, dst_len = ~0UL; in do_unzip() local
17 dst_len = simple_strtoul(argv[3], NULL, 16); in do_unzip()
27 if (gunzip((void *) dst, dst_len, (void *) src, &src_len) != 0) in do_unzip()
/external/grpc-grpc/test/core/slice/
Dslice_buffer_test.cc66 size_t dst_len = 0; in test_slice_buffer_move_first() local
84 dst_len = dst.length; in test_slice_buffer_move_first()
87 dst_len += 4; in test_slice_buffer_move_first()
89 GPR_ASSERT(dst.length == dst_len); in test_slice_buffer_move_first()
95 dst_len += 3; in test_slice_buffer_move_first()
97 GPR_ASSERT(dst.length == dst_len); in test_slice_buffer_move_first()
103 dst_len += 2; in test_slice_buffer_move_first()
105 GPR_ASSERT(dst.length == dst_len); in test_slice_buffer_move_first()
/external/boringssl/src/crypto/base64/
Dbase64.c451 size_t dst_len; in EVP_DecodeBlock() local
452 if (!EVP_DecodedLength(&dst_len, src_len) || in EVP_DecodeBlock()
453 dst_len > INT_MAX || in EVP_DecodeBlock()
454 !EVP_DecodeBase64(dst, &dst_len, dst_len, src, src_len)) { in EVP_DecodeBlock()
460 while (dst_len % 3 != 0) { in EVP_DecodeBlock()
461 dst[dst_len++] = '\0'; in EVP_DecodeBlock()
463 assert(dst_len <= INT_MAX); in EVP_DecodeBlock()
465 return (int)dst_len; in EVP_DecodeBlock()
/external/u-boot/include/linux/
Dlzo.h24 unsigned char *dst, size_t *dst_len, void *wrkmem);
28 unsigned char *dst, size_t *dst_len);
32 unsigned char *dst, size_t *dst_len);
/external/curl/tests/server/
Dgetpart.c179 size_t *dst_len, /* dest buffer data length */ in appenddata() argument
190 need_alloc = src_len + *dst_len + 1; in appenddata()
212 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata()
213 *dst_len += src_len; in appenddata()
214 *(*dst_buf + *dst_len) = '\0'; in appenddata()
/external/harfbuzz_ng/src/
Dhb-ot-name.cc103 unsigned int dst_len = dst - text; in hb_ot_name_convert_utf() local
107 dst_len += out_utf_t::encode_len (unicode); in hb_ot_name_convert_utf()
109 return dst_len; in hb_ot_name_convert_utf()
/external/u-boot/lib/lzo/
Dlzo1x_decompress.c79 unsigned char *dst, size_t *dst_len) in lzop_decompress() argument
91 remaining = *dst_len; in lzop_decompress()
99 *dst_len = dst - start; in lzop_decompress()
125 *dst_len = dst - start; in lzop_decompress()
/external/libopus/src/
Drepacketizer.c317 opus_int32 dst_len; in opus_multistream_packet_unpad() local
322 dst_len = 0; in opus_multistream_packet_unpad()
342 dst_len += ret; in opus_multistream_packet_unpad()
347 return dst_len; in opus_multistream_packet_unpad()
/external/tensorflow/tensorflow/java/src/main/native/
Dtensor_jni.cc226 size_t dst_len = 0; in TF_StringDecodeTojbyteArray() local
227 TF_StringDecode(src, src_len, &dst, &dst_len, status); in TF_StringDecodeTojbyteArray()
231 jbyteArray ret = env->NewByteArray(dst_len); in TF_StringDecodeTojbyteArray()
233 memcpy(cpy, dst, dst_len); in TF_StringDecodeTojbyteArray()
370 size_t dst_len = TF_StringEncodedSize(src_len); in Java_org_tensorflow_Tensor_allocateScalarBytes() local
371 TF_Tensor* t = TF_AllocateTensor(TF_STRING, nullptr, 0, 8 + dst_len); in Java_org_tensorflow_Tensor_allocateScalarBytes()
380 dst_len, status); in Java_org_tensorflow_Tensor_allocateScalarBytes()
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol.cc50 int dst_len = static_cast<int>(strlen(*dst)); in maybe_append_error_msg() local
51 *dst = static_cast<char*>(realloc(*dst, dst_len + strlen(appendix) + 1)); in maybe_append_error_msg()
53 memcpy(*dst + dst_len, appendix, strlen(appendix) + 1); in maybe_append_error_msg()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c332 unsigned dst_len) in lp_build_swizzle_aos_n() argument
338 assert(dst_len < LP_MAX_VECTOR_WIDTH); in lp_build_swizzle_aos_n()
340 for (i = 0; i < dst_len; ++i) { in lp_build_swizzle_aos_n()
350 …ShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffles, dst_len), ""); in lp_build_swizzle_aos_n()
Dlp_bld_swizzle.h96 unsigned dst_len);
/external/libnl/include/linux-private/linux/
Dfib_rules.h17 __u8 dst_len; member
/external/iproute2/include/uapi/linux/
Dfib_rules.h21 __u8 dst_len; member
/external/kernel-headers/original/uapi/linux/
Dfib_rules.h21 __u8 dst_len; member
/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c18 void p2p_copy_filter_devname(char *dst, size_t dst_len, in p2p_copy_filter_devname() argument
23 if (src_len >= dst_len) in p2p_copy_filter_devname()
24 src_len = dst_len - 1; in p2p_copy_filter_devname()
Dp2p_i.h726 void p2p_copy_filter_devname(char *dst, size_t dst_len,
/external/tensorflow/tensorflow/c/
Dc_api.cc335 size_t dst_len, TF_Status* status) { in TF_StringEncode() argument
341 if (dst_len < sz) { in TF_StringEncode()
343 InvalidArgument("dst_len (", dst_len, ") too small to encode a ", in TF_StringEncode()
353 const char** dst, size_t* dst_len) { in TF_StringDecode_Impl() argument
364 *dst_len = static_cast<size_t>(len64); in TF_StringDecode_Impl()
369 size_t* dst_len, TF_Status* status) { in TF_StringDecode() argument
370 status->status = TF_StringDecode_Impl(src, src_len, dst, dst_len); in TF_StringDecode()
372 return static_cast<size_t>(*dst - src) + *dst_len; in TF_StringDecode()
611 size_t dst_len = size - static_cast<size_t>(data_start - base); in TF_TensorFromTensor() local
617 size_t consumed = TF_StringEncode(s.data(), s.size(), dst, dst_len, status); in TF_TensorFromTensor()
[all …]
Dc_api.h317 char* dst, size_t dst_len,
329 const char** dst, size_t* dst_len,
/external/libnl/lib/route/
Drule.c165 nl_addr_set_prefixlen(rule->r_dst, frh->dst_len); in rule_msg_parser()
381 frh.dst_len = nl_addr_get_prefixlen(tmpl->r_dst); in build_rule_msg()
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast_pac.c113 static int eap_fast_copy_buf(u8 **dst, size_t *dst_len, in eap_fast_copy_buf() argument
120 *dst_len = src_len; in eap_fast_copy_buf()
/external/ipsec-tools/src/racoon/
Dpfkey.c2142 int src_len, dst_len; local
2145 dst_len = sysdep_sa_len(iph2->dst);
2146 xisrlen += src_len + dst_len;
2151 memcpy(p, iph2->dst, dst_len);
2152 p += dst_len;
/external/wpa_supplicant_8/src/eap_server/
Deap_server.c124 static int eap_copy_data(u8 **dst, size_t *dst_len, in eap_copy_data() argument
134 *dst_len = src_len; in eap_copy_data()
137 *dst_len = 0; in eap_copy_data()

12