Home
last modified time | relevance | path

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

/freebsd/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/libexec/phttpget/
H A Dphttpget.c228 memmove(resbuf, resbuf + *resbufpos, in readln()
273 len = recv(sd, resbuf, BUFSIZ, 0); in copybytes()
334 resbuf = malloc(BUFSIZ); in main()
335 if (resbuf == NULL) in main()
459 hln = resbuf + resbufpos; in main()
461 resbufpos = (eolp - resbuf) + 2; in main()
612 hln = resbuf + resbufpos; in main()
614 resbufpos = (eolp - resbuf) + 2; in main()
643 hln = resbuf + resbufpos; in main()
645 resbufpos = (eolp - resbuf) + 2; in main()
[all …]
/freebsd/usr.bin/ruptime/
H A Druptime.c114 static char resbuf[32]; in interval() local
118 (void)snprintf(resbuf, sizeof(resbuf), "%s ??:??", updown); in interval()
119 return (resbuf); in interval()
128 (void)snprintf(resbuf, sizeof(resbuf), in interval()
131 (void)snprintf(resbuf, sizeof(resbuf), in interval()
133 return (resbuf); in interval()
/freebsd/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/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/usr.sbin/rwhod/
H A Drwhod.c748 static char resbuf[32]; in interval() local
752 (void) sprintf(resbuf, " %s ??:??", updown); in interval()
753 return (resbuf); in interval()
761 (void) sprintf(resbuf, "%s %2d+%02d:%02d", in interval()
764 (void) sprintf(resbuf, "%s %2d:%02d", in interval()
767 return (resbuf); in interval()
/freebsd/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()