/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/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 | 372 int key_len, char **dest, int *dest_len) in handle_variant_args() argument 376 *dest_len = sizeof(info->bandwidth); in handle_variant_args() 379 *dest_len = sizeof(info->audio); in handle_variant_args() 382 *dest_len = sizeof(info->video); in handle_variant_args() 385 *dest_len = sizeof(info->subtitles); in handle_variant_args() 396 int key_len, char **dest, int *dest_len) in handle_key_args() argument 400 *dest_len = sizeof(info->method); in handle_key_args() 403 *dest_len = sizeof(info->uri); in handle_key_args() 406 *dest_len = sizeof(info->iv); in handle_key_args() 460 int key_len, char **dest, int *dest_len) in handle_init_section_args() argument [all …]
|
D | utils.c | 512 int key_len, dest_len = 0; in ff_parse_key_value() local 527 callback_get_buf(context, key, key_len, &dest, &dest_len); in ff_parse_key_value() 528 dest_end = dest ? dest + dest_len - 1 : NULL; in ff_parse_key_value()
|
D | hlsproto.c | 94 int key_len, char **dest, int *dest_len) in handle_variant_args() argument 98 *dest_len = sizeof(info->bandwidth); in handle_variant_args()
|
/third_party/cups-filters/scripting/php/ |
D | phpcups.c | 218 int dest_len, /* Length of destination */ in PHP_FUNCTION() local 223 zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl", &dest, &dest_len, &id)) in PHP_FUNCTION() 307 int dest_len, /* Length of destination */ in PHP_FUNCTION() local 320 … zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sll", &dest, &dest_len, &myjobs, &completed)) in PHP_FUNCTION() 404 int dest_len; /* Length of destination */ in PHP_FUNCTION() local 416 zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sssa", &dest, &dest_len, in PHP_FUNCTION() 440 int dest_len; /* Length of destination */ in PHP_FUNCTION() local 455 zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sasa", &dest, &dest_len, &filesobj, in PHP_FUNCTION()
|
/third_party/openssl/crypto/ |
D | params.c | 91 static int copy_integer(unsigned char *dest, size_t dest_len, in copy_integer() argument 99 if (src_len < dest_len) { in copy_integer() 100 n = dest_len - src_len; in copy_integer() 104 n = src_len - dest_len; in copy_integer() 112 memcpy(dest, src + n, dest_len); in copy_integer() 115 if (src_len < dest_len) { in copy_integer() 116 n = dest_len - src_len; in copy_integer() 120 n = src_len - dest_len; in copy_integer() 121 if (!check_sign_bytes(src + dest_len, n, pad) in copy_integer() 126 || (signed_int && ((pad ^ src[dest_len - 1]) & 0x80) != 0)) in copy_integer() [all …]
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | params.c | 93 static int copy_integer(unsigned char *dest, size_t dest_len, in copy_integer() argument 101 if (src_len < dest_len) { in copy_integer() 102 n = dest_len - src_len; in copy_integer() 106 n = src_len - dest_len; in copy_integer() 114 memcpy(dest, src + n, dest_len); in copy_integer() 117 if (src_len < dest_len) { in copy_integer() 118 n = dest_len - src_len; in copy_integer() 122 n = src_len - dest_len; in copy_integer() 123 if (!check_sign_bytes(src + dest_len, n, pad) in copy_integer() 128 || (signed_int && ((pad ^ src[dest_len - 1]) & 0x80) != 0)) in copy_integer() [all …]
|
/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/FreeBSD/stand/usb/ |
D | usb_busdma_loader.c | 183 usbd_copy_from_user(void *dest, uint32_t dest_len, const void *src, uint32_t src_len) in usbd_copy_from_user() argument 188 ret = memcpy_s(dest, dest_len, src, src_len); in usbd_copy_from_user() 190 ret = ((dest_len >= src_len) ? LOS_ArchCopyFromUser(dest, src, src_len) : ERANGE_AND_RESET); in usbd_copy_from_user() 198 usbd_copy_to_user(void *dest, uint32_t dest_len, const void *src, uint32_t src_len) in usbd_copy_to_user() argument 202 if (!LOS_IsUserAddressRange((vaddr_t)(UINTPTR)dest, dest_len)) { in usbd_copy_to_user() 203 ret = memcpy_s(dest, dest_len, src, src_len); in usbd_copy_to_user() 205 ret = ((dest_len >= src_len) ? LOS_ArchCopyToUser(dest, src, src_len) : ERANGE_AND_RESET); in usbd_copy_to_user()
|
/third_party/ffmpeg/libavcodec/ |
D | exr.c | 202 unsigned long dest_len = uncompressed_size; in zip_uncompress() local 204 if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK || in zip_uncompress() 205 dest_len != uncompressed_size) in zip_uncompress() 681 unsigned long dest_len, expected_len = 0; in pxr24_uncompress() local 696 dest_len = expected_len; in pxr24_uncompress() 698 if (uncompress(td->tmp, &dest_len, src, compressed_size) != Z_OK) { in pxr24_uncompress() 700 } else if (dest_len != expected_len) { in pxr24_uncompress() 1037 unsigned long dest_len; in dwa_uncompress() local 1043 dest_len = ac_count * 2LL; in dwa_uncompress() 1045 av_fast_padded_malloc(&td->ac_data, &td->ac_size, dest_len); in dwa_uncompress() [all …]
|
D | xan.c | 114 static int xan_huffman_decode(uint8_t *dest, int dest_len, in xan_huffman_decode() argument 122 uint8_t *dest_end = dest + dest_len; in xan_huffman_decode() 141 return dest_len; in xan_huffman_decode() 155 static void xan_unpack(uint8_t *dest, int dest_len, in xan_unpack() argument 161 uint8_t *dest_end = dest + dest_len; in xan_unpack()
|
D | vmdvideo.c | 68 unsigned char *dest, int dest_len) in lz_unpack() argument 84 d_end = d + dest_len; in lz_unpack() 141 int src_count, int src_size, int dest_len) in rle_unpack() argument 145 unsigned char *dest_end = dest + dest_len; in rle_unpack()
|
D | xxan.c | 128 uint8_t *dest, const int dest_len) in xan_unpack() argument 133 const uint8_t *dest_end = dest + dest_len; in xan_unpack()
|
/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/libwebsockets/lib/core-net/ |
D | route.c | 49 "dst: %s/%d, ", sa, rou->dest_len); in _lws_routing_entry_dump() 152 robj->dest_len <= rou->dest_len && in _lws_route_remove() 227 !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/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/include/libwebsockets/ |
D | lws-network-helper.h | 65 uint8_t dest_len; member
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 182 robj.dest_len = ifam->ifa_prefixlen; in rops_handle_POLLIN_netlink() 273 robj.dest_len = rm->rtm_dst_len; in rops_handle_POLLIN_netlink()
|
/third_party/node/deps/openssl/openssl/ssl/record/ |
D | rec_layer_s3.c | 1666 size_t *dest_len = &s->rlayer.handshake_fragment_len; in ssl3_read_bytes() local 1668 n = dest_maxlen - *dest_len; /* available space in 'dest' */ in ssl3_read_bytes() 1673 memcpy(dest + *dest_len, in ssl3_read_bytes() 1677 *dest_len += n; in ssl3_read_bytes() 1681 if (*dest_len < dest_maxlen) in ssl3_read_bytes()
|
/third_party/openssl/ssl/record/ |
D | rec_layer_s3.c | 1677 size_t *dest_len = &s->rlayer.handshake_fragment_len; in ssl3_read_bytes() local 1679 n = dest_maxlen - *dest_len; /* available space in 'dest' */ in ssl3_read_bytes() 1684 memcpy(dest + *dest_len, in ssl3_read_bytes() 1688 *dest_len += n; in ssl3_read_bytes() 1692 if (*dest_len < dest_maxlen) in ssl3_read_bytes()
|
/third_party/libwebsockets/lib/misc/ |
D | lws-struct-sqlite.c | 38 char *u = lwsac_use_zero(&a->ac, a->dest_len, a->ac_block_size); in lws_struct_sq3_deser_cb() 197 a.dest_len = schema->aux; /* size of toplevel object to allocate */ in lws_struct_sq3_deserialize()
|
/third_party/node/deps/openssl/openssl/include/internal/ |
D | packet.h | 429 size_t dest_len, size_t *len) in PACKET_copy_all() argument 431 if (PACKET_remaining(pkt) > dest_len) { in PACKET_copy_all()
|
/third_party/openssl/include/internal/ |
D | packet.h | 429 size_t dest_len, size_t *len) in PACKET_copy_all() argument 431 if (PACKET_remaining(pkt) > dest_len) { in PACKET_copy_all()
|