/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/win32/ |
H A D | file.c | 258 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument 259 return (isc_file_template(path, TEMPLATE, buf, buflen)); 264 size_t buflen) { 278 if ((s - path + 1 + strlen(templet) + 1) > buflen) 285 if ((strlen(templet) + 1) > buflen) 263 isc_file_template(const char *path, const char *templet, char *buf, size_t buflen) argument
|
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/isa/ |
H A D | isadma_bounce.c | 165 bus_size_t buflen, struct proc *p, int flags) 180 error = _bus_dmamap_load(t, map, buf, buflen, p, flags); 193 error = isadma_bounce_alloc_bouncebuf(t, map, buflen, flags); 203 cookie->id_origbuflen = buflen; 205 error = _bus_dmamap_load(t, map, cookie->id_bouncebuf, buflen, 164 isadma_bounce_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf, bus_size_t buflen, struct proc *p, int flags) argument
|
/netbsd-6-1-5-RELEASE/sys/arch/arc/jazz/ |
H A D | bus_dma_jazz.c | 227 bus_size_t buflen, struct proc *p, int flags) 245 jazz_dmatlb_map_va(vm, (vaddr_t)buf, buflen, tlbmap->ptebase); 248 map->dm_segs[0].ds_len = buflen; 250 map->dm_mapsize = buflen; 261 error = _bus_dmamap_load(t, map, buf, buflen, p, flags); 226 jazz_bus_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf, bus_size_t buflen, struct proc *p, int flags) argument
|
/netbsd-6-1-5-RELEASE/usr.bin/finger/ |
H A D | util.c | 129 expandusername(const char *gecos, const char *login, char *buf, int buflen) argument 141 if (bp >= &buf[buflen - 1]) { 143 snprintf(buf, buflen, "%s", login); 144 buf[buflen - 1] = '\0'; 149 snprintf(bp, buflen - (bp - buf), "%s", login);
|
/netbsd-6-1-5-RELEASE/sys/arch/alpha/isa/ |
H A D | isadma_bounce.c | 200 size_t buflen, struct proc *p, int flags) 215 error = _bus_dmamap_load_direct(t, map, buf, buflen, p, flags); 228 error = isadma_bounce_alloc_bouncebuf(t, map, buflen, flags); 238 cookie->id_origbuflen = buflen; 240 error = _bus_dmamap_load_direct(t, map, cookie->id_bouncebuf, buflen, 199 isadma_bounce_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf, size_t buflen, struct proc *p, int flags) argument
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/opcodes/ |
H A D | frv-dis.c | 534 int buflen, 538 int status = (*info->read_memory_func) (pc, buf, buflen, info); 547 ex_info->valid = (1 << buflen) - 1; 550 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG); 565 unsigned int buflen) 573 basesize = cd->base_insn_bitsize < buflen * 8 ? 574 cd->base_insn_bitsize : buflen * 8; 581 ex_info.valid = (1 << buflen) - 1; 612 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen && 673 int buflen; 526 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, bfd_byte *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument 557 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, bfd_byte *buf, unsigned int buflen) argument 669 int buflen; local [all...] |
H A D | xc16x-dis.c | 558 int buflen, 562 int status = (*info->read_memory_func) (pc, buf, buflen, info); 571 ex_info->valid = (1 << buflen) - 1; 574 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG); 589 unsigned int buflen) 597 basesize = cd->base_insn_bitsize < buflen * 8 ? 598 cd->base_insn_bitsize : buflen * 8; 605 ex_info.valid = (1 << buflen) - 1; 636 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen && 697 int buflen; 550 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, bfd_byte *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument 581 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, bfd_byte *buf, unsigned int buflen) argument 693 int buflen; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/opcodes/ |
H A D | frv-dis.c | 534 int buflen, 538 int status = (*info->read_memory_func) (pc, buf, buflen, info); 547 ex_info->valid = (1 << buflen) - 1; 550 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG); 565 unsigned int buflen) 573 basesize = cd->base_insn_bitsize < buflen * 8 ? 574 cd->base_insn_bitsize : buflen * 8; 581 ex_info.valid = (1 << buflen) - 1; 612 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen && 673 int buflen; 526 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, bfd_byte *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument 557 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, bfd_byte *buf, unsigned int buflen) argument 669 int buflen; local [all...] |
H A D | xc16x-dis.c | 558 int buflen, 562 int status = (*info->read_memory_func) (pc, buf, buflen, info); 571 ex_info->valid = (1 << buflen) - 1; 574 *insn_value = bfd_get_bits (buf, buflen * 8, info->endian == BFD_ENDIAN_BIG); 589 unsigned int buflen) 597 basesize = cd->base_insn_bitsize < buflen * 8 ? 598 cd->base_insn_bitsize : buflen * 8; 605 ex_info.valid = (1 << buflen) - 1; 636 if ((unsigned) (CGEN_INSN_BITSIZE (insn) / 8) < buflen && 697 int buflen; 550 read_insn(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, bfd_vma pc, disassemble_info *info, bfd_byte *buf, int buflen, CGEN_EXTRACT_INFO *ex_info, unsigned long *insn_value) argument 581 print_insn(CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info, bfd_byte *buf, unsigned int buflen) argument 693 int buflen; local [all...] |
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/ |
H A D | glob.c | 537 size_t buflen = GET_LOGIN_NAME_MAX () + 1; 539 if (buflen == 0) 542 buflen = 20; 543 name = __alloca (buflen); 545 success = getlogin_r (name, buflen) == 0; 631 long int buflen = GETPW_R_SIZE_MAX (); 637 if (buflen == -1) 640 buflen = 1024; 642 pwtmpbuf = __alloca (buflen); 644 while (getpwnam_r (user_name, &pwbuf, pwtmpbuf, buflen, 536 size_t buflen = GET_LOGIN_NAME_MAX () + 1; local 630 long int buflen = GETPW_R_SIZE_MAX (); local [all...] |
/netbsd-6-1-5-RELEASE/share/examples/refuse/ian/libfetch/ |
H A D | http.c | 123 ssize_t buflen; /* amount of data currently in buffer */ member in struct:httpio 145 if (io->conn->buflen < 2 || !ishexnumber((unsigned)*io->conn->buf)) 209 if ((io->buflen = _fetch_read(io->conn, io->buf, len)) == -1) { 214 return (io->buflen); 232 if ((io->buflen = _fetch_read(io->conn, io->buf, len)) == -1) { 236 io->chunksize -= io->buflen; 248 return (io->buflen); 267 if (!io->buf || io->bufpos == io->buflen) 270 l = io->buflen - io->bufpos; 458 while (conn->buflen [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32r/ |
H A D | traps-linux.c | 955 int buflen; 963 buflen = cb_host_to_target_stat (cb, NULL, NULL); 964 buf = xmalloc (buflen); 965 if (cb_host_to_target_stat (cb, &statbuf, buf) != buflen) 974 if ((s.write_mem) (cb, &s, arg2, buf, buflen) != buflen) 988 int buflen; 996 buflen = cb_host_to_target_stat (cb, NULL, NULL); 997 buf = xmalloc (buflen); 998 if (cb_host_to_target_stat (cb, &statbuf, buf) != buflen) 954 int buflen; local 987 int buflen; local 1020 int buflen; local [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/libsaslc/dist/src/ |
H A D | xsess.c | 534 size_t buflen, pktlen; local 555 buflen = 0; 572 buflen += pktlen; 573 if ((buf = realloc(buf, buflen)) == NULL) { 578 p += buflen - pktlen; 584 *outlen = buflen;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/ |
H A D | a_strex.c | 175 static int do_buf(unsigned char *buf, int buflen, argument 182 q = buf + buflen; 205 i = UTF8_getc(p, buflen, &c); 238 static int do_hex_dump(char_io *io_ch, void *arg, unsigned char *buf, int buflen) argument 245 q = buf + buflen; 253 return buflen << 1;
|
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/ |
H A D | util.c | 332 int buflen=0; local 346 buflen+=snprintf(buf+buflen, sizeof(buf)-buflen, "%s%s", 360 if (buflen != 0) { /* did we find anything */ 362 buf[buflen-2] = '\0';
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | spa_config.c | 145 size_t buflen; local 161 VERIFY(nvlist_size(nvl, &buflen, NV_ENCODE_XDR) == 0); 163 buf = kmem_alloc(buflen, KM_SLEEP); 166 VERIFY(nvlist_pack(nvl, &buf, &buflen, NV_ENCODE_XDR, 177 if (vn_rdwr(UIO_WRITE, vp, buf, buflen, 0, UIO_SYSSPACE, 187 kmem_free(buf, buflen);
|
/netbsd-6-1-5-RELEASE/sys/compat/common/ |
H A D | vfs_syscalls_30.c | 217 int buflen, error, eofflag; local 236 buflen = min(MAXBSIZE, SCARG(uap, count)); 237 tbuf = malloc(buflen, M_TEMP, M_WAITOK); 242 aiov.iov_len = buflen; 246 auio.uio_resid = buflen; 261 if ((len = buflen - auio.uio_resid) == 0)
|
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/integrator/ |
H A D | int_bus_dma.c | 232 bus_size_t buflen, struct proc *p, int flags) 239 (unsigned) buflen, p, flags)); 250 error = _bus_dmamap_load(t, map, buf, buflen, p, flags); 264 error = integrator_dma_alloc_bouncebuf(t, map, buflen, flags); 274 cookie->id_origbuflen = buflen; 276 error = _bus_dmamap_load(t, map, cookie->id_bouncebuf, buflen, 231 integrator_bus_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf, bus_size_t buflen, struct proc *p, int flags) argument
|
/netbsd-6-1-5-RELEASE/usr.bin/mail/ |
H A D | mime_codecs.c | 346 size_t buflen; local 348 buflen = 3 * (MIME_BASE64_LINE_MAX / 4); 349 buf = emalloc(buflen); 367 if (3 * len > 4 * buflen) { 368 buflen *= 2; 369 buf = erealloc(buf, buflen);
|
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/resolv/ |
H A D | res_mkupdate.c | 61 #define ShrinkBuffer(x) if ((buflen -= x) < 0) return (-2); 83 res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) { argument 102 if ((buf == NULL) || (buflen < HFIXEDSZ)) 111 buflen -= HFIXEDSZ; 184 if ((n = dn_comp(rrecp->r_dname, cp, buflen, dnptrs, 230 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); 243 n = dn_comp(buf2, cp, buflen, 284 n = dn_comp(buf2, cp, buflen, dnptrs, lastdnptr); 311 n = dn_comp(buf2, cp, buflen, NULL, NULL); 327 n = dn_comp(buf2, cp, buflen, dnptr [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/mace/ |
H A D | if_mec.c | 948 int len, bufoff, buflen, nsegs, align, resid, pseg, nptr, slen, i; local 979 buflen = 0; 1011 len = buflen = ETHER_PAD_LEN; 1016 buflen = len; 1043 if (buflen + slen > 1046 buflen += slen; 1061 buflen += resid; 1078 buflen = resid = MEC_TXD_ALIGN; 1082 bufoff = MEC_TXD_BUFSTART(buflen); 1175 buflen [all...] |
/netbsd-6-1-5-RELEASE/dist/dhcp/omapip/ |
H A D | trace.c | 417 unsigned buflen; local 484 while ((result = trace_get_next_packet (&ttype, tpkt, &buf, &buflen, 503 char **buf, unsigned *buflen, 596 *buflen = tpkt -> length; 607 unsigned *buflen, char **buf) 622 status = trace_get_next_packet (ttp, tpkt, buf, buflen, &bufmax); 632 unsigned buflen = 0; local 647 trace_get_next_packet (ptp, tpkt, &buf, &buflen, &bufmax); 501 trace_get_next_packet(trace_type_t **ttp, tracepacket_t *tpkt, char **buf, unsigned *buflen, unsigned *bufmax) argument 606 trace_get_packet(trace_type_t **ttp, unsigned *buflen, char **buf) argument
|
/netbsd-6-1-5-RELEASE/external/bsd/libevent/dist/ |
H A D | evutil.h | 175 int evutil_snprintf(char *buf, size_t buflen, const char *format, ...) 180 int evutil_vsnprintf(char *buf, size_t buflen, const char *format, va_list ap);
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/eap_server/ |
H A D | eap_server_psk.c | 102 size_t buflen; local 120 buflen = data->id_s_len + EAP_PSK_RAND_LEN; 121 buf = os_malloc(buflen); 127 if (omac1_aes_128(data->ak, buf, buflen, psk->mac_s)) 224 size_t left, buflen; local 302 buflen = data->id_p_len + data->id_s_len + 2 * EAP_PSK_RAND_LEN; 303 buf = os_malloc(buflen); 315 if (omac1_aes_128(data->ak, buf, buflen, mac)) {
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/ofwboot/ |
H A D | Locore.c | 124 OF_instance_to_path(int ihandle, char *buf, int buflen) argument 132 cell_t buflen; member in struct:__anon6537 141 args.buflen = buflen; 148 OF_getprop(int handle, const char *prop, void *buf, int buflen) argument 157 cell_t buflen; member in struct:__anon6538 167 args.buflen = buflen;
|