Home
last modified time | relevance | path

Searched refs:bytesleft (Results 1 – 5 of 5) sorted by relevance

/freebsd-10-stable/libexec/bootpd/
Ddovend.c53 int bytesleft = len; local
58 if (bytesleft < (LEN)) { \
82 bytesleft -= 6;
93 bytesleft -= 6; /* Fix real count */
106 bytesleft -= len + 2;
119 bytesleft -= len + 2;
127 &vp, &bytesleft))
141 bytesleft -= len + 2;
149 &vp, &bytesleft))
163 bytesleft -= len + 2;
[all …]
Dbootpd.c1225 if (bytesleft < (LEN)) { \
1236 int bytesleft, len; local
1304 bytesleft = ((byte*)bp + pktlen) - vp;
1308 pktlen, bytesleft);
1314 bytesleft -= 4;
1321 bytesleft -= 6; /* Fix real count */
1325 &vp, &bytesleft);
1336 bytesleft -= 4; /* Tag, length, and 16 bit blocksize */
1354 bytesleft -= len + 3;
1362 len = dovend_rfc1497(hp, vp, bytesleft - 1);
[all …]
/freebsd-10-stable/libexec/bootpd/tools/bootpef/
Dbootpef.c277 int bytesleft, len; local
284 bytesleft = BUFFERSIZE;
287 bytesleft -= 4;
293 len = dovend_rfc1497(hp, vp, bytesleft);
295 bytesleft -= len;
297 if (bytesleft < 1) {
303 bytesleft--;
/freebsd-10-stable/sys/dev/nand/
Dnfc_fsl.c558 int bytesleft = 0; in fsl_nfc_read_buf() local
565 bytesleft = MIN((unsigned int)len, sc->pgsz - sc->fcm.read_ptr); in fsl_nfc_read_buf()
568 bus_read_region_1(sc->res, offset, buf, bytesleft); in fsl_nfc_read_buf()
569 sc->fcm.read_ptr += bytesleft; in fsl_nfc_read_buf()
577 int bytesleft = 0; in fsl_nfc_write_buf() local
584 bytesleft = MIN((unsigned int)len, sc->pgsz - sc->fcm.read_ptr); in fsl_nfc_write_buf()
587 bytesleft, sc->pgsz, sc->fcm.read_ptr); in fsl_nfc_write_buf()
590 bus_write_region_1(sc->res, offset, buf, bytesleft); in fsl_nfc_write_buf()
591 sc->fcm.read_ptr += bytesleft; in fsl_nfc_write_buf()
/freebsd-10-stable/contrib/gcclibs/libcpp/
Dcharset.c1042 size_t bytesleft = 6; in convert_ucn() local
1051 rval = one_cppchar_to_utf8 (ucn, &bufp, &bytesleft); in convert_ucn()
1058 else if (!APPLY_CONVERSION (cvt, buf, 6 - bytesleft, tbuf)) in convert_ucn()