/external/icu/icu4c/source/i18n/ |
D | csrsbcs.cpp | 892 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { in match() argument 893 const char *name = textIn->fC1Bytes? "windows-1252" : "ISO-8859-1"; in match() 899 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); in match() 901 results->set(textIn, this, confidence, name, lang); in match() 919 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { in match() argument 920 const char *name = textIn->fC1Bytes? "windows-1250" : "ISO-8859-2"; in match() 926 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); in match() 928 results->set(textIn, this, confidence, name, lang); in match() 961 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const in match() argument 963 int32_t confidence = match_sbcs(textIn, ngrams_8859_5_ru, charMap_8859_5); in match() [all …]
|
D | csr2022.cpp | 149 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { in match() argument 150 int32_t confidence = match_2022(textIn->fInputBytes, in match() 151 textIn->fInputLen, in match() 154 results->set(textIn, this, confidence); in match() 165 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { in match() argument 166 int32_t confidence = match_2022(textIn->fInputBytes, in match() 167 textIn->fInputLen, in match() 170 results->set(textIn, this, confidence); in match() 180 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { in match() argument 181 int32_t confidence = match_2022(textIn->fInputBytes, in match() [all …]
|
D | csrucode.cpp | 55 UBool CharsetRecog_UTF_16_BE::match(InputText* textIn, CharsetMatch *results) const in match() argument 57 const uint8_t *input = textIn->fRawInput; in match() 59 int32_t length = textIn->fRawLength; in match() 76 results->set(textIn, this, confidence); in match() 90 UBool CharsetRecog_UTF_16_LE::match(InputText* textIn, CharsetMatch *results) const in match() argument 92 const uint8_t *input = textIn->fRawInput; in match() 94 int32_t length = textIn->fRawLength; in match() 114 results->set(textIn, this, confidence); in match() 123 UBool CharsetRecog_UTF_32::match(InputText* textIn, CharsetMatch *results) const in match() argument 125 const uint8_t *input = textIn->fRawInput; in match() [all …]
|
D | csmatch.cpp | 24 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL) in CharsetMatch() 32 textIn = input; in set() 64 …int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLengt… in getUChars()
|
D | csrucode.h | 41 UBool match(InputText* textIn, CharsetMatch *results) const = 0; 53 UBool match(InputText* textIn, CharsetMatch *results) const; 64 UBool match(InputText* textIn, CharsetMatch *results) const; 77 UBool match(InputText* textIn, CharsetMatch *results) const;
|
D | csr2022.h | 67 UBool match(InputText *textIn, CharsetMatch *results) const; 77 UBool match(InputText *textIn, CharsetMatch *results) const; 88 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 | 49 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
|
D | csmatch.h | 36 InputText *textIn;
|
D | csdetect.h | 28 InputText *textIn;
|
D | csrmbcs.h | 90 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 | 28 String textIn; field in TestStreaming.TestCase 35 this.textIn = in; in TestCase() 93 src = testCases[i].textIn; in testStreaming()
|
D | TestReorderRunsOnly.java | 25 String textIn; field in TestReorderRunsOnly.TestCase 30 this.textIn = in; in TestCase() 132 src = testCases[i].textIn; in testReorderRunsOnly()
|
D | TestClassOverride.java | 62 static final String textIn = "JIH.>12->a \u05d0\u05d1 6 ABC78"; field in TestClassOverride 132 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; 221 src = textIn[tc]; in testReorderingMode()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestStreaming.java | 31 String textIn; field in TestStreaming.TestCase 38 this.textIn = in; in TestCase() 96 src = testCases[i].textIn; in testStreaming()
|
D | TestReorderRunsOnly.java | 28 String textIn; field in TestReorderRunsOnly.TestCase 33 this.textIn = in; in TestCase() 135 src = testCases[i].textIn; in testReorderRunsOnly()
|
D | TestClassOverride.java | 65 static final String textIn = "JIH.>12->a \u05d0\u05d1 6 ABC78"; field in TestClassOverride 135 bidi.setPara(textIn, Bidi.LTR, null); in testClassOverride()
|
D | TestReorderingMode.java | 29 static final String[] textIn = { field in TestReorderingMode 200 static final int TC_COUNT = textIn.length; 224 src = textIn[tc]; in testReorderingMode()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucsdet.h | 128 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status);
|
/external/icu/libandroidicu/include/unicode/ |
D | ucsdet.h | 128 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status);
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 3681 #define TC_COUNT UPRV_LENGTHOF(textIn) 3686 static const char* const textIn[] = { variable 4148 const char* textIn; in testReorderRunsOnly() member 4210 srcLen = (int32_t)strlen(testCases[i].textIn); in testReorderRunsOnly() 4211 pseudoToU16(srcLen, testCases[i].textIn, src); in testReorderRunsOnly() 4222 checkWhatYouCan(pBiDi, testCases[i].textIn, destChars); in testReorderRunsOnly() 4224 testCases[i].textIn, "UBIDI_REORDER_RUNS_ONLY", in testReorderRunsOnly() 4237 checkWhatYouCan(pL2VBiDi, testCases[i].textIn, vis1Chars); in testReorderRunsOnly() 4246 testCases[i].textIn, "UBIDI_REORDER_RUNS_ONLY (2)", in testReorderRunsOnly() 4295 const char *srcChars = textIn[tc]; in testReorderingMode() [all …]
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 1349 void ucsdet_setText_android(UCharsetDetector * ucsd, const char * textIn, int32_t len, UErrorCode *… in ucsdet_setText_android() argument 1350 ucsdet_setText(ucsd, textIn, len, status); in ucsdet_setText_android()
|