Home | History | Annotate | Download | only in fmt

Lines Matching refs:utf8

15 	"unicode/utf8"
306 buf [utf8.UTFMax]byte // used only inside ReadRune
308 pendBuf [utf8.UTFMax]byte // bytes left over
334 size = utf8.RuneLen(rr)
341 if r.buf[0] < utf8.RuneSelf { // fast check for common ASCII case
349 for n = 1; !utf8.FullRune(r.buf[:n]); n++ {
359 rr, size = utf8.DecodeRune(r.buf[:n])
1069 fmtc, w := utf8.DecodeRuneInString(format[i:])
1088 fmtc, w = utf8.DecodeRuneInString(format[i:])
1128 nextc, _ := utf8.DecodeRuneInString(format[i+w:]) // will not match % if string is empty
1176 c, w := utf8.DecodeRuneInString(format[i:])