Home
last modified time | relevance | path

Searched refs:dsz (Results 1 – 15 of 15) sorted by relevance

/openbsd/src/lib/libelf/
Dlibelf_xlate.c52 size_t cnt, dsz, fsz, msz; in _libelf_xlate() local
102 dsz = cnt * msz; in _libelf_xlate()
105 dsz = cnt * fsz; in _libelf_xlate()
108 if (dst->d_size < dsz) { in _libelf_xlate()
134 dst->d_size = dsz; in _libelf_xlate()
144 if (!xlator(dst->d_buf, dsz, src->d_buf, cnt, byteswap)) { in _libelf_xlate()
Dlibelf_convert.m4145 _libelf_cvt_$1$4_tof(unsigned char *dst, size_t dsz, unsigned char *src,
151 (void) dsz;
168 _libelf_cvt_$1$4_tom(unsigned char *dst, size_t dsz, unsigned char *src,
174 if (dsz < count * sizeof(Elf$3_$2))
269 _libelf_cvt_$1$3_tof(unsigned char *dst, size_t dsz, unsigned char *src,
275 (void) dsz;
290 _libelf_cvt_$1$3_tom(unsigned char *dst, size_t dsz, unsigned char *src,
301 if (dsz < count * sizeof(Elf$3_$2))
400 _libelf_cvt_$1$5_tof(unsigned char *dst, size_t dsz, unsigned char *src,
409 unsigned char * const dstend = dst + dsz;
[all …]
D_libelf.h197 typedef int _libelf_translator_function(unsigned char *_dst, size_t dsz,
/openbsd/src/usr.sbin/rpki-client/
Dcrl.c73 int dsz, crit; in crl_get_aki() local
106 dsz = os->length; in crl_get_aki()
108 if (dsz != SHA_DIGEST_LENGTH) { in crl_get_aki()
111 fn, SHA_DIGEST_LENGTH, dsz); in crl_get_aki()
115 res = hex_encode(d, dsz); in crl_get_aki()
Dtak.c158 size_t dsz) in tak_parse_econtent() argument
165 if ((tak_asn1 = d2i_TAK(NULL, &d, dsz)) == NULL) { in tak_parse_econtent()
169 if (d != oder + dsz) { in tak_parse_econtent()
171 oder + dsz - d); in tak_parse_econtent()
Drsc.c327 size_t dsz) in rsc_parse_econtent() argument
339 if ((rsc_asn1 = d2i_RpkiSignedChecklist(NULL, &d, dsz)) == NULL) { in rsc_parse_econtent()
343 if (d != oder + dsz) { in rsc_parse_econtent()
345 oder + dsz - d); in rsc_parse_econtent()
Daspa.c125 size_t dsz) in aspa_parse_econtent() argument
132 if ((aspa_asn1 = d2i_ASProviderAttestation(NULL, &d, dsz)) == NULL) { in aspa_parse_econtent()
136 if (d != oder + dsz) { in aspa_parse_econtent()
138 oder + dsz - d); in aspa_parse_econtent()
Droa.c99 size_t dsz) in roa_parse_econtent() argument
115 if ((roa_asn1 = d2i_RouteOriginAttestation(NULL, &d, dsz)) == NULL) { in roa_parse_econtent()
120 if (d != oder + dsz) { in roa_parse_econtent()
122 oder + dsz - d); in roa_parse_econtent()
Dspl.c129 size_t dsz) in spl_parse_econtent() argument
144 if ((spl_asn1 = d2i_SignedPrefixList(NULL, &d, dsz)) == NULL) { in spl_parse_econtent()
149 if (d != oder + dsz) { in spl_parse_econtent()
151 oder + dsz - d); in spl_parse_econtent()
Dx509.c166 int dsz, crit, rc = 0; in x509_get_aki() local
198 dsz = os->length; in x509_get_aki()
200 if (dsz != SHA_DIGEST_LENGTH) { in x509_get_aki()
203 fn, SHA_DIGEST_LENGTH, dsz); in x509_get_aki()
207 *aki = hex_encode(d, dsz); in x509_get_aki()
Dmft.c316 size_t dsz) in mft_parse_econtent() argument
324 if ((mft_asn1 = d2i_Manifest(NULL, &d, dsz)) == NULL) { in mft_parse_econtent()
328 if (d != oder + dsz) { in mft_parse_econtent()
330 oder + dsz - d); in mft_parse_econtent()
Dmain.c717 size_t dsz; in rrdp_process() local
744 io_read_buf_alloc(b, (void **)&data, &dsz); in rrdp_process()
747 data, dsz); in rrdp_process()
/openbsd/src/usr.bin/mandoc/
Dmandocdb.c1911 size_t ssz, dsz, addsz; in render_string() local
1925 dsz = 0; in render_string()
1933 dst[dsz++] = *scp; in render_string()
1945 dsz = scp - src; in render_string()
1946 memcpy(dst, src, dsz); in render_string()
1956 dst[dsz++] = ' '; in render_string()
1960 dst[dsz++] = '-'; in render_string()
2016 memcpy(dst + dsz, addcp, addsz); in render_string()
2017 dsz += addsz; in render_string()
2021 *psz = dsz; in render_string()
/openbsd/src/usr.bin/rsync/
Dsender.c105 dsz = MD4_DIGEST_LENGTH; in send_up_fsm() local
163 if (!io_lowbuffer_alloc(sess, wb, wbsz, wbmax, dsz)) { in send_up_fsm()
167 io_lowbuffer_buf(sess, *wb, &pos, *wbsz, fmd, dsz); in send_up_fsm()
/openbsd/src/usr.sbin/nsd/
Dudb.c759 void* data, uint64_t dsz, udb_void rb_old, udb_void rb_new) argument
765 (*udb->walkfunc)(base, udb->walkarg, atp->type, data, dsz,
1387 uint64_t dsz, udb_void olddata) argument
1393 dsz, &chunk_fix_ptr_each, d);