/dragonfly/sys/dev/misc/syscons/fred/ |
H A D | fred_saver.c | 116 int xlen, int ylen) in clear_fred() argument 120 if (xlen <= 0) in clear_fred() 126 xlen - xoff, in clear_fred() 133 int xlen, int ylen) in draw_fred() argument 143 px = FRED_MAX_WIDTH - xlen; in draw_fred() 202 static int xlen, ylen, tlen; in fred_saver() local 223 xlen = ylen = tlen = 0; in fred_saver() 281 xlen = FRED_MAX_WIDTH; in fred_saver() 282 if (dxpos + xlen <= 0) in fred_saver() 283 xlen = 0; in fred_saver() [all …]
|
/dragonfly/lib/libc/string/ |
H A D | strxfrm.c | 51 size_t xlen; in strxfrm_l() local 80 if ((xlen = _collate_sxfrm(table, wcs, dest, len)) == (size_t)-1) in strxfrm_l() 86 if (len > xlen) { in strxfrm_l() 87 dest[xlen] = 0; in strxfrm_l() 92 return (xlen); in strxfrm_l()
|
/dragonfly/sys/vfs/procfs/ |
H A D | procfs_subr.c | 458 int xlen; in vfs_getuserstr() local 464 xlen = *buflenp; in vfs_getuserstr() 467 if (xlen < uio->uio_resid) in vfs_getuserstr() 469 xlen = uio->uio_resid; in vfs_getuserstr() 471 if ((error = uiomove(buf, xlen, uio)) != 0) in vfs_getuserstr() 478 buf[xlen] = '\0'; in vfs_getuserstr() 479 xlen = strlen(buf); in vfs_getuserstr() 480 if (xlen > 0 && buf[xlen-1] == '\n') in vfs_getuserstr() 481 buf[--xlen] = '\0'; in vfs_getuserstr() 482 *buflenp = xlen; in vfs_getuserstr()
|
H A D | procfs_note.c | 47 int xlen; in procfs_donote() local 54 xlen = PROCFS_NOTELEN; in procfs_donote() 55 error = vfs_getuserstr(uio, note, &xlen); in procfs_donote()
|
H A D | procfs_ctl.c | 289 int xlen; in procfs_doctl() local 299 xlen = PROCFS_CTLLEN; in procfs_doctl() 300 error = vfs_getuserstr(uio, msg, &xlen); in procfs_doctl() 315 nm = vfs_findname(ctlnames, msg, xlen); in procfs_doctl() 319 nm = vfs_findname(signames, msg, xlen); in procfs_doctl()
|
H A D | procfs_rlimit.c | 60 size_t xlen; in procfs_dorlimit() local 106 xlen = ps - psbuf; in procfs_dorlimit() 107 error = uiomove_frombuf(psbuf, xlen, uio); in procfs_dorlimit()
|
H A D | procfs_status.c | 74 size_t xlen; in procfs_dostatus() local 169 xlen = ps - psbuf; in procfs_dostatus() 170 error = uiomove_frombuf(psbuf, xlen, uio); in procfs_dostatus()
|
/dragonfly/contrib/wpa_supplicant/src/crypto/ |
H A D | aes-gcm.c | 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 109 m = xlen / 16; in ghash() 123 if (x + xlen > xpos) { in ghash() 125 size_t last = x + xlen - xpos; in ghash() 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 150 if (xlen == 0) in aes_gctr() 153 n = xlen / 16; in aes_gctr() 165 last = x + xlen - xpos; in aes_gctr()
|
H A D | fips_prf_internal.c | 17 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument 39 m = xlen / 40; in fips186_2_prf()
|
H A D | fips_prf_wolfssl.c | 36 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument 58 m = xlen / 40; in fips186_2_prf()
|
H A D | fips_prf_openssl.c | 48 int fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x, size_t xlen) in fips186_2_prf() argument 70 m = xlen / 40; in fips186_2_prf()
|
H A D | crypto.h | 69 size_t xlen);
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | wide-int.cc | 147 for (unsigned i = 0; i < xlen; i++) in from_array() 149 return need_canon ? canonize (val, xlen, precision) : xlen; in from_array() 357 unsigned int len = blocks_needed < xlen ? blocks_needed : xlen; in force_to_size() 607 if (offset >= precision || len >= xlen) in sext_large() 611 return xlen; in sext_large() 635 if (offset >= precision || (len >= xlen && xval[xlen - 1] >= 0)) in zext_large() 639 return xlen; in zext_large() 643 val[i] = i < xlen ? xval[i] : -1; in zext_large() 693 if (block + 1 >= xlen) in set_bit_large() 699 val[i] = safe_uhwi (xval, xlen, i); in set_bit_large() [all …]
|
/dragonfly/sys/kern/ |
H A D | kern_varsym.c | 77 int xlen; in varsymreplace() local 92 xlen = i + 1; /* bytes to strike */ in varsymreplace() 94 if (linklen + nlen - xlen >= maxlen) { in varsymreplace() 98 KKASSERT(linklen >= xlen); in varsymreplace() 99 if (linklen != xlen) in varsymreplace() 100 bcopy(cp + xlen, cp + nlen, linklen - xlen); in varsymreplace() 102 linklen += nlen - xlen; /* new relative length */ in varsymreplace() 103 rlen += nlen - xlen; /* returned total length */ in varsymreplace()
|
/dragonfly/gnu/usr.bin/rcs/lib/ |
H A D | rcsfnms.c | 620 fin2open(d, dlen, base, baselen, x, xlen, rcsopen, mustread) in fin2open() argument 622 size_t dlen, baselen, xlen; 639 bufalloc(&RCSb, dlen + rcslen + 1 + baselen + xlen + 1); 647 VOID memcpy(p += baselen, x, xlen); 648 p[xlen] = 0; 649 if (xlen) { 657 VOID memcpy(p += baselen, x, xlen); 658 p[xlen] = 0; 693 size_t arglen, dlen, baselen, xlen; local 764 x, xlen=suffixlen(x), rcsopen, mustread [all …]
|
/dragonfly/contrib/nvi2/common/ |
H A D | recover.c | 835 int plen, xlen; in rcv_dlnwrite() local 842 if ((xlen = b64_ntop((u_char *)src, in rcv_dlnwrite() 845 xlen += dlen + 1; in rcv_dlnwrite() 852 for (p = bp, xlen -= plen; xlen > 0; xlen -= plen) { in rcv_dlnwrite() 883 int xlen; in rcv_dlnread() local 921 if ((xlen = (b64_pton(p + dlen + 1, in rcv_dlnread() 926 data[xlen] = '\0'; in rcv_dlnread() 927 dtype = data + xlen + 1; in rcv_dlnread()
|
/dragonfly/crypto/libressl/ssl/ |
H A D | d1_both.c | 324 int xlen; in dtls1_do_write() local 334 xlen = ret; in dtls1_do_write() 337 xlen = ret - DTLS1_HM_HEADER_LENGTH; in dtls1_do_write() 340 tls1_transcript_record(s, p, xlen); in dtls1_do_write()
|
/dragonfly/sys/netinet/ |
H A D | tcp_output.c | 1180 int xlen = len; in tcp_output() local 1184 ++xlen; in tcp_output() 1187 if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max)) in tcp_output() 1188 tp->snd_max = tp->snd_nxt + xlen; in tcp_output()
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | tracepoint.c | 4077 ULONGEST num, addr, step, pass, orig_size, xlen, start; in parse_tracepoint_definition() local 4118 p = unpack_varlen_hex (p, &xlen); in parse_tracepoint_definition() 4120 cond = (char *) xmalloc (2 * xlen + 1); in parse_tracepoint_definition() 4121 strncpy (cond, p, 2 * xlen); in parse_tracepoint_definition() 4122 cond[2 * xlen] = '\0'; in parse_tracepoint_definition() 4123 p += 2 * xlen; in parse_tracepoint_definition() 4155 p = unpack_varlen_hex (p, &xlen); in parse_tracepoint_definition()
|
/dragonfly/contrib/binutils-2.34/ld/ |
H A D | ldelf.c | 1715 size_t xlen = 0; in ldelf_open_dynamic_archive() local 1719 xlen = (strlen (EXTRA_SHLIB_EXTENSION) > 3 in ldelf_open_dynamic_archive() 1723 string = (char *) xmalloc (len + xlen); in ldelf_open_dynamic_archive()
|
/dragonfly/contrib/wpa_supplicant/src/eap_common/ |
H A D | eap_sim_common.c | 22 static int eap_sim_prf(const u8 *key, u8 *x, size_t xlen) in eap_sim_prf() argument 24 return fips186_2_prf(key, EAP_SIM_MK_LEN, x, xlen); in eap_sim_prf()
|
/dragonfly/sys/vfs/nfs/ |
H A D | nfs_socket.c | 2837 int xlen = 0; in nfs_checkpkt() local 2839 xlen += m->m_len; in nfs_checkpkt() 2842 if (xlen != len) { in nfs_checkpkt() 2844 xlen, len, m); in nfs_checkpkt()
|
/dragonfly/tools/regression/lib/libc-regex/ |
H A D | testregex.c | 121 compf(const regex_t* re, const char* xstr, size_t xlen, regdisc_t* disc) in compf() argument 129 execf(const regex_t* re, void* data, const char* xstr, size_t xlen, const char* sstr, size_t slen, … in execf() argument 133 sfprintf(dp->sp, "{%-.*s}(%lu:%d)", xlen, xstr, (char*)data - (char*)0, slen); in execf()
|
/dragonfly/sys/bus/u4b/controller/ |
H A D | ehci.c | 1102 ehci_data_toggle_update(struct usb_xfer *xfer, uint16_t actlen, uint16_t xlen) in ehci_data_toggle_update() argument 1115 else if (actlen != xlen) in ehci_data_toggle_update() 1117 else if (xlen == 0) in ehci_data_toggle_update()
|
/dragonfly/contrib/binutils-2.27/ld/emultempl/ |
H A D | elf32.em | 1669 size_t xlen = 0; 1673 xlen = (strlen (EXTRA_SHLIB_EXTENSION) > 3 1677 string = (char *) xmalloc (len + xlen);
|