/external/libutf/ |
D | utf.h | 6 typedef signed int Rune; /* Code-point values in Unicode 4.0 are 21 bits wide.*/ typedef 36 int runetochar(char* s, const Rune* r); 49 int chartorune(Rune* r, const char* s); 59 int charntorune(Rune* r, const char* s, int n); 66 int isvalidcharntorune(const char* str, int n, Rune* r, int* consumed); 70 int runelen(Rune r); 76 int runenlen(const Rune* r, int n); 111 const char* utfrune(const char* s, Rune r); 119 const char* utfrrune(const char* s, Rune r); 149 Rune* runestrcat(Rune* s1, const Rune* s2); [all …]
|
D | runetypebody.h | 3 static Rune __isspacer[] = { 18 isspacerune(Rune c) in isspacerune() 20 Rune *p; in isspacerune() 28 static Rune __isdigitr[] = { 74 isdigitrune(Rune c) in isdigitrune() 76 Rune *p; in isdigitrune() 84 static Rune __isalphar[] = { 470 static Rune __isalphas[] = { 577 isalpharune(Rune c) in isalpharune() 579 Rune *p; in isalpharune() [all …]
|
D | runetype.c | 18 Rune* 19 rbsearch(Rune c, Rune *t, int n, int ne) in rbsearch() 21 Rune *p; in rbsearch() 48 static Rune __isideographicr[] = { 60 isideographicrune(Rune c) in isideographicrune() 62 Rune *p; in isideographicrune()
|
D | runestrdup.c | 20 Rune* 21 runestrdup(const Rune *s) in runestrdup() 23 Rune *ns; in runestrdup() 25 ns = (Rune*)malloc(sizeof(Rune)*(runestrlen(s) + 1)); in runestrdup()
|
D | runestrchr.c | 20 Rune* 21 runestrchr(const Rune *s, Rune c) in runestrchr() 23 Rune c0 = c; in runestrchr() 24 Rune c1; in runestrchr()
|
D | runestrncat.c | 19 Rune* 20 runestrncat(Rune *s1, const Rune *s2, long n) in runestrncat() 22 Rune *os1; in runestrncat() 25 s1 = (Rune*)runestrchr(s1, 0); in runestrncat()
|
D | runestrcat.c | 19 Rune* 20 runestrcat(Rune *s1, const Rune *s2) in runestrcat() 23 runestrcpy((Rune*)runestrchr(s1, 0), s2); in runestrcat()
|
D | runestrcpy.c | 19 Rune* 20 runestrcpy(Rune *s1, const Rune *s2) in runestrcpy() 22 Rune *os1; in runestrcpy()
|
D | runestrecpy.c | 19 Rune* 20 runestrecpy(Rune *s1, Rune *es1, const Rune *s2) in runestrecpy()
|
D | runestrrchr.c | 20 Rune* 21 runestrrchr(const Rune *s, Rune c) in runestrrchr() 23 const Rune *r; in runestrrchr()
|
D | runestrncpy.c | 19 Rune* 20 runestrncpy(Rune *s1, const Rune *s2, long n) in runestrncpy() 23 Rune *os1; in runestrncpy()
|
D | runestrstr.c | 24 Rune* 25 runestrstr(const Rune *s1, const Rune *s2) in runestrstr() 27 const Rune *p, *pa, *pb; in runestrstr()
|
D | runestrcmp.c | 20 runestrcmp(const Rune *s1, const Rune *s2) in runestrcmp() 22 Rune c1, c2; in runestrcmp()
|
D | runestrncmp.c | 20 runestrncmp(const Rune *s1, const Rune *s2, long n) in runestrncmp() 22 Rune c1, c2; in runestrncmp()
|
D | rune.c | 66 charntorune(Rune *rune, const char *str, int length) in charntorune() 167 chartorune(Rune *rune, const char *str) in chartorune() 243 isvalidcharntorune(const char* str, int length, Rune* rune, int* consumed) { in isvalidcharntorune() 249 runetochar(char *str, const Rune *rune) in runetochar() 306 runelen(Rune rune) in runelen() 314 runenlen(const Rune *r, int nrune) in runenlen()
|
D | utfrune.c | 21 utfrune(const char *s, Rune c) in utfrune() 24 Rune r; in utfrune()
|
/external/regex-re2/re2/ |
D | regexp.h | 223 Rune lo; 224 Rune hi; 250 bool Contains(Rune r); 328 Rune rune() { DCHECK_EQ(op_, kRegexpLiteral); return rune_; } in rune() 332 Rune* runes() { DCHECK_EQ(op_, kRegexpLiteralString); return runes_; } in runes() 393 static Regexp* NewLiteral(Rune rune, ParseFlags flags); 395 static Regexp* LiteralString(Rune* runes, int nrunes, ParseFlags flags); 463 static Rune* LeadingString(Regexp* re, int* nrune, ParseFlags* flags); 499 void AddRuneToString(Rune r); 557 Rune* runes_; [all …]
|
D | parse.cc | 63 bool PushLiteral(Rune r); 123 bool ParseCCCharacter(StringPiece* s, Rune *rp, 219 Rune r = re->ccb_->begin()->lo; in PushRegexp() 224 Rune r = re->ccb_->begin()->lo; in PushRegexp() 243 CaseFold* LookupCaseFold(CaseFold *f, int n, Rune r) { in LookupCaseFold() 271 Rune ApplyFold(CaseFold *f, Rune r) { in ApplyFold() 306 Rune CycleFoldRune(Rune r) { in CycleFoldRune() 316 static void AddFoldedRange(CharClassBuilder* cc, Rune lo, Rune hi, int depth) { in AddFoldedRange() 340 Rune lo1 = lo; in AddFoldedRange() 341 Rune hi1 = min<Rune>(hi, f->hi); in AddFoldedRange() [all …]
|
D | unicode_casefold.h | 68 extern CaseFold* LookupCaseFold(CaseFold*, int, Rune rune); 71 extern Rune ApplyFold(CaseFold *f, Rune r);
|
D | regexp.cc | 159 void Regexp::AddRuneToString(Rune r) { in AddRuneToString() 163 runes_ = new Rune[8]; in AddRuneToString() 166 Rune *old = runes_; in AddRuneToString() 167 runes_ = new Rune[nrunes_ * 2]; in AddRuneToString() 283 Regexp* Regexp::NewLiteral(Rune rune, ParseFlags flags) { in NewLiteral() 289 Regexp* Regexp::LiteralString(Rune* runes, int nrunes, ParseFlags flags) { in LiteralString() 653 Rune r = re->runes_[j]; in RequiredPrefix() 700 bool CharClassBuilder::AddRange(Rune lo, Rune hi) { in AddRange() 707 Rune lo1 = max<Rune>(lo, 'A'); in AddRange() 708 Rune hi1 = min<Rune>(hi, 'Z'); in AddRange() [all …]
|
D | tostring.cc | 25 static void AppendCCRange(string* t, Rune lo, Rune hi); 120 static void AppendLiteral(string *t, Rune r, bool foldcase) { in AppendLiteral() 296 static void AppendCCChar(string* t, Rune r) { in AppendCCChar() 331 static void AppendCCRange(string* t, Rune lo, Rune hi) { in AppendCCRange()
|
D | prefilter.cc | 171 static Rune ToLowerRune(Rune r) { in ToLowerRune() 184 static Rune ToLowerRuneLatin1(Rune r) { in ToLowerRuneLatin1() 215 static Info* Literal(Rune r); 216 static Info* LiteralLatin1(Rune r); 394 static string RuneToString(Rune r) { in RuneToString() 400 static string RuneToStringLatin1(Rune r) { in RuneToStringLatin1() 406 Prefilter::Info* Prefilter::Info::Literal(Rune r) { in Literal() 414 Prefilter::Info* Prefilter::Info::LiteralLatin1(Rune r) { in LiteralLatin1() 469 for (Rune r = i->lo; r <= i->hi; r++) { in CClass()
|
/external/regex-re2/util/ |
D | utf.h | 24 typedef signed int Rune; /* Code-point values in Unicode 4.0 are 21 bits wide.*/ typedef 35 int runetochar(char* s, const Rune* r); 36 int chartorune(Rune* r, const char* s); 39 char* utfrune(const char*, Rune);
|
D | rune.cc | 49 chartorune(Rune *rune, const char *str) in chartorune() 125 runetochar(char *str, const Rune *rune) in runetochar() 182 runelen(Rune rune) in runelen() 214 Rune rune; in utflen() 231 utfrune(const char *s, Rune c) in utfrune() 234 Rune r; in utfrune()
|
/external/regex-re2/re2/testing/ |
D | dump.cc | 74 Rune r = re->rune(); in DumpRegexpAppending() 80 Rune r = re->runes()[i]; in DumpRegexpAppending() 98 Rune r = re->rune(); in DumpRegexpAppending() 106 Rune r = re->runes()[i]; in DumpRegexpAppending()
|