Home
last modified time | relevance | path

Searched refs:strbuf (Results 1 – 25 of 31) sorted by relevance

12

/netbsd/src/external/bsd/ipf/dist/ipsend/
Ddlcommon.c49 struct strbuf ctl;
60 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
70 struct strbuf ctl;
77 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack");
99 struct strbuf ctl;
111 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
123 struct strbuf ctl;
140 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
152 struct strbuf ctl;
169 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
[all …]
Dsdlpi.c141 struct strbuf dbuf, *dp = &dbuf, *cp = NULL;
144 struct strbuf cbuf;
Dsnit.c122 struct strbuf cbuf, *cp = &cbuf, dbuf, *dp = &dbuf;
/netbsd/src/external/bsd/wpa/dist/src/utils/
Dwpa_debug.c286 char *strbuf = NULL; in _wpa_hexdump() local
296 strbuf = os_malloc(1 + 3 * slen); in _wpa_hexdump()
297 if (strbuf == NULL) { in _wpa_hexdump()
304 os_snprintf(&strbuf[i * 3], 4, " %02x", in _wpa_hexdump()
307 display = strbuf; in _wpa_hexdump()
317 bin_clear_free(strbuf, 1 + 3 * slen); in _wpa_hexdump()
324 char *strbuf = NULL; in _wpa_hexdump() local
331 strbuf = os_malloc(1 + 3 * len); in _wpa_hexdump()
332 if (strbuf == NULL) { in _wpa_hexdump()
339 os_snprintf(&strbuf[i * 3], 4, " %02x", in _wpa_hexdump()
[all …]
/netbsd/src/external/gpl3/gdb/dist/opcodes/
Dmicroblaze-dis.c48 strbuf (struct string_buf *buf) in strbuf() function
60 char *p = strbuf (buf); in get_field()
69 char *p = strbuf (buf); in get_field_imm()
78 char *p = strbuf (buf); in get_field_imm5()
87 char *p = strbuf (buf); in get_field_imm5_mbar()
96 char *p = strbuf (buf); in get_field_immw()
111 char *p = strbuf (buf); in get_field_rfsl()
121 char *p = strbuf (buf); in get_field_imm15()
131 char *p = strbuf (buf); in get_field_special()
/netbsd/src/external/gpl3/binutils/dist/opcodes/
Dmicroblaze-dis.c48 strbuf (struct string_buf *buf) in strbuf() function
60 char *p = strbuf (buf); in get_field()
69 char *p = strbuf (buf); in get_field_imm()
78 char *p = strbuf (buf); in get_field_imm5()
87 char *p = strbuf (buf); in get_field_imm5_mbar()
96 char *p = strbuf (buf); in get_field_immw()
111 char *p = strbuf (buf); in get_field_rfsl()
121 char *p = strbuf (buf); in get_field_imm15()
131 char *p = strbuf (buf); in get_field_special()
/netbsd/src/crypto/external/bsd/openssl/dist/apps/
Denc.c126 char *str = NULL, *passarg = NULL, *pass = NULL, *strbuf = NULL; in enc_main() local
338 strbuf = app_malloc(SIZE, "strbuf"); in enc_main()
366 strbuf[0] = '\0'; in enc_main()
367 i = EVP_read_pw_string((char *)strbuf, SIZE, prompt, enc); in enc_main()
369 if (strbuf[0] == '\0') { in enc_main()
373 str = strbuf; in enc_main()
523 if (str == strbuf) in enc_main()
641 OPENSSL_free(strbuf); in enc_main()
/netbsd/src/sys/miscfs/kernfs/
Dkernfs_vnops.c643 char strbuf[KSTRING], *bf; in kernfs_getattr() local
701 bf = strbuf; in kernfs_getattr()
703 sizeof(strbuf), &nread); in kernfs_getattr()
743 char strbuf[KSTRING], *bf; in kernfs_default_xread() local
756 bf = strbuf; in kernfs_default_xread()
757 if ((error = kernfs_xread(kfs, off, &bf, sizeof(strbuf), &len)) == 0) in kernfs_default_xread()
794 char strbuf[KSTRING]; in kernfs_default_xwrite() local
800 if ((error = uiomove(strbuf, xlen, uio)) != 0) in kernfs_default_xwrite()
806 strbuf[xlen] = '\0'; in kernfs_default_xwrite()
807 xlen = strlen(strbuf); in kernfs_default_xwrite()
[all …]
/netbsd/src/external/bsd/tcpdump/dist/
Dsmbutil.c476 char strbuf[MAX_UNISTR_SIZE+1]; in smb_fdata1() local
667 buf = unistr(ndo, &strbuf, buf, 0, 1, (*fmt == 'R') ? 0 : unicodestr); in smb_fdata1()
668 ND_PRINT("%s", strbuf); in smb_fdata1()
681 buf = unistr(ndo, &strbuf, buf + 1, 0, 1, (*fmt == 'Y') ? 0 : unicodestr); in smb_fdata1()
682 ND_PRINT("%s", strbuf); in smb_fdata1()
719 buf = unistr(ndo, &strbuf, buf, stringlen, 0, unicodestr); in smb_fdata1()
720 ND_PRINT("%s", strbuf); in smb_fdata1()
Daclocal.m4967 char strbuf[16+1];
968 sprintf(strbuf, "%016$1x", t << 32);
969 if (strcmp(strbuf, "0000000100000000") == 0)
/netbsd/src/sys/arch/xen/xenbus/
Dxenbus_dev.c465 char strbuf[LD_STRLEN], *bf; in xsd_port_read() local
471 len = snprintf(strbuf, sizeof(strbuf), "%ld\n", in xsd_port_read()
474 bf = strbuf; in xsd_port_read()
477 bf = &strbuf[off]; in xsd_port_read()
/netbsd/src/external/bsd/libpcap/dist/
Dpcap-dlpi.c192 struct strbuf ctl = { in pcap_read_dlpi()
197 struct strbuf data; in pcap_read_dlpi()
1165 struct strbuf ctl;
1173 if (putmsg(fd, &ctl, (struct strbuf *) NULL, flags) < 0) {
1185 struct strbuf ctl;
1202 if (getmsg(fd, &ctl, (struct strbuf*)NULL, &flags) < 0) {
1543 struct strbuf ctl, data;
1653 struct strbuf ctl;
1681 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) {
1717 if (getmsg(fd, &ctl, (struct strbuf *)NULL, &flags) < 0) {
Dpcap-snit.c218 struct strbuf ctl, data; in pcap_inject_snit()
/netbsd/src/external/cddl/osnet/dist/common/ctf/
Dctf_open.c981 void *cbuf, *symbuf, *strbuf; in ctf_dup() local
984 cbuf = symbuf = strbuf = NULL; in ctf_dup()
1021 strbuf = ctf_data_alloc(strsect.cts_size); in ctf_dup()
1022 if (strbuf == MAP_FAILED) { in ctf_dup()
1026 memcpy(strbuf, strsect.cts_data, strsect.cts_size); in ctf_dup()
1027 ctf_data_protect(strbuf, strsect.cts_size); in ctf_dup()
1028 strsect.cts_data = strbuf; in ctf_dup()
1049 if (strbuf != NULL) in ctf_dup()
1050 ctf_data_free(strbuf, strsect.cts_size); in ctf_dup()
/netbsd/src/sys/arch/xen/xen/
Dxenevt.c348 char strbuf[LD_STRLEN], *bf; in xenevtread() local
355 len = snprintf(strbuf, sizeof(strbuf), "%ld\n", in xenevtread()
358 bf = strbuf; in xenevtread()
361 bf = &strbuf[off]; in xenevtread()
/netbsd/src/bin/ksh/
Dvar.c315 static char strbuf[1 + 2 + 1 + BITS(long) + 1]; local
322 s = strbuf + sizeof(strbuf);
344 (void)strlcpy(strbuf, s, sizeof(strbuf));
346 s = strbuf;
/netbsd/src/sys/arch/mips/mips/
Dtrap.c231 char strbuf[256], *str = strbuf; in trap() local
232 int n, sz = sizeof(strbuf); in trap()
264 printf("%s", strbuf); in trap()
/netbsd/src/external/bsd/ipf/dist/ipsd/
Dsdlpi.c90 struct strbuf dbuf;
/netbsd/src/sys/arch/sparc64/dev/
Dschizoreg.h54 struct iommu_strbuf strbuf; member
Diommu.c311 int strbuf = (flags & BUS_DMA_STREAMING); in iommu_enter_sun4u() local
324 strbuf = 0; in iommu_enter_sun4u()
327 !(flags & BUS_DMA_NOCACHE), (strbuf)); in iommu_enter_sun4u()
Dschizo.c258 offsetof(struct schizo_pbm_regs, strbuf), in schizo_attach()
/netbsd/src/usr.sbin/bootp/bootptest/
Dgetether.c196 struct strbuf cbuf; in getether()
/netbsd/src/external/gpl3/gdb/dist/bfd/
Dcofflink.c641 char strbuf[STRING_SIZE_SIZE]; in _bfd_coff_final_link() local
1147 strbuf); in _bfd_coff_final_link()
1152 if (bfd_write (strbuf, STRING_SIZE_SIZE, abfd) != STRING_SIZE_SIZE) in _bfd_coff_final_link()
Dxcofflink.c6944 char strbuf[STRING_SIZE_SIZE]; in _bfd_xcoff_bfd_final_link() local
7520 strbuf); in _bfd_xcoff_bfd_final_link()
7522 if (bfd_write (strbuf, amt, abfd) != amt) in _bfd_xcoff_bfd_final_link()
/netbsd/src/external/gpl3/binutils/dist/bfd/
Dcofflink.c641 char strbuf[STRING_SIZE_SIZE]; in _bfd_coff_final_link() local
1147 strbuf); in _bfd_coff_final_link()
1152 if (bfd_write (strbuf, STRING_SIZE_SIZE, abfd) != STRING_SIZE_SIZE) in _bfd_coff_final_link()

12