Home | History | Annotate | Download | only in norm

Lines Matching refs:utf8

9 import "unicode/utf8"
19 maxByteBufferSize = utf8.UTFMax * maxBufferSize // 128
201 rb.nbyte += utf8.UTFMax
282 sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
283 rb.nbyte += utf8.UTFMax
291 sz := utf8.EncodeRune(rb.byte[bn:], rune(r))
298 r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size])
389 c, _ := utf8.DecodeRune(b)
401 utf8.EncodeRune(buf, jamoLBase+r/jamoVCount)
402 utf8.EncodeRune(buf[JamoUTF8Len:], jamoVBase+r%jamoVCount)
404 utf8.EncodeRune(buf[2*JamoUTF8Len:], jamoTBase+x)