Home
last modified time | relevance | path

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

123

/third_party/node/deps/icu-small/source/i18n/
Dcsrsbcs.cpp892 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 …]
Dcsr2022.cpp149 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 …]
Dcsrucode.cpp55 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 …]
Dcsmatch.cpp24 : 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()
Dcsrucode.h41 UBool match(InputText* textIn, CharsetMatch *results) const override = 0;
53 UBool match(InputText* textIn, CharsetMatch *results) const override;
64 UBool match(InputText* textIn, CharsetMatch *results) const override;
77 UBool match(InputText* textIn, CharsetMatch *results) const override;
Dcsr2022.h67 UBool match(InputText *textIn, CharsetMatch *results) const override;
77 UBool match(InputText *textIn, CharsetMatch *results) const override;
88 UBool match(InputText *textIn, CharsetMatch *results) const override;
Dcsdetect.cpp151 : 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()
/third_party/icu/icu4c/source/i18n/
Dcsrsbcs.cpp892 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 …]
Dcsr2022.cpp149 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 …]
Dcsrucode.cpp55 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 …]
Dcsmatch.cpp24 : 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()
Dcsrucode.h41 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;
Dcsr2022.h67 UBool match(InputText *textIn, CharsetMatch *results) const;
77 UBool match(InputText *textIn, CharsetMatch *results) const;
88 UBool match(InputText *textIn, CharsetMatch *results) const;
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcsrsbcs.cpp892 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 …]
Dcsr2022.cpp149 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 …]
Dcsrucode.cpp55 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 …]
Dcsmatch.cpp24 : 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()
Dcsrucode.h41 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;
Dcsr2022.h67 UBool match(InputText *textIn, CharsetMatch *results) const;
77 UBool match(InputText *textIn, CharsetMatch *results) const;
88 UBool match(InputText *textIn, CharsetMatch *results) const;
/third_party/skia/third_party/externals/icu/source/i18n/
Dcsrsbcs.cpp892 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 …]
Dcsr2022.cpp149 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 …]
Dcsrucode.cpp55 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 …]
Dcsmatch.cpp24 : 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()
Dcsrucode.h41 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;
Dcsr2022.h67 UBool match(InputText *textIn, CharsetMatch *results) const;
77 UBool match(InputText *textIn, CharsetMatch *results) const;
88 UBool match(InputText *textIn, CharsetMatch *results) const;

123