/external/icu/icu4c/source/i18n/ |
D | csrsbcs.cpp | 891 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { in match() argument 892 const char *name = textIn->fC1Bytes? "windows-1252" : "ISO-8859-1"; in match() 898 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); in match() 900 results->set(textIn, this, confidence, name, lang); in match() 918 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { in match() argument 919 const char *name = textIn->fC1Bytes? "windows-1250" : "ISO-8859-2"; in match() 925 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); in match() 927 results->set(textIn, this, confidence, name, lang); in match() 960 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const in match() argument 962 int32_t confidence = match_sbcs(textIn, ngrams_8859_5_ru, charMap_8859_5); in match() [all …]
|
D | csr2022.cpp | 148 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { in match() argument 149 int32_t confidence = match_2022(textIn->fInputBytes, in match() 150 textIn->fInputLen, in match() 153 results->set(textIn, this, confidence); in match() 164 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { in match() argument 165 int32_t confidence = match_2022(textIn->fInputBytes, in match() 166 textIn->fInputLen, in match() 169 results->set(textIn, this, confidence); in match() 179 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { in match() argument 180 int32_t confidence = match_2022(textIn->fInputBytes, in match() [all …]
|
D | csrucode.cpp | 53 UBool CharsetRecog_UTF_16_BE::match(InputText* textIn, CharsetMatch *results) const in match() argument 55 const uint8_t *input = textIn->fRawInput; in match() 57 int32_t length = textIn->fRawLength; in match() 74 results->set(textIn, this, confidence); in match() 88 UBool CharsetRecog_UTF_16_LE::match(InputText* textIn, CharsetMatch *results) const in match() argument 90 const uint8_t *input = textIn->fRawInput; in match() 92 int32_t length = textIn->fRawLength; in match() 112 results->set(textIn, this, confidence); in match() 121 UBool CharsetRecog_UTF_32::match(InputText* textIn, CharsetMatch *results) const in match() argument 123 const uint8_t *input = textIn->fRawInput; in match() [all …]
|
D | csmatch.cpp | 22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL) in CharsetMatch() 30 textIn = input; in set() 62 …int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLengt… in getUChars()
|
D | csrucode.h | 39 UBool match(InputText* textIn, CharsetMatch *results) const = 0; 51 UBool match(InputText* textIn, CharsetMatch *results) const; 62 UBool match(InputText* textIn, CharsetMatch *results) const; 75 UBool match(InputText* textIn, CharsetMatch *results) const;
|
D | csr2022.h | 65 UBool match(InputText *textIn, CharsetMatch *results) const; 75 UBool match(InputText *textIn, CharsetMatch *results) const; 86 UBool match(InputText *textIn, CharsetMatch *results) const;
|
D | csdetect.cpp | 151 : textIn(new InputText(status)), resultArray(NULL), in CharsetDetector() 184 delete textIn; in ~CharsetDetector() 199 textIn->setText(in, len); in setText() 218 textIn->setDeclaredEncoding(encoding,len); in setDeclaredEncoding() 245 if(!textIn->isSet()) { in detectAll() 253 textIn->MungeInput(fStripTags); in detectAll() 260 if (csr->match(textIn, resultArray[resultCount])) { in detectAll()
|
D | ucsdet.cpp | 56 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status) in ucsdet_setText() argument 62 ((CharsetDetector *) ucsd)->setText(textIn, len); in ucsdet_setText()
|
D | csrecog.h | 47 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
|
D | csmatch.h | 34 InputText *textIn;
|
D | csdetect.h | 24 InputText *textIn;
|
D | csrmbcs.h | 88 virtual UBool nextChar(IteratedChar *it, InputText *textIn) const = 0;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestStreaming.java | 24 String textIn; field in TestStreaming.TestCase 31 this.textIn = in; in TestCase() 88 src = testCases[i].textIn; in testStreaming()
|
D | TestReorderRunsOnly.java | 22 String textIn; field in TestReorderRunsOnly.TestCase 27 this.textIn = in; in TestCase() 127 src = testCases[i].textIn; in testReorderRunsOnly()
|
D | TestClassOverride.java | 58 static final String textIn = "JIH.>12->a \u05d0\u05d1 6 ABC78"; field in TestClassOverride 127 bidi.setPara(textIn, Bidi.LTR, null); in testClassOverride()
|
D | TestReorderingMode.java | 22 static final String[] textIn = { field in TestReorderingMode 193 static final int TC_COUNT = textIn.length; 216 src = textIn[tc]; in testReorderingMode()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestStreaming.java | 28 String textIn; field in TestStreaming.TestCase 35 this.textIn = in; in TestCase() 92 src = testCases[i].textIn; in testStreaming()
|
D | TestReorderRunsOnly.java | 26 String textIn; field in TestReorderRunsOnly.TestCase 31 this.textIn = in; in TestCase() 131 src = testCases[i].textIn; in testReorderRunsOnly()
|
D | TestClassOverride.java | 62 static final String textIn = "JIH.>12->a \u05d0\u05d1 6 ABC78"; field in TestClassOverride 131 bidi.setPara(textIn, Bidi.LTR, null); in testClassOverride()
|
D | TestReorderingMode.java | 26 static final String[] textIn = { field in TestReorderingMode 197 static final int TC_COUNT = textIn.length; 220 src = textIn[tc]; in testReorderingMode()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucsdet.h | 122 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status);
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 3673 #define TC_COUNT UPRV_LENGTHOF(textIn) 3678 static const char* const textIn[] = { variable 4140 const char* textIn; in testReorderRunsOnly() member 4202 srcLen = strlen(testCases[i].textIn); in testReorderRunsOnly() 4203 pseudoToU16(srcLen, testCases[i].textIn, src); in testReorderRunsOnly() 4214 checkWhatYouCan(pBiDi, testCases[i].textIn, destChars); in testReorderRunsOnly() 4216 testCases[i].textIn, "UBIDI_REORDER_RUNS_ONLY", in testReorderRunsOnly() 4229 checkWhatYouCan(pL2VBiDi, testCases[i].textIn, vis1Chars); in testReorderRunsOnly() 4238 testCases[i].textIn, "UBIDI_REORDER_RUNS_ONLY (2)", in testReorderRunsOnly() 4287 const char *srcChars = textIn[tc]; in testReorderingMode() [all …]
|