Home
last modified time | relevance | path

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

12

/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/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java43 // class CharClass Represents a single character class from the source break rules.
47 static class CharClass { class in RBBIMonkeyTest
52 CharClass(String name, String originalDef, String expandedDef, UnicodeSet set) { in CharClass() method in RBBIMonkeyTest.CharClass
135 CharClass addCharClass(String name, String definition) { in addCharClass()
140 CharClass snameClass = fCharClasses.get(sname); in addCharClass()
175 CharClass cclass = new CharClass(name, definition, expandedDefString, s); in addCharClass()
176 CharClass previousClass = fCharClasses.put(name, cclass); in addCharClass()
201 CharClass nameClass = fCharClasses.get(sname); in addRule()
450 for (Map.Entry<String, CharClass> el: fCharClasses.entrySet()) { in compileRules()
452 CharClass cclass = el.getValue(); in compileRules()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java40 // class CharClass Represents a single character class from the source break rules.
44 static class CharClass { class in RBBIMonkeyTest
49 CharClass(String name, String originalDef, String expandedDef, UnicodeSet set) { in CharClass() method in RBBIMonkeyTest.CharClass
132 CharClass addCharClass(String name, String definition) { in addCharClass()
137 CharClass snameClass = fCharClasses.get(sname); in addCharClass()
172 CharClass cclass = new CharClass(name, definition, expandedDefString, s); in addCharClass()
173 CharClass previousClass = fCharClasses.put(name, cclass); in addCharClass()
198 CharClass nameClass = fCharClasses.get(sname); in addRule()
447 for (Map.Entry<String, CharClass> el: fCharClasses.entrySet()) { in compileRules()
449 CharClass cclass = el.getValue(); in compileRules()
[all …]
/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.h78 // class CharClass Represents a single character class from the source break rules.
82 class CharClass: public UObject {
88CharClass(const UnicodeString &name, const UnicodeString &originalDef, const UnicodeString &expand… in CharClass() function
119 const CharClass *getClassForChar(UChar32 c, int32_t *iter=NULL) const;
126 // Value is (CharClass *)
133CharClass *addCharClass(const UnicodeString &name, const UnicodeString &def, UErrorCode &status);
Drbbimonkeytest.cpp113 CharClass *BreakRules::addCharClass(const UnicodeString &name, const UnicodeString &definition, UEr… in addCharClass()
124 CharClass *nameClass = static_cast<CharClass *>(uhash_get(fCharClasses.getAlias(), &name)); in addCharClass()
144 CharClass *cclass = new CharClass(name, definition, expandedDef, s); in addCharClass()
145 CharClass *previousClass = static_cast<CharClass *>(uhash_put(fCharClasses.getAlias(), in addCharClass()
175 CharClass *nameClass = static_cast<CharClass *>(uhash_get(fCharClasses.getAlias(), &name)); in addRule()
351 CharClass *cclass = static_cast<CharClass *>(el->value.pointer); in compileRules()
369CharClass *cclass = addCharClass(UnicodeString("__Others"), otherSet.toPattern(pattern), status); in compileRules()
375 const CharClass *BreakRules::getClassForChar(UChar32 c, int32_t *iter) const { in getClassForChar()
380 const CharClass *cc = static_cast<const CharClass *>(fCharClassList->elementAt(it)); in getClassForChar()
409 …const CharClass *cclass = static_cast<CharClass *>(rules->fCharClassList->elementAt(charClassIndex… in set()
[all …]
Drbbitst.cpp4547 int charClass = randomGen() % categoryCount; in TestReverse() local
4548 if (strings[charClass].length() > 0) { in TestReverse()
4549 int cp = strings[charClass].char32At(randomGen() % strings[charClass].length()); in TestReverse()
/external/tensorflow/tensorflow/core/lib/strings/
Dscanner.h42 enum CharClass { enum
43 // NOTE: When adding a new CharClass, update the AllCharClasses ScannerTest
68 Scanner& One(CharClass clz) { in One()
95 Scanner& Any(CharClass clz) { in Any()
103 Scanner& Many(CharClass clz) { return One(clz).Any(clz); } in Many()
186 static bool Matches(CharClass clz, char ch) { in Matches()
Dscanner_test.cc26 string ClassStr(Scanner::CharClass clz) { in ClassStr()
/external/openssh/openbsd-compat/
Dcharclass.h4 * $OpenBSD: charclass.h,v 1.1 2008/10/01 23:04:13 millert Exp $
7 /* OPENBSD ORIGINAL: lib/libc/gen/charclass.h */
Dglob.c81 #include "charclass.h"
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DThaiCharacterClasses.java109 int charClass = NON; in getCharClass() local
112 charClass = classTable[ch - '\u0E00']; in getCharClass()
115 return charClass; in getCharClass()
149 int charClass = getCharClass(ch); in writeClassTable() local
155 output.print(getClassName(charClass)); in writeClassTable()
DThaiStateTable.java58 private final static boolean composesWithAnything(int charClass) in composesWithAnything() argument
61 char action = ThaiCharacterClasses.getPairAction(charClass, c); in composesWithAnything()
/external/curl/lib/
Dcurl_fnmatch.c138 static char_class charclass(unsigned char c) in charclass() function
157 char_class cc = charclass(c); in setcharorrange()
162 if(endrange >= c && charclass(endrange) == cc) { in setcharorrange()
164 if(charclass(c) == cc) /* Chars in class may be not consecutive. */ in setcharorrange()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java140 int charClass = getCharClass(ch); in parse() local
141 StateEntry entry = stateTable[state][charClass]; in parse()
DStatisticsTool.java238 int charClass = NGramParser.getCharClass(unicode); in writeStatistics() local
240 switch (charClass) { in writeStatistics()
/external/snakeyaml/src/test/resources/constructor/
Dtest-primitives1.yaml14 charClass: 2
/external/v8/src/inspector/build/
Drjsmin.py104 charclass = r'(?:\[[^\\\]\r\n]*(?:\\[^\r\n][^\\\]\r\n]*)*\])'
107 nospecial, charclass, nospecial)
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBITableBuilder.java1177 for (int charClass=0; charClass < numCharClasses; ++charClass) {
1179 startState[charClass] = (short)(charClass+2);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBITableBuilder.java1178 for (int charClass=0; charClass < numCharClasses; ++charClass) {
1180 startState[charClass] = (short)(charClass+2);
/external/icu/icu4c/source/common/
Drbbitblb.cpp1417 for (int32_t charClass=0; charClass < numCharClasses; ++charClass) { in buildSafeReverseTable() local
1419 startState.setCharAt(charClass, static_cast<char16_t>(charClass+2)); in buildSafeReverseTable()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
Drjsmin.py119 charclass = r'(?:\[[^\\\]\r\n]*(?:\\[^\r\n][^\\\]\r\n]*)*\])'
122 nospecial, charclass, nospecial
/external/one-true-awk/
Db.c745 struct charclass { struct
777 struct charclass *cc; in relex()
/external/v8/src/regexp/
Dregexp-ast.h168 static TextElement CharClass(RegExpCharacterClass* char_class);
Djsregexp.cc829 text->AddElement(TextElement::CharClass(this), zone); in AppendToText()
844 TextElement TextElement::CharClass(RegExpCharacterClass* char_class) { in CharClass() function in v8::internal::TextElement
3256 elms->Add(TextElement::CharClass( in CreateForCharacterRanges()
3270 elms->Add(TextElement::CharClass( in CreateForSurrogatePair()
3273 elms->Add(TextElement::CharClass( in CreateForSurrogatePair()

12