Searched refs:buf (Results 1 - 25 of 5036) sorted by relevance

1234567891011>>

/freebsd-10.3-release/sys/dev/qlxge/
H A Dqls_dbg.c53 uint32_t *buf; local
56 buf = dbuf32;
62 i, buf[0], buf[1], buf[2], buf[3]);
65 buf += 4;
69 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]);
72 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[
95 uint16_t *buf; local
157 uint8_t *buf; local
[all...]
/freebsd-10.3-release/sys/dev/qlxgb/
H A Dqla_dbg.c54 uint32_t *buf; local
57 buf = dbuf32;
63 i, buf[0], buf[1], buf[2], buf[3]);
66 buf += 4;
70 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]);
73 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[
93 uint16_t *buf; local
152 uint8_t *buf; local
[all...]
/freebsd-10.3-release/sys/dev/qlxgbe/
H A Dql_dbg.c50 uint32_t *buf; local
53 buf = dbuf32;
59 i, buf[0], buf[1], buf[2], buf[3]);
62 buf += 4;
66 device_printf(dev,"0x%08x: 0x%08x\n", i, buf[0]);
69 device_printf(dev,"0x%08x: 0x%08x 0x%08x\n", i, buf[0], buf[
89 uint16_t *buf; local
148 uint8_t *buf; local
[all...]
/freebsd-10.3-release/contrib/sendmail/include/sm/
H A Dsetjmp.h31 # define sm_setjmp_sig(buf) sigsetjmp(buf, 1)
32 # define sm_setjmp_nosig(buf) sigsetjmp(buf, 0)
33 # define sm_longjmp_sig(buf, val) siglongjmp(buf, val)
34 # define sm_longjmp_nosig(buf, val) siglongjmp(buf, val)
39 # define sm_setjmp_sig(buf) setjmp(buf)
[all...]
/freebsd-10.3-release/contrib/gdb/gdb/gdbserver/
H A Di387-fp.h25 void i387_cache_to_fsave (void *buf);
26 void i387_fsave_to_cache (const void *buf);
28 void i387_cache_to_fxsave (void *buf);
29 void i387_fxsave_to_cache (const void *buf);
/freebsd-10.3-release/tools/regression/ccd/layout/
H A Da.c4 static uint32_t buf[512/4]; variable
10 buf[0] = u++;
12 if (512 != write(1, buf, sizeof buf))
H A Db.c6 static uint32_t buf[512/4]; variable
13 if (512 != read(0, buf, sizeof buf))
16 printf("%u %u\n", u++, buf[0]);
/freebsd-10.3-release/crypto/heimdal/lib/roken/
H A Dxfree.c39 rk_xfree (void *buf) argument
41 free(buf);
/freebsd-10.3-release/contrib/ipfilter/lib/
H A Dprintsbuf.c19 printsbuf(buf)
20 char *buf;
25 for (s = (u_char *)buf, i = ISC_TLEN; i; i--, s++) {
33 void printsbuf(char *buf);
35 void printsbuf(buf)
36 char *buf;
39 buf = buf; /* gcc -Wextra */
/freebsd-10.3-release/tools/tools/ath/ath_ee_9287_print/
H A D9287.h6 extern void eeprom_9287_base_print(uint16_t *buf);
7 extern void eeprom_9287_custdata_print(uint16_t *buf);
8 extern void eeprom_9287_modal_print(uint16_t *buf);
9 extern void eeprom_9287_calfreqpiers_print(uint16_t *buf);
10 extern void eeprom_9287_ctl_print(uint16_t *buf);
11 extern void eeprom_9287_print_targets(uint16_t *buf);
12 extern void eeprom_9287_print_edges(uint16_t *buf);
13 extern void eeprom_9287_print_other(uint16_t *buf);
/freebsd-10.3-release/tools/tools/ath/ath_ee_v4k_print/
H A Dv4k.h6 extern void eeprom_v4k_base_print(uint16_t *buf);
7 extern void eeprom_v4k_custdata_print(uint16_t *buf);
8 extern void eeprom_v4k_modal_print(uint16_t *buf);
9 extern void eeprom_v4k_calfreqpiers_print(uint16_t *buf);
10 extern void eeprom_v4k_ctl_print(uint16_t *buf);
11 extern void eeprom_v4k_print_targets(uint16_t *buf);
12 extern void eeprom_v4k_print_edges(uint16_t *buf);
13 extern void eeprom_v4k_print_other(uint16_t *buf);
/freebsd-10.3-release/contrib/opie/libopie/
H A Drandomchallenge.c39 char buf[OPIE_SEED_MAX+1]; local
41 buf[0] = 0;
42 if (opienewseed(buf))
43 strcpy(buf, "ke4452");
46 (rand() % 499) + 1, buf);
/freebsd-10.3-release/sys/boot/arm/at91/libat91/
H A Dstrcvt.c98 p_ASCIIToHex(const char *buf) argument
102 if ((*buf == '0') && ((buf[1] == 'x') || (buf[1] == 'X')))
103 buf += 2;
105 while (*buf) {
107 lValue += p_HexCharValue(*buf++);
123 p_ASCIIToDec(const char *buf) argument
127 while (*buf) {
129 v += (*buf
[all...]
/freebsd-10.3-release/crypto/openssh/
H A Dsshbuf.c32 sshbuf_check_sanity(const struct sshbuf *buf) argument
35 if (__predict_false(buf == NULL ||
36 (!buf->readonly && buf->d != buf->cd) ||
37 buf->refcount < 1 || buf->refcount > SSHBUF_REFS_MAX ||
38 buf->cd == NULL ||
39 (buf->dont_free && (buf
54 sshbuf_maybe_pack(struct sshbuf *buf, int force) argument
119 sshbuf_fromb(struct sshbuf *buf) argument
148 sshbuf_free(struct sshbuf *buf) argument
187 sshbuf_reset(struct sshbuf *buf) argument
208 sshbuf_max_size(const struct sshbuf *buf) argument
214 sshbuf_alloc(const struct sshbuf *buf) argument
220 sshbuf_parent(const struct sshbuf *buf) argument
226 sshbuf_refcount(const struct sshbuf *buf) argument
232 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) argument
271 sshbuf_len(const struct sshbuf *buf) argument
279 sshbuf_avail(const struct sshbuf *buf) argument
287 sshbuf_ptr(const struct sshbuf *buf) argument
295 sshbuf_mutable_ptr(const struct sshbuf *buf) argument
303 sshbuf_check_reserve(const struct sshbuf *buf, size_t len) argument
319 sshbuf_reserve(struct sshbuf *buf, size_t len, u_char **dpp) argument
372 sshbuf_consume(struct sshbuf *buf, size_t len) argument
389 sshbuf_consume_end(struct sshbuf *buf, size_t len) argument
[all...]
/freebsd-10.3-release/contrib/ofed/libmlx4/src/
H A Dbuf.c62 int mlx4_alloc_buf(struct mlx4_buf *buf, size_t size, int page_size) argument
66 buf->length = align(size, page_size);
67 buf->buf = mmap(NULL, buf->length, PROT_READ | PROT_WRITE,
69 if (buf->buf == MAP_FAILED)
72 ret = ibv_dontfork_range(buf->buf, size);
74 munmap(buf
79 mlx4_free_buf(struct mlx4_buf *buf) argument
[all...]
/freebsd-10.3-release/contrib/gcclibs/libiberty/
H A Dspaces.c51 static char *buf; local
56 if (buf)
58 free (buf);
60 buf = (char *) malloc (count + 1);
61 if (buf == (char *) 0)
63 for (t = buf + count ; t != buf ; )
68 buf[count] = '\0';
70 return (const char *) (buf + maxsize - count);
H A Dvsnprintf.c28 @deftypefn Supplemental int vsnprintf (char *@var{buf}, size_t @var{n}, const char *@var{format}, va_list @var{ap})
59 char *buf = 0; local
60 int result = vasprintf (&buf, format, ap);
62 if (!buf)
66 free (buf);
70 result = strlen (buf);
74 memcpy (s, buf, result+1);
77 memcpy (s, buf, n-1);
81 free (buf);
108 char buf[12 local
[all...]
/freebsd-10.3-release/contrib/binutils/libiberty/
H A Dspaces.c51 static char *buf; local
56 if (buf)
58 free (buf);
60 buf = (char *) malloc (count + 1);
61 if (buf == (char *) 0)
63 for (t = buf + count ; t != buf ; )
68 buf[count] = '\0';
70 return (const char *) (buf + maxsize - count);
/freebsd-10.3-release/sbin/setkey/
H A Dvchar.h35 caddr_t buf; member in struct:__anon6281
/freebsd-10.3-release/sys/ofed/include/net/
H A Dif_inet6.h33 static inline void ipv6_eth_mc_map(const struct in6_addr *addr, char *buf) argument
41 buf[0]= 0x33;
42 buf[1]= 0x33;
44 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32));
/freebsd-10.3-release/contrib/sendmail/libsmutil/
H A Dsnprintf.c38 static char buf[MAXSHORTSTR + 1]; local
49 (void) sm_strlcpy(buf, s, m + 1);
50 return buf;
52 (void) sm_strlcpy(buf, s, m - 2);
53 (void) sm_strlcat(buf, "...", sizeof buf);
54 return buf;
57 (void) sm_strlcpy(buf, s, m + 1);
58 (void) sm_strlcat2(buf, "...", s + l - m, sizeof buf);
[all...]
/freebsd-10.3-release/contrib/dtc/libfdt/
H A Dfdt_empty_tree.c58 int fdt_create_empty_tree(void *buf, int bufsize) argument
62 err = fdt_create(buf, bufsize);
66 err = fdt_finish_reservemap(buf);
70 err = fdt_begin_node(buf, "");
74 err = fdt_end_node(buf);
78 err = fdt_finish(buf);
82 return fdt_open_into(buf, buf, bufsize);
/freebsd-10.3-release/sys/contrib/libfdt/
H A Dfdt_empty_tree.c58 int fdt_create_empty_tree(void *buf, int bufsize) argument
62 err = fdt_create(buf, bufsize);
66 err = fdt_finish_reservemap(buf);
70 err = fdt_begin_node(buf, "");
74 err = fdt_end_node(buf);
78 err = fdt_finish(buf);
82 return fdt_open_into(buf, buf, bufsize);
/freebsd-10.3-release/contrib/wpa/src/utils/
H A Dwpabuf.h12 /* wpabuf::buf is a pointer to external data */
23 u8 *buf; /* pointer to the head of the buffer */ member in struct:wpabuf
29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
34 void wpabuf_free(struct wpabuf *buf);
35 void * wpabuf_put(struct wpabuf *buf, size_t len);
37 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len);
38 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
43 * @buf: wpabuf buffer
46 static inline size_t wpabuf_size(const struct wpabuf *buf) argument
48 return buf
56 wpabuf_len(const struct wpabuf *buf) argument
66 wpabuf_tailroom(const struct wpabuf *buf) argument
76 wpabuf_head(const struct wpabuf *buf) argument
81 wpabuf_head_u8(const struct wpabuf *buf) argument
91 wpabuf_mhead(struct wpabuf *buf) argument
96 wpabuf_mhead_u8(struct wpabuf *buf) argument
101 wpabuf_put_u8(struct wpabuf *buf, u8 data) argument
107 wpabuf_put_le16(struct wpabuf *buf, u16 data) argument
113 wpabuf_put_le32(struct wpabuf *buf, u32 data) argument
119 wpabuf_put_be16(struct wpabuf *buf, u16 data) argument
125 wpabuf_put_be24(struct wpabuf *buf, u32 data) argument
131 wpabuf_put_be32(struct wpabuf *buf, u32 data) argument
137 wpabuf_put_data(struct wpabuf *buf, const void *data, size_t len) argument
150 wpabuf_set(struct wpabuf *buf, const void *data, size_t len) argument
[all...]
/freebsd-10.3-release/lib/libc/tests/locale/
H A Dmblen_test.c49 char buf[MB_LEN_MAX + 1]; local
61 memset(buf, 0xcc, sizeof(buf));
62 buf[0] = '\0';
63 ATF_REQUIRE(mblen(buf, 1) == 0);
66 buf[0] = 'A';
67 ATF_REQUIRE(mblen(buf, 1) == 1);
70 buf[0] = '\0';
71 ATF_REQUIRE(mblen(buf, 0) == -1);
85 memset(buf,
[all...]

Completed in 245 milliseconds

1234567891011>>