Home
last modified time | relevance | path

Searched refs:nfc (Results 1 – 25 of 108) sorted by relevance

12345

/external/cldr/tools/java/org/unicode/cldr/draft/
DShortestCanonicalForm.java37 final String nfc = Normalizer.normalize(i, Normalizer.NFC);
38 if (nfc.codePointCount(0, nfc.length()) > 1) {
39 restoreExclusions.put(nfc, UTF16.valueOf(i)); in restoreExclusions.put() argument
40 int first = nfc.codePointAt(0);
41 final String trailingString = nfc.substring(first > 0xFFFF ? 2 : 1);
90 String nfc = shortNFC(trial);
91 String shortest = getShortest(trial, nfc);
92 if (!shortest.equals(nfc)) {
93 final int blocker = nfc.codePointAt(0);
98 System.out.println("\tNFC: " + Utility.hex(nfc) + "\t" + nfc);
[all …]
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dp2p-nfc.py16 import nfc
17 import nfc.ndef
18 import nfc.llcp
19 import nfc.handover
154 message = nfc.ndef.HandoverRequestMessage(version="1.2")
164 datamsg = nfc.ndef.Message(data)
178 datamsg = nfc.ndef.Message(data)
188 client = nfc.handover.HandoverClient(llc)
193 except nfc.llcp.ConnectRefused:
226 message = nfc.ndef.HandoverSelectMessage(message)
[all …]
Dwps-nfc.py16 import nfc
17 import nfc.ndef
18 import nfc.llcp
19 import nfc.handover
138 class HandoverServer(nfc.handover.HandoverServer):
149 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12")
154 request = nfc.ndef.HandoverRequestMessage(request)
155 except nfc.ndef.DecodeError as e:
170 sel = nfc.ndef.HandoverSelectMessage(version="1.2")
188 message = nfc.ndef.Message(data);
[all …]
/external/wpa_supplicant_8/hostapd/
Dwps-ap-nfc.py14 import nfc
15 import nfc.ndef
16 import nfc.llcp
17 import nfc.handover
110 class HandoverServer(nfc.handover.HandoverServer):
120 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12")
125 request = nfc.ndef.HandoverRequestMessage(request)
126 except nfc.ndef.DecodeError as e:
141 sel = nfc.ndef.HandoverSelectMessage(version="1.2")
158 message = nfc.ndef.Message(data);
[all …]
/external/selinux/policycoreutils/sestatus/
Dsestatus.c95 void load_checks(char *pc[], int *npc, char *fc[], int *nfc) in load_checks() argument
148 if (*nfc >= MAX_CHECK) in load_checks()
150 fc[*nfc] = in load_checks()
153 memcpy(fc[*nfc], bufp, buf_len); in load_checks()
154 (*nfc)++; in load_checks()
188 int nfc = 0; in main() local
412 load_checks(pc, &npc, fc, &nfc); in main()
454 for (i = 0; i < nfc; i++) { in main()
/external/rust/crates/unicode-normalization/src/
Dlib.rs109 fn nfc(self) -> Recompositions<I>; in nfc() method
144 fn nfc(self) -> Recompositions<Chars<'a>> { in nfc() method
176 fn nfc(self) -> Recompositions<I> { in nfc() method
Dquick_check.rs112 IsNormalized::Maybe => s.chars().eq(s.chars().nfc()), in is_nfc()
152 IsNormalized::Maybe => s.chars().eq(s.chars().stream_safe().nfc()), in is_nfc_stream_safe()
/external/guice/core/test/com/google/inject/
DNullableInjectionPointTest.java66 NullableFooConstructor nfc = createInjector().getInstance(NullableFooConstructor.class); in testInjectNullIntoNullableConstructor() local
67 assertNull(nfc.foo); in testInjectNullIntoNullableConstructor()
81 CustomNullableFooConstructor nfc = in testInjectNullIntoCustomNullableConstructor() local
83 assertNull(nfc.foo); in testInjectNullIntoCustomNullableConstructor()
/external/python/cpython3/Modules/
Dunicodedata.c626 find_nfc_index(const struct reindex* nfc, Py_UCS4 code) in find_nfc_index() argument
629 for (index = 0; nfc[index].start; index++) { in find_nfc_index()
630 unsigned int start = nfc[index].start; in find_nfc_index()
633 if (code <= start + nfc[index].count) { in find_nfc_index()
635 return nfc[index].index + delta; in find_nfc_index()
798 bool nfc, bool k, bool yes_only) in is_normalized_quickcheck() argument
811 int quickcheck_shift = (nfc ? 4 : 0) + (k ? 2 : 0); in is_normalized_quickcheck()
872 bool nfc = false; in unicodedata_UCD_is_normalized_impl() local
880 nfc = true; in unicodedata_UCD_is_normalized_impl()
883 nfc = true; in unicodedata_UCD_is_normalized_impl()
[all …]
/external/rust/crates/idna/src/
Duts46.rs378 normalized.extend(iter.nfc()); in processing()
401 errors.nfc = true; in processing()
597 nfc: bool, field
614 nfc, in is_err()
627 || nfc in is_err()
645 nfc, in fmt()
660 ("nfc", nfc), in fmt()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorDisorderedMarksTest.java41 Normalizer2 nfc = Normalizer2.getNFCInstance(); in disorderedMarksAddAll() local
126 String xx = nfc.normalize("\u01EC" + s); in disorderedMarksAddAll()
163 logln("isInert \u0104 " + nfc.isInert('\u0104')); in disorderedMarksAddAll()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNfcAdapterTest.java9 import android.nfc.NdefMessage;
10 import android.nfc.NdefRecord;
11 import android.nfc.NfcAdapter;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DNfcManagerFacade.java27 import android.nfc.NfcAdapter;
28 import android.nfc.NfcManager;
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorDisorderedMarksTest.java38 Normalizer2 nfc = Normalizer2.getNFCInstance(); in disorderedMarksAddAll() local
123 String xx = nfc.normalize("\u01EC" + s); in disorderedMarksAddAll()
160 logln("isInert \u0104 " + nfc.isInert('\u0104')); in disorderedMarksAddAll()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DWriteNumberFormatSerialTestData.java45 NumberFormat nfc = NumberFormat.getCurrencyInstance(Locale.US); in main() local
53 … write(file,(Object)nfc,"currencyInstance","//NumberFormat.getCurrencyInstance(Locale.US)"); in main()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DWriteNumberFormatSerialTestData.java42 NumberFormat nfc = NumberFormat.getCurrencyInstance(Locale.US); in main() local
50 … write(file,(Object)nfc,"currencyInstance","//NumberFormat.getCurrencyInstance(Locale.US)"); in main()
/external/cpuinfo/test/build.prop/
Dxperia-sl.log148 ro.nfc.on.default=false
149 ro.nfc.se.sim.enable=true
150 ro.nfc.se.smx.enable=false
151 ro.nfc.icon.enable=true
152 ro.nfc.vendor.name=nxp
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNfcAdapter.java7 import android.nfc.NdefMessage;
8 import android.nfc.NfcAdapter;
/external/rust/crates/unicode-normalization/benches/
Dbench.rs76 b.iter(|| ASCII.nfc().count()); in bench_nfc_ascii()
87 b.iter(|| long.nfc().count()); in bench_nfc_long()
/external/icu/icu4c/source/i18n/
Dcollationdata.h55 CollationData(const Normalizer2Impl &nfc) in CollationData()
59 nfcImpl(nfc), in CollationData()
/external/icu/libicu/cts_headers/
Dcollationdata.h55 CollationData(const Normalizer2Impl &nfc) in CollationData()
59 nfcImpl(nfc), in CollationData()
/external/icu/icu4c/source/data/translit/
DHebr_Latn.txt29 :: nfkd (nfc) ;
93 :: nfc (nfd) ;
/external/icu/icu4c/source/test/perf/normperf/
Dsimplenormperf.cpp310 const Normalizer2 *nfc = Normalizer2::getNFCInstance(errorCode); in main() local
319 NormalizeUTF16 op(*nfc, CommonChars::getLatin1(maxLength)); in main()
324 NormalizeUTF8 op(*nfc, CommonChars::getJapanese(maxLength)); in main()
/external/python/cpython2/Modules/
Dunicodedata.c613 find_nfc_index(PyObject *self, struct reindex* nfc, Py_UNICODE code) in find_nfc_index() argument
616 for (index = 0; nfc[index].start; index++) { in find_nfc_index()
617 int start = nfc[index].start; in find_nfc_index()
620 if (code <= start + nfc[index].count) { in find_nfc_index()
622 return nfc[index].index + delta; in find_nfc_index()
743 is_normalized(PyObject *self, PyObject *input, int nfc, int k) in is_normalized() argument
755 quickcheck_mask = 3 << ((nfc ? 4 : 0) + (k ? 2 : 0)); in is_normalized()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/
Dpackage.list68 android.nfc
69 android.nfc.cardemulation
70 android.nfc.tech

12345