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

1 2

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
utf.h 24 typedef signed int Rune; /* Code-point values in Unicode 4.0 are 21 bits wide.*/
28 UTFmax = 4, /* maximum bytes per rune */
30 Runeself = 0x80, /* rune and UTF sequences are the same (<) */
32 Runemax = 0x10FFFF, /* maximum rune value */
40 * rune routines
51 // runetochar copies (encodes) one rune, pointed to by r, to at most
54 int runetochar(char* s, const Rune* r);
58 // one rune, pointed to by r, and returns the number of bytes consumed.
67 int chartorune(Rune* r, const char* s);
77 int charntorune(Rune* r, const char* s, int n)
    [all...]
rune.c 58 * well-formed but incomplete (i.e., to get the whole Rune
59 * we'd need to read past str+length) then we'll set the Rune
66 charntorune(Rune *rune, const char *str, int length)
82 *rune = c;
104 *rune = l;
124 *rune = l;
142 *rune = l;
153 *rune = Bad;
156 *rune = Bad
    [all...]
  /external/chromium_org/third_party/re2/util/
utf.h 14 * This file and rune.cc have been converted to compile as C++ code
24 typedef signed int Rune; /* Code-point values in Unicode 4.0 are 21 bits wide.*/
28 UTFmax = 4, /* maximum bytes per rune */
30 Runeself = 0x80, /* rune and UTF sequences are the same (<) */
32 Runemax = 0x10FFFF, /* maximum rune value */
35 int runetochar(char* s, const Rune* r);
36 int chartorune(Rune* r, const char* s);
39 char* utfrune(const char*, Rune);
rune.cc 49 chartorune(Rune *rune, const char *str)
60 *rune = c;
77 *rune = l;
92 *rune = l;
107 *rune = l;
120 *rune = Bad;
125 runetochar(char *str, const Rune *rune)
134 c = *rune;
214 Rune rune; local
    [all...]
  /external/regex-re2/util/
utf.h 14 * This file and rune.cc have been converted to compile as C++ code
24 typedef signed int Rune; /* Code-point values in Unicode 4.0 are 21 bits wide.*/
28 UTFmax = 4, /* maximum bytes per rune */
30 Runeself = 0x80, /* rune and UTF sequences are the same (<) */
32 Runemax = 0x10FFFF, /* maximum rune value */
35 int runetochar(char* s, const Rune* r);
36 int chartorune(Rune* r, const char* s);
39 char* utfrune(const char*, Rune);
rune.cc 49 chartorune(Rune *rune, const char *str)
60 *rune = c;
77 *rune = l;
92 *rune = l;
107 *rune = l;
120 *rune = Bad;
125 runetochar(char *str, const Rune *rune)
134 c = *rune;
214 Rune rune; local
    [all...]
  /external/chromium_org/third_party/re2/re2/
unicode_casefold.h 65 // Returns the CaseFold* in the tables that contains rune.
66 // If rune is not in the tables, returns the first CaseFold* after rune.
67 // If rune is larger than any value in the tables, returns NULL.
68 extern CaseFold* LookupCaseFold(CaseFold*, int, Rune rune);
70 // Returns the result of applying the fold f to the rune r.
71 extern Rune ApplyFold(CaseFold *f, Rune r);
regexp.h 223 Rune lo;
224 Rune hi;
228 // This lets us look in a set to find the range covering a particular Rune.
250 bool Contains(Rune r);
328 Rune rune() { DCHECK_EQ(op_, kRegexpLiteral); return rune_; } function in class:re2::Regexp
332 Rune* runes() { DCHECK_EQ(op_, kRegexpLiteralString); return runes_; }
393 static Regexp* NewLiteral(Rune rune, ParseFlags flags);
395 static Regexp* LiteralString(Rune* runes, int nrunes, ParseFlags flags)
    [all...]
tostring.cc 25 static void AppendCCRange(string* t, Rune lo, Rune hi);
120 static void AppendLiteral(string *t, Rune r, bool foldcase) {
157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase);
295 // Appends a rune for use in a character class to the string t.
296 static void AppendCCChar(string* t, Rune r) {
331 static void AppendCCRange(string* t, Rune lo, Rune hi) {
parse.cc 62 // Pushes the literal rune r onto the stack.
63 bool PushLiteral(Rune r);
123 bool ParseCCCharacter(StringPiece* s, Rune *rp,
219 Rune r = re->ccb_->begin()->lo;
224 Rune r = re->ccb_->begin()->lo;
243 CaseFold* LookupCaseFold(CaseFold *f, int n, Rune r) {
270 // Returns the result of applying the fold f to the rune r.
271 Rune ApplyFold(CaseFold *f, Rune r) {
296 // Returns the next Rune in r's folding cycle (see unicode_casefold.h)
547 Rune rune; local
735 Rune rune = re->runes_[re->nrunes_ - 1]; local
1086 Rune rune = re2->rune_; local
    [all...]
regexp.cc 159 void Regexp::AddRuneToString(Rune r) {
163 runes_ = new Rune[8];
166 Rune *old = runes_;
167 runes_ = new Rune[nrunes_ * 2];
283 Regexp* Regexp::NewLiteral(Rune rune, ParseFlags flags) {
285 re->rune_ = rune;
289 Regexp* Regexp::LiteralString(Rune* runes, int nrunes, ParseFlags flags) {
338 return a->rune() == b->rune() &
    [all...]
prefilter.cc 171 static Rune ToLowerRune(Rune r) {
184 static Rune ToLowerRuneLatin1(Rune r) {
215 static Info* Literal(Rune r);
216 static Info* LiteralLatin1(Rune r);
394 static string RuneToString(Rune r) {
400 static string RuneToStringLatin1(Rune r) {
405 // Constructs Info for literal rune.
406 Prefilter::Info* Prefilter::Info::Literal(Rune r)
    [all...]
  /external/regex-re2/re2/
unicode_casefold.h 65 // Returns the CaseFold* in the tables that contains rune.
66 // If rune is not in the tables, returns the first CaseFold* after rune.
67 // If rune is larger than any value in the tables, returns NULL.
68 extern CaseFold* LookupCaseFold(CaseFold*, int, Rune rune);
70 // Returns the result of applying the fold f to the rune r.
71 extern Rune ApplyFold(CaseFold *f, Rune r);
regexp.h 223 Rune lo;
224 Rune hi;
228 // This lets us look in a set to find the range covering a particular Rune.
250 bool Contains(Rune r);
328 Rune rune() { DCHECK_EQ(op_, kRegexpLiteral); return rune_; } function in class:re2::Regexp
332 Rune* runes() { DCHECK_EQ(op_, kRegexpLiteralString); return runes_; }
393 static Regexp* NewLiteral(Rune rune, ParseFlags flags);
395 static Regexp* LiteralString(Rune* runes, int nrunes, ParseFlags flags)
    [all...]
tostring.cc 25 static void AppendCCRange(string* t, Rune lo, Rune hi);
120 static void AppendLiteral(string *t, Rune r, bool foldcase) {
157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase);
295 // Appends a rune for use in a character class to the string t.
296 static void AppendCCChar(string* t, Rune r) {
331 static void AppendCCRange(string* t, Rune lo, Rune hi) {
parse.cc 62 // Pushes the literal rune r onto the stack.
63 bool PushLiteral(Rune r);
123 bool ParseCCCharacter(StringPiece* s, Rune *rp,
219 Rune r = re->ccb_->begin()->lo;
224 Rune r = re->ccb_->begin()->lo;
243 CaseFold* LookupCaseFold(CaseFold *f, int n, Rune r) {
270 // Returns the result of applying the fold f to the rune r.
271 Rune ApplyFold(CaseFold *f, Rune r) {
296 // Returns the next Rune in r's folding cycle (see unicode_casefold.h)
547 Rune rune; local
735 Rune rune = re->runes_[re->nrunes_ - 1]; local
1086 Rune rune = re2->rune_; local
    [all...]
regexp.cc 159 void Regexp::AddRuneToString(Rune r) {
163 runes_ = new Rune[8];
166 Rune *old = runes_;
167 runes_ = new Rune[nrunes_ * 2];
283 Regexp* Regexp::NewLiteral(Rune rune, ParseFlags flags) {
285 re->rune_ = rune;
289 Regexp* Regexp::LiteralString(Rune* runes, int nrunes, ParseFlags flags) {
338 return a->rune() == b->rune() &
    [all...]
prefilter.cc 171 static Rune ToLowerRune(Rune r) {
184 static Rune ToLowerRuneLatin1(Rune r) {
215 static Info* Literal(Rune r);
216 static Info* LiteralLatin1(Rune r);
394 static string RuneToString(Rune r) {
400 static string RuneToStringLatin1(Rune r) {
405 // Constructs Info for literal rune.
406 Prefilter::Info* Prefilter::Info::Literal(Rune r)
    [all...]
  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
encoding_utils.h 31 Rune r;
  /external/chromium_org/third_party/re2/re2/testing/
dump.cc 74 Rune r = re->rune();
80 Rune r = re->runes()[i];
98 Rune r = re->rune();
106 Rune r = re->runes()[i];
charclass_test.cc 14 Rune lo;
15 Rune hi;
19 Rune lo;
20 Rune hi;
exhaustive3_test.cc 28 // Returns UTF8 for Rune r
29 static string UTF8(Rune r) {
  /external/regex-re2/re2/testing/
dump.cc 74 Rune r = re->rune();
80 Rune r = re->runes()[i];
98 Rune r = re->rune();
106 Rune r = re->runes()[i];
charclass_test.cc 14 Rune lo;
15 Rune hi;
19 Rune lo;
20 Rune hi;
exhaustive3_test.cc 28 // Returns UTF8 for Rune r
29 static string UTF8(Rune r) {

Completed in 267 milliseconds

1 2