HomeSort by relevance Sort by last modified time
    Searched full:runes (Results 1 - 25 of 176) sorted by null

1 2 3 4 5 6 7 8

  /prebuilts/go/darwin-x86/src/encoding/json/
fold_test.go 58 var runes []rune
60 runes = append(runes, rune(i))
62 runes = append(runes, kelvin, smallLongEss)
88 for _, r := range runes {
98 for _, r2 := range runes {
  /prebuilts/go/linux-x86/src/encoding/json/
fold_test.go 58 var runes []rune
60 runes = append(runes, rune(i))
62 runes = append(runes, kelvin, smallLongEss)
88 for _, r := range runes {
98 for _, r2 := range runes {
  /prebuilts/go/darwin-x86/src/unicode/utf8/
example_test.go 131 fmt.Println("runes =", utf8.RuneCount(buf))
134 // runes = 9
140 fmt.Println("runes =", utf8.RuneCountInString(str))
143 // runes = 9
utf8_test.go 202 // Check that a range loop and a []int conversion visit the same runes.
207 runes := []rune(ts)
208 if RuneCountInString(ts) != len(runes) {
209 t.Errorf("%q: expected %d runes; got %d", ts, len(runes), RuneCountInString(ts))
214 if r != runes[i] {
215 t.Errorf("%q[%d]: expected %c (%U); got %c (%U)", ts, i, runes[i], runes[i], r, r)
282 // Check that negative runes encode as U+FFFD.
utf8.go 6 // UTF-8. It includes functions to translate between runes and UTF-8 byte sequences.
367 // RuneCount returns the number of runes in p. Erroneous and short
368 // encodings are treated as single runes of width 1 byte.
396 // Valid reports whether p consists entirely of valid UTF-8-encoded runes.
405 // All valid runes of size 1 (those
416 // ValidString reports whether s consists entirely of valid UTF-8-encoded runes.
  /prebuilts/go/linux-x86/src/unicode/utf8/
example_test.go 131 fmt.Println("runes =", utf8.RuneCount(buf))
134 // runes = 9
140 fmt.Println("runes =", utf8.RuneCountInString(str))
143 // runes = 9
utf8_test.go 202 // Check that a range loop and a []int conversion visit the same runes.
207 runes := []rune(ts)
208 if RuneCountInString(ts) != len(runes) {
209 t.Errorf("%q: expected %d runes; got %d", ts, len(runes), RuneCountInString(ts))
214 if r != runes[i] {
215 t.Errorf("%q[%d]: expected %c (%U); got %c (%U)", ts, i, runes[i], runes[i], r, r)
282 // Check that negative runes encode as U+FFFD.
utf8.go 6 // UTF-8. It includes functions to translate between runes and UTF-8 byte sequences.
367 // RuneCount returns the number of runes in p. Erroneous and short
368 // encodings are treated as single runes of width 1 byte.
396 // Valid reports whether p consists entirely of valid UTF-8-encoded runes.
405 // All valid runes of size 1 (those
416 // ValidString reports whether s consists entirely of valid UTF-8-encoded runes.
  /prebuilts/go/darwin-x86/src/regexp/
onepass.go 370 // pass matching runes back through these no-ops.
398 runes := make([]rune, 0)
401 runes = append(runes, r0, r0)
403 runes = append(runes, r1, r1)
405 sort.Sort(runeSlice(runes))
407 runes = append(runes, inst.Rune...)
409 onePassRunes[pc] = runes
    [all...]
onepass_test.go 27 // identical runes, identical targets
35 // identical runes, different targets
  /prebuilts/go/linux-x86/src/regexp/
onepass.go 370 // pass matching runes back through these no-ops.
398 runes := make([]rune, 0)
401 runes = append(runes, r0, r0)
403 runes = append(runes, r1, r1)
405 sort.Sort(runeSlice(runes))
407 runes = append(runes, inst.Rune...)
409 onePassRunes[pc] = runes
    [all...]
onepass_test.go 27 // identical runes, identical targets
35 // identical runes, different targets
  /external/libutf/
utf.7 31 Internally, programs may store characters as runes.
43 Runes with values above 7F appear as sequences of two or more
63 to runes
rune.3 51 byte stream and runes.
93 runes pointed to by
137 returns the number of runes that
144 returns the number of complete runes that
utf.h 74 // runes pointed to by r into UTF.
91 // utflen returns the number of runes that are represented by the UTF
97 // utfnlen returns the number of complete runes that are represented
  /prebuilts/go/darwin-x86/src/html/template/
html.go 50 // htmlReplacementTable contains the runes that need to be escaped
79 // htmlNospaceReplacementTable contains the runes that need to be escaped
81 // The set of runes escaped is the union of the HTML specials and
137 // htmlReplacer returns s with runes replaced according to replacementTable
138 // and when badRunes is true, certain bad runes are allowed through unescaped.
144 // of the runes in the input. If we see a decoding error, the input
  /prebuilts/go/linux-x86/src/html/template/
html.go 50 // htmlReplacementTable contains the runes that need to be escaped
79 // htmlNospaceReplacementTable contains the runes that need to be escaped
81 // The set of runes escaped is the union of the HTML specials and
137 // htmlReplacer returns s with runes replaced according to replacementTable
138 // and when badRunes is true, certain bad runes are allowed through unescaped.
144 // of the runes in the input. If we see a decoding error, the input
  /prebuilts/go/darwin-x86/src/strconv/
doc.go 52 // QuoteRune and QuoteRuneToASCII are similar but accept runes and
  /prebuilts/go/linux-x86/src/strconv/
doc.go 52 // QuoteRune and QuoteRuneToASCII are similar but accept runes and
  /toolchain/binutils/binutils-2.25/bfd/
i386aout.c 25 files. Send me (sac@cygnus.com) the runes to make it work on your
  /external/regex-re2/re2/testing/
dump.cc 80 Rune r = re->runes()[i];
106 Rune r = re->runes()[i];
  /prebuilts/go/darwin-x86/src/go/types/
conversions.go 99 // "x is an integer or a slice of bytes or runes and T is a string type"
104 // "x is a string and T is a slice of bytes or runes"
  /prebuilts/go/darwin-x86/src/os/
file_windows.go 334 runes := make([]rune, 0, 256)
342 runes = append(runes, r)
353 for len(runes) > 0 {
354 m := len(runes)
358 chunk := runes[:m]
359 runes = runes[m:]
  /prebuilts/go/linux-x86/src/go/types/
conversions.go 99 // "x is an integer or a slice of bytes or runes and T is a string type"
104 // "x is a string and T is a slice of bytes or runes"
  /prebuilts/go/linux-x86/src/os/
file_windows.go 334 runes := make([]rune, 0, 256)
342 runes = append(runes, r)
353 for len(runes) > 0 {
354 m := len(runes)
358 chunk := runes[:m]
359 runes = runes[m:]

Completed in 607 milliseconds

1 2 3 4 5 6 7 8