Home
last modified time | relevance | path

Searched refs:Rune (Results 1 – 25 of 45) sorted by relevance

12

/external/libutf/
Dutf.h6 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 …]
Drunetypebody.h3 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 …]
Drunetype.c18 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()
Drunestrdup.c20 Rune*
21 runestrdup(const Rune *s) in runestrdup()
23 Rune *ns; in runestrdup()
25 ns = (Rune*)malloc(sizeof(Rune)*(runestrlen(s) + 1)); in runestrdup()
Drunestrchr.c20 Rune*
21 runestrchr(const Rune *s, Rune c) in runestrchr()
23 Rune c0 = c; in runestrchr()
24 Rune c1; in runestrchr()
Drunestrncat.c19 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()
Drunestrcat.c19 Rune*
20 runestrcat(Rune *s1, const Rune *s2) in runestrcat()
23 runestrcpy((Rune*)runestrchr(s1, 0), s2); in runestrcat()
Drunestrcpy.c19 Rune*
20 runestrcpy(Rune *s1, const Rune *s2) in runestrcpy()
22 Rune *os1; in runestrcpy()
Drunestrecpy.c19 Rune*
20 runestrecpy(Rune *s1, Rune *es1, const Rune *s2) in runestrecpy()
Drunestrrchr.c20 Rune*
21 runestrrchr(const Rune *s, Rune c) in runestrrchr()
23 const Rune *r; in runestrrchr()
Drunestrncpy.c19 Rune*
20 runestrncpy(Rune *s1, const Rune *s2, long n) in runestrncpy()
23 Rune *os1; in runestrncpy()
Drunestrstr.c24 Rune*
25 runestrstr(const Rune *s1, const Rune *s2) in runestrstr()
27 const Rune *p, *pa, *pb; in runestrstr()
Drunestrcmp.c20 runestrcmp(const Rune *s1, const Rune *s2) in runestrcmp()
22 Rune c1, c2; in runestrcmp()
Drunestrncmp.c20 runestrncmp(const Rune *s1, const Rune *s2, long n) in runestrncmp()
22 Rune c1, c2; in runestrncmp()
Drune.c66 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()
Dutfrune.c21 utfrune(const char *s, Rune c) in utfrune()
24 Rune r; in utfrune()
/external/regex-re2/re2/
Dregexp.h223 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 …]
Dparse.cc63 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 …]
Dunicode_casefold.h68 extern CaseFold* LookupCaseFold(CaseFold*, int, Rune rune);
71 extern Rune ApplyFold(CaseFold *f, Rune r);
Dregexp.cc159 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 …]
Dtostring.cc25 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()
Dprefilter.cc171 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/
Dutf.h24 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);
Drune.cc49 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/
Ddump.cc74 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()

12