Searched refs:strbuf (Results 1 - 25 of 48) sorted by relevance

12

/freebsd-head/contrib/tcsh/
H A Dtc.h50 struct strbuf { struct
66 extern const struct strbuf strbuf_init;
H A Dtc.decls.h36 struct strbuf;
302 extern struct strbuf *strbuf_alloc(void);
303 extern void strbuf_terminate(struct strbuf *);
304 extern void strbuf_append1(struct strbuf *, char);
305 extern void strbuf_appendn(struct strbuf *, const char *,
307 extern void strbuf_append (struct strbuf *, const char *);
308 extern char *strbuf_finish (struct strbuf *);
/freebsd-head/contrib/ntp/lib/isc/unix/
H A Dapp.c206 char strbuf[ISC_STRERRORSIZE]; local
213 isc__strerror(errno, strbuf, sizeof(strbuf));
218 sig, strbuf);
242 isc__strerror(presult, strbuf, sizeof(strbuf));
244 "isc_app_start() pthread_init: %s", strbuf);
273 char strbuf[ISC_STRERRORSIZE]; local
344 isc__strerror(errno, strbuf, sizeof(strbuf));
574 char strbuf[ISC_STRERRORSIZE]; local
714 char strbuf[ISC_STRERRORSIZE]; local
769 char strbuf[ISC_STRERRORSIZE]; local
[all...]
H A Derrno2result.c38 char strbuf[ISC_STRERRORSIZE]; local
110 isc__strerror(posixerrno, strbuf, sizeof(strbuf));
113 posixerrno, strbuf);
H A Difiter_ioctl.c133 char strbuf[ISC_STRERRORSIZE]; local
153 isc__strerror(errno, strbuf, sizeof(strbuf));
160 strbuf);
206 char strbuf[ISC_STRERRORSIZE]; local
238 isc__strerror(errno, strbuf, sizeof(strbuf));
247 strbuf);
253 isc__strerror(errno, strbuf, sizeof(strbuf));
313 char strbuf[ISC_STRERRORSIZE]; local
454 char strbuf[ISC_STRERRORSIZE]; local
686 char strbuf[ISC_STRERRORSIZE]; local
[all...]
H A Dnet.c127 char strbuf[ISC_STRERRORSIZE]; local
143 isc__strerror(errno, strbuf, sizeof(strbuf));
150 strbuf);
248 char strbuf[ISC_STRERRORSIZE]; local
265 isc__strerror(errno, strbuf, sizeof(strbuf));
272 strbuf);
288 isc__strerror(errno, strbuf, sizeof(strbuf));
324 char strbuf[ISC_STRERRORSIZE]; local
[all...]
H A Difiter_sysctl.c73 char strbuf[ISC_STRERRORSIZE]; local
91 isc__strerror(errno, strbuf, sizeof(strbuf));
98 strbuf);
112 isc__strerror(errno, strbuf, sizeof(strbuf));
119 strbuf);
H A Dsocket.c769 char strbuf[ISC_STRERRORSIZE]; local
778 isc__strerror(errno, strbuf, sizeof(strbuf));
786 strbuf);
901 char strbuf[ISC_STRERRORSIZE];
902 isc__strerror(errno, strbuf, sizeof(strbuf));
904 "epoll_ctl(DEL), %d: %s", fd, strbuf);
1031 char strbuf[ISC_STRERRORSIZE]; local
1051 isc__strerror(errno, strbuf, sizeo
1070 char strbuf[ISC_STRERRORSIZE]; local
1115 char strbuf[ISC_STRERRORSIZE]; local
1646 char strbuf[ISC_STRERRORSIZE]; local
1837 char strbuf[ISC_STRERRORSIZE]; local
2243 char strbuf[ISC_STRERRORSIZE]; local
3091 char strbuf[ISC_STRERRORSIZE]; local
3808 char strbuf[ISC_STRERRORSIZE]; local
3940 char strbuf[ISC_STRERRORSIZE]; local
4158 char strbuf[ISC_STRERRORSIZE]; local
4848 char strbuf[ISC_STRERRORSIZE]; local
4979 char strbuf[ISC_STRERRORSIZE]; local
5031 char strbuf[ISC_STRERRORSIZE]; local
5107 char strbuf[ISC_STRERRORSIZE]; local
5146 char strbuf[ISC_STRERRORSIZE]; local
5262 char strbuf[ISC_STRERRORSIZE]; local
5405 char strbuf[ISC_STRERRORSIZE]; local
5541 char strbuf[ISC_STRERRORSIZE]; local
5736 char strbuf[ISC_STRERRORSIZE]; local
[all...]
H A Dtime.c148 char strbuf[ISC_STRERRORSIZE]; local
153 isc__strerror(errno, strbuf, sizeof(strbuf));
154 UNEXPECTED_ERROR(__FILE__, __LINE__, "%s", strbuf);
190 char strbuf[ISC_STRERRORSIZE]; local
197 isc__strerror(errno, strbuf, sizeof(strbuf));
198 UNEXPECTED_ERROR(__FILE__, __LINE__, "%s", strbuf);
H A Difiter_getifaddrs.c57 char strbuf[ISC_STRERRORSIZE]; local
80 isc__strerror(errno, strbuf, sizeof(strbuf));
98 isc__strerror(errno, strbuf, sizeof(strbuf));
105 strbuf);
/freebsd-head/contrib/ntp/lib/isc/pthreads/
H A Dcondition.c38 char strbuf[ISC_STRERRORSIZE]; local
67 isc__strerror(presult, strbuf, sizeof(strbuf));
72 strbuf);
H A Dmutex.c269 char strbuf[ISC_STRERRORSIZE]; local
277 isc__strerror(errno, strbuf, sizeof(strbuf));
279 strbuf);
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Derrno2result.c36 char strbuf[ISC_STRERRORSIZE]; local
102 isc__strerror(posixerrno, strbuf, sizeof(strbuf));
104 "to isc_result: %d: %s", posixerrno, strbuf);
H A Dnet.c72 char strbuf[ISC_STRERRORSIZE]; local
84 isc__strerror(errval, strbuf, sizeof(strbuf));
91 strbuf);
143 char strbuf[ISC_STRERRORSIZE]; local
160 isc__strerror(errno, strbuf, sizeof(strbuf));
167 strbuf);
184 isc__strerror(errno, strbuf, sizeof(strbuf));
221 char strbuf[ISC_STRERRORSIZE]; local
[all...]
H A Dsocket.c441 char strbuf[ISC_STRERRORSIZE]; local
448 isc__strerror(errval, strbuf, sizeof(strbuf));
453 strbuf);
464 char strbuf[ISC_STRERRORSIZE]; local
478 isc__strerror(errval, strbuf, sizeof(strbuf));
483 strbuf);
495 char strbuf[ISC_STRERRORSIZE]; local
505 isc__strerror(errval, strbuf, sizeo
546 char strbuf[ISC_STRERRORSIZE]; local
621 char strbuf[ISC_STRERRORSIZE]; local
885 char strbuf[ISC_STRERRORSIZE]; local
1332 char strbuf[ISC_STRERRORSIZE]; local
1378 char strbuf[ISC_STRERRORSIZE]; local
1646 char strbuf[ISC_STRERRORSIZE]; local
1751 isc__strerror(WSAGetLastError(), strbuf, sizeof(strbuf)); local
2109 char strbuf[ISC_STRERRORSIZE]; local
2428 char strbuf[ISC_STRERRORSIZE]; local
3174 char strbuf[ISC_STRERRORSIZE]; local
3258 char strbuf[ISC_STRERRORSIZE]; local
3282 isc__strerror(WSAGetLastError(), strbuf, sizeof(strbuf)); local
3423 char strbuf[ISC_STRERRORSIZE]; local
3568 char strbuf[ISC_STRERRORSIZE]; local
3593 isc__strerror(WSAGetLastError(), strbuf, sizeof(strbuf)); local
[all...]
H A Dinterfaceiter.c118 char strbuf[ISC_STRERRORSIZE]; local
202 isc__strerror(err, strbuf, sizeof(strbuf));
205 strbuf);
222 isc__strerror(error, strbuf, sizeof(strbuf));
225 strbuf);
250 isc__strerror(error, strbuf, sizeof(strbuf));
253 strbuf);
[all...]
/freebsd-head/contrib/unbound/sldns/
H A Dstr2wire.c186 rrinternal_get_owner(sldns_buffer* strbuf, uint8_t* rr, size_t* len, argument
191 if(sldns_bget_token(strbuf, token, "\t\n ", token_len) == -1) {
193 sldns_buffer_position(strbuf));
198 sldns_buffer_position(strbuf));
214 sldns_buffer_position(strbuf));
232 sldns_buffer_position(strbuf));
239 sldns_buffer_position(strbuf)-strlen(token));
247 rrinternal_get_ttl(sldns_buffer* strbuf, char* token, size_t token_len, argument
251 if(sldns_bget_token(strbuf, token, "\t\n ", token_len) == -1) {
253 sldns_buffer_position(strbuf));
271 rrinternal_get_class(sldns_buffer* strbuf, char* token, size_t token_len, int* not_there, uint16_t* cl) argument
293 rrinternal_get_type(sldns_buffer* strbuf, char* token, size_t token_len, int* not_there, uint16_t* tp) argument
314 rrinternal_write_typeclassttl(sldns_buffer* strbuf, uint8_t* rr, size_t len, size_t dname_len, uint16_t tp, uint16_t cl, uint32_t ttl, int question) argument
367 rrinternal_get_quoted(sldns_buffer* strbuf, const char** delimiters, sldns_rdf_type rdftype) argument
426 rrinternal_parse_unknown(sldns_buffer* strbuf, char* token, size_t token_len, uint8_t* rr, size_t* rr_len, size_t* rr_cur_len, size_t pre_data_pos) argument
473 rrinternal_parse_rdf(sldns_buffer* strbuf, char* token, size_t token_len, uint8_t* rr, size_t rr_len, size_t* rr_cur_len, sldns_rdf_type rdftype, uint16_t rr_type, size_t r_cnt, size_t r_max, size_t dname_len, uint8_t* origin, size_t origin_len) argument
541 sldns_parse_rdf_token(sldns_buffer* strbuf, char* token, size_t token_len, int* quoted, int* parens, size_t* pre_data_pos, const char* delimiters, sldns_rdf_type rdftype, size_t* token_strlen) argument
597 sldns_affix_token(sldns_buffer* strbuf, char* token, size_t* token_len, int* quoted, int* parens, size_t* pre_data_pos, const char* delimiters, sldns_rdf_type rdftype, size_t* token_strlen) argument
620 rrinternal_parse_rdata(sldns_buffer* strbuf, char* token, size_t token_len, uint8_t* rr, size_t* rr_len, size_t dname_len, uint16_t rr_type, uint8_t* origin, size_t origin_len) argument
745 sldns_buffer strbuf; local
1289 sldns_buffer strbuf; local
1709 sldns_buffer strbuf; local
1856 sldns_buffer strbuf; local
[all...]
/freebsd-head/contrib/ncurses/ncurses/base/
H A Dvsscanf.c171 FILE strbuf; local
173 strbuf._flag = _IOREAD;
174 strbuf._ptr = strbuf._base = (unsigned char *) str;
175 strbuf._cnt = strlen(str);
176 strbuf._file = _NFILE;
179 return (vfscanf(&strbuf, format, ap));
181 return (_doscan(&strbuf, format, ap));
/freebsd-head/crypto/openssl/crypto/asn1/
H A Da_mbstr.c52 char strbuf[32]; local
101 BIO_snprintf(strbuf, sizeof(strbuf), "%ld", minsize);
102 ERR_add_error_data(2, "minsize=", strbuf);
108 BIO_snprintf(strbuf, sizeof(strbuf), "%ld", maxsize);
109 ERR_add_error_data(2, "maxsize=", strbuf);
/freebsd-head/contrib/ipfilter/ipsend/
H A Ddlcommon.c45 struct strbuf ctl;
56 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
66 struct strbuf ctl;
73 strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack");
95 struct strbuf ctl;
107 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
119 struct strbuf ctl;
136 if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
148 struct strbuf ctl;
165 if (putmsg(fd, &ctl, (struct strbuf*) NUL
[all...]
H A Dsdlpi.c134 struct strbuf dbuf, *dp = &dbuf, *cp = NULL;
137 struct strbuf cbuf;
/freebsd-head/contrib/wpa/src/utils/
H A Dwpa_debug.c284 char *strbuf = NULL; local
294 strbuf = os_malloc(1 + 3 * slen);
295 if (strbuf == NULL) {
302 os_snprintf(&strbuf[i * 3], 4, " %02x",
305 display = strbuf;
315 bin_clear_free(strbuf, 1 + 3 * slen);
322 char *strbuf = NULL;
329 strbuf = os_malloc(1 + 3 * len);
330 if (strbuf == NULL) {
337 os_snprintf(&strbuf[
[all...]
/freebsd-head/contrib/subversion/subversion/svndumpfilter/
H A Dsvndumpfilter.c56 write_prop_to_stringbuf(svn_stringbuf_t *strbuf, argument
66 svn_stringbuf_appendbytes(strbuf, "K ", 2);
69 svn_stringbuf_appendbytes(strbuf, buf, bytes_used);
70 svn_stringbuf_appendbyte(strbuf, '\n');
72 svn_stringbuf_appendbytes(strbuf, name, namelen);
73 svn_stringbuf_appendbyte(strbuf, '\n');
76 svn_stringbuf_appendbytes(strbuf, "V ", 2);
79 svn_stringbuf_appendbytes(strbuf, buf, bytes_used);
80 svn_stringbuf_appendbyte(strbuf, '\n');
82 svn_stringbuf_appendbytes(strbuf, valu
89 write_propdel_to_stringbuf(svn_stringbuf_t **strbuf, const char *name) argument
[all...]
/freebsd-head/contrib/subversion/subversion/libsvn_subr/
H A Dstring.c267 svn_string_create_from_buf(const svn_stringbuf_t *strbuf, apr_pool_t *pool)
269 return svn_string_ncreate(strbuf->data, strbuf->len, pool);
338 svn_stringbuf__morph_into_string(svn_stringbuf_t *strbuf)
343 strbuf->pool = NULL;
344 strbuf->blocksize = strbuf->len + 1;
363 return (svn_string_t *)&strbuf->data;
402 svn_stringbuf_t *strbuf = svn_stringbuf_create_ensure(size, pool);
406 memcpy(strbuf
264 svn_string_create_from_buf(const svn_stringbuf_t *strbuf, apr_pool_t *pool) argument
335 svn_stringbuf__morph_into_string(svn_stringbuf_t *strbuf) argument
398 svn_stringbuf_t *strbuf = svn_stringbuf_create_ensure(size, pool); local
[all...]
/freebsd-head/usr.bin/bc/
H A Dscan.l42 static char *strbuf = NULL;
87 \" BEGIN(INITIAL); yylval.str = strbuf; return STRING;
108 yylval.str = strbuf;
120 if (strcmp(strbuf, ".") == 0)
123 yylval.str = strbuf;
212 if (strbuf == NULL) {
213 strbuf = malloc(strbuf_sz);
214 if (strbuf == NULL)
217 strbuf[0] = '\0';
227 if (strlen(strbuf)
[all...]

Completed in 130 milliseconds

12