Searched refs:rune (Results 1 - 12 of 12) sorted by relevance

/external/regex-re2/util/
H A Drune.cc49 chartorune(Rune *rune, const char *str) argument
60 *rune = c;
77 *rune = l;
92 *rune = l;
107 *rune = l;
120 *rune = Bad;
125 runetochar(char *str, const Rune *rune) argument
134 c = *rune;
151 * If the Rune is out of range, convert it to the error rune.
152 * Do this test here because the error rune encode
182 runelen(Rune rune) argument
214 Rune rune; local
[all...]
/external/regex-re2/re2/
H A Dunicode_casefold.h65 // 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.
H A Dmimics_pcre.cc76 if (re->rune() == '\v')
H A Dparse.cc63 // Pushes the literal rune r onto the stack.
271 // Returns the result of applying the fold f to the rune r.
318 // AddFoldedRange calls itself recursively for each rune in the fold cycle.
334 if (lo < f->lo) { // lo has no fold; next rune with a fold is f->lo
368 // Pushes the literal rune r onto the stack.
548 Rune rune; local
551 rune = r3->rune_;
555 AddLiteral(r3->ccb_, rune, r3->parse_flags_ & Regexp::FoldCase);
736 Rune rune = re->runes_[re->nrunes_ - 1]; local
740 re->rune_ = rune;
1087 Rune rune = re2->rune_; local
[all...]
H A Dregexp.h327 Rune rune() { DCHECK_EQ(op_, kRegexpLiteral); return rune_; } function in class:re2::Regexp
392 static Regexp* NewLiteral(Rune rune, ParseFlags flags);
H A Dregexp.cc272 Regexp* Regexp::NewLiteral(Rune rune, ParseFlags flags) { argument
274 re->rune_ = rune;
327 return a->rune() == b->rune() &&
H A Dtostring.cc157 AppendLiteral(t_, re->rune(), re->parse_flags() & Regexp::FoldCase);
295 // Appends a rune for use in a character class to the string t.
H A Dprefilter.cc393 // Constructs Info for literal rune.
527 info = Literal(re->rune());
H A Dcompile.cc191 // Adds a fragment matching the rune range lo-hi.
207 // Single rune.
459 // Returns maximum rune encoded by UTF-8 sequence of length len.
469 // The rune range compiler caches common suffix fragments,
532 // Converts rune range lo-hi into a fragment that recognizes
560 // for the rune range 80-10FFFF (Runeself-Runemax).
763 return Literal(re->rune(), re->parse_flags()&Regexp::FoldCase);
/external/regex-re2/
H A DAndroid.mk14 util/rune.cc \
H A DMakefile88 obj/util/rune.o\
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc329 char32 rune = 0;
333 rune = (rune << 4) + hex_digit_to_int(*++p); // Advance p.
341 d += runetochar(d, &rune);
346 char32 rune = 0;
350 // Don't change rune until we're sure this
352 char32 newrune = (rune << 4) + hex_digit_to_int(*++p);
360 rune = newrune;
369 d += runetochar(d, &rune);

Completed in 222 milliseconds