HomeSort by relevance Sort by last modified time
    Searched refs:rune (Results 1 - 25 of 531) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/regexp/
onepass_test.go 15 left, right, merged []rune
21 []rune{69, 69},
22 []rune{},
23 []rune{69, 69},
29 []rune{69, 69},
30 []rune{69, 69},
31 []rune{},
37 []rune{69, 69},
38 []rune{69, 69},
39 []rune{},
    [all...]
  /prebuilts/go/linux-x86/src/regexp/
onepass_test.go 15 left, right, merged []rune
21 []rune{69, 69},
22 []rune{},
23 []rune{69, 69},
29 []rune{69, 69},
30 []rune{69, 69},
31 []rune{},
37 []rune{69, 69},
38 []rune{69, 69},
39 []rune{},
    [all...]
  /prebuilts/go/darwin-x86/src/unicode/
example_test.go 13 // rune belongs to. Note that runes may fit into more than one range.
21 fmt.Println("\tis control rune")
24 fmt.Println("\tis digit rune")
27 fmt.Println("\tis graphic rune")
30 fmt.Println("\tis letter rune")
33 fmt.Println("\tis lower case rune")
36 fmt.Println("\tis mark rune")
39 fmt.Println("\tis number rune")
42 fmt.Println("\tis printable rune")
45 fmt.Println("\tis not printable rune")
    [all...]
letter.go 78 type d [MaxCase]rune // to make the CaseRanges text shorter
87 // linearMax is the maximum size table for linear search for non-Latin1 rune.
157 // Is reports whether the rune is in the specified table of ranges.
158 func Is(rangeTab *RangeTable, r rune) bool {
160 if len(r16) > 0 && r <= rune(r16[len(r16)-1].Hi) {
164 if len(r32) > 0 && r >= rune(r32[0].Lo) {
170 func isExcludingLatin(rangeTab *RangeTable, r rune) bool {
172 if off := rangeTab.LatinOffset; len(r16) > off && r <= rune(r16[len(r16)-1].Hi) {
176 if len(r32) > 0 && r >= rune(r32[0].Lo) {
182 // IsUpper reports whether the rune is an upper case letter
    [all...]
  /prebuilts/go/linux-x86/src/unicode/
example_test.go 13 // rune belongs to. Note that runes may fit into more than one range.
21 fmt.Println("\tis control rune")
24 fmt.Println("\tis digit rune")
27 fmt.Println("\tis graphic rune")
30 fmt.Println("\tis letter rune")
33 fmt.Println("\tis lower case rune")
36 fmt.Println("\tis mark rune")
39 fmt.Println("\tis number rune")
42 fmt.Println("\tis printable rune")
45 fmt.Println("\tis not printable rune")
    [all...]
letter.go 78 type d [MaxCase]rune // to make the CaseRanges text shorter
87 // linearMax is the maximum size table for linear search for non-Latin1 rune.
157 // Is reports whether the rune is in the specified table of ranges.
158 func Is(rangeTab *RangeTable, r rune) bool {
160 if len(r16) > 0 && r <= rune(r16[len(r16)-1].Hi) {
164 if len(r32) > 0 && r >= rune(r32[0].Lo) {
170 func isExcludingLatin(rangeTab *RangeTable, r rune) bool {
172 if off := rangeTab.LatinOffset; len(r16) > off && r <= rune(r16[len(r16)-1].Hi) {
176 if len(r32) > 0 && r >= rune(r32[0].Lo) {
182 // IsUpper reports whether the rune is an upper case letter
    [all...]
  /prebuilts/go/darwin-x86/src/regexp/syntax/
perl_groups.go 10 var code1 = []rune{ /* \d */
14 var code2 = []rune{ /* \s */
20 var code3 = []rune{ /* \w */
35 var code4 = []rune{ /* [:alnum:] */
41 var code5 = []rune{ /* [:alpha:] */
46 var code6 = []rune{ /* [:ascii:] */
50 var code7 = []rune{ /* [:blank:] */
55 var code8 = []rune{ /* [:cntrl:] */
60 var code9 = []rune{ /* [:digit:] */
64 var code10 = []rune{ /* [:graph:] *
    [all...]
  /prebuilts/go/linux-x86/src/regexp/syntax/
perl_groups.go 10 var code1 = []rune{ /* \d */
14 var code2 = []rune{ /* \s */
20 var code3 = []rune{ /* \w */
35 var code4 = []rune{ /* [:alnum:] */
41 var code5 = []rune{ /* [:alpha:] */
46 var code6 = []rune{ /* [:ascii:] */
50 var code7 = []rune{ /* [:blank:] */
55 var code8 = []rune{ /* [:cntrl:] */
60 var code9 = []rune{ /* [:digit:] */
64 var code10 = []rune{ /* [:graph:] *
    [all...]
  /prebuilts/go/darwin-x86/test/
alias1.go 8 // and rune=int or rune=int32.
32 x = rune(3)
40 panic("rune != int and rune != int32")
49 case rune:
52 panic("int (or int32) != rune")
string_lit.go 47 gr1 = []rune(gx1)
48 gr2 = []rune(gx2)
99 r = 0x10ffff // largest rune value
101 assert(s, "\xf4\x8f\xbf\xbf", "largest rune")
104 assert(s, "\xef\xbf\xbd", "too-large rune")
107 assert(s, "\xef\xbf\xbd", "surrogate rune min")
110 assert(s, "\xef\xbf\xbd", "surrogate rune max")
113 assert(s, "\xef\xbf\xbd", "negative rune")
115 // the large rune tests again, this time using constants instead of a variable.
117 s = string(0x10ffff) // largest rune valu
    [all...]
rune.go 7 // Test rune constants, expressions and types.
10 package rune package
22 r = []rune{r0, r1, r2, r3, r4, r5, r6, r7}
  /prebuilts/go/linux-x86/test/
alias1.go 8 // and rune=int or rune=int32.
32 x = rune(3)
40 panic("rune != int and rune != int32")
49 case rune:
52 panic("int (or int32) != rune")
string_lit.go 47 gr1 = []rune(gx1)
48 gr2 = []rune(gx2)
99 r = 0x10ffff // largest rune value
101 assert(s, "\xf4\x8f\xbf\xbf", "largest rune")
104 assert(s, "\xef\xbf\xbd", "too-large rune")
107 assert(s, "\xef\xbf\xbd", "surrogate rune min")
110 assert(s, "\xef\xbf\xbd", "surrogate rune max")
113 assert(s, "\xef\xbf\xbd", "negative rune")
115 // the large rune tests again, this time using constants instead of a variable.
117 s = string(0x10ffff) // largest rune valu
    [all...]
rune.go 7 // Test rune constants, expressions and types.
10 package rune package
22 r = []rune{r0, r1, r2, r3, r4, r5, r6, r7}
  /prebuilts/go/darwin-x86/src/unicode/utf16/
utf16.go 30 func IsSurrogate(r rune) bool {
37 func DecodeRune(r1, r2 rune) rune {
44 // EncodeRune returns the UTF-16 surrogate pair r1, r2 for the given rune.
45 // If the rune is not a valid Unicode code point or does not need encoding,
47 func EncodeRune(r rune) (r1, r2 rune) {
56 func Encode(s []rune) []uint16 {
69 // normal rune
88 func Decode(s []uint16) []rune {
    [all...]
utf16_test.go 25 in []rune
30 {[]rune{1, 2, 3, 4}, []uint16{1, 2, 3, 4}},
31 {[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff},
33 {[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1},
65 if r1 != rune(tt.out[j]) || r2 != rune(tt.out[j+1]) {
83 out []rune
87 {[]uint16{1, 2, 3, 4}, []rune{1, 2, 3, 4}},
89 []rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}},
90 {[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}}
    [all...]
  /prebuilts/go/linux-x86/src/unicode/utf16/
utf16.go 30 func IsSurrogate(r rune) bool {
37 func DecodeRune(r1, r2 rune) rune {
44 // EncodeRune returns the UTF-16 surrogate pair r1, r2 for the given rune.
45 // If the rune is not a valid Unicode code point or does not need encoding,
47 func EncodeRune(r rune) (r1, r2 rune) {
56 func Encode(s []rune) []uint16 {
69 // normal rune
88 func Decode(s []uint16) []rune {
    [all...]
utf16_test.go 25 in []rune
30 {[]rune{1, 2, 3, 4}, []uint16{1, 2, 3, 4}},
31 {[]rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff},
33 {[]rune{'a', 'b', 0xd7ff, 0xd800, 0xdfff, 0xe000, 0x110000, -1},
65 if r1 != rune(tt.out[j]) || r2 != rune(tt.out[j+1]) {
83 out []rune
87 {[]uint16{1, 2, 3, 4}, []rune{1, 2, 3, 4}},
89 []rune{0xffff, 0x10000, 0x10001, 0x12345, 0x10ffff}},
90 {[]uint16{0xd800, 'a'}, []rune{0xfffd, 'a'}}
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue5704.go 8 // or rune slices return empty but non-nil slices.
15 myrunes []rune
27 func checkRunes(s []rune, arg string) {
42 checkRunes([]rune(""), `[]rune("")`)
43 checkRunes([]rune(mystring("")), `[]rune(mystring(""))`)
  /prebuilts/go/linux-x86/test/fixedbugs/
issue5704.go 8 // or rune slices return empty but non-nil slices.
15 myrunes []rune
27 func checkRunes(s []rune, arg string) {
42 checkRunes([]rune(""), `[]rune("")`)
43 checkRunes([]rune(mystring("")), `[]rune(mystring(""))`)
  /external/boringssl/src/util/fipstools/
delocate.peg.go 12 const endSymbol rune = 1114112
125 quote := strconv.Quote(string(([]rune(buffer)[node.begin:node.end])))
214 buffer []rune
236 func translatePositions(buffer []rune, positions []int) textPositionMap {
302 buffer []rune
308 p.buffer = []rune(p.Buffer)
482 if buffer[position] != rune('\n') {
489 if buffer[position] != rune(';') {
511 if buffer[position] != rune('.') {
517 if buffer[position] != rune('g')
    [all...]
  /prebuilts/go/darwin-x86/src/mime/
grammar.go 11 // isTSpecial reports whether rune is in 'tspecials' as defined by RFC
13 func isTSpecial(r rune) bool {
17 // isTokenChar reports whether rune is in 'token' as defined by RFC
19 func isTokenChar(r rune) bool {
  /prebuilts/go/darwin-x86/src/runtime/
utf8.go 9 runeError = '\uFFFD' // the "error" Rune or "Unicode replacement character"
42 // decoderune returns the non-ASCII rune at the start of
43 // s[k:] and the index after the rune in s.
46 // the to be decoded rune is a non-ASCII rune.
51 func decoderune(s string, k int) (r rune, pos int) {
64 r = rune(s[0]&mask2)<<6 | rune(s[1]&maskx)
73 r = rune(s[0]&mask3)<<12 | rune(s[1]&maskx)<<6 | rune(s[2]&maskx
    [all...]
  /prebuilts/go/linux-x86/src/mime/
grammar.go 11 // isTSpecial reports whether rune is in 'tspecials' as defined by RFC
13 func isTSpecial(r rune) bool {
17 // isTokenChar reports whether rune is in 'token' as defined by RFC
19 func isTokenChar(r rune) bool {
  /prebuilts/go/linux-x86/src/runtime/
utf8.go 9 runeError = '\uFFFD' // the "error" Rune or "Unicode replacement character"
42 // decoderune returns the non-ASCII rune at the start of
43 // s[k:] and the index after the rune in s.
46 // the to be decoded rune is a non-ASCII rune.
51 func decoderune(s string, k int) (r rune, pos int) {
64 r = rune(s[0]&mask2)<<6 | rune(s[1]&maskx)
73 r = rune(s[0]&mask3)<<12 | rune(s[1]&maskx)<<6 | rune(s[2]&maskx
    [all...]

Completed in 338 milliseconds

1 2 3 4 5 6 7 8 91011>>