Searched refs:buf (Results 276 - 300 of 4797) sorted by relevance

<<11121314151617181920>>

/freebsd-10.1-release/usr.sbin/bluetooth/sdpd/
H A Dpanu.c43 uint8_t *buf, uint8_t const * const eob,
51 buf, eob,
58 uint8_t *buf, uint8_t const * const eob,
67 buf, eob,
74 uint8_t *buf, uint8_t const * const eob,
80 buf, eob,
86 uint8_t *buf, uint8_t const * const eob,
93 buf, eob,
100 uint8_t *buf, uint8_t const * const eob,
107 buf, eo
42 panu_profile_create_service_class_id_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
57 panu_profile_create_bluetooth_profile_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
73 panu_profile_create_service_name( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
85 panu_profile_create_service_description( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
99 panu_profile_create_protocol_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
120 panu_profile_create_service_availability( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
132 panu_profile_create_security_description( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
[all...]
H A Dirmc.c41 uint8_t *buf, uint8_t const * const eob,
49 buf, eob,
56 uint8_t *buf, uint8_t const * const eob,
65 buf, eob,
72 uint8_t *buf, uint8_t const * const eob,
78 buf, eob,
84 uint8_t *buf, uint8_t const * const eob,
91 buf, eob,
97 uint8_t *buf, uint8_t const * const eob,
104 buf, eo
40 irmc_profile_create_service_class_id_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
55 irmc_profile_create_bluetooth_profile_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
71 irmc_profile_create_service_name( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
83 irmc_profile_create_protocol_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
96 irmc_profile_create_supported_formats_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
[all...]
H A Dopush.c41 uint8_t *buf, uint8_t const * const eob,
49 buf, eob,
56 uint8_t *buf, uint8_t const * const eob,
65 buf, eob,
72 uint8_t *buf, uint8_t const * const eob,
78 buf, eob,
84 uint8_t *buf, uint8_t const * const eob,
91 buf, eob,
97 uint8_t *buf, uint8_t const * const eob,
104 buf, eo
40 opush_profile_create_service_class_id_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
55 opush_profile_create_bluetooth_profile_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
71 opush_profile_create_service_name( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
83 opush_profile_create_protocol_descriptor_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
96 opush_profile_create_supported_formats_list( uint8_t *buf, uint8_t const * const eob, uint8_t const *data, uint32_t datalen) argument
[all...]
/freebsd-10.1-release/contrib/ntp/lib/isc/
H A Dbase32.c59 char buf[9]; local
65 memset(buf, 0, sizeof(buf));
67 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
69 buf[1] = base[(source->base[0]<<2)&0x1c];
70 buf[2] = buf[3] = buf[4] = '=';
71 buf[5] = buf[
222 unsigned char buf[5]; local
[all...]
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libzfs_core/common/
H A Dlibzfs_core_compat.c37 char *buf, *val; local
57 buf = fnvlist_lookup_string(*source, "origin");
58 strlcpy(zc->zc_value, buf, MAXPATHLEN);
67 buf = nvpair_name(pair);
68 pos = strcspn(buf, "@");
69 strlcpy(zc->zc_name, buf, pos + 1);
70 strlcpy(zc->zc_value, buf + pos + 1, MAXPATHLEN);
82 buf = fnvlist_lookup_string(*source, "firstsnap");
83 strlcpy(zc->zc_value, buf, MAXPATHLEN);
89 buf
[all...]
/freebsd-10.1-release/contrib/expat/examples/
H A Delements.c46 char buf[BUFSIZ]; local
53 int len = (int)fread(buf, 1, sizeof(buf), stdin);
54 done = len < sizeof(buf);
55 if (XML_Parse(parser, buf, len, done) == XML_STATUS_ERROR) {
/freebsd-10.1-release/contrib/mdocml/
H A Dread.c49 struct buf { struct
50 char *buf; /* binary input buffer */ member in struct:buf
68 struct buf *secondary;
71 static void resize_buf(struct buf *, size_t);
72 static void mparse_buf_r(struct mparse *, struct buf, int);
75 static int read_whole_file(const char *, int, struct buf *, int *);
216 resize_buf(struct buf *buf, size_t initial) argument
219 buf->sz = buf
224 pset(const char *buf, int pos, struct mparse *curp) argument
665 mparse_readmem(struct mparse *curp, const void *buf, size_t len, const char *file) argument
789 char buf[256]; local
[all...]
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/src/
H A Dibdiag_common.c59 char buf[512], *s; local
64 n = vsprintf(buf, msg, va);
66 buf[n] = 0;
72 printf("%s: iberror: [pid %d] %s: failed: %s\n", argv0, getpid(), fn, buf);
74 printf("%s: iberror: failed: %s\n", argv0, buf);
/freebsd-10.1-release/crypto/heimdal/admin/
H A Dlist.c51 char buf[1024]; local
55 buf, sizeof(buf)) != -1) {
58 if(do_list(opt, buf))
92 char buf[1024], *s; local
94 snprintf(buf, sizeof(buf), "%d", entry.vno);
95 rtbl_add_column_entry_by_id(table, 0, buf);
100 snprintf(buf, sizeof(buf), "unknow
[all...]
/freebsd-10.1-release/crypto/heimdal/lib/roken/
H A Dparse_bytes-test.c64 char buf[256]; local
76 len = unparse_bytes (tests[i].val, buf, sizeof(buf));
77 if (strcmp (tests[i].str, buf) != 0) {
79 tests[i].val, buf, tests[i].str);
/freebsd-10.1-release/lib/libc/quad/TESTS/
H A Dmul.c51 char buf[300]; local
56 if (fgets(buf, sizeof buf, stdin) == NULL)
58 if (sscanf(buf, "%lu:%lu %lu:%lu",
60 sscanf(buf, "0x%lx:%lx 0x%lx:%lx",
/freebsd-10.1-release/lib/libc/stdio/
H A Dvdprintf.c49 unsigned char buf[BUFSIZ]; local
57 f._p = buf;
58 f._w = sizeof(buf);
63 f._bf._base = buf;
64 f._bf._size = sizeof(buf);
/freebsd-10.1-release/libexec/bootpd/
H A Dreport.c95 static char buf[128]; local
101 vsnprintf(buf, sizeof(buf), fmt, ap);
109 progname, levelnames[priority], buf);
113 syslog((priority | LOG_BOOTP), "%s", buf);
/freebsd-10.1-release/sys/boot/userboot/userboot/
H A Dcopy.c55 char buf[4096]; local
60 if (sz > sizeof(buf))
61 sz = sizeof(buf);
62 s = read(fd, buf, sz);
67 CALLBACK(copyin, buf, va, s);
/freebsd-10.1-release/tools/regression/kqueue/
H A Dmain.c75 char *buf; local
79 strncat(buf, #attrib" ", 64);
81 if ((buf = calloc(1, 1024)) == NULL)
86 snprintf(buf, 1024, "fflags = %d", kev->fflags);
87 return (buf);
90 snprintf(buf, 1024, "fflags = %d (", kev->fflags);
103 buf[strlen(buf) - 1] = ')';
105 return (buf);
111 char *buf; local
144 char buf[512]; local
[all...]
/freebsd-10.1-release/crypto/openssl/crypto/ui/
H A Dui_util.c59 int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, argument
66 UI_UTIL_read_pw(buf, buff, (length > BUFSIZ) ? BUFSIZ : length,
72 int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, argument
83 ok = UI_add_input_string(ui, prompt, 0, buf, 0, size - 1);
85 ok = UI_add_verify_string(ui, prompt, 0, buff, 0, size - 1, buf);
/freebsd-10.1-release/crypto/openssl/crypto/rand/
H A Drandfile.c120 MS_STATIC unsigned char buf[BUFSIZE]; local
172 i = fread(buf, 1, n, in);
176 RAND_add(buf, i, (double)i);
179 RAND_add(buf, n, (double)i);
189 OPENSSL_cleanse(buf, BUFSIZE);
196 unsigned char buf[BUFSIZE]; local
270 if (RAND_bytes(buf, i) <= 0)
272 i = fwrite(buf, 1, i, out);
283 OPENSSL_cleanse(buf, BUFSIZE);
288 const char *RAND_file_name(char *buf, size_ argument
[all...]
/freebsd-10.1-release/crypto/openssh/
H A Dprogressmeter.c88 format_rate(char *buf, int size, off_t bytes) argument
99 snprintf(buf, size, "%3lld.%1lld%c%s",
107 format_size(char *buf, int size, off_t bytes) argument
113 snprintf(buf, size, "%4lld%c%s",
122 char buf[MAX_WINSIZE + 1]; local
161 buf[0] = '\0';
164 len = snprintf(buf, file_len + 1, "\r%s", file);
170 buf[i] = ' ';
171 buf[file_len] = '\0';
179 snprintf(buf
[all...]
H A Dauth-shadow.c60 char buf[256]; local
74 snprintf(buf, sizeof(buf),
77 buffer_append(&loginmsg, buf, strlen(buf));
92 char buf[256]; local
134 snprintf(buf, sizeof(buf),
137 buffer_append(&loginmsg, buf, strlen(buf));
[all...]
H A Dcompress.c92 u_char buf[4096]; local
106 outgoing_stream.next_out = buf;
107 outgoing_stream.avail_out = sizeof(buf);
114 buffer_append(output_buffer, buf,
115 sizeof(buf) - outgoing_stream.avail_out);
137 u_char buf[4096]; local
145 incoming_stream.next_out = buf;
146 incoming_stream.avail_out = sizeof(buf);
151 buffer_append(output_buffer, buf,
152 sizeof(buf)
[all...]
/freebsd-10.1-release/sys/dev/drm/
H A Dvia_verifier.c241 eat_words(const uint32_t ** buf, const uint32_t * buf_end, unsigned num_words) argument
243 if ((buf_end - *buf) >= num_words) {
244 *buf += num_words;
527 const uint32_t *buf = *buffer; local
529 while (buf < buf_end) {
531 if ((buf_end - buf) < 2) {
537 if ((*buf & HC_ACMD_MASK) != HC_ACMD_HCmdB)
539 bcmd = *buf++;
540 if ((*buf & HC_ACMD_MASK) != HC_ACMD_HCmdA) {
542 *buf);
629 const uint32_t *buf = *buffer; local
720 const uint32_t *buf = *buffer; local
786 const uint32_t *buf = *buffer; local
806 const uint32_t *buf = *buffer; local
839 const uint32_t *buf = *buffer; local
856 const uint32_t *buf = *buffer; local
890 const uint32_t *buf = *buffer; local
908 const uint32_t *buf = *buffer; local
947 const uint32_t *buf = *buffer; local
963 via_verify_command_stream(const uint32_t * buf, unsigned int size, struct drm_device * dev, int agp) argument
1039 via_parse_command_stream(struct drm_device * dev, const uint32_t * buf, unsigned int size) argument
[all...]
/freebsd-10.1-release/gnu/usr.bin/grep/
H A Dexclude.c87 char *buf; local
101 buf = xmalloc (buf_alloc);
105 buf[buf_count++] = c;
107 buf = xrealloc (buf, buf_alloc *= 2);
110 buf = xrealloc (buf, buf_count + 1);
118 for (pattern = p = buf, lim = buf + buf_count; p <= lim; p++)
119 if (p < lim ? *p == line_end : buf <
[all...]
/freebsd-10.1-release/sys/teken/stress/
H A Dteken_stress.c91 stress_respond(void *s __unused, const void *buf __unused, size_t len __unused)
103 unsigned char buf[2048]; local
109 arc4random_buf(buf, sizeof buf);
110 for (i = 0; i < sizeof buf; i++) {
111 if (buf[i] >= 0x80)
112 buf[i] =
113 replacement[buf[i] % sizeof replacement];
116 teken_input(&t, buf, sizeof buf);
[all...]
/freebsd-10.1-release/usr.bin/lsvfs/
H A Dlsvfs.c85 static char buf[sizeof(struct flaglist) * sizeof(fl)]; local
88 buf[0] = '\0';
91 strlcat(buf, fl[i].str, sizeof(buf));
92 strlcat(buf, ", ", sizeof(buf));
94 if (buf[0] != '\0')
95 buf[strlen(buf) - 2] = '\0';
96 return (buf);
[all...]
/freebsd-10.1-release/contrib/ntp/sntp/libevent/
H A Devutil_rand.c72 ev_arc4random_buf(void *buf, size_t n) argument
75 arc4random_buf(buf, n);
78 unsigned char *b = buf;
91 arc4random_buf(buf, n);
182 ev_arc4random_buf(void *buf, size_t n) argument
184 arc4random_buf(buf, n);
190 evutil_secure_rng_get_bytes(void *buf, size_t n) argument
192 ev_arc4random_buf(buf, n);
196 evutil_secure_rng_add_bytes(const char *buf, size_t n) argument
198 arc4random_addrandom((unsigned char*)buf,
[all...]

Completed in 270 milliseconds

<<11121314151617181920>>