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

  /external/regex-re2/util/
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/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);
mimics_pcre.cc 76 if (re->rune() == '\v')
parse.cc 63 // Pushes the literal rune r onto the stack.
64 bool PushLiteral(Rune r);
124 bool ParseCCCharacter(StringPiece* s, Rune *rp,
220 Rune r = re->ccb_->begin()->lo;
225 Rune r = re->ccb_->begin()->lo;
244 CaseFold* LookupCaseFold(CaseFold *f, int n, Rune r) {
271 // Returns the result of applying the fold f to the rune r.
272 Rune ApplyFold(CaseFold *f, Rune r) {
297 // Returns the next Rune in r's folding cycle (see unicode_casefold.h)
548 Rune rune; local
736 Rune rune = re->runes_[re->nrunes_ - 1]; local
1087 Rune rune = re2->rune_; local
    [all...]
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);
327 Rune rune() { DCHECK_EQ(op_, kRegexpLiteral); return rune_; } function in class:re2::Regexp
331 Rune* runes() { DCHECK_EQ(op_, kRegexpLiteralString); return runes_; }
392 static Regexp* NewLiteral(Rune rune, ParseFlags flags);
394 static Regexp* LiteralString(Rune* runes, int nrunes, ParseFlags flags)
    [all...]
regexp.cc 148 void Regexp::AddRuneToString(Rune r) {
152 runes_ = new Rune[8];
155 Rune *old = runes_;
156 runes_ = new Rune[nrunes_ * 2];
272 Regexp* Regexp::NewLiteral(Rune rune, ParseFlags flags) {
274 re->rune_ = rune;
278 Regexp* Regexp::LiteralString(Rune* runes, int nrunes, ParseFlags flags) {
327 return a->rune() == b->rune() &
    [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) {
prefilter.cc 171 static Rune ToLowerRune(Rune r) {
209 static Info* Literal(Rune r);
387 static string RuneToString(Rune r) {
393 // Constructs Info for literal rune.
394 Prefilter::Info* Prefilter::Info::Literal(Rune r) {
448 for (Rune r = i->lo; r <= i->hi; r++)
527 info = Literal(re->rune());
compile.cc 186 // Rune range compiler.
191 // Adds a fragment matching the rune range lo-hi.
192 void AddRuneRange(Rune lo, Rune hi, bool foldcase);
193 void AddRuneRangeLatin1(Rune lo, Rune hi, bool foldcase);
194 void AddRuneRangeUTF8(Rune lo, Rune hi, bool foldcase);
207 // Single rune.
208 Frag Literal(Rune r, bool foldcase)
    [all...]
  /external/regex-re2/
Android.mk 14 util/rune.cc \
Makefile 88 obj/util/rune.o\
  /external/protobuf/src/google/protobuf/stubs/
strutil.cc 329 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);
    [all...]

Completed in 164 milliseconds