/third_party/mesa3d/src/util/ |
D | bigmath.h | 34 _ubm_add_u32arr(uint32_t *dst, unsigned dst_len, in _ubm_add_u32arr() argument 39 for (unsigned i = 0; i < dst_len; i++) { in _ubm_add_u32arr() 51 for (unsigned i = dst_len; i < a_len; i++) { in _ubm_add_u32arr() 56 for (unsigned i = dst_len; i < b_len; i++) { in _ubm_add_u32arr() 67 _ubm_mul_u32arr(uint32_t *dst, unsigned dst_len, in _ubm_mul_u32arr() argument 71 memset(dst, 0, dst_len * sizeof(*dst)); in _ubm_mul_u32arr() 91 if (i + j < dst_len) { in _ubm_mul_u32arr() 101 if (i + b_len < dst_len) in _ubm_mul_u32arr()
|
/third_party/musl/porting/linux/user/src/fortify/ |
D | fortify.c | 192 char* __strcpy_chk(char* dest, const char* src, size_t dst_len) in __strcpy_chk() argument 195 __diagnose_buffer_access("strcpy", "write into", src_len, dst_len); in __strcpy_chk() 199 void* __memmove_chk(void* dest, const void* src, size_t len, size_t dst_len) in __memmove_chk() argument 201 __diagnose_buffer_access("memmove", "write into", len, dst_len); in __memmove_chk() 205 void* __memcpy_chk(void* dest, const void* src, size_t count, size_t dst_len) in __memcpy_chk() argument 208 __diagnose_buffer_access("memcpy", "write into", count, dst_len); in __memcpy_chk() 213 void* __mempcpy_chk(void* dest, const void* src, size_t count, size_t dst_len) in __mempcpy_chk() argument 216 __diagnose_buffer_access("mempcpy", "write into", count, dst_len); in __mempcpy_chk() 221 char* __stpcpy_chk(char* dest, const char* src, size_t dst_len) in __stpcpy_chk() argument 224 __diagnose_buffer_access("stpcpy", "write into", src_len, dst_len); in __stpcpy_chk() [all …]
|
/third_party/musl/src/fortify/linux/ |
D | fortify.c | 203 char* __strcpy_chk(char* dest, const char* src, size_t dst_len) in __strcpy_chk() argument 206 __diagnose_buffer_access("strcpy", "write into", src_len, dst_len); in __strcpy_chk() 210 void* __memmove_chk(void* dest, const void* src, size_t len, size_t dst_len) in __memmove_chk() argument 212 __diagnose_buffer_access("memmove", "write into", len, dst_len); in __memmove_chk() 216 void* __memcpy_chk(void* dest, const void* src, size_t count, size_t dst_len) in __memcpy_chk() argument 219 __diagnose_buffer_access("memcpy", "write into", count, dst_len); in __memcpy_chk() 224 void* __mempcpy_chk(void* dest, const void* src, size_t count, size_t dst_len) in __mempcpy_chk() argument 227 __diagnose_buffer_access("mempcpy", "write into", count, dst_len); in __mempcpy_chk() 232 char* __stpcpy_chk(char* dest, const char* src, size_t dst_len) in __stpcpy_chk() argument 235 __diagnose_buffer_access("stpcpy", "write into", src_len, dst_len); in __stpcpy_chk() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | mqcenc.c | 119 int ff_mqc_flush_to(MqcState *mqc, uint8_t *dst, int *dst_len) in ff_mqc_flush_to() argument 126 *dst_len = mqc2.bp - dst; in ff_mqc_flush_to() 129 av_assert1(*dst_len > 0); in ff_mqc_flush_to() 131 (*dst_len) --; in ff_mqc_flush_to() 132 memmove(dst, dst+1, *dst_len); in ff_mqc_flush_to() 133 return mqc->bp - mqc->bpstart + 1 + *dst_len; in ff_mqc_flush_to() 135 return mqc->bp - mqc->bpstart + *dst_len; in ff_mqc_flush_to()
|
D | mqc.h | 58 int ff_mqc_flush_to(MqcState *mqc, uint8_t *dst, int *dst_len);
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_aes.function | 174 size_t key_len, src_len, dst_len, data_unit_len; 186 dst = mbedtls_test_unhexify_alloc(hex_dst_string, &dst_len); 187 TEST_ASSERT(src_len == dst_len); 189 output = mbedtls_test_zero_alloc(dst_len); 195 TEST_ASSERT(memcmp(output, dst, dst_len) == 0); 218 size_t key_len, src_len, dst_len, data_unit_len; 230 dst = mbedtls_test_unhexify_alloc(hex_dst_string, &dst_len); 231 TEST_ASSERT(src_len == dst_len); 233 output = mbedtls_test_zero_alloc(dst_len); 239 TEST_ASSERT(memcmp(output, dst, dst_len) == 0);
|
/third_party/curl/tests/server/ |
D | getpart.c | 209 size_t *dst_len, /* dest buffer data length */ in appenddata() argument 220 need_alloc = src_len + *dst_len + 1; in appenddata() 242 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata() 243 *dst_len += src_len; in appenddata() 244 *(*dst_buf + *dst_len) = '\0'; in appenddata()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-name.cc | 104 unsigned int dst_len = dst - text; in hb_ot_name_convert_utf() local 108 dst_len += out_utf_t::encode_len (unicode); in hb_ot_name_convert_utf() 110 return dst_len; in hb_ot_name_convert_utf()
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
D | sshkdf.c | 90 static int sshkdf_set_membuf(unsigned char **dst, size_t *dst_len, in sshkdf_set_membuf() argument 93 OPENSSL_clear_free(*dst, *dst_len); in sshkdf_set_membuf() 95 *dst_len = 0; in sshkdf_set_membuf() 96 return OSSL_PARAM_get_octet_string(p, (void **)dst, 0, dst_len); in sshkdf_set_membuf()
|
D | krb5kdf.c | 96 static int krb5kdf_set_membuf(unsigned char **dst, size_t *dst_len, in krb5kdf_set_membuf() argument 99 OPENSSL_clear_free(*dst, *dst_len); in krb5kdf_set_membuf() 101 *dst_len = 0; in krb5kdf_set_membuf() 102 return OSSL_PARAM_get_octet_string(p, (void **)dst, 0, dst_len); in krb5kdf_set_membuf()
|
/third_party/openssl/providers/implementations/kdfs/ |
D | sshkdf.c | 90 static int sshkdf_set_membuf(unsigned char **dst, size_t *dst_len, in sshkdf_set_membuf() argument 93 OPENSSL_clear_free(*dst, *dst_len); in sshkdf_set_membuf() 95 *dst_len = 0; in sshkdf_set_membuf() 96 return OSSL_PARAM_get_octet_string(p, (void **)dst, 0, dst_len); in sshkdf_set_membuf()
|
D | krb5kdf.c | 96 static int krb5kdf_set_membuf(unsigned char **dst, size_t *dst_len, in krb5kdf_set_membuf() argument 99 OPENSSL_clear_free(*dst, *dst_len); in krb5kdf_set_membuf() 101 *dst_len = 0; in krb5kdf_set_membuf() 102 return OSSL_PARAM_get_octet_string(p, (void **)dst, 0, dst_len); in krb5kdf_set_membuf()
|
/third_party/libfuse/lib/ |
D | buffer.c | 296 size_t dst_len; in fuse_buf_copy() local 304 dst_len = dst->size - dstv->off; in fuse_buf_copy() 305 len = min_size(src_len, dst_len); in fuse_buf_copy()
|
/third_party/skia/third_party/externals/wuffs/release/c/ |
D | wuffs-v0.3.c | 4894 size_t dst_len, 4902 size_t dst_len, 15866 size_t dst_len, in wuffs_base__pixel_swizzler__squash_align4_bgr_565_8888() argument 15870 size_t len = (dst_len < src_len ? dst_len : src_len) / 4; in wuffs_base__pixel_swizzler__squash_align4_bgr_565_8888() 15897 size_t dst_len, in wuffs_base__pixel_swizzler__swap_rgb_bgr() argument 15902 size_t len = (dst_len < src_len ? dst_len : src_len) / 3; in wuffs_base__pixel_swizzler__swap_rgb_bgr() 15925 size_t dst_len, in wuffs_base__pixel_swizzler__swap_rgbx_bgrx__sse42() argument 15930 size_t len = (dst_len < src_len ? dst_len : src_len) / 4; in wuffs_base__pixel_swizzler__swap_rgbx_bgrx__sse42() 15970 size_t dst_len, in wuffs_base__pixel_swizzler__swap_rgbx_bgrx() argument 15975 size_t len = (dst_len < src_len ? dst_len : src_len) / 4; in wuffs_base__pixel_swizzler__swap_rgbx_bgrx() [all …]
|
/third_party/node/deps/uv/src/win/ |
D | process.c | 532 size_t dst_len = 0; in make_program_args() local 552 dst_len += arg_len; in make_program_args() 562 dst_len = dst_len * 2 + arg_count * 2; in make_program_args() 565 dst = (WCHAR*) uv__malloc(dst_len * sizeof(WCHAR)); in make_program_args() 588 (int) (dst + dst_len - pos)); in make_program_args()
|
/third_party/libuv/src/win/ |
D | process.c | 532 size_t dst_len = 0; in make_program_args() local 552 dst_len += arg_len; in make_program_args() 562 dst_len = dst_len * 2 + arg_count * 2; in make_program_args() 565 dst = (WCHAR*) uv__malloc(dst_len * sizeof(WCHAR)); in make_program_args() 588 (int) (dst + dst_len - pos)); in make_program_args()
|
/third_party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 5109 size_t dst_len, 5117 size_t dst_len, 16942 size_t dst_len, in wuffs_base__pixel_swizzler__squash_align4_bgr_565_8888() argument 16946 size_t len = (dst_len < src_len ? dst_len : src_len) / 4; in wuffs_base__pixel_swizzler__squash_align4_bgr_565_8888() 16973 size_t dst_len, in wuffs_base__pixel_swizzler__swap_rgb_bgr() argument 16978 size_t len = (dst_len < src_len ? dst_len : src_len) / 3; in wuffs_base__pixel_swizzler__swap_rgb_bgr() 17001 size_t dst_len, in wuffs_base__pixel_swizzler__swap_rgbx_bgrx__sse42() argument 17006 size_t len = (dst_len < src_len ? dst_len : src_len) / 4; in wuffs_base__pixel_swizzler__swap_rgbx_bgrx__sse42() 17046 size_t dst_len, in wuffs_base__pixel_swizzler__swap_rgbx_bgrx() argument 17051 size_t len = (dst_len < src_len ? dst_len : src_len) / 4; in wuffs_base__pixel_swizzler__swap_rgbx_bgrx() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_swizzle.c | 321 unsigned dst_len) in lp_build_swizzle_aos_n() argument 326 assert(dst_len < LP_MAX_VECTOR_WIDTH); in lp_build_swizzle_aos_n() 328 for (unsigned i = 0; i < dst_len; ++i) { in lp_build_swizzle_aos_n() 340 LLVMConstVector(shuffles, dst_len), ""); in lp_build_swizzle_aos_n()
|
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/ |
D | fortify_stpcpy_chk_test.cpp | 13 extern "C" char* __stpcpy_chk(char* dest, const char* src, size_t dst_len);
|
D | fortify_strcpy_chk_test.cpp | 15 extern "C" char* __strcpy_chk(char* dest, const char* src, size_t dst_len);
|
D | fortify_strncpy_chk_test.cpp | 13 extern "C" void __strncpy_chk(char* dest, const char* src, size_t len, size_t dst_len);
|
D | fortify_mempcpy_chk_test.cpp | 6 extern "C" void* __mempcpy_chk(void* dest, const void* src, size_t count, size_t dst_len);
|
D | fortify_memcpy_chk_test.cpp | 8 extern "C" void* __memcpy_chk(void* dest, const void* src, size_t count, size_t dst_len);
|
/third_party/mbedtls/library/ |
D | ssl_tls13_keys.c | 108 unsigned char *dst, size_t *dst_len) in ssl_tls13_hkdf_encode_label() argument 142 *dst_len = total_hkdf_lbl_len; in ssl_tls13_hkdf_encode_label() 698 size_t *dst_len) in ssl_tls13_calc_finished_core() argument 752 dst, hash_len, dst_len); in ssl_tls13_calc_finished_core() 769 size_t dst_len, in mbedtls_ssl_tls13_calculate_verify_data() argument 799 if (dst_len < hash_len) { in mbedtls_ssl_tls13_calculate_verify_data()
|
/third_party/ffmpeg/libavformat/ |
D | avc.h | 67 uint32_t *dst_len, int header_len);
|