Home | History | Annotate | Download | only in base32

Lines Matching refs:nbuf

189 	nbuf int        // number of bytes in buf
199 if e.nbuf > 0 {
201 for i = 0; i < len(p) && e.nbuf < 5; i++ {
202 e.buf[e.nbuf] = p[i]
203 e.nbuf++
207 if e.nbuf < 5 {
214 e.nbuf = 0
236 e.nbuf = len(p)
245 if e.err == nil && e.nbuf > 0 {
246 e.enc.Encode(e.out[0:], e.buf[0:e.nbuf])
247 e.nbuf = 0
401 nbuf int
442 nn, d.err = readEncodedData(d.r, d.buf[d.nbuf:nn], 8-d.nbuf)
443 d.nbuf += nn
444 if d.nbuf < 8 {
449 nr := d.nbuf / 8 * 8
450 nw := d.nbuf / 8 * 5
459 d.nbuf -= nr
460 for i := 0; i < d.nbuf; i++ {