Home | History | Annotate | Download | only in gcprog

Lines Matching defs:byte

39 	writeByte func(byte)
41 b [progMaxLiteral]byte
44 debugBuf []byte
48 // by calling writeByte for each byte in the program.
49 func (w *Writer) Init(writeByte func(byte)) {
65 // byte writes the byte x to the output.
66 func (w *Writer) byte(x byte) {
76 w.byte(0)
111 // flushing the current bits plus at least one byte for
127 w.byte(0x80 | byte(n))
129 w.byte(0x80)
170 func (w *Writer) Append(prog []byte, n int64) {
180 // The last byte of the prog terminates the program.
189 w.byte(x)
198 func progbits(p []byte) int64 {
228 func readvarint(p []byte) (int64, []byte) {
244 func (w *Writer) lit(x byte) {
259 w.byte(byte(0x80 | x))
262 w.byte(byte(x))
273 fmt.Fprintf(w.debug, "\t%02x", byte(w.nb))
275 w.byte(byte(w.nb))
283 w.byte(bits)
291 w.byte(bits)