Home
last modified time | relevance | path

Searched refs:ebuf (Results 1 – 25 of 107) sorted by relevance

12345

/netbsd/external/bsd/libpcap/dist/
H A Dpcap-dlpi.c937 dl_dohpuxbind(int fd, char *ebuf) argument
952 if (dlbindreq(fd, hpsap, ebuf) < 0)
973 *ebuf = '\0';
976 pcap_strlcpy(ebuf,
1222 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE,
1229 pcap_snprintf(ebuf, PCAP_ERRBUF_SIZE,
1474 dlinforeq(int fd, char *ebuf) argument
1496 dlpassive(int fd, char *ebuf) argument
1613 u_int *ppa, register char *ebuf) argument
1809 u_int *ppa, register char *ebuf) argument
[all …]
/netbsd/lib/libc/stdlib/
H A Dstrsuftoll.c142 _DIAGASSERT(ebuf != NULL); in __strsuftollx()
145 snprintf(ebuf, ebuflen, "%s: Recursion limit exceeded", desc); in __strsuftollx()
211 num *= __strsuftollx(desc, expr + 1, min, max, ebuf, ebuflen, in __strsuftollx()
213 if (*ebuf != '\0') in __strsuftollx()
218 snprintf(ebuf, ebuflen, "%s: %s", desc, strerror(errno)); in __strsuftollx()
224 snprintf(ebuf, ebuflen, "%s `%s': illegal number", desc, val); in __strsuftollx()
229 snprintf(ebuf, ebuflen, "%s %lld is less than %lld.", in __strsuftollx()
235 snprintf(ebuf, ebuflen, "%s %lld is greater than %lld.", in __strsuftollx()
239 *ebuf = '\0'; in __strsuftollx()
245 long long min, long long max, char *ebuf, size_t ebuflen) in strsuftollx() argument
[all …]
/netbsd/external/bsd/openldap/dist/servers/slapd/
H A Dmodule.c69 __etoa( ebuf ); in module_init()
70 error = ebuf; in module_init()
91 __etoa( ebuf ); in module_kill()
92 error = ebuf; in module_kill()
132 #define file ebuf in module_load()
191 __etoa( ebuf ); in module_load()
192 error = ebuf; in module_load()
276 __atoe(ebuf); in module_path()
277 path = ebuf; in module_path()
286 __atoe(ebuf); in module_resolve()
[all …]
H A Dproxyp.c83 char ebuf[128]; in proxyp() local
88 AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in proxyp()
139 char ebuf[128]; in proxyp() local
144 AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in proxyp()
215 char ebuf[128]; in proxyp() local
220 AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in proxyp()
H A Dslaptest.c54 char ebuf[128]; in test_file() local
79 save_errno, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in test_file()
91 save_errno, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) ); in test_file()
/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dnssov.c420 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
424 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
433 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
437 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
446 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
450 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in acceptconn()
931 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in nssov_db_open()
944 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in nssov_db_open()
961 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in nssov_db_open()
974 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf)) ); in nssov_db_open()
[all …]
/netbsd/usr.sbin/kvm_mkdb/
H A Dnlist_aout.c110 struct exec ebuf; in create_knlist_aout() local
125 nr = read(fd, &ebuf, sizeof(struct exec)); in create_knlist_aout()
132 if (N_BADMAG(ebuf)) { in create_knlist_aout()
143 if (!ebuf.a_syms) in create_knlist_aout()
147 if (lseek(fd, N_STROFF(ebuf), SEEK_SET) == -1) in create_knlist_aout()
169 if (fseek(fp, N_SYMOFF(ebuf), SEEK_SET) == -1) { in create_knlist_aout()
180 nsyms = ebuf.a_syms / sizeof(struct nlist); in create_knlist_aout()
206 voff = nbuf.n_value - kerntextoff + N_TXTADDR(ebuf); in create_knlist_aout()
208 voff += N_TXTOFF(ebuf) - N_TXTADDR(ebuf); in create_knlist_aout()
210 voff += N_DATOFF(ebuf) - N_DATADDR(ebuf); in create_knlist_aout()
/netbsd/external/gpl2/gmake/dist/
H A Dread.c352 if (ebuf.fp) in eval_makefile()
383 if (ebuf.fp == 0) in eval_makefile()
398 ebuf.size = 200; in eval_makefile()
399 ebuf.buffer = ebuf.bufnext = ebuf.bufstart = xmalloc (ebuf.size); in eval_makefile()
408 fclose (ebuf.fp); in eval_makefile()
427 ebuf.buffer = ebuf.bufnext = ebuf.bufstart = buffer; in eval_buffer()
428 ebuf.fp = NULL; in eval_buffer()
2502 if (ebuf->bufnext >= ebuf->bufstart + ebuf->size) in readstring()
2508 eol = ebuf->buffer = ebuf->bufnext; in readstring()
2520 ebuf->bufnext = ebuf->bufstart + ebuf->size + 1; in readstring()
[all …]
/netbsd/external/bsd/libpcap/dist/testprogs/
H A Dopentest.c63 char ebuf[PCAP_ERRBUF_SIZE]; in main() local
126 if (pcap_findalldevs(&devlist, ebuf) == -1) in main()
127 error("%s", ebuf); in main()
134 pd = pcap_create(device, ebuf); in main()
136 error("%s: pcap_create failed: %s", device, ebuf); in main()
180 *ebuf = '\0'; in main()
181 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); in main()
183 error("%s", ebuf); in main()
184 else if (*ebuf) in main()
185 warning("%s", ebuf); in main()
H A Dcapturetest.c75 char ebuf[PCAP_ERRBUF_SIZE]; in main() local
127 if (pcap_findalldevs(&devlist, ebuf) == -1) in main()
128 error("%s", ebuf); in main()
134 *ebuf = '\0'; in main()
135 pd = pcap_create(device, ebuf); in main()
137 error("%s", ebuf); in main()
167 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { in main()
170 warning("%s", ebuf); in main()
179 if (pcap_setnonblock(pd, nonblock, ebuf) == -1) in main()
180 error("pcap_setnonblock failed: %s", ebuf); in main()
H A Dselpolltest.c75 char ebuf[PCAP_ERRBUF_SIZE]; in main() local
134 if (pcap_findalldevs(&devlist, ebuf) == -1) in main()
135 error("%s", ebuf); in main()
141 *ebuf = '\0'; in main()
142 pd = pcap_open_live(device, 65535, 0, 1000, ebuf); in main()
144 error("%s", ebuf); in main()
145 else if (*ebuf) in main()
146 warning("%s", ebuf); in main()
150 warning("%s", ebuf); in main()
192 if (pcap_setnonblock(pd, 1, ebuf) == -1) in main()
[all …]
H A Dvalgrindtest.c234 char ebuf[PCAP_ERRBUF_SIZE]; in main() local
292 if (pcap_findalldevs(&devlist, ebuf) == -1) in main()
293 error("%s", ebuf); in main()
323 pd = pcap_create(device, ebuf); in main()
325 error("%s: pcap_create() failed: %s", device, ebuf); in main()
360 *ebuf = '\0'; in main()
361 pd = pcap_open_live(device, 65535, 1, 1000, ebuf); in main()
363 error("%s", ebuf); in main()
364 else if (*ebuf) in main()
365 warning("%s", ebuf); in main()
H A Dthreadsignaltest.c189 char ebuf[PCAP_ERRBUF_SIZE]; in main() local
217 if (pcap_findalldevs(&devlist, ebuf) == -1) in main()
218 error("%s", ebuf); in main()
224 *ebuf = '\0'; in main()
225 pd = pcap_create(device, ebuf); in main()
227 error("%s", ebuf); in main()
257 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { in main()
260 warning("%s", ebuf); in main()
H A Dreactivatetest.c44 char ebuf[PCAP_ERRBUF_SIZE]; in main() local
48 pd = pcap_open_live("lo0", 65535, 0, 1000, ebuf); in main()
50 pd = pcap_open_live("lo", 65535, 0, 1000, ebuf); in main()
53 ebuf); in main()
/netbsd/sys/net80211/
H A Dieee80211_input.c418 ether_snprintf(ebuf, sizeof(ebuf), wh->i_addr2), in ieee80211_input_management()
577 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_input()
628 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_input()
1365 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_auth_shared()
1434 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_auth_shared()
1502 ether_snprintf(ebuf, sizeof(ebuf), mac), tag); in ieee80211_ssid_mismatch()
2262 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_recv_mgmt_beacon()
2278 ether_snprintf(ebuf, sizeof(ebuf), in ieee80211_recv_mgmt_beacon()
2423 ether_snprintf(ebuf, sizeof(ebuf), wh->i_addr2)); in ieee80211_recv_mgmt_probe_req()
2899 ether_snprintf(ebuf, sizeof(ebuf), wh->i_addr2), in ieee80211_recv_mgmt_assoc_resp()
[all …]
/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/
H A Dnslcd-prot.h91 char ebuf[128]; \
94 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
168 char ebuf[128]; \
171 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
310 char ebuf[128]; \
313 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
362 char ebuf[128]; \
365 AC_STRERROR_R(saved_errno, ebuf, sizeof(ebuf))); \
/netbsd/crypto/external/bsd/openssl/dist/test/
H A Dafalgtest.c32 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() local
62 OPENSSL_cleanse(ebuf, sizeof(ebuf)); in test_afalg_aes_cbc()
86 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
87 || !TEST_true(EVP_CipherFinal_ex(ctx, ebuf + encl, &encf))) in test_afalg_aes_cbc()
91 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc()
96 || !TEST_true(EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl)) in test_afalg_aes_cbc()
/netbsd/external/bsd/tcpdump/dist/
H A Dtcpdump.c431 error("%s", ebuf); in show_devices_and_exit()
944 error("%s", ebuf); in find_interface_by_number()
979 error("%s", ebuf); in open_interface()
1093 *ebuf = '\0'; in open_interface()
1104 error("%s", ebuf); in open_interface()
1106 if (*ebuf) in open_interface()
1155 if (nd_init(ebuf, sizeof ebuf) == -1) in main()
1156 error("%s", ebuf); in main()
1187 if (abort_on_misalignment(ebuf, sizeof(ebuf)) < 0) in main()
1188 error("%s", ebuf); in main()
[all …]
/netbsd/external/bsd/file/dist/src/
H A Dbuffer.c57 b->ebuf = NULL; in buffer_init()
64 free(b->ebuf); in buffer_fini()
80 if ((b->ebuf = malloc(b->elen)) == NULL) in buffer_fill()
84 if (pread(b->fd, b->ebuf, b->elen, b->eoff) == -1) { in buffer_fill()
85 free(b->ebuf); in buffer_fill()
86 b->ebuf = NULL; in buffer_fill()
/netbsd/sys/arch/mvme68k/stand/sboot/
H A Dsboot.c40 char buf[128], *ebuf; in sboot() local
55 ebuf = ngets(buf, sizeof(buf)); in sboot()
56 do_cmd(buf, ebuf); in sboot()
77 do_cmd(char *buf, char *ebuf) in do_cmd() argument
124 go(LOAD_ADDR, buf+1, ebuf); in do_cmd()
/netbsd/external/bsd/ntp/dist/libntp/
H A Dbsd_strerror.c41 static char ebuf[20]; in strerror() local
45 snprintf(ebuf, sizeof(ebuf), "Unknown error: %d", errnum); in strerror()
47 return ebuf; in strerror()
/netbsd/external/bsd/openldap/dist/servers/lloadd/
H A Ddaemon.c385 char ebuf[128]; in lload_open_listener() local
501 af, err, sock_errstr( err, ebuf, sizeof(ebuf) ) ); in lload_open_listener()
524 sock_errstr( err, ebuf, sizeof(ebuf) ) ); in lload_open_listener()
545 sock_errstr( err, ebuf, sizeof(ebuf) ) ); in lload_open_listener()
593 sock_errstr( err, ebuf, sizeof(ebuf) ) ); in lload_open_listener()
851 char ebuf[128]; in lload_listener() local
991 sock_errstr( err, ebuf, sizeof(ebuf) ) ); in listener_error_cb()
1028 char ebuf[128]; in lload_listener_activate() local
1069 err, sock_errstr( err, ebuf, sizeof(ebuf) ) ); in lload_listener_activate()
1080 err, sock_errstr( err, ebuf, sizeof(ebuf) ) ); in lload_listener_activate()
[all …]
/netbsd/sys/lib/libsa/
H A Dstrerror.c63 static char ebuf[36]; in strerror() local
70 snprintf(ebuf, sizeof ebuf, "Unknown error: code %d", err); in strerror()
71 return ebuf; in strerror()
/netbsd/crypto/external/bsd/openssl.old/dist/test/
H A Dafalgtest.c38 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc() local
71 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
72 || !TEST_true(EVP_CipherFinal_ex(ctx, ebuf+encl, &encf))) in test_afalg_aes_cbc()
76 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc()
81 || !TEST_true(EVP_CipherUpdate(ctx, dbuf, &decl, ebuf, encl)) in test_afalg_aes_cbc()
/netbsd/external/bsd/ipf/dist/FWTK/
H A Dfwtkp156 char ebuf[512];
158 strcpy(ebuf,buf);
164 char ebuf[512];
166 strcpy(ebuf,buf);
243 + strcpy(ebuf,buf);
655 char ebuf[512];
664 ! if(say(0,ebuf))
670 char ebuf[512];
765 char ebuf[512];
769 ! if(say(0,ebuf))
[all …]

12345