/third_party/libsnd/src/ |
D | test_strncpy_crlf.c | 32 int dest_len ; in test_psf_strlcpy_crlf() local 36 for (dest_len = 3 ; dest_len < 30 ; dest_len++) in test_psf_strlcpy_crlf() 37 { dest = calloc (1, dest_len + 1) ; in test_psf_strlcpy_crlf() 46 dest [dest_len] = '\x5a' ; in test_psf_strlcpy_crlf() 48 psf_strlcpy_crlf (dest, src, dest_len, sizeof (*src)) ; in test_psf_strlcpy_crlf() 50 if (dest [dest_len] != '\x5a') in test_psf_strlcpy_crlf() 51 { printf ("\n\nLine %d: buffer overrun for dest_len == %d\n\n", __LINE__, dest_len) ; in test_psf_strlcpy_crlf()
|
/third_party/re2/util/ |
D | strutil.cc | 25 char* dest, size_t dest_len) { in CEscapeString() argument 30 if (dest_len - used < 2) // space for two-character escape in CEscapeString() 46 if (dest_len - used < 5) // space for four-character escape + \0 in CEscapeString() 56 if (dest_len - used < 1) // make sure that there is room for \0 in CEscapeString() 69 const size_t dest_len = src.size() * 4 + 1; // Maximum possible expansion in CEscape() local 70 char* dest = new char[dest_len]; in CEscape() 72 dest, dest_len); in CEscape()
|
/third_party/ffmpeg/libavformat/ |
D | httpauth.c | 32 int key_len, char **dest, int *dest_len) in handle_basic_params() argument 36 *dest_len = sizeof(state->realm); in handle_basic_params() 41 int key_len, char **dest, int *dest_len) in handle_digest_params() argument 47 *dest_len = sizeof(state->realm); in handle_digest_params() 50 *dest_len = sizeof(digest->nonce); in handle_digest_params() 53 *dest_len = sizeof(digest->opaque); in handle_digest_params() 56 *dest_len = sizeof(digest->algorithm); in handle_digest_params() 59 *dest_len = sizeof(digest->qop); in handle_digest_params() 62 *dest_len = sizeof(digest->stale); in handle_digest_params() 67 int key_len, char **dest, int *dest_len) in handle_digest_update() argument [all …]
|
D | hls.c | 357 int key_len, char **dest, int *dest_len) in handle_variant_args() argument 361 *dest_len = sizeof(info->bandwidth); in handle_variant_args() 364 *dest_len = sizeof(info->audio); in handle_variant_args() 367 *dest_len = sizeof(info->video); in handle_variant_args() 370 *dest_len = sizeof(info->subtitles); in handle_variant_args() 381 int key_len, char **dest, int *dest_len) in handle_key_args() argument 385 *dest_len = sizeof(info->method); in handle_key_args() 388 *dest_len = sizeof(info->uri); in handle_key_args() 391 *dest_len = sizeof(info->iv); in handle_key_args() 445 int key_len, char **dest, int *dest_len) in handle_init_section_args() argument [all …]
|
D | hlsproto.c | 95 int key_len, char **dest, int *dest_len) in handle_variant_args() argument 99 *dest_len = sizeof(info->bandwidth); in handle_variant_args()
|
/third_party/gn/src/base/strings/ |
D | utf_string_conversions.cc | 65 int32_t* dest_len) { in DoUTFConversion() argument 77 UnicodeAppendUnsafe(dest, dest_len, code_point); in DoUTFConversion() 87 int32_t* dest_len) { in DoUTFConversion() argument 117 UnicodeAppendUnsafe(dest, dest_len, code_point); in DoUTFConversion() 121 UnicodeAppendUnsafe(dest, dest_len, ConvertSingleChar(src[i])); in DoUTFConversion()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | idnaconf.cpp | 108 int dest_len = ucnv_toUChars(conv, in ReadAndConvertFile() local 118 dest = new UChar[ dest_len + 1]; in ReadAndConvertFile() 119 ucnv_toUChars(conv, dest, dest_len + 1, source, static_cast<int32_t>(source_len), &status); in ReadAndConvertFile() 122 dest[dest_len] = 0; in ReadAndConvertFile() 123 len = dest_len; in ReadAndConvertFile()
|
/third_party/FreeBSD/stand/usb/ |
D | usb_busdma_loader.c | 184 usbd_copy_from_user(void *dest, uint32_t dest_len, const void *src, uint32_t src_len) in usbd_copy_from_user() argument 189 ret = memcpy_s(dest, dest_len, src, src_len); in usbd_copy_from_user() 191 ret = ((dest_len >= src_len) ? LOS_ArchCopyFromUser(dest, src, src_len) : ERANGE_AND_RESET); in usbd_copy_from_user() 199 usbd_copy_to_user(void *dest, uint32_t dest_len, const void *src, uint32_t src_len) in usbd_copy_to_user() argument 203 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)dest, dest_len)) { in usbd_copy_to_user() 204 ret = memcpy_s(dest, dest_len, src, src_len); in usbd_copy_to_user() 206 ret = ((dest_len >= src_len) ? LOS_ArchCopyToUser(dest, src, src_len) : ERANGE_AND_RESET); in usbd_copy_to_user()
|
/third_party/glib/gio/ |
D | gwin32networkmonitor.c | 174 gsize dest_len) in add_network() argument 178 network = get_network_mask (family, dest, dest_len); in add_network() 190 gsize dest_len) in remove_network() argument 194 network = get_network_mask (family, dest, dest_len); in remove_network()
|
D | gnetworkmonitornetlink.c | 226 gsize dest_len) in create_inet_address_mask() argument 235 network = g_inet_address_mask_new (dest_addr, dest_len, NULL); in create_inet_address_mask() 245 gsize dest_len) in add_network() argument 247 GInetAddressMask *network = create_inet_address_mask (family, dest, dest_len); in add_network() 262 gsize dest_len) in remove_network() argument 264 GInetAddressMask *network = create_inet_address_mask (family, dest, dest_len); in remove_network()
|
/third_party/ffmpeg/libavcodec/ |
D | exr.c | 201 unsigned long dest_len = uncompressed_size; in zip_uncompress() local 203 if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK || in zip_uncompress() 204 dest_len != uncompressed_size) in zip_uncompress() 680 unsigned long dest_len, expected_len = 0; in pxr24_uncompress() local 695 dest_len = expected_len; in pxr24_uncompress() 697 if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK) { in pxr24_uncompress() 699 } else if (dest_len != expected_len) { in pxr24_uncompress() 1036 unsigned long dest_len; in dwa_uncompress() local 1042 dest_len = ac_count * 2LL; in dwa_uncompress() 1044 av_fast_padded_malloc(&td->ac_data, &td->ac_size, dest_len); in dwa_uncompress() [all …]
|
D | xan.c | 113 static int xan_huffman_decode(uint8_t *dest, int dest_len, in xan_huffman_decode() argument 121 uint8_t *dest_end = dest + dest_len; in xan_huffman_decode() 140 return dest_len; in xan_huffman_decode() 154 static void xan_unpack(uint8_t *dest, int dest_len, in xan_unpack() argument 160 uint8_t *dest_end = dest + dest_len; in xan_unpack()
|
D | vmdvideo.c | 67 unsigned char *dest, int dest_len) in lz_unpack() argument 83 d_end = d + dest_len; in lz_unpack() 140 int src_count, int src_size, int dest_len) in rle_unpack() argument 144 unsigned char *dest_end = dest + dest_len; in rle_unpack()
|
/third_party/mindspore/mindspore/ccsrc/ps/ps_cache/ |
D | ps_cache_manager.cc | 406 size_t dest_len = data_size; in ProcessData() local 408 if (memcpy_s(data, dest_len, hash_index.get(), data_size) != EOK) { in ProcessData() 761 size_t dest_len = copy_len; in InsertHostHashTable() local 766 …memcpy_s(hash_table_addr + index * outer_dim_size, dest_len, insert_data + i * outer_dim_size, cop… in InsertHostHashTable() 876 size_t dest_len = copy_len; in HashSwapHostToServer() local 877 auto ret = memcpy_s(lookup_ids.data(), dest_len, host_to_server_ids, copy_len); in HashSwapHostToServer() 902 size_t dest_len = copy_len; in HashSwapServerToHost() local 903 auto ret = memcpy_s(lookup_ids.data(), dest_len, server_to_host_ids, copy_len); in HashSwapServerToHost() 961 size_t dest_len = copy_len; in HashSwapDeviceIn() local 962 auto ret = memcpy_s(lookup_ids.data(), dest_len, swap_in_ids, copy_len); in HashSwapDeviceIn() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | escaping.cc | 85 char* dest, ptrdiff_t* dest_len, std::string* error) { in CUnescapeInternal() argument 272 *dest_len = d - dest; in CUnescapeInternal() 777 const size_t dest_len = 3 * (slen / 4) + (slen % 4); in Base64UnescapeInternal() local 779 strings_internal::STLStringResizeUninitialized(dest, dest_len); in Base64UnescapeInternal() 785 Base64UnescapeInternal(src, slen, &(*dest)[0], dest_len, unbase64, &len); in Base64UnescapeInternal() 792 assert(len <= dest_len); in Base64UnescapeInternal()
|
/third_party/abseil-cpp/absl/strings/ |
D | escaping.cc | 85 char* dest, ptrdiff_t* dest_len, std::string* error) { in CUnescapeInternal() argument 272 *dest_len = d - dest; in CUnescapeInternal() 777 const size_t dest_len = 3 * (slen / 4) + (slen % 4); in Base64UnescapeInternal() local 779 strings_internal::STLStringResizeUninitialized(dest, dest_len); in Base64UnescapeInternal() 785 Base64UnescapeInternal(src, slen, &(*dest)[0], dest_len, unbase64, &len); in Base64UnescapeInternal() 792 assert(len <= dest_len); in Base64UnescapeInternal()
|
/third_party/libwebsockets/lib/core-net/ |
D | route.c | 47 "dst: %s/%d, ", sa, rou->dest_len); in _lws_routing_entry_dump() 147 robj->dest_len <= rou->dest_len && in _lws_route_remove() 224 !lws_sa46_on_net(dest, &rou->dest, rou->dest_len)) in _lws_route_est_outgoing()
|
/third_party/libwebsockets/plugins/ssh-base/ |
D | kex-25519.c | 215 kex_ecdh_dv(uint8_t *dest, int dest_len, const uint8_t *kbi, int kbi_len, in kex_ecdh_dv() argument 241 while (n < dest_len) { in kex_ecdh_dv() 264 if (m > (dest_len - n)) in kex_ecdh_dv() 265 m = dest_len - n; in kex_ecdh_dv()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/ps/ |
D | embedding_look_up_ps_kernel.cc | 93 size_t dest_len = copy_len; in UpdateEmbeddings() local 99 auto ret = memcpy_s(embedding_table + IntToSize(index) * outer_dim_size_, dest_len, in UpdateEmbeddings()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/ |
D | mklangtables.c | 139 copy_attribute (gchar * dest, guint dest_len, const gchar ** attr_names, in copy_attribute() argument 144 g_strlcpy (dest, *attr_vals, dest_len); in copy_attribute()
|
/third_party/eudev/src/ata_id/ |
D | ata_id.c | 282 size_t dest_len) in disk_identify_get_string() argument 287 while (dest_len > 0) { in disk_identify_get_string() 295 dest_len -= 2; in disk_identify_get_string()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-network-helper.h | 64 uint8_t dest_len; member
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 481 int dest_len, bool use_hex, bool utf8_safe) { in CEscapeInternal() argument 487 if (dest_len - used < 2) // Need space for two letter escape in CEscapeInternal() 505 if (dest_len - used < 4) // need space for 4 letter escape in CEscapeInternal() 518 if (dest_len - used < 1) // make sure that there is room for \0 in CEscapeInternal() 2065 const int dest_len = 3 * (slen / 4) + (slen % 4); in Base64UnescapeInternal() local 2067 dest->resize(dest_len); in Base64UnescapeInternal() 2072 dest_len, unbase64); in Base64UnescapeInternal() 2079 GOOGLE_DCHECK_LE(len, dest_len); in Base64UnescapeInternal()
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 182 robj.dest_len = ifam->ifa_prefixlen; in rops_handle_POLLIN_netlink() 264 robj.dest_len = rm->rtm_dst_len; in rops_handle_POLLIN_netlink()
|
/third_party/openssl/ssl/record/ |
D | rec_layer_s3.c | 1622 size_t *dest_len = &s->rlayer.handshake_fragment_len; in ssl3_read_bytes() local 1624 n = dest_maxlen - *dest_len; /* available space in 'dest' */ in ssl3_read_bytes() 1629 memcpy(dest + *dest_len, in ssl3_read_bytes() 1633 *dest_len += n; in ssl3_read_bytes() 1637 if (*dest_len < dest_maxlen) in ssl3_read_bytes()
|