Home
last modified time | relevance | path

Searched refs:CharClass (Results 1 – 18 of 18) sorted by relevance

/external/icu4c/layout/
DIndicReordering.h92 typedef le_uint32 CharClass; typedef
99 const CharClass *classTable;
105 CharClass getCharClass(LEUnicode ch) const;
107 inline const SplitMatra *getSplitMatra(CharClass charClass) const;
126 inline static le_bool isVowelModifier(CharClass charClass);
127 inline static le_bool isStressMark(CharClass charClass);
128 inline static le_bool isConsonant(CharClass charClass);
129 inline static le_bool isReph(CharClass charClass);
130 inline static le_bool isVirama(CharClass charClass);
131 inline static le_bool isAlLakuna(CharClass charClass);
[all …]
DKhmerReordering.h101 typedef le_uint32 CharClass; typedef
107 const CharClass *classTable;
109 CharClass getCharClass(LEUnicode ch) const;
DTibetanReordering.h120 typedef le_uint32 CharClass; typedef
126 const CharClass *classTable;
128 CharClass getCharClass(LEUnicode ch) const;
DIndicClassTables.cpp78 static const IndicClassTable::CharClass devaCharClasses[] =
90 static const IndicClassTable::CharClass bengCharClasses[] =
102 static const IndicClassTable::CharClass punjCharClasses[] =
114 static const IndicClassTable::CharClass gujrCharClasses[] =
126 static const IndicClassTable::CharClass oryaCharClasses[] =
138 static const IndicClassTable::CharClass oryaCharClasses[] =
151 static const IndicClassTable::CharClass tamlCharClasses[] =
166 static const IndicClassTable::CharClass teluCharClasses[] =
183 static const IndicClassTable::CharClass kndaCharClasses[] =
196 static const IndicClassTable::CharClass mlymCharClasses[] =
[all …]
DKhmerReordering.cpp76 static const KhmerClassTable::CharClass khmerCharClasses[] =
102 KhmerClassTable::CharClass KhmerClassTable::getCharClass(LEUnicode ch) const in getCharClass()
342 …KhmerClassTable::CharClass charClass = (classTable->getCharClass(chars[cursor]) & KhmerClassTable:… in findSyllable()
365 KhmerClassTable::CharClass charClass; in reorder()
DTibetanReordering.cpp78 static const TibetanClassTable::CharClass tibetanCharClasses[] =
113 TibetanClassTable::CharClass TibetanClassTable::getCharClass(LEUnicode ch) const in getCharClass()
305 …TibetanClassTable::CharClass charClass = (classTable->getCharClass(chars[cursor]) & TibetanClassTa… in findSyllable()
328 TibetanClassTable::CharClass charClass; in reorder()
DIndicReordering.cpp137 void saveMatra(LEUnicode matra, le_int32 matraIndex, IndicClassTable::CharClass matraClass) in saveMatra()
238 IndicClassTable::CharClass matraClass = classTable->getCharClass(fOutChars[i+inv_count]); in decomposeReorderMatras()
322 IndicClassTable::CharClass matraClass = classTable->getCharClass(matra); in noteMatra()
337 IndicClassTable::CharClass pieceClass = classTable->getCharClass(piece); in noteMatra()
353 IndicClassTable::CharClass vmClass = classTable->getCharClass(vowelModifier); in noteVowelModifier()
377 IndicClassTable::CharClass smClass = classTable->getCharClass(stressMark); in noteStressMark()
604 IndicClassTable::CharClass charClass = classTable->getCharClass(chars[cursor]); in findSyllable()
769 IndicClassTable::CharClass charClass = CC_RESERVED; in reorder()
770 IndicClassTable::CharClass nextClass = CC_RESERVED; in reorder()
/external/regex-re2/re2/testing/
Dcharclass_test.cc85 template<class CharClass>
86 static void Broke(const char *desc, const CCTest* t, CharClass* cc) { in Broke()
104 for (typename CharClass::iterator it = cc->begin(); it != cc->end(); ++it) in Broke()
118 CharClass* Negate(CharClass *cc) { in Negate()
122 void Delete(CharClass* cc) { in Delete()
136 template<class CharClass>
137 bool CorrectCC(CharClass *cc, CCTest *t, const char *desc) { in CorrectCC()
138 typename CharClass::iterator it = cc->begin(); in CorrectCC()
170 CharClass* ncc = Negate(cc); in CorrectCC()
206 CharClass* cc = ccb.GetCharClass(); in TEST()
Ddump.cc135 for (CharClass::iterator it = re->cc()->begin(); in DumpRegexpAppending()
/external/regex-re2/re2/
Dregexp.h237 class CharClass {
251 CharClass* Negate();
254 CharClass(); // not implemented
255 ~CharClass(); // not implemented
256 static CharClass* New(int maxranges);
264 DISALLOW_EVIL_CONSTRUCTORS(CharClass);
329 CharClass* cc() { DCHECK_EQ(op_, kRegexpCharClass); return cc_; } in cc()
394 static Regexp* NewCharClass(CharClass* cc, ParseFlags flags);
563 CharClass* cc_;
596 CharClass* GetCharClass();
Dregexp.cc300 Regexp* Regexp::NewCharClass(CharClass* cc, ParseFlags flags) { in NewCharClass()
368 CharClass* acc = a->cc(); in TopEqual()
369 CharClass* bcc = b->cc(); in TopEqual()
864 CharClass* CharClass::New(int maxranges) { in New()
865 CharClass* cc; in New()
867 cc = reinterpret_cast<CharClass*>(data); in New()
875 void CharClass::Delete() { in Delete()
882 CharClass* CharClass::Negate() { in Negate()
883 CharClass* cc = CharClass::New(nranges_+1); in Negate()
888 for (CharClass::iterator it = begin(); it != end(); ++it) { in Negate()
[all …]
Dtostring.cc263 CharClass* cc = re->cc(); in PostVisit()
268 for (CharClass::iterator i = cc->begin(); i != cc->end(); ++i) in PostVisit()
Dprefilter.cc214 static Info* CClass(CharClass* cc, bool latin1);
454 typedef CharClass::iterator CCIter;
455 Prefilter::Info* Prefilter::Info::CClass(CharClass *cc, in CClass()
Dsimplify.cc382 CharClass* cc = re->cc(); in SimplifyCharClass()
Dcompile.cc790 CharClass* cc = re->cc(); in PostVisit()
809 for (CharClass::iterator i = cc->begin(); i != cc->end(); ++i) { in PostVisit()
Dparse.cc956 CharClass* cc = re->cc(); in FactorAlternationRecursive()
957 for (CharClass::iterator it = cc->begin(); it != cc->end(); ++it) in FactorAlternationRecursive()
/external/v8/src/
Djsregexp.h456 static TextElement CharClass(RegExpCharacterClass* char_class); in FOR_EACH_REG_EXP_TREE_TYPE()
849 elms_->Add(TextElement::CharClass(that)); in TextNode()
Djsregexp.cc742 text->AddElement(TextElement::CharClass(this)); in AppendToText()
759 TextElement TextElement::CharClass( in CharClass() function in v8::internal::TextElement