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

12

/external/chromium_org/third_party/icu/source/i18n/
H A Dcsrucode.cpp32 UBool CharsetRecog_UTF_16_BE::match(InputText* textIn, CharsetMatch *results) const argument
34 const uint8_t *input = textIn->fRawInput;
36 int32_t length = textIn->fRawLength;
43 results->set(textIn, this, confidence);
57 UBool CharsetRecog_UTF_16_LE::match(InputText* textIn, CharsetMatch *results) const argument
59 const uint8_t *input = textIn->fRawInput;
61 int32_t length = textIn->fRawLength;
68 results->set(textIn, this, confidence);
77 UBool CharsetRecog_UTF_32::match(InputText* textIn, CharsetMatch *results) const argument
79 const uint8_t *input = textIn
[all...]
H A Dcsmatch.cpp22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
30 textIn = input;
62 int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLength, status);
H A Dcsr2022.cpp146 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { argument
147 int32_t confidence = match_2022(textIn->fInputBytes,
148 textIn->fInputLen,
151 results->set(textIn, this, confidence);
161 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { argument
162 int32_t confidence = match_2022(textIn->fInputBytes,
163 textIn->fInputLen,
166 results->set(textIn, this, confidence);
176 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { argument
177 int32_t confidence = match_2022(textIn
[all...]
H A 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;
H A Dcsrecog.h47 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
H A 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;
H A Dcsmatch.h34 InputText *textIn; member in class:CharsetMatch
H A Dcsdetect.h24 InputText *textIn; member in class:CharsetDetector
H A Dcsdetect.cpp149 : textIn(new InputText(status)), resultArray(NULL),
182 delete textIn;
197 textIn->setText(in, len);
216 textIn->setDeclaredEncoding(encoding,len);
243 if(!textIn->isSet()) {
251 textIn->MungeInput(fStripTags);
258 if (csr->match(textIn, resultArray[resultCount])) {
H A Dcsrsbcs.cpp882 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { argument
883 const char *name = textIn->fC1Bytes? "windows-1252" : "ISO-8859-1";
889 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1);
891 results->set(textIn, this, confidence, name, lang);
909 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { argument
910 const char *name = textIn->fC1Bytes? "windows-1250" : "ISO-8859-2";
916 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2);
918 results->set(textIn, this, confidence, name, lang);
951 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const argument
953 int32_t confidence = match_sbcs(textIn, ngrams_8859_5_r
978 match(InputText *textIn, CharsetMatch *results) const argument
1005 match(InputText *textIn, CharsetMatch *results) const argument
1038 match(InputText *textIn, CharsetMatch *results) const argument
1056 match(InputText *textIn, CharsetMatch *results) const argument
1084 match(InputText *textIn, CharsetMatch *results) const argument
1107 match(InputText *textIn, CharsetMatch *results) const argument
1129 match(InputText *textIn, CharsetMatch *results) const argument
1151 match(InputText *textIn, CharsetMatch *results) const argument
1178 match(InputText *textIn, CharsetMatch *results) const argument
1195 match(InputText *textIn, CharsetMatch *results) const argument
1233 match(InputText *textIn, CharsetMatch *results) const argument
1250 match(InputText *textIn, CharsetMatch *results) const argument
[all...]
H A Ducsdet.cpp56 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status) argument
62 ((CharsetDetector *) ucsd)->setText(textIn, len);
/external/icu/icu4c/source/i18n/
H A Dcsmatch.cpp22 : textIn(NULL), confidence(0), fCharsetName(NULL), fLang(NULL)
30 textIn = input;
62 int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLength, status);
H A Dcsr2022.cpp146 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { argument
147 int32_t confidence = match_2022(textIn->fInputBytes,
148 textIn->fInputLen,
151 results->set(textIn, this, confidence);
161 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { argument
162 int32_t confidence = match_2022(textIn->fInputBytes,
163 textIn->fInputLen,
166 results->set(textIn, this, confidence);
176 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { argument
177 int32_t confidence = match_2022(textIn
[all...]
H A 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;
H A Dcsrucode.cpp53 UBool CharsetRecog_UTF_16_BE::match(InputText* textIn, CharsetMatch *results) const argument
55 const uint8_t *input = textIn->fRawInput;
57 int32_t length = textIn->fRawLength;
74 results->set(textIn, this, confidence);
88 UBool CharsetRecog_UTF_16_LE::match(InputText* textIn, CharsetMatch *results) const argument
90 const uint8_t *input = textIn->fRawInput;
92 int32_t length = textIn->fRawLength;
112 results->set(textIn, this, confidence);
121 UBool CharsetRecog_UTF_32::match(InputText* textIn, CharsetMatch *results) const argument
123 const uint8_t *input = textIn
[all...]
H A Dcsrecog.h47 virtual UBool match(InputText *textIn, CharsetMatch *results) const = 0;
H A 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;
H A Dcsmatch.h34 InputText *textIn; member in class:CharsetMatch
H A Dcsdetect.h24 InputText *textIn; member in class:CharsetDetector
H A Dcsdetect.cpp149 : textIn(new InputText(status)), resultArray(NULL),
182 delete textIn;
197 textIn->setText(in, len);
216 textIn->setDeclaredEncoding(encoding,len);
243 if(!textIn->isSet()) {
251 textIn->MungeInput(fStripTags);
258 if (csr->match(textIn, resultArray[resultCount])) {
H A Dcsrsbcs.cpp882 UBool CharsetRecog_8859_1::match(InputText *textIn, CharsetMatch *results) const { argument
883 const char *name = textIn->fC1Bytes? "windows-1252" : "ISO-8859-1";
889 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_1);
891 results->set(textIn, this, confidence, name, lang);
909 UBool CharsetRecog_8859_2::match(InputText *textIn, CharsetMatch *results) const { argument
910 const char *name = textIn->fC1Bytes? "windows-1250" : "ISO-8859-2";
916 int32_t confidence = match_sbcs(textIn, ngrams, charMap_8859_2);
918 results->set(textIn, this, confidence, name, lang);
951 UBool CharsetRecog_8859_5_ru::match(InputText *textIn, CharsetMatch *results) const argument
953 int32_t confidence = match_sbcs(textIn, ngrams_8859_5_r
978 match(InputText *textIn, CharsetMatch *results) const argument
1005 match(InputText *textIn, CharsetMatch *results) const argument
1038 match(InputText *textIn, CharsetMatch *results) const argument
1056 match(InputText *textIn, CharsetMatch *results) const argument
1084 match(InputText *textIn, CharsetMatch *results) const argument
1107 match(InputText *textIn, CharsetMatch *results) const argument
1129 match(InputText *textIn, CharsetMatch *results) const argument
1151 match(InputText *textIn, CharsetMatch *results) const argument
1178 match(InputText *textIn, CharsetMatch *results) const argument
1195 match(InputText *textIn, CharsetMatch *results) const argument
1233 match(InputText *textIn, CharsetMatch *results) const argument
1250 match(InputText *textIn, CharsetMatch *results) const argument
[all...]
H A Ducsdet.cpp56 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status) argument
62 ((CharsetDetector *) ucsd)->setText(textIn, len);
/external/chromium_org/third_party/skia/experimental/PdfViewer/
H A DSkPdfFont.h81 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const = 0;
100 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { argument
101 // TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
103 uint16_t* text = (uint16_t*)textIn.text;
104 textOut->text = new uint16_t[textIn.len / 2];
105 textOut->len = textIn.len / 2;
124 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { argument
125 // TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
127 unsigned char* text = (unsigned char*)textIn.text;
128 textOut->text = new uint16_t[textIn
147 decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const argument
212 ToUnicode(const SkDecodedText& textIn, SkUnicodeText* textOut) const argument
[all...]
/external/skia/experimental/PdfViewer/
H A DSkPdfFont.h81 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const = 0;
100 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { argument
101 // TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
103 uint16_t* text = (uint16_t*)textIn.text;
104 textOut->text = new uint16_t[textIn.len / 2];
105 textOut->len = textIn.len / 2;
124 virtual bool decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const { argument
125 // TODO(edisonn): SkASSERT(textIn.len % 2 == 0); or report error?
127 unsigned char* text = (unsigned char*)textIn.text;
128 textOut->text = new uint16_t[textIn
147 decodeText(const SkUnencodedText& textIn, SkDecodedText* textOut) const argument
212 ToUnicode(const SkDecodedText& textIn, SkUnicodeText* textOut) const argument
[all...]
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Ducsdet.h114 * @param textIn the input text of unknown encoding. .
122 ucsdet_setText(UCharsetDetector *ucsd, const char *textIn, int32_t len, UErrorCode *status);

Completed in 1356 milliseconds

12