HomeSort by: relevance | last modified time | path
    Searched refs:databuf (Results 1 - 25 of 80) sorted by relevancy

1 2 3 4

  /src/tests/crypto/opencrypto/
h_gcm.c 57 unsigned char databuf[16]; local
76 memset(databuf, 0, sizeof(databuf));
82 co.dst = databuf;
96 for (i = 0; i < sizeof(databuf); i++)
97 printf("%02x ", databuf[i]);
111 co.len = sizeof(databuf);
112 co.src = databuf;
  /src/external/mpl/bind/dist/tests/isc/
proxyheader_test.c 169 isc_buffer_t databuf = { 0 }; local
170 isc_buffer_init(&databuf, (void *)data, size);
171 isc_buffer_add(&databuf, size);
173 for (; isc_buffer_remaininglength(&databuf) > 0;) {
180 &databuf));
183 isc_buffer_remainingregion(&databuf, &remaining);
190 isc_buffer_forward(&databuf, sz);
502 isc_buffer_t databuf; local
518 isc_buffer_init(&databuf, (void *)data, sizeof(data));
520 isc_buffer_putmem(&databuf, header, sizeof(header))
571 isc_buffer_t databuf; local
743 isc_buffer_t databuf = { 0 }; local
820 isc_buffer_t databuf = { 0 }; local
945 isc_buffer_t databuf = { 0 }; local
    [all...]
  /src/include/
res_update.h 46 struct databuf *r_dp; /*%< databuf to process */
47 struct databuf *r_deldp; /*%< databuf's deleted/overwritten */
  /src/external/bsd/libbind/dist/include/
res_update.h 48 struct databuf *r_dp; /*%< databuf to process */
49 struct databuf *r_deldp; /*%< databuf's deleted/overwritten */
  /src/sys/dev/
efi.c 338 void *databuf = NULL; local
366 databuf = kmem_alloc(databufsize, KM_SLEEP);
367 error = copyin(var->data, databuf, databufsize);
375 &datasize, databuf);
382 error = copyout(databuf, var->data,
390 if (databuf != NULL) {
391 kmem_free(databuf, databufsize);
444 uint16_t *databuf = NULL; local
461 databuf = kmem_alloc(var->datasize, KM_SLEEP);
462 error = copyin(var->data, databuf, var->datasize)
    [all...]
  /src/sys/dev/onewire/
ds28e17iic.c 221 const void *cmdbuf, size_t cmdlen, void *databuf, size_t datalen, int flags)
244 if (databuf != NULL &&
252 databuf == NULL)
260 * cmdbuf and databuf which can use the chip's ability to add to a
262 * cmdbuf or the databuf, in which case, just figure out if a stop
267 databuf != NULL) {
293 dcmd, 0xff, datalen, databuf, 0, crc16, &i2c_status);
311 /* Either the cmdbuf or databuf has something, figure out which
318 buf = databuf;
358 void *databuf, size_t datalen, int flags
    [all...]
  /src/sys/arch/arm/broadcom/
bcm2835_bscvar.h 71 void *databuf; member in struct:bsciic_softc::__anon1016
bcm2835_bsc.c 391 sc->sc_buf = sc->sc_exec.databuf;
411 sc->sc_buf = sc->sc_exec.databuf;
442 size_t cmdlen, void *databuf, size_t datalen, int flags)
461 sc->sc_exec.databuf = databuf;
  /src/sys/sys/
ataio.h 18 void * databuf; /* Pointer to I/O data buffer */ member in struct:atareq
scsiio.h 17 void * databuf; /* address in user space of buffer */ member in struct:scsireq
  /src/sys/dev/usb/
umcpmio_iic.c 171 const void *cmdbuf, size_t cmdlen, void *databuf, size_t datalen,
202 if (databuf != NULL)
220 if (databuf != NULL)
221 memcpy(&i2c_req.data[remaining], databuf, datalen);
332 const void *cmdbuf, size_t cmdlen, void *databuf, size_t datalen, int
477 if (databuf == NULL ||
480 " databuf is NULL\n"));
487 memcpy(databuf, &i2c_fetch_res.data[0], size);
495 size_t cmdlen, void *databuf, size_t datalen, int flags)
509 if (databuf != NULL
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/dns/
tsig.c 766 isc_buffer_t databuf, sigbuf; local
811 isc_buffer_init(&databuf, data, sizeof(data));
874 isc_buffer_putuint16(&databuf, querytsig.siglen);
875 if (isc_buffer_availablelength(&databuf) <
881 isc_buffer_putmem(&databuf, querytsig.signature,
883 isc_buffer_usedregion(&databuf, &r);
922 isc_buffer_clear(&databuf);
923 isc_buffer_putuint16(&databuf, dns_rdataclass_any);
924 isc_buffer_putuint32(&databuf, 0); /* ttl */
925 isc_buffer_usedregion(&databuf, &r)
1078 isc_buffer_t databuf; local
1430 isc_buffer_t databuf; local
    [all...]
rootns.c 293 char databuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:123.123.123.123")]; local
306 isc_buffer_init(&buffer, databuf, sizeof(databuf) - 1);
309 databuf[isc_buffer_usedlength(&buffer)] = '\0';
315 sep, viewname, namebuf, typebuf, databuf);
321 sep, viewname, namebuf, typebuf, databuf);
  /src/external/mpl/bind/dist/lib/dns/
tsig.c 556 isc_buffer_t databuf, sigbuf; local
603 isc_buffer_init(&databuf, data, sizeof(data));
658 isc_buffer_putuint16(&databuf, querytsig.siglen);
659 if (isc_buffer_availablelength(&databuf) <
665 isc_buffer_putmem(&databuf, querytsig.signature,
667 isc_buffer_usedregion(&databuf, &r);
706 isc_buffer_clear(&databuf);
707 isc_buffer_putuint16(&databuf, dns_rdataclass_any);
708 isc_buffer_putuint32(&databuf, 0); /* ttl */
709 isc_buffer_usedregion(&databuf, &r)
843 isc_buffer_t databuf; local
1200 isc_buffer_t databuf; local
    [all...]
rootns.c 312 char databuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:123.123.123.123")]; local
325 isc_buffer_init(&buffer, databuf, sizeof(databuf) - 1);
328 databuf[isc_buffer_usedlength(&buffer)] = '\0';
334 sep, viewname, namebuf, typebuf, databuf);
340 sep, viewname, namebuf, typebuf, databuf);
  /src/external/mpl/bind/dist/bin/tests/system/rpz/testlib/
test-data.c 689 databuf[256] = { 0 }; local
699 &ttl, rrbuf, databuf);
855 if (!strcmp(databuf, ".")) {
857 } else if (!strcmp(databuf, "*.")) {
859 } else if (!strcasecmp(databuf, "rpz-passthru.")) {
861 } else if (!strcasecmp(databuf, "rpz-drop.")) {
863 } else if (!strcasecmp(databuf, "rpz-tcp-only.")) {
872 ftext = strstr(updstr, databuf);
890 strncpy(databuf, ftext,
891 len < sizeof(databuf) ? len : sizeof(databuf))
1135 databuf[256] = { 0 }; local
    [all...]
  /src/tests/lib/libnvmm/
h_io_assist.c 53 static char *databuf; variable
134 databuf = mmap(NULL, PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE,
136 if (databuf == MAP_FAILED)
141 if (nvmm_hva_map(mach, (uintptr_t)databuf, PAGE_SIZE) == -1)
147 ret = nvmm_gpa_map(mach, (uintptr_t)databuf, 0x1000, PAGE_SIZE,
296 memset(databuf, 0, PAGE_SIZE);
302 strcpy(databuf, test->wanted);
308 res = databuf;
  /src/external/mpl/bind/dist/bin/rndc/
rndc.c 74 static isc_buffer_t *databuf = NULL; variable
435 isc_buffer_clear(databuf);
437 isc_buffer_add(databuf, 4);
440 isccc_cc_towire(request, &databuf, algorithm, &secret));
442 isc_buffer_init(&b, databuf->base, 4);
443 isc_buffer_putuint32(&b, databuf->used - 4);
445 r.base = databuf->base;
446 r.length = databuf->used;
492 isc_buffer_clear(databuf);
494 isc_buffer_add(databuf, 4)
    [all...]
  /src/external/mpl/bind/dist/tests/dns/
tsig_test.c 71 isc_buffer_t databuf; local
79 isc_buffer_init(&databuf, tsigbuf, sizeof(tsigbuf));
81 isc_buffer_putuint16(&databuf, tsig.siglen);
82 isc_buffer_putmem(&databuf, tsig.signature, tsig.siglen);
83 isc_buffer_usedregion(&databuf, &r);
99 isc_buffer_t databuf; local
124 isc_buffer_init(&databuf, tsigbuf, sizeof(tsigbuf));
125 isc_buffer_putuint48(&databuf, tsig.timesigned);
126 isc_buffer_putuint16(&databuf, tsig.fudge);
127 isc_buffer_usedregion(&databuf, &r)
    [all...]
dst_test.c 148 isc_buffer_t databuf, sigbuf; local
188 isc_buffer_init(&databuf, data, (unsigned int)size);
189 isc_buffer_add(&databuf, (unsigned int)size);
190 isc_buffer_usedregion(&databuf, &datareg);
  /src/sys/dev/i2c/
motoi2c.c 208 void *databuf, size_t datalen,
221 __func__, op, addr, cmdbuf, cmdlen, databuf, datalen, flags,
309 uint8_t *dataptr = databuf;
353 const uint8_t *dataptr = databuf;
  /src/sys/dev/pci/
geodeide.c 266 geodeide_dma_init(void *v, int channel, int drive, void *databuf,
274 if (((uintptr_t)databuf) & 0xf)
277 return (pciide_dma_init(v, channel, drive, databuf, datalen, flags));
  /src/sys/arch/amiga/dev/
siop2.c 880 acb->ds.chain[nchain].databuf = (char *) kvtop (addr);
887 acb->ds.chain[nchain].databuf);
892 if (acb->ds.chain[nchain].databuf == dmaend) {
901 dmaend = acb->ds.chain[nchain].databuf +
915 printf (" [%d] %8p %lx\n", i, acb->ds.chain[i].databuf,
1197 i, acb->ds.chain[i].databuf,
1299 acb->ds.chain[0].databuf, acb->ds.chain[0].datalen, dfifo, dbc, sstat1, siopngstarts, acb);
1320 acb->ds.chain[0].databuf, acb->ds.chain[0].datalen);
1328 acb->iob_curbuf = (u_long)acb->ds.chain[n].databuf;
1360 if (acb->iob_curbuf >= (long)acb->ds.chain[i].databuf &
    [all...]
  /src/sys/dev/ic/
ninjaata32.c 58 void *databuf, size_t datalen, int flags);
362 njata32_dma_init(void *v, int channel, int drive, void *databuf,
385 if (((uintptr_t)databuf & 1) || (datalen & 1)) {
387 NJATA32NAME(sc), databuf, (unsigned)datalen));
391 DPRINTF(("%s: njata32_dma_init: %s: databuf %p, datalen %u\n",
393 databuf, (unsigned)datalen));
396 databuf, datalen, NULL, BUS_DMA_NOWAIT | BUS_DMA_STREAMING |
420 * top: databuf + skip
  /src/lib/libc/net/
ip6opt.c 547 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen)
550 memcpy((uint8_t *)databuf + offset, val, vallen);
650 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen)
654 memcpy(val, (uint8_t *)databuf + offset, vallen);

Completed in 40 milliseconds

1 2 3 4