Home
last modified time | relevance | path

Searched refs:textIn (Results 1 – 16 of 16) sorted by relevance

/external/icu4c/i18n/
Dcsrsbcs.cpp781 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { in match() argument
782 const char *name = textIn->fC1Bytes? "windows-1252" : "ISO-8859-1"; in match()
788 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); in match()
790 results->set(textIn, this, confidence, name, lang); in match()
808 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { in match() argument
809 const char *name = textIn->fC1Bytes? "windows-1250" : "ISO-8859-2"; in match()
815 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); in match()
817 results->set(textIn, this, confidence, name, lang); in match()
850 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const in match() argument
852 int32_t confidence = match_sbcs(textIn, ngrams_8859_5_ru, charMap_8859_5); in match()
[all …]
Dcsr2022.cpp146 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { in match() argument
147 int32_t confidence = match_2022(textIn->fInputBytes, in match()
148 textIn->fInputLen, in match()
151 results->set(textIn, this, confidence); in match()
161 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { in match() argument
162 int32_t confidence = match_2022(textIn->fInputBytes, in match()
163 textIn->fInputLen, in match()
166 results->set(textIn, this, confidence); in match()
176 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { in match() argument
177 int32_t confidence = match_2022(textIn->fInputBytes, in match()
[all …]
Dcsrucode.cpp32 UBool CharsetRecog_UTF_16_BE::match(InputText* textIn, CharsetMatch *results) const in match() argument
34 const uint8_t *input = textIn->fRawInput; in match()
42 results->set(textIn, this, confidence); in match()
56 UBool CharsetRecog_UTF_16_LE::match(InputText* textIn, CharsetMatch *results) const in match() argument
58 const uint8_t *input = textIn->fRawInput; in match()
66 results->set(textIn, this, confidence); in match()
75 UBool CharsetRecog_UTF_32::match(InputText* textIn, CharsetMatch *results) const in match() argument
77 const uint8_t *input = textIn->fRawInput; in match()
78 int32_t limit = (textIn->fRawLength / 4) * 4; in match()
114 results->set(textIn, this, confidence); in match()
Dcsmatch.cpp22 : 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()
Dcsrucode.h39 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;
Dcsdetect.cpp161 : textIn(new InputText(status)), resultArray(NULL), in CharsetDetector()
193 delete textIn; in ~CharsetDetector()
204 textIn->setText(in, len); in setText()
223 textIn->setDeclaredEncoding(encoding,len); in setDeclaredEncoding()
250 if(!textIn->isSet()) { in detectAll()
258 textIn->MungeInput(fStripTags); in detectAll()
265 if (csr->match(textIn, resultArray[resultCount])) { in detectAll()
Dcsr2022.h65 UBool match(InputText *textIn, CharsetMatch *results) const;
74 UBool match(InputText *textIn, CharsetMatch *results) const;
85 UBool match(InputText *textIn, CharsetMatch *results) const;
Ducsdet.cpp51 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status) in ucsdet_setText() argument
57 ((CharsetDetector *) ucsd)->setText(textIn, len); in ucsdet_setText()
Dcsrecog.h47 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
Dcsmatch.h34 InputText *textIn;
Dcsdetect.h24 InputText *textIn;
Dcsrsbcs.h249 void matchInit(InputText *textIn);
250 void matchFinish(InputText *textIn);
Dcsrmbcs.h88 virtual UBool nextChar(IteratedChar *it, InputText *textIn) const = 0;
/external/webkit/Source/WebCore/icu/unicode/
Ducsdet.h101 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status);
/external/icu4c/i18n/unicode/
Ducsdet.h122 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status);
/external/icu4c/test/cintltst/
Dcbiditst.c3428 #define TC_COUNT LENGTHOF(textIn)
3433 static const char* const textIn[] = { variable
3895 const char* textIn; in testReorderRunsOnly() member
3957 srcLen = strlen(testCases[i].textIn); in testReorderRunsOnly()
3958 pseudoToU16(srcLen, testCases[i].textIn, src); in testReorderRunsOnly()
3969 checkWhatYouCan(pBiDi, testCases[i].textIn, destChars); in testReorderRunsOnly()
3971 testCases[i].textIn, "UBIDI_REORDER_RUNS_ONLY", in testReorderRunsOnly()
3984 checkWhatYouCan(pL2VBiDi, testCases[i].textIn, vis1Chars); in testReorderRunsOnly()
3993 testCases[i].textIn, "UBIDI_REORDER_RUNS_ONLY (2)", in testReorderRunsOnly()
4042 const char *srcChars = textIn[tc]; in testReorderingMode()
[all …]