Home
last modified time | relevance | path

Searched refs:resbuf (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/sys/dev/usb/
H A Dusb_hub_acpi.c306 resbuf[1], resbuf[2], in acpi_uhub_parse_pld()
307 resbuf[3]); in acpi_uhub_parse_pld()
310 resbuf[4] | (resbuf[5] << 8), in acpi_uhub_parse_pld()
311 resbuf[6] | (resbuf[7] << 8)); in acpi_uhub_parse_pld()
312 if (resbuf[8] & 1) { in acpi_uhub_parse_pld()
315 if (resbuf[8] & 2) { in acpi_uhub_parse_pld()
330 resbuf[9], resbuf[10], resbuf[11]); in acpi_uhub_parse_pld()
332 resbuf[12], resbuf[13], in acpi_uhub_parse_pld()
333 resbuf[14], resbuf[15]); in acpi_uhub_parse_pld()
337 resbuf[16] | (resbuf[17] << 8), in acpi_uhub_parse_pld()
[all …]
/freebsd-14.2/libexec/phttpget/
H A Dphttpget.c229 memmove(resbuf, resbuf + *resbufpos, in readln()
274 len = recv(sd, resbuf, BUFSIZ, 0); in copybytes()
335 resbuf = malloc(BUFSIZ); in main()
336 if (resbuf == NULL) in main()
460 hln = resbuf + resbufpos; in main()
462 resbufpos = (eolp - resbuf) + 2; in main()
613 hln = resbuf + resbufpos; in main()
615 resbufpos = (eolp - resbuf) + 2; in main()
644 hln = resbuf + resbufpos; in main()
646 resbufpos = (eolp - resbuf) + 2; in main()
[all …]
/freebsd-14.2/usr.bin/ruptime/
H A Druptime.c125 static char resbuf[32]; in interval() local
129 (void)snprintf(resbuf, sizeof(resbuf), "%s ??:??", updown); in interval()
130 return (resbuf); in interval()
139 (void)snprintf(resbuf, sizeof(resbuf), in interval()
142 (void)snprintf(resbuf, sizeof(resbuf), in interval()
144 return (resbuf); in interval()
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call3.c354 void *resbuf = NULL; in dotest() local
398 resbuf = realloc(resbuf, test->ressize); in dotest()
399 if ((argbuf == NULL) || (resbuf == NULL)) { in dotest()
404 bzero(resbuf, test->ressize); in dotest()
407 test->xdrres, resbuf, in dotest()
/freebsd-14.2/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c528 typedef struct resbuf { struct
665 resbuf_t resbuf; in write_compressed_buffer() local
666 resbuf.rb_size = RES_BUF_CHUNK_SIZE; in write_compressed_buffer()
667 resbuf.rb_base = xmalloc(resbuf.rb_size); in write_compressed_buffer()
669 resbuf.rb_ptr = resbuf.rb_base + sizeof (ctf_header_t); in write_compressed_buffer()
671 compress_start(&resbuf); in write_compressed_buffer()
673 &resbuf); in write_compressed_buffer()
674 compress_flush(&resbuf, Z_FULL_FLUSH); in write_compressed_buffer()
676 compress_end(&resbuf); in write_compressed_buffer()
678 *resszp = (resbuf.rb_ptr - resbuf.rb_base); in write_compressed_buffer()
[all …]
/freebsd-14.2/usr.sbin/rwhod/
H A Drwhod.c761 static char resbuf[32]; in interval() local
765 (void) sprintf(resbuf, " %s ??:??", updown); in interval()
766 return (resbuf); in interval()
774 (void) sprintf(resbuf, "%s %2d+%02d:%02d", in interval()
777 (void) sprintf(resbuf, "%s %2d:%02d", in interval()
780 return (resbuf); in interval()
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c452 u_char *resbuf, embuf[100]; in dsock_input() local
457 if ((resbuf = malloc(resbufsiz + 1)) == NULL) { in dsock_input()
464 if ((len = NgRecvData(fd, resbuf, resbufsiz + 1, hook)) == -1) { in dsock_input()
467 free(resbuf); in dsock_input()
471 free(resbuf); in dsock_input()
477 free(resbuf); in dsock_input()
488 (*d->func)(hook, resbuf, len, d->arg); in dsock_input()
492 free(resbuf); in dsock_input()