/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
D | charclass_test.cc | 88 template<class CharClass> 89 static void Broke(const char *desc, const CCTest* t, CharClass* cc) { in Broke() 107 for (typename CharClass::iterator it = cc->begin(); it != cc->end(); ++it) in Broke() 121 CharClass* Negate(CharClass *cc) { in Negate() 125 void Delete(CharClass* cc) { in Delete() 139 template<class CharClass> 140 bool CorrectCC(CharClass *cc, CCTest *t, const char *desc) { in CorrectCC() 141 typename CharClass::iterator it = cc->begin(); in CorrectCC() 173 CharClass* ncc = Negate(cc); in CorrectCC() 209 CharClass* cc = ccb.GetCharClass(); in TEST()
|
D | dump.cc | 137 for (CharClass::iterator it = re->cc()->begin(); in DumpRegexpAppending()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | regexp.h | 242 class CharClass { 256 CharClass* Negate(); 259 CharClass(); // not implemented 260 ~CharClass(); // not implemented 261 static CharClass* New(int maxranges); 270 CharClass(const CharClass&) = delete; 271 CharClass& operator=(const CharClass&) = delete; 337 CharClass* cc() { DCHECK_EQ(op_, kRegexpCharClass); return cc_; } in cc() 402 static Regexp* NewCharClass(CharClass* cc, ParseFlags flags); 584 CharClass* cc_; [all …]
|
D | regexp.cc | 329 Regexp* Regexp::NewCharClass(CharClass* cc, ParseFlags flags) { in NewCharClass() 399 CharClass* acc = a->cc(); in TopEqual() 400 CharClass* bcc = b->cc(); in TopEqual() 915 CharClass* CharClass::New(int maxranges) { in New() 916 CharClass* cc; in New() 918 cc = reinterpret_cast<CharClass*>(data); in New() 926 void CharClass::Delete() { in Delete() 931 CharClass* CharClass::Negate() { in Negate() 932 CharClass* cc = CharClass::New(nranges_+1); in Negate() 937 for (CharClass::iterator it = begin(); it != end(); ++it) { in Negate() [all …]
|
D | tostring.cc | 273 CharClass* cc = re->cc(); in PostVisit() 278 for (CharClass::iterator i = cc->begin(); i != cc->end(); ++i) in PostVisit()
|
D | prefilter.cc | 218 static Info* CClass(CharClass* cc, bool latin1); 451 typedef CharClass::iterator CCIter; 452 Prefilter::Info* Prefilter::Info::CClass(CharClass *cc, in CClass()
|
D | compile.cc | 930 CharClass* cc = re->cc(); in PostVisit() 949 for (CharClass::iterator i = cc->begin(); i != cc->end(); ++i) { in PostVisit()
|
D | simplify.cc | 646 CharClass* cc = re->cc(); in SimplifyCharClass()
|
D | parse.cc | 1177 CharClass* cc = re->cc(); in Round3() 1178 for (CharClass::iterator it = cc->begin(); it != cc->end(); ++it) in Round3()
|
/external/tensorflow/tensorflow/core/platform/ |
D | scanner.h | 43 enum CharClass { enum 70 Scanner& One(CharClass clz) { in One() 97 Scanner& Any(CharClass clz) { in Any() 105 Scanner& Many(CharClass clz) { return One(clz).Any(clz); } in Many() 188 static bool Matches(CharClass clz, char ch) { in Matches()
|
D | scanner_test.cc | 26 string ClassStr(Scanner::CharClass clz) { in ClassStr()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBIMonkeyTest.java | 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() 467 CharClass cclass = addCharClass("__Others", otherSet.toPattern(true)); in compileRules() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIMonkeyTest.java | 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() 470 CharClass cclass = addCharClass("__Others", otherSet.toPattern(true)); in compileRules() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | rbbimonkeytest.cpp | 113 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.orphan()); 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() 369 … CharClass *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 …]
|
D | rbbimonkeytest.h | 82 class CharClass: public UObject { 88 …CharClass(const UnicodeString &name, const UnicodeString &originalDef, const UnicodeString &expand… in CharClass() function 119 const CharClass *getClassForChar(UChar32 c, int32_t *iter=NULL) const; 133 … CharClass *addCharClass(const UnicodeString &name, const UnicodeString &def, UErrorCode &status);
|