Home
last modified time | relevance | path

Searched refs:dst_sz (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dstrlcat.c42 strlcat (char *dst, const char *src, size_t dst_sz) in strlcat() argument
46 len = strnlen_s(dst, dst_sz); in strlcat()
48 len = strnlen(dst, dst_sz); in strlcat()
53 if (dst_sz <= len) in strlcat()
59 return len + strlcpy (dst + len, src, dst_sz - len); in strlcat()
H A Dstrlcpy.c57 strlcpy (char *dst, const char *src, size_t dst_sz) in strlcpy() argument
61 for (n = 0; n < dst_sz; n++) { in strlcpy()
66 if (n < dst_sz) in strlcpy()
H A DChangeLog886 * strlcpy.c: make the logic simpler, and handle dst_sz == 0
/netbsd-src/external/bsd/unbound/dist/sldns/
H A Dparseutil.c377 sldns_b32_ntop_base(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz, in sldns_b32_ntop_base() argument
393 if (dst_sz < ret_sz + 1) in sldns_b32_ntop_base()
476 sldns_b32_ntop(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz) in sldns_b32_ntop() argument
478 return sldns_b32_ntop_base(src, src_sz, dst, dst_sz, 0, 1); in sldns_b32_ntop()
483 char* dst, size_t dst_sz) in sldns_b32_ntop_extended_hex() argument
485 return sldns_b32_ntop_base(src, src_sz, dst, dst_sz, 1, 1); in sldns_b32_ntop_extended_hex()
494 sldns_b32_pton_base(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz, in sldns_b32_pton_base() argument
540 if (dst_sz < 5) in sldns_b32_pton_base()
566 dst_sz -= 5; in sldns_b32_pton_base()
572 if (dst_sz < (i + 1) / 2) in sldns_b32_pton_base()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/pru/
H A Dpru.c1010 const int dst_sz = GET_MODE_SIZE (GET_MODE (operands[0])); in pru_output_sign_extend() local
1021 gcc_assert (dst_sz > src_sz); in pru_output_sign_extend()
1031 dst_sz - src_sz); in pru_output_sign_extend()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/pru/
H A Dpru.cc979 const int dst_sz = GET_MODE_SIZE (GET_MODE (operands[0])); in pru_output_sign_extend() local
990 gcc_assert (dst_sz > src_sz); in pru_output_sign_extend()
1000 dst_sz - src_sz); in pru_output_sign_extend()