Home | History | Annotate | Download | only in strconv

Lines Matching refs:Fprintf

139 	fmt.Fprintf(&buf, `// Copyright 2013 The Go Authors. All rights reserved.
142 fmt.Fprintf(&buf, "// DO NOT EDIT. GENERATED BY\n")
143 fmt.Fprintf(&buf, "// go run makeisprint.go -output isprint.go\n\n")
144 fmt.Fprintf(&buf, "package strconv\n\n")
146 fmt.Fprintf(&buf, "// (%d+%d+%d)*2 + (%d)*4 = %d bytes\n\n",
152 fmt.Fprintf(&buf, "var isPrint16 = []uint16{\n")
154 fmt.Fprintf(&buf, "\t%#04x, %#04x,\n", range16[i], range16[i+1])
156 fmt.Fprintf(&buf, "}\n\n")
158 fmt.Fprintf(&buf, "var isNotPrint16 = []uint16{\n")
160 fmt.Fprintf(&buf, "\t%#04x,\n", r)
162 fmt.Fprintf(&buf, "}\n\n")
164 fmt.Fprintf(&buf, "var isPrint32 = []uint32{\n")
166 fmt.Fprintf(&buf, "\t%#06x, %#06x,\n", range32[i], range32[i+1])
168 fmt.Fprintf(&buf, "}\n\n")
170 fmt.Fprintf(&buf, "var isNotPrint32 = []uint16{ // add 0x10000 to each entry\n")
175 fmt.Fprintf(&buf, "\t%#04x,\n", r-0x10000)
177 fmt.Fprintf(&buf, "}\n\n")
180 fmt.Fprintf(&buf, "// isGraphic lists the graphic runes not matched by IsPrint.\n")
181 fmt.Fprintf(&buf, "var isGraphic = []uint16{\n")
191 fmt.Fprintf(&buf, "\t%#04x,\n", r)
194 fmt.Fprintf(&buf, "}\n")