Home
last modified time | relevance | path

Searched refs:CharsetDetector (Results 1 - 25 of 29) sorted by relevance

12

/third_party/icu/icu4c/source/i18n/
H A Ducsdet.cpp38 CharsetDetector* csd = new CharsetDetector(*status); in ucsdet_open()
51 CharsetDetector *csd = (CharsetDetector *) ucsd; in ucsdet_close()
62 ((CharsetDetector *) ucsd)->setText(textIn, len); in ucsdet_setText()
102 return (const UCharsetMatch *) ((CharsetDetector *) ucsd)->detect(*status); in ucsdet_detect()
112 ((CharsetDetector *) ucsd)->setDeclaredEncoding(encoding,length); in ucsdet_setDeclaredEncoding()
123 CharsetDetector *csd = (CharsetDetector *) ucsd; in ucsdet_detectAll()
154 return ((CharsetDetector *) ucs in ucsdet_isInputFilterEnabled()
[all...]
H A Dcsdetect.cpp145 void CharsetDetector::setRecognizers(UErrorCode &status) in setRecognizers()
150 CharsetDetector::CharsetDetector(UErrorCode &status) in CharsetDetector() function in CharsetDetector
182 CharsetDetector::~CharsetDetector() in ~CharsetDetector()
197 void CharsetDetector::setText(const char *in, int32_t len) in setText()
203 UBool CharsetDetector::setStripTagsFlag(UBool flag) in setStripTagsFlag()
211 UBool CharsetDetector::getStripTagsFlag() const in getStripTagsFlag()
216 void CharsetDetector::setDeclaredEncoding(const char *encoding, int32_t len) const in setDeclaredEncoding()
221 int32_t CharsetDetector
[all...]
H A Dcsdetect.h25 class CharsetDetector : public UMemory class
40 CharsetDetector(UErrorCode &status);
42 ~CharsetDetector();
/third_party/node/deps/icu-small/source/i18n/
H A Ducsdet.cpp38 CharsetDetector* csd = new CharsetDetector(*status); in ucsdet_open()
51 CharsetDetector *csd = (CharsetDetector *) ucsd; in ucsdet_close()
62 ((CharsetDetector *) ucsd)->setText(textIn, len); in ucsdet_setText()
102 return (const UCharsetMatch *) ((CharsetDetector *) ucsd)->detect(*status); in ucsdet_detect()
112 ((CharsetDetector *) ucsd)->setDeclaredEncoding(encoding,length); in ucsdet_setDeclaredEncoding()
123 CharsetDetector *csd = (CharsetDetector *) ucsd; in ucsdet_detectAll()
154 return ((CharsetDetector *) ucs in ucsdet_isInputFilterEnabled()
[all...]
H A Dcsdetect.cpp145 void CharsetDetector::setRecognizers(UErrorCode &status) in setRecognizers()
150 CharsetDetector::CharsetDetector(UErrorCode &status) in CharsetDetector() function in CharsetDetector
182 CharsetDetector::~CharsetDetector() in ~CharsetDetector()
197 void CharsetDetector::setText(const char *in, int32_t len) in setText()
203 UBool CharsetDetector::setStripTagsFlag(UBool flag) in setStripTagsFlag()
211 UBool CharsetDetector::getStripTagsFlag() const in getStripTagsFlag()
216 void CharsetDetector::setDeclaredEncoding(const char *encoding, int32_t len) const in setDeclaredEncoding()
221 int32_t CharsetDetector
[all...]
H A Dcsdetect.h25 class CharsetDetector : public UMemory class
40 CharsetDetector(UErrorCode &status);
42 ~CharsetDetector();
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ducsdet.cpp38 CharsetDetector* csd = new CharsetDetector(*status); in ucsdet_open()
51 CharsetDetector *csd = (CharsetDetector *) ucsd; in ucsdet_close()
62 ((CharsetDetector *) ucsd)->setText(textIn, len); in ucsdet_setText()
102 return (const UCharsetMatch *) ((CharsetDetector *) ucsd)->detect(*status); in ucsdet_detect()
112 ((CharsetDetector *) ucsd)->setDeclaredEncoding(encoding,length); in ucsdet_setDeclaredEncoding()
123 CharsetDetector *csd = (CharsetDetector *) ucsd; in ucsdet_detectAll()
154 return ((CharsetDetector *) ucs in ucsdet_isInputFilterEnabled()
[all...]
H A Dcsdetect.cpp145 void CharsetDetector::setRecognizers(UErrorCode &status) in setRecognizers()
150 CharsetDetector::CharsetDetector(UErrorCode &status) in CharsetDetector() function in CharsetDetector
182 CharsetDetector::~CharsetDetector() in ~CharsetDetector()
197 void CharsetDetector::setText(const char *in, int32_t len) in setText()
203 UBool CharsetDetector::setStripTagsFlag(UBool flag) in setStripTagsFlag()
211 UBool CharsetDetector::getStripTagsFlag() const in getStripTagsFlag()
216 void CharsetDetector::setDeclaredEncoding(const char *encoding, int32_t len) const in setDeclaredEncoding()
221 int32_t CharsetDetector
[all...]
H A Dcsdetect.h25 class CharsetDetector : public UMemory class
40 CharsetDetector(UErrorCode &status);
42 ~CharsetDetector();
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/charsetdet/
H A DTestCharsetDetector.java37 import ohos.global.icu.text.CharsetDetector;
90 CharsetDetector det = new CharsetDetector(); in TestConstruction()
94 String [] charsetNames = CharsetDetector.getAllDetectableCharsets(); in TestConstruction()
138 CharsetDetector det = new CharsetDetector(); in TestInputFilter()
170 CharsetDetector det = new CharsetDetector(); in TestUTF8()
195 CharsetDetector det = new CharsetDetector(); in TestUTF16()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
H A DTestCharsetDetector.java36 import com.ibm.icu.text.CharsetDetector;
87 CharsetDetector det = new CharsetDetector(); in TestConstruction()
91 String [] charsetNames = CharsetDetector.getAllDetectableCharsets(); in TestConstruction()
135 CharsetDetector det = new CharsetDetector(); in TestInputFilter()
167 CharsetDetector det = new CharsetDetector(); in TestUTF8()
192 CharsetDetector det = new CharsetDetector(); in TestUTF16()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetRecog_mbcs.java22 * CharsetDetector class and kept in the global list of available
38 * which is obtained via the CharsetDetector object.
40 * @param det The CharsetDetector, which contains the input text
48 int match(CharsetDetector det, int [] commonChars) { in match()
156 int nextByte(CharsetDetector det) { in nextByte()
178 abstract boolean nextChar(iteratedChar it, CharsetDetector det); in nextChar()
201 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar()
226 CharsetMatch match(CharsetDetector det) { in match()
267 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar()
295 CharsetMatch match(CharsetDetector de
[all...]
H A DCharsetRecog_Unicode.java26 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
29 abstract CharsetMatch match(CharsetDetector det); in match()
63 CharsetMatch match(CharsetDetector det) in match()
99 CharsetMatch match(CharsetDetector det) in match()
134 CharsetMatch match(CharsetDetector det) in match()
H A DCharsetDetector.java21 * <code>CharsetDetector</code> provides a facility for detecting the
40 public class CharsetDetector { class
57 public CharsetDetector() { in CharsetDetector() method in CharsetDetector
76 public CharsetDetector setDeclaredEncoding(String encoding) { in setDeclaredEncoding()
86 * @return This CharsetDetector
90 public CharsetDetector setText(byte [] in) { in setText()
110 * @return This CharsetDetector
115 public CharsetDetector setText(InputStream in) throws IOException { in setText()
288 * Get the names of all charsets supported by <code>CharsetDetector</code> class.
298 * <code>CharsetDetector</cod
[all...]
H A DCharsetRecog_2022.java122 CharsetMatch match(CharsetDetector det) { in match()
139 CharsetMatch match(CharsetDetector det) { in match()
166 CharsetMatch match(CharsetDetector det) { in match()
H A DCharsetMatch.java19 * This class represents a charset that has been identified by a CharsetDetector
170 * allows CharsetDetector.detectAll() to order its results.
194 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { in CharsetMatch()
214 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) { in CharsetMatch()
H A DCharsetRecog_sbcs.java109 private int nextByte(CharsetDetector det) in nextByte()
118 protected void parseCharacters(CharsetDetector det) in parseCharacters()
138 public int parse(CharsetDetector det) in parse()
142 public int parse(CharsetDetector det, byte spaceCh) in parse()
211 * because CharsetDetector is dealing with bytes not Unicode code points. We could
216 private int nextByte(CharsetDetector det) in nextByte()
235 protected void parseCharacters(CharsetDetector det) in parseCharacters()
269 int match(CharsetDetector det, int[] ngrams, byte[] byteMap) in match()
274 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar) in match()
280 int matchIBM420(CharsetDetector de
[all...]
H A DCharsetRecognizer.java13 * Part of the implementation of ICU's CharsetDetector.
17 * CharsetDetector and the stuff specific to an individual charset happens
20 * Instances of CharsetDetector DO NOT have or maintain
22 * The WILL be shared by multiple instances of CharsetDetector.
43 * which is obtained via the CharsetDetector object.
45 * @param det The CharsetDetector, which contains the input text
50 abstract CharsetMatch match(CharsetDetector det); in match()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCharsetRecog_mbcs.java23 * CharsetDetector class and kept in the global list of available
39 * which is obtained via the CharsetDetector object.
41 * @param det The CharsetDetector, which contains the input text
49 int match(CharsetDetector det, int [] commonChars) { in match()
157 int nextByte(CharsetDetector det) { in nextByte()
179 abstract boolean nextChar(iteratedChar it, CharsetDetector det); in nextChar()
202 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar()
227 CharsetMatch match(CharsetDetector det) { in match()
268 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar()
296 CharsetMatch match(CharsetDetector de
[all...]
H A DCharsetRecog_Unicode.java27 * @see ohos.global.icu.text.CharsetRecognizer#match(ohos.global.icu.text.CharsetDetector)
30 abstract CharsetMatch match(CharsetDetector det); in match()
64 CharsetMatch match(CharsetDetector det) in match()
100 CharsetMatch match(CharsetDetector det) in match()
135 CharsetMatch match(CharsetDetector det) in match()
H A DCharsetDetector.java22 * <code>CharsetDetector</code> provides a facility for detecting the
41 public class CharsetDetector { class
56 public CharsetDetector() { in CharsetDetector() method in CharsetDetector
73 public CharsetDetector setDeclaredEncoding(String encoding) { in setDeclaredEncoding()
83 * @return This CharsetDetector
85 public CharsetDetector setText(byte [] in) { in setText()
105 * @return This CharsetDetector
108 public CharsetDetector setText(InputStream in) throws IOException { in setText()
273 * Get the names of all charsets supported by <code>CharsetDetector</code> class.
283 * <code>CharsetDetector</cod
[all...]
H A DCharsetRecog_2022.java123 CharsetMatch match(CharsetDetector det) { in match()
140 CharsetMatch match(CharsetDetector det) { in match()
167 CharsetMatch match(CharsetDetector det) { in match()
H A DCharsetMatch.java20 * This class represents a charset that has been identified by a CharsetDetector
159 * allows CharsetDetector.detectAll() to order its results.
182 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) { in CharsetMatch()
202 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) { in CharsetMatch()
H A DCharsetRecog_sbcs.java110 private int nextByte(CharsetDetector det) in nextByte()
119 protected void parseCharacters(CharsetDetector det) in parseCharacters()
139 public int parse(CharsetDetector det) in parse()
143 public int parse(CharsetDetector det, byte spaceCh) in parse()
212 * because CharsetDetector is dealing with bytes not Unicode code points. We could
217 private int nextByte(CharsetDetector det) in nextByte()
236 protected void parseCharacters(CharsetDetector det) in parseCharacters()
270 int match(CharsetDetector det, int[] ngrams, byte[] byteMap) in match()
275 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar) in match()
281 int matchIBM420(CharsetDetector de
[all...]
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
H A DDetectingViewer.java42 import com.ibm.icu.text.CharsetDetector;
46 * This simple application demonstrates how to use the CharsetDetector API. It
270 CharsetDetector det = new CharsetDetector(); in detect()
279 CharsetDetector det = new CharsetDetector(); in detect()

Completed in 12 milliseconds

12