Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/icu/source/i18n/
Dcsrsbcs.cpp882 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { in match() argument
883 const char *name = textIn->fC1Bytes? "windows-1252" : "ISO-8859-1"; in match()
889 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); in match()
891 results->set(textIn, this, confidence, name, lang); in match()
909 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { in match() argument
910 const char *name = textIn->fC1Bytes? "windows-1250" : "ISO-8859-2"; in match()
916 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); in match()
918 results->set(textIn, this, confidence, name, lang); in match()
951 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const in match() argument
953 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()
36 int32_t length = textIn->fRawLength; in match()
43 results->set(textIn, this, confidence); in match()
57 UBool CharsetRecog_UTF_16_LE::match(InputText* textIn, CharsetMatch *results) const in match() argument
59 const uint8_t *input = textIn->fRawInput; in match()
61 int32_t length = textIn->fRawLength; in match()
68 results->set(textIn, this, confidence); in match()
77 UBool CharsetRecog_UTF_32::match(InputText* textIn, CharsetMatch *results) const in match() argument
79 const uint8_t *input = textIn->fRawInput; in match()
[all …]
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;
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;
Dcsdetect.cpp149 : textIn(new InputText(status)), resultArray(NULL), in CharsetDetector()
182 delete textIn; in ~CharsetDetector()
197 textIn->setText(in, len); in setText()
216 textIn->setDeclaredEncoding(encoding,len); in setDeclaredEncoding()
243 if(!textIn->isSet()) { in detectAll()
251 textIn->MungeInput(fStripTags); in detectAll()
258 if (csr->match(textIn, resultArray[resultCount])) { in detectAll()
Ducsdet.cpp56 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()
Dcsrecog.h47 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
Dcsmatch.h34 InputText *textIn;
Dcsdetect.h24 InputText *textIn;
/external/icu/icu4c/source/i18n/
Dcsrsbcs.cpp882 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { in match() argument
883 const char *name = textIn->fC1Bytes? "windows-1252" : "ISO-8859-1"; in match()
889 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1); in match()
891 results->set(textIn, this, confidence, name, lang); in match()
909 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { in match() argument
910 const char *name = textIn->fC1Bytes? "windows-1250" : "ISO-8859-2"; in match()
916 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2); in match()
918 results->set(textIn, this, confidence, name, lang); in match()
951 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const in match() argument
953 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.cpp53 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 …]
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;
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;
Dcsdetect.cpp149 : textIn(new InputText(status)), resultArray(NULL), in CharsetDetector()
182 delete textIn; in ~CharsetDetector()
197 textIn->setText(in, len); in setText()
216 textIn->setDeclaredEncoding(encoding,len); in setDeclaredEncoding()
243 if(!textIn->isSet()) { in detectAll()
251 textIn->MungeInput(fStripTags); in detectAll()
258 if (csr->match(textIn, resultArray[resultCount])) { in detectAll()
Ducsdet.cpp56 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()
Dcsrecog.h47 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
Dcsmatch.h34 InputText *textIn;
Dcsdetect.h24 InputText *textIn;
/external/skia/experimental/PdfViewer/
DSkPdfFont.h81 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const = 0;
100 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
103 uint16_t* text = (uint16_t*)textIn.text; in decodeText()
104 textOut->text = new uint16_t[textIn.len / 2]; in decodeText()
105 textOut->len = textIn.len / 2; in decodeText()
124 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
127 unsigned char* text = (unsigned char*)textIn.text; in decodeText()
128 textOut->text = new uint16_t[textIn.len]; in decodeText()
129 textOut->len = textIn.len; in decodeText()
147 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
[all …]
/external/chromium_org/third_party/skia/experimental/PdfViewer/
DSkPdfFont.h81 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const = 0;
100 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
103 uint16_t* text = (uint16_t*)textIn.text; in decodeText()
104 textOut->text = new uint16_t[textIn.len / 2]; in decodeText()
105 textOut->len = textIn.len / 2; in decodeText()
124 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
127 unsigned char* text = (unsigned char*)textIn.text; in decodeText()
128 textOut->text = new uint16_t[textIn.len]; in decodeText()
129 textOut->len = textIn.len; in decodeText()
147 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { in decodeText() argument
[all …]
/external/chromium_org/third_party/icu/source/i18n/unicode/
Ducsdet.h122 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status);

12