HomeSort by relevance Sort by last modified time
    Searched refs:sci (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
CSCharacterIteratorTest.java 29 CharacterIterator sci = new StringCharacterIterator(text); local
31 assertEquals("", sci.setIndex(6), csci.setIndex(6));
32 assertEquals("", sci.getIndex(), csci.getIndex());
33 assertEquals("", sci.current(), csci.current());
34 assertEquals("", sci.previous(), csci.previous());
35 assertEquals("", sci.next(), csci.next());
36 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex());
37 assertEquals("", sci.getEndIndex(), csci.getEndIndex());
38 assertEquals("", sci.first(), csci.first());
39 assertEquals("", sci.last(), csci.last())
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
CSCharacterIteratorTest.java 26 CharacterIterator sci = new StringCharacterIterator(text); local
28 assertEquals("", sci.setIndex(6), csci.setIndex(6));
29 assertEquals("", sci.getIndex(), csci.getIndex());
30 assertEquals("", sci.current(), csci.current());
31 assertEquals("", sci.previous(), csci.previous());
32 assertEquals("", sci.next(), csci.next());
33 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex());
34 assertEquals("", sci.getEndIndex(), csci.getEndIndex());
35 assertEquals("", sci.first(), csci.first());
36 assertEquals("", sci.last(), csci.last())
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_fpformat.py 8 fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber
15 # sci(n,d) == "%.*e"%(d,n)
16 # for all reasonable numeric n and d, except that sci gives 3 exponent
32 result = sci(n, digits)
46 self.assertEqual(sci(100.0/3, 3), '3.333e+001')
58 self.assertEqual(sci("1"+('0'*1000), 0), '1e+1000')
60 # This behavior is inconsistent. sci raises an exception; fix doesn't.
64 sci(yacht, 10)
68 self.fail("No exception on non-numeric sci")
    [all...]
  /external/python/cpython2/Lib/test/
test_fpformat.py 8 fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber
15 # sci(n,d) == "%.*e"%(d,n)
16 # for all reasonable numeric n and d, except that sci gives 3 exponent
32 result = sci(n, digits)
46 self.assertEqual(sci(100.0/3, 3), '3.333e+001')
58 self.assertEqual(sci("1"+('0'*1000), 0), '1e+1000')
60 # This behavior is inconsistent. sci raises an exception; fix doesn't.
64 sci(yacht, 10)
68 self.fail("No exception on non-numeric sci")
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_fpformat.py 8 fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber
15 # sci(n,d) == "%.*e"%(d,n)
16 # for all reasonable numeric n and d, except that sci gives 3 exponent
32 result = sci(n, digits)
46 self.assertEqual(sci(100.0/3, 3), '3.333e+001')
58 self.assertEqual(sci("1"+('0'*1000), 0), '1e+1000')
60 # This behavior is inconsistent. sci raises an exception; fix doesn't.
64 sci(yacht, 10)
68 self.fail("No exception on non-numeric sci")
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_fpformat.py 8 fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber
15 # sci(n,d) == "%.*e"%(d,n)
16 # for all reasonable numeric n and d, except that sci gives 3 exponent
32 result = sci(n, digits)
46 self.assertEqual(sci(100.0/3, 3), '3.333e+001')
58 self.assertEqual(sci("1"+('0'*1000), 0), '1e+1000')
60 # This behavior is inconsistent. sci raises an exception; fix doesn't.
64 sci(yacht, 10)
68 self.fail("No exception on non-numeric sci")
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fpformat.py 8 fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber
15 # sci(n,d) == "%.*e"%(d,n)
16 # for all reasonable numeric n and d, except that sci gives 3 exponent
32 result = sci(n, digits)
46 self.assertEqual(sci(100.0/3, 3), '3.333e+001')
58 self.assertEqual(sci("1"+('0'*1000), 0), '1e+1000')
60 # This behavior is inconsistent. sci raises an exception; fix doesn't.
64 sci(yacht, 10)
68 self.fail("No exception on non-numeric sci")
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fpformat.py 8 fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber
15 # sci(n,d) == "%.*e"%(d,n)
16 # for all reasonable numeric n and d, except that sci gives 3 exponent
32 result = sci(n, digits)
46 self.assertEqual(sci(100.0/3, 3), '3.333e+001')
58 self.assertEqual(sci("1"+('0'*1000), 0), '1e+1000')
60 # This behavior is inconsistent. sci raises an exception; fix doesn't.
64 sci(yacht, 10)
68 self.fail("No exception on non-numeric sci")
    [all...]
  /external/iproute2/ip/
ipmacsec.c 34 struct sci { struct
35 __u64 sci; member in struct:sci
56 __u64 sci; member in struct:txsc_desc
66 __u64 sci; member in struct:rxsc_desc
87 fprintf(stderr, " ip macsec add DEV rx SCI [ on | off ]\n");
88 fprintf(stderr, " ip macsec set DEV rx SCI [ on | off ]\n");
89 fprintf(stderr, " ip macsec del DEV rx SCI\n");
90 fprintf(stderr, " ip macsec add DEV rx SCI sa { 0..3 } [ OPTS ] key ID KEY\n");
91 fprintf(stderr, " ip macsec set DEV rx SCI sa { 0..3 } [ OPTS ]\n");
92 fprintf(stderr, " ip macsec del DEV rx SCI sa { 0..3 }\n")
235 __u64 sci; local
308 struct sci sci = { 0 }; local
534 __u64 sci; member in struct:__anon22158
883 __u64 sci; local
1144 struct sci sci = { 0 }; local
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
SpellCheckerPreferenceController.java 70 final SpellCheckerInfo sci = mTextServicesManager.getCurrentSpellChecker(); local
71 if (sci != null) {
72 preference.setSummary(sci.loadLabel(mContext.getPackageManager()));
SpellCheckersSettings.java 144 private CharSequence getSpellCheckerSubtypeLabel(final SpellCheckerInfo sci,
146 if (sci == null) {
153 getActivity(), sci.getPackageName(), sci.getServiceInfo().applicationInfo);
167 final SpellCheckerInfo sci = (SpellCheckerInfo) newValue; local
169 (sci.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
171 changeCurrentSpellChecker(sci);
174 showSecurityWarnDialog(sci);
241 private void showSecurityWarnDialog(final SpellCheckerInfo sci) {
248 sci.loadLabel(getPackageManager())))
    [all...]
SpellCheckerPreference.java 88 SpellCheckerInfo sci = mScis[index]; local
89 final String settingsActivity = sci.getSettingsActivity();
94 mIntent.setClassName(sci.getPackageName(), settingsActivity);
  /frameworks/base/core/java/android/view/textservice/
TextServicesManager.java 141 final SpellCheckerInfo sci; local
143 sci = mService.getCurrentSpellChecker(null);
147 if (sci == null) {
165 for (int i = 0; i < sci.getSubtypeCount(); ++i) {
166 final SpellCheckerSubtype subtype = sci.getSubtypeAt(i);
181 final SpellCheckerSession session = new SpellCheckerSession(sci, mService, listener);
183 mService.getSpellCheckerService(sci.getId(), subtypeInUse.getLocale(),
SpellCheckerSubtype.java 295 * @param sci SpellCheckerInfo of which subtypes are subject to be sorted
300 public static List<SpellCheckerSubtype> sort(Context context, int flags, SpellCheckerInfo sci,
302 if (sci == null) return subtypeList;
306 int N = sci.getSubtypeCount();
308 SpellCheckerSubtype subtype = sci.getSubtypeAt(i);
315 // contained in sci, so the remaining subtypes will be appended.
  /external/valgrind/coregrind/m_syswrap/
syswrap-main.c 1668 SyscallInfo* sci; local
2052 SyscallInfo* sci; local
2561 SyscallInfo* sci; local
2785 SyscallInfo* sci; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/
TextServicesManagerService.java 163 public void setCurrentSpellChecker(@Nullable SpellCheckerInfo sci) {
164 if (sci != null) {
165 putSelectedSpellChecker(sci.getId());
199 final SpellCheckerInfo sci = new SpellCheckerInfo(mContext, ri); local
200 if (sci.getSubtypeCount() <= 0) {
205 mSpellCheckerList.add(sci);
206 mSpellCheckerMap.put(sci.getId(), sci); local
361 SpellCheckerInfo sci = tsd.getCurrentSpellChecker(); local
362 if (sci == null)
449 final SpellCheckerInfo sci = spellCheckerList.get(i); local
515 final SpellCheckerInfo sci; local
608 final SpellCheckerInfo sci = spellCheckerMap.get(sciId); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
BreakIteratorRegTest.java 78 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); local
79 int len = sci.getEndIndex() - sci.getBeginIndex();
80 assertEqual(len, 0, "us word text: " + getString(sci));
102 CharacterIterator sci = test1.getText(); local
103 int len = sci.getEndIndex() - sci.getBeginIndex();
104 assertEqual(len, 0, "us sentence-word break text: " + getString(sci));
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
BreakIteratorRegTest.java 75 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); local
76 int len = sci.getEndIndex() - sci.getBeginIndex();
77 assertEqual(len, 0, "us word text: " + getString(sci));
99 CharacterIterator sci = test1.getText(); local
100 int len = sci.getEndIndex() - sci.getBeginIndex();
101 assertEqual(len, 0, "us sentence-word break text: " + getString(sci));
  /external/syslinux/com32/libupload/
serial.c 29 const struct syslinux_serial_console_info *sci local
36 if (sci->iobase) {
37 port = sci->iobase;
61 if (port == sci->iobase) {
66 divisor = sci->divisor;
  /art/runtime/
subtype_check.h 342 SubtypeCheckInfo sci = GetSubtypeCheckInfo(source); local
345 return sci.IsSubtypeOf(target_sci);
397 SubtypeCheckInfo sci = GetSubtypeCheckInfo(klass, parent_depth + 1u); local
401 const SubtypeCheckInfo::State sci_state = sci.GetState();
412 sci = parent_sci.CreateChild(assign); // Note: Parent could be mutated.
415 return sci;
420 DCHECK_NE(sci.GetState(), SubtypeCheckInfo::kUninitialized);
423 DCHECK_NE(sci.GetState(), SubtypeCheckInfo::kInitialized);
427 SetSubtypeCheckInfo(klass, sci); // self
430 return sci;
    [all...]
subtype_check_info_test.cc 261 SubtypeCheckInfo sci =
267 EXPECT_EQ(MaxInt<StorageType>(LenForPos()), sci.GetEncodedPathToRoot());
312 SubtypeCheckInfo sci = SubtypeCheckInfo::CreateRoot(); local
313 EXPECT_EQ(SubtypeCheckInfo::kAssigned, sci.GetState()); // Root is always assigned.
314 EXPECT_EQ(0u, GetPathToRoot(sci).Length()); // Root's path length is 0.
315 EXPECT_TRUE(HasNext(sci)); // Root always has a "Next".
316 EXPECT_EQ(MakeBitStringChar(1u), sci.GetNext()); // Next>=1 to disambiguate from Uninitialized.
  /external/scapy/scapy/contrib/
macsec.py 47 def __init__(self, sci, an, pn, key, icvlen, encrypt, send_sci):
48 if isinstance(sci, six.integer_types):
49 self.sci = struct.pack('!Q', sci)
50 elif isinstance(sci, bytes):
51 self.sci = sci
53 raise TypeError("SCI must be either bytes or int")
63 return self.sci + struct.pack('!I', pkt[MACsec].pn)
104 tag = MACsec(sci=self.sci, an=self.an
    [all...]
  /external/wpa_supplicant_8/src/drivers/
driver_macsec_linux.c 112 static int nla_put_rxsc_config(struct nl_msg *msg, u64 sci)
119 NLA_PUT_U64(msg, MACSEC_RXSC_ATTR_SCI, sci);
663 err = do_dump(drv, 0xff, mka_sci_u64(&sa->sc->sci), sa->an,
758 SCI2STR(sc->sci.addr, sc->sci.port));
764 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci)))
794 SCI2STR(sc->sci.addr, sc->sci.port));
800 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci)))
831 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port))
1017 u64 sci; local
    [all...]
driver_macsec_qca.c 58 struct ieee802_1x_mka_sci sci; member in struct:channel_map
168 wpa_printf(MSG_DEBUG, "%s: es=%d, scb=%d, sci=%d",
259 struct ieee802_1x_mka_sci *sci,
265 if (os_memcmp(&map[i].sci, sci,
277 struct ieee802_1x_mka_sci *sci,
280 os_memcpy(&map[channel].sci, sci, sizeof(struct ieee802_1x_mka_sci));
288 return macsec_qca_lookup_channel(drv->receive_channel_map, &sc->sci,
297 macsec_qca_register_channel(drv->receive_channel_map, &sc->sci,
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
SpellCheckerPreferenceControllerTest.java 100 final SpellCheckerInfo sci = mock(SpellCheckerInfo.class); local
102 when(mTextServicesManager.getCurrentSpellChecker()).thenReturn(sci);
103 when(sci.loadLabel(mContext.getPackageManager())).thenReturn(spellCheckerAppLabel);

Completed in 314 milliseconds

1 2 3