/third_party/libphonenumber/cpp/src/phonenumbers/utf/ |
H A D | rune.c | 67 charntorune(Rune *rune, const char *str, int length) in charntorune() argument 83 *rune = (Rune)c; in charntorune() 105 *rune = (Rune)l; in charntorune() 127 *rune = (Rune)l; in charntorune() 145 *rune = (Rune)l; in charntorune() 156 *rune = Bad; in charntorune() 159 *rune = Bad; in charntorune() 170 chartorune(Rune *rune, const char *str) in chartorune() argument 181 *rune = (Rune)c; in chartorune() 198 *rune in chartorune() 248 isvalidcharntorune(const char* str, int length, Rune* rune, int* consumed) isvalidcharntorune() argument 255 runetochar(char *str, const Rune *rune) runetochar() argument 314 runelen(Rune rune) runelen() argument [all...] |
H A D | unilib.cc | 49 Rune rune; in SpanInterchangeValid() local 53 int bytes_consumed = charntorune(&rune, p, static_cast<int>(end - p)); in SpanInterchangeValid() 57 if ((rune == Runeerror && bytes_consumed <= 1) || in SpanInterchangeValid() 58 !IsInterchangeValidCodepoint(rune)) { in SpanInterchangeValid()
|
H A D | unicodetext.cc | 89 Rune rune; in ConvertToInterchangeValid() local 91 if (isvalidcharntorune(start, static_cast<int>(end - start), &rune, &n)) { in ConvertToInterchangeValid() 369 Rune rune = c; in push_back() local 370 int len = runetochar(buf, &rune); in push_back()
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/lexer/ |
H A D | lexer_test.go | 37 {"ident", tok.Token{Kind: tok.Identifier, Runes: []rune("ident"), Source: tok.Source{ 40 {"ident_123", tok.Token{Kind: tok.Identifier, Runes: []rune("ident_123"), Source: tok.Source{ 43 {"_ident_", tok.Token{Kind: tok.Identifier, Runes: []rune("_ident_"), Source: tok.Source{ 46 {"123456789", tok.Token{Kind: tok.Integer, Runes: []rune("123456789"), Source: tok.Source{ 49 {"match", tok.Token{Kind: tok.Match, Runes: []rune("match"), Source: tok.Source{ 52 {"fn", tok.Token{Kind: tok.Function, Runes: []rune("fn"), Source: tok.Source{ 55 {"type", tok.Token{Kind: tok.Type, Runes: []rune("type"), Source: tok.Source{ 58 {"enum", tok.Token{Kind: tok.Enum, Runes: []rune("enum"), Source: tok.Source{ 61 {":", tok.Token{Kind: tok.Colon, Runes: []rune(":"), Source: tok.Source{ 64 {",", tok.Token{Kind: tok.Comma, Runes: []rune(","), Sourc [all...] |
H A D | lexer.go | 27 func Lex(src []rune, filepath string) ([]tok.Token, error) { 41 runes []rune 105 // next() consumes and returns the next rune in the source, or 0 if reached EOF 106 func (l *lexer) next() rune { 129 // peek() returns the rune `i` runes ahead of the current position 130 func (l *lexer) peek(i int) rune { 138 type predicate func(r rune) bool 168 runes := []rune(s) 181 // toFirst() returns a predicate that returns true if the rune is not in `runes` 185 func toFirst(runes ...rune) predicat [all...] |
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/ |
H A D | enums.go | 133 func formatEnum(f fmt.State, c rune, i int, names []string, unknown string) { 154 func (e TextDocumentSyncKind) Format(f fmt.State, c rune) { 162 func (e InitializeError) Format(f fmt.State, c rune) { 170 func (e MessageType) Format(f fmt.State, c rune) { 178 func (e FileChangeType) Format(f fmt.State, c rune) { 186 func (e WatchKind) Format(f fmt.State, c rune) { 194 func (e CompletionTriggerKind) Format(f fmt.State, c rune) { 202 func (e DiagnosticSeverity) Format(f fmt.State, c rune) { 210 func (e DiagnosticTag) Format(f fmt.State, c rune) { 218 func (e CompletionItemKind) Format(f fmt.State, c rune) { [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
H A D | enums.go | 133 func formatEnum(f fmt.State, c rune, i int, names []string, unknown string) { 154 func (e TextDocumentSyncKind) Format(f fmt.State, c rune) { 162 func (e InitializeError) Format(f fmt.State, c rune) { 170 func (e MessageType) Format(f fmt.State, c rune) { 178 func (e FileChangeType) Format(f fmt.State, c rune) { 186 func (e WatchKind) Format(f fmt.State, c rune) { 194 func (e CompletionTriggerKind) Format(f fmt.State, c rune) { 202 func (e DiagnosticSeverity) Format(f fmt.State, c rune) { 210 func (e DiagnosticTag) Format(f fmt.State, c rune) { 218 func (e CompletionItemKind) Format(f fmt.State, c rune) { [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/ast/ |
H A D | ast.go | 63 func (e EnumDecl) Format(w fmt.State, verb rune) { 79 func (e EnumEntry) Format(w fmt.State, verb rune) { 95 func (m MatcherDecl) Format(w fmt.State, verb rune) { 112 func (f FunctionDecl) Format(w fmt.State, verb rune) { 126 func (l Parameters) Format(w fmt.State, verb rune) { 145 func (p Parameter) Format(w fmt.State, verb rune) { 156 func (o MatcherOptions) Format(w fmt.State, verb rune) { 171 func (l TemplatedNames) Format(w fmt.State, verb rune) { 190 func (t TemplatedName) Format(w fmt.State, verb rune) { 208 func (p TypeDecl) Format(w fmt.State, verb rune) { [all...] |
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/ |
H A D | enums.go | 133 func formatEnum(f fmt.State, c rune, i int, names []string, unknown string) { 154 func (e TextDocumentSyncKind) Format(f fmt.State, c rune) { 162 func (e InitializeError) Format(f fmt.State, c rune) { 170 func (e MessageType) Format(f fmt.State, c rune) { 178 func (e FileChangeType) Format(f fmt.State, c rune) { 186 func (e WatchKind) Format(f fmt.State, c rune) { 194 func (e CompletionTriggerKind) Format(f fmt.State, c rune) { 202 func (e DiagnosticSeverity) Format(f fmt.State, c rune) { 210 func (e DiagnosticTag) Format(f fmt.State, c rune) { 218 func (e CompletionItemKind) Format(f fmt.State, c rune) { [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | escaping.cc | 182 char32_t rune = 0; in CUnescapeInternal() local 194 rune = (rune << 4) + hex_digit_to_int(*++p); // Advance p. in CUnescapeInternal() 203 if ((rune == 0) && leave_nulls_escaped) { in CUnescapeInternal() 210 if (IsSurrogate(rune, absl::string_view(hex_start, 5), error)) { in CUnescapeInternal() 213 d += strings_internal::EncodeUTF8Char(d, rune); in CUnescapeInternal() 218 char32_t rune = 0; in CUnescapeInternal() local 230 // Don't change rune until we're sure this in CUnescapeInternal() 232 uint32_t newrune = (rune << 4) + hex_digit_to_int(*++p); in CUnescapeInternal() 241 rune in CUnescapeInternal() [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/tok/ |
H A D | tok.go | 51 // Location describes a rune location in the source code 57 // 0-based rune index 64 func (l Location) Format(w fmt.State, verb rune) { 91 func (s Source) Format(w fmt.State, verb rune) { 106 Runes []rune 111 func (t Token) Format(w fmt.State, verb rune) {
|
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/sem/ |
H A D | sem.go | 74 func (e EnumEntry) Format(w fmt.State, verb rune) { 166 func (o Overload) Format(w fmt.State, verb rune) { 198 func (p Parameter) Format(w fmt.State, verb rune) { 212 func (f FullyQualifiedName) Format(w fmt.State, verb rune) {
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/ |
H A D | uri.go | 150 return unicode.IsLetter(rune(path[0])) && path[1] == ':' 161 return uri[0] == '/' && unicode.IsLetter(rune(uri[1])) && uri[2] == ':'
|
H A D | utf16.go | 59 return len(utf16.Encode([]rune(string(start)))) + 1, nil 93 // a two point rune 95 // if we finished in a two point rune, do not advance past the first
|
H A D | parse.go | 95 last := strings.LastIndexFunc(remains, func(r rune) bool { return r < '0' || r > '9' })
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/ |
H A D | uri.go | 150 return unicode.IsLetter(rune(path[0])) && path[1] == ':' 161 return uri[0] == '/' && unicode.IsLetter(rune(uri[1])) && uri[2] == ':'
|
H A D | utf16.go | 59 return len(utf16.Encode([]rune(string(start)))) + 1, nil 93 // a two point rune 95 // if we finished in a two point rune, do not advance past the first
|
H A D | parse.go | 95 last := strings.LastIndexFunc(remains, func(r rune) bool { return r < '0' || r > '9' })
|
/third_party/spirv-tools/utils/vscode/src/lsp/span/ |
H A D | uri.go | 150 return unicode.IsLetter(rune(path[0])) && path[1] == ':' 161 return uri[0] == '/' && unicode.IsLetter(rune(uri[1])) && uri[2] == ':'
|
H A D | utf16.go | 59 return len(utf16.Encode([]rune(string(start)))) + 1, nil 93 // a two point rune 95 // if we finished in a two point rune, do not advance past the first
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/parser/ |
H A D | parser.go | 190 // next returns the next rune, or io.EOF if the last rune has already been 192 func (l *lexer) next() rune { 394 func isNumeric(r rune) bool { return unicode.IsDigit(r) } 395 func isAlpha(r rune) bool { return unicode.IsLetter(r) } 396 func isAlphaNumeric(r rune) bool { return isAlpha(r) || isNumeric(r) }
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/ |
H A D | parser.go | 190 // next returns the next rune, or io.EOF if the last rune has already been 192 func (l *lexer) next() rune { 394 func isNumeric(r rune) bool { return unicode.IsDigit(r) } 395 func isAlpha(r rune) bool { return unicode.IsLetter(r) } 396 func isAlphaNumeric(r rune) bool { return isAlpha(r) || isNumeric(r) }
|
/third_party/spirv-tools/utils/vscode/src/parser/ |
H A D | parser.go | 190 // next returns the next rune, or io.EOF if the last rune has already been 192 func (l *lexer) next() rune { 394 func isNumeric(r rune) bool { return unicode.IsDigit(r) } 395 func isAlpha(r rune) bool { return unicode.IsLetter(r) } 396 func isAlphaNumeric(r rune) bool { return isAlpha(r) || isNumeric(r) }
|
/third_party/skia/third_party/externals/tint/tools/src/match/ |
H A D | match.go | 53 for _, r := range []rune{'•', '¿'} {
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | strutil.cc | 381 char32 rune = 0; in UnescapeCEscapeSequences() local 385 rune = (rune << 4) + hex_digit_to_int(*++p); // Advance p. in UnescapeCEscapeSequences() 393 d += runetochar(d, &rune); in UnescapeCEscapeSequences() 398 char32 rune = 0; in UnescapeCEscapeSequences() local 402 // Don't change rune until we're sure this in UnescapeCEscapeSequences() 404 char32 newrune = (rune << 4) + hex_digit_to_int(*++p); in UnescapeCEscapeSequences() 412 rune = newrune; in UnescapeCEscapeSequences() 421 d += runetochar(d, &rune); in UnescapeCEscapeSequences()
|