Home
last modified time | relevance | path

Searched full:charclass (Results 1 – 25 of 32) sorted by relevance

12

/external/icu/icu4c/source/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 …]
DThaiShaping.cpp33 le_uint8 charClass = NON; in getCharClass() local
36 charClass = classTable[ch - 0x0E00]; in getCharClass()
39 return charClass; in getCharClass()
229 … le_uint8 &charClass, LEUnicode *output, LEGlyphStorage &glyphStorage, le_int32 &outputIndex) in getNextState() argument
233 charClass = getCharClass(ch); in getNextState()
234 transition = getTransition(prevState, charClass); in getNextState()
241 le_uint8 charClass = getCharClass(ch); in isLegalHere() local
242 StateTransition transition = getTransition(prevState, charClass); in isLegalHere()
277 le_uint8 charClass; in compose() local
282 state = getNextState(CH_NIKHAHIT, conState, inputIndex, glyphSet, errorChar, charClass, in compose()
[all …]
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() local
606 if ( IndicClassTable::isConsonant(charClass) ) { in findSyllable()
613 state = stateTable[state][charClass & CF_CLASS_MASK]; in findSyllable()
774 IndicClassTable::CharClass charClass = CC_RESERVED; in reorder() local
[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() local
344 state = khmerStateTable[state][charClass]; in findSyllable()
365 KhmerClassTable::CharClass charClass; in reorder() local
381 charClass = classTable->getCharClass(chars[i]); in reorder()
385 if (charClass & KhmerClassTable::CF_SPLIT_VOWEL) { in reorder()
391 if (charClass & KhmerClassTable::CF_POS_BEFORE) { in reorder()
400 if ( (charClass & KhmerClassTable::CF_COENG) && (i + 1 < syllable) && in reorder()
423 charClass = classTable->getCharClass(chars[i]); in reorder()
[all …]
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() local
307 state = tibetanStateTable[state][charClass]; in findSyllable()
328 TibetanClassTable::CharClass charClass; in reorder() local
348 charClass = classTable->getCharClass(chars[i]); in reorder()
350 if ((TibetanClassTable::CF_DIGIT & charClass) in reorder()
357 switch (charClass & TibetanClassTable::CF_POS_MASK) { in reorder()
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.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;
DThaiShaping.h86 … le_uint8 &charClass, LEUnicode *output, LEGlyphStorage &glyphStorage, le_int32 &outputIndex);
/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()
91 printf("CharClass added: [%s]", desc); in Broke()
104 for (typename CharClass::iterator it = cc->begin(); it != cc->end(); ++it) in Broke()
116 // Helpers to make templated CorrectCC work with both CharClass and CharClassBuilder.
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()
[all …]
Ddump.cc135 for (CharClass::iterator it = re->cc()->begin(); in DumpRegexpAppending()
/external/regex-re2/re2/
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 …]
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);
559 struct { // CharClass
563 CharClass* cc_;
[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()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/
DTestBean1.java34 private Character charClass; field in TestBean1
142 return charClass; in getCharClass()
145 public void setCharClass(Character charClass) { in setCharClass() argument
146 this.charClass = charClass; in setCharClass()
DBeanConstructorTest.java96 String document = "charClass: id"; in testCharacter()
104 document = "charClass: #"; in testCharacter()
107 document = "charClass: ''"; in testCharacter()
110 document = "charClass:\n"; in testCharacter()
113 document = "charClass: 1\n"; in testCharacter()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DThaiCharacterClasses.java107 int charClass = NON; in getCharClass() local
110 charClass = classTable[ch - '\u0E00']; in getCharClass()
113 return charClass; in getCharClass()
147 int charClass = getCharClass(ch); in writeClassTable() local
153 output.print(getClassName(charClass)); in writeClassTable()
DThaiStateTable.java56 private final static boolean composesWithAnything(int charClass) in composesWithAnything() argument
59 char action = ThaiCharacterClasses.getPairAction(charClass, c); in composesWithAnything()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java138 int charClass = getCharClass(ch); in parse() local
139 StateEntry entry = stateTable[state][charClass]; in parse()
DStatisticsTool.java236 int charClass = NGramParser.getCharClass(unicode); in writeStatistics() local
238 switch (charClass) { in writeStatistics()
/external/snakeyaml/src/test/resources/constructor/
Dtest-primitives1.yaml14 charClass: 2
/external/v8/test/mjsunit/
Dregexp-UC16.js46 assertFalse(/[\xe9]/.test('i'), "charclass-uc16-pattern-ascii-subject");
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/
Drjsmin.py116 charclass = r'(?:\[[^\\\]\r\n]*(?:\\[^\r\n][^\\\]\r\n]*)*\])'
119 nospecial, charclass, nospecial

12