Home
last modified time | relevance | path

Searched refs:confusables (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4c/source/tools/gencfu/
Dgencfu.cpp218 const char *confusables = readFile(confFileName, &confusablesLen); in main() local
219 if (confusables == NULL) { in main()
232 USpoofChecker *sc = uspoof_openFromSource(confusables, confusablesLen, in main()
291 delete [] confusables; in main()
/external/icu/icu4c/source/i18n/
Duspoof_conf.cpp213 void ConfusabledataBuilder::buildConfusableData(SpoofImpl * spImpl, const char * confusables, in buildConfusableData() argument
220 builder.build(confusables, confusablesLen, status); in buildConfusableData()
228 void ConfusabledataBuilder::build(const char * confusables, int32_t confusablesLen, in build() argument
236 u_strFromUTF8(NULL, 0, &inputLen, confusables, confusablesLen, &status); in build()
246 u_strFromUTF8(fInput, inputLen+1, NULL, confusables, confusablesLen, &status); in build()
Duspoof_build.cpp51 uspoof_openFromSource(const char *confusables, int32_t confusablesLen, in uspoof_openFromSource() argument
98 …ConfusabledataBuilder::buildConfusableData(This, confusables, confusablesLen, errorType, pe, *stat… in uspoof_openFromSource()
Duspoof_conf.h109 void build(const char * confusables, int32_t confusablesLen, UErrorCode &status);
127 static void buildConfusableData(SpoofImpl *spImpl, const char * confusables,
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSpoofChecker.java548 public Builder setData(Reader confusables) throws ParseException, IOException { in setData() argument
555 ConfusabledataBuilder.buildConfusableData(confusables, fSpoofData); in setData()
573 …public Builder setData(Reader confusables, Reader confusablesWholeScript) throws ParseException, I… in setData() argument
574 setData(confusables); in setData()
813 … void build(Reader confusables, SpoofData dest) throws ParseException, java.io.IOException { in build() argument
817 LineNumberReader lnr = new LineNumberReader(confusables); in build()
994 public static void buildConfusableData(Reader confusables, SpoofData dest)
997 builder.build(confusables, dest);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSpoofChecker.java588 public Builder setData(Reader confusables) throws ParseException, IOException { in setData() argument
595 ConfusabledataBuilder.buildConfusableData(confusables, fSpoofData); in setData()
613 …public Builder setData(Reader confusables, Reader confusablesWholeScript) throws ParseException, I… in setData() argument
614 setData(confusables); in setData()
858 … void build(Reader confusables, SpoofData dest) throws ParseException, java.io.IOException { in build() argument
862 LineNumberReader lnr = new LineNumberReader(confusables); in build()
1039 public static void buildConfusableData(Reader confusables, SpoofData dest)
1042 builder.build(confusables, dest);
/external/icu/icu4c/source/test/cintltst/
Dspooftest.c117 char *confusables; in TestOpenFromSource() local
133 confusables = malloc(3000000); in TestOpenFromSource()
135 confusablesLength = fread(confusables, 1, 3000000, f); in TestOpenFromSource()
149 rsc = uspoof_openFromSource(confusables, confusablesLength, in TestOpenFromSource()
161 free(confusables); in TestOpenFromSource()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DSpoofCheckerTest.java95 Reader confusables; in TestOpenFromSourceRules() local
101 confusables = TestUtil.getDataReader(fileName, "UTF-8"); in TestOpenFromSourceRules()
103 rsc = new SpoofChecker.Builder().setData(confusables).build(); in TestOpenFromSourceRules()
105 confusables.close(); in TestOpenFromSourceRules()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java92 Reader confusables; in TestOpenFromSourceRules() local
98 confusables = TestUtil.getDataReader(fileName, "UTF-8"); in TestOpenFromSourceRules()
100 rsc = new SpoofChecker.Builder().setData(confusables).build(); in TestOpenFromSourceRules()
102 confusables.close(); in TestOpenFromSourceRules()
/external/icu/icu4c/source/i18n/unicode/
Duspoof.h664 uspoof_openFromSource(const char *confusables, int32_t confusablesLen,
/external/icu/libandroidicu/include/unicode/
Duspoof.h664 uspoof_openFromSource(const char *confusables, int32_t confusablesLen,
/external/icu/icu4c/source/data/
Dmakedata.mak700 …L_COL_FILES) $(RBNF_RES_FILES) $(TRANSLIT_RES_FILES) $(SPREP_FILES) "$(ICUBLD_PKG)\confusables.cfu"
705 confusables.cfu
1112 "$(ICUBLD_PKG)\confusables.cfu": "$(ICUUNIDATA)\confusables.txt" "$(ICUUNIDATA)\confusablesWholeScr…
1114 …@"$(ICUTOOLS)\gencfu\$(CFGTOOLS)\gencfu" -c -r "$(ICUUNIDATA)\confusables.txt" -w "$(ICUUNIDATA)\c…
DMakefile.in275 ALL_CFU_SOURCE=$(UNICODEDATADIR)/confusables.txt $(UNICODEDATADIR)/confusablesWholeScript.txt
276 CFU_FILES_SHORT=confusables.cfu
/external/icu/icu4c/source/data/unidata/
Dchanges.txt225 - cp $UNICODE_DATA/security/confusables.txt $ICU4C_UNIDATA
507 cp com/ibm/icu/impl/data/$ICUDT/confusables.cfu /tmp/icu4j/com/ibm/icu/impl/data/$ICUDT
529 …cp confusables.txt confusablesWholeScript.txt NormalizationCorrections.txt NormalizationTest.txt S…
618 - cp $UNICODE_DATA/security/confusables.txt $ICU4C_UNIDATA
865 cp com/ibm/icu/impl/data/$ICUDT/confusables.cfu /tmp/icu4j/com/ibm/icu/impl/data/$ICUDT
887 …cp confusables.txt confusablesWholeScript.txt NormalizationCorrections.txt NormalizationTest.txt S…
957 - cp ~/unidata/uni90e50/20170322/security/confusables.txt $UNIDATA
1011 cp com/ibm/icu/impl/data/$ICUDT/confusables.cfu /tmp/icu4j/com/ibm/icu/impl/data/$ICUDT
1026 …cp confusables.txt confusablesWholeScript.txt NormalizationCorrections.txt NormalizationTest.txt S…
1088 - also: from http://unicode.org/Public/security/9.0.0/ download new confusables.txt
[all …]
Dconfusables.txt1 # confusables.txt
/external/icu/libandroidicu/static_shim/
Dshim.cpp2799 USpoofChecker * uspoof_openFromSource_android(const char * confusables, int32_t confusablesLen, con… in uspoof_openFromSource_android() argument
2800 …return uspoof_openFromSource(confusables, confusablesLen, confusablesWholeScript, confusablesWhole… in uspoof_openFromSource_android()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
Dconfusables.txt1 # confusables.txt
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/unicode/
Dconfusables.txt1 # confusables.txt