Home
last modified time | relevance | path

Searched refs:sci (Results 1 – 25 of 60) sorted by relevance

123

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCSCharacterIteratorTest.java26 CharacterIterator sci = new StringCharacterIterator(text); in TestAPI() local
28 assertEquals("", sci.setIndex(6), csci.setIndex(6)); in TestAPI()
29 assertEquals("", sci.getIndex(), csci.getIndex()); in TestAPI()
30 assertEquals("", sci.current(), csci.current()); in TestAPI()
31 assertEquals("", sci.previous(), csci.previous()); in TestAPI()
32 assertEquals("", sci.next(), csci.next()); in TestAPI()
33 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex()); in TestAPI()
34 assertEquals("", sci.getEndIndex(), csci.getEndIndex()); in TestAPI()
35 assertEquals("", sci.first(), csci.first()); in TestAPI()
36 assertEquals("", sci.last(), csci.last()); in TestAPI()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DCSCharacterIteratorTest.java29 CharacterIterator sci = new StringCharacterIterator(text); in TestAPI() local
31 assertEquals("", sci.setIndex(6), csci.setIndex(6)); in TestAPI()
32 assertEquals("", sci.getIndex(), csci.getIndex()); in TestAPI()
33 assertEquals("", sci.current(), csci.current()); in TestAPI()
34 assertEquals("", sci.previous(), csci.previous()); in TestAPI()
35 assertEquals("", sci.next(), csci.next()); in TestAPI()
36 assertEquals("", sci.getBeginIndex(), csci.getBeginIndex()); in TestAPI()
37 assertEquals("", sci.getEndIndex(), csci.getEndIndex()); in TestAPI()
38 assertEquals("", sci.first(), csci.first()); in TestAPI()
39 assertEquals("", sci.last(), csci.last()); in TestAPI()
[all …]
/external/iproute2/ip/
Dipmacsec.c34 struct sci { struct
35 __u64 sci; argument
56 __u64 sci; argument
66 __u64 sci; member
135 static int get_sci(__u64 *sci, const char *arg) in get_sci() argument
137 return get_be64(sci, arg, 16); in get_sci()
235 __u64 sci; in make_sci() local
237 memcpy(&sci, addr, ETH_ALEN); in make_sci()
238 memcpy(((char *)&sci) + ETH_ALEN, &port, sizeof(port)); in make_sci()
240 return sci; in make_sci()
[all …]
/external/arm-trusted-firmware/plat/imx/common/sci/
Dsci_api.mk7 BL31_SOURCES += plat/imx/common/sci/ipc.c \
8 plat/imx/common/sci/imx8_mu.c \
9 plat/imx/common/sci/svc/pad/pad_rpc_clnt.c \
10 plat/imx/common/sci/svc/pm/pm_rpc_clnt.c \
11 plat/imx/common/sci/svc/rm/rm_rpc_clnt.c \
12 plat/imx/common/sci/svc/timer/timer_rpc_clnt.c \
13 plat/imx/common/sci/svc/misc/misc_rpc_clnt.c
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_primary32.h170 SizeClassInfo *sci = GetSizeClassInfo(class_id); in AllocateBatch() local
171 SpinMutexLock l(&sci->mutex); in AllocateBatch()
172 if (sci->free_list.empty()) { in AllocateBatch()
173 if (UNLIKELY(!PopulateFreeList(stat, c, sci, class_id))) in AllocateBatch()
175 DCHECK(!sci->free_list.empty()); in AllocateBatch()
177 TransferBatch *b = sci->free_list.front(); in AllocateBatch()
178 sci->free_list.pop_front(); in AllocateBatch()
186 SizeClassInfo *sci = GetSizeClassInfo(class_id); in DeallocateBatch() local
187 SpinMutexLock l(&sci->mutex); in DeallocateBatch()
188 sci->free_list.push_front(b); in DeallocateBatch()
[all …]
/external/python/cpython2/Lib/test/
Dtest_fpformat.py8 fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber variable
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')
64 sci(yacht, 10)
79 fpformat.sci(attack, digs)
/external/wpa_supplicant_8/src/drivers/
Ddriver_macsec_linux.c113 static int nla_put_rxsc_config(struct nl_msg *msg, u64 sci) in nla_put_rxsc_config() argument
120 NLA_PUT_U64(msg, MACSEC_RXSC_ATTR_SCI, sci); in nla_put_rxsc_config()
684 err = do_dump(drv, 0xff, mka_sci_u64(&sa->sc->sci), sa->an, in macsec_drv_get_receive_lowest_pn()
715 if (nla_put_rxsc_config(msg, mka_sci_u64(&sa->sc->sci))) in macsec_drv_set_receive_lowest_pn()
827 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port), in macsec_drv_create_receive_sc()
834 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci))) in macsec_drv_create_receive_sc()
864 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port)); in macsec_drv_delete_receive_sc()
870 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci))) in macsec_drv_delete_receive_sc()
904 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port), in macsec_drv_create_receive_sa()
916 if (nla_put_rxsc_config(msg, mka_sci_u64(&sa->sc->sci))) in macsec_drv_create_receive_sa()
[all …]
Ddriver_macsec_qca.c63 struct ieee802_1x_mka_sci sci; member
497 struct ieee802_1x_mka_sci *sci, in macsec_qca_lookup_channel() argument
503 if (os_memcmp(&map[i].sci, sci, in macsec_qca_lookup_channel()
515 struct ieee802_1x_mka_sci *sci, in macsec_qca_register_channel() argument
518 os_memcpy(&map[channel].sci, sci, sizeof(struct ieee802_1x_mka_sci)); in macsec_qca_register_channel()
526 return macsec_qca_lookup_channel(drv->receive_channel_map, &sc->sci, in macsec_qca_lookup_receive_channel()
535 macsec_qca_register_channel(drv->receive_channel_map, &sc->sci, in macsec_qca_register_receive_channel()
544 return macsec_qca_lookup_channel(drv->transmit_channel_map, &sc->sci, in macsec_qca_lookup_transmit_channel()
553 macsec_qca_register_channel(drv->transmit_channel_map, &sc->sci, in macsec_qca_register_transmit_channel()
664 const u8 *sci_addr = sc->sci.addr; in macsec_qca_create_receive_sc()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DBreakIteratorRegTest.java75 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); in TestRegUnreg() local
76 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
77 assertEqual(len, 0, "us word text: " + getString(sci)); in TestRegUnreg()
99 CharacterIterator sci = test1.getText(); in TestRegUnreg() local
100 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
101 assertEqual(len, 0, "us sentence-word break text: " + getString(sci)); in TestRegUnreg()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DBreakIteratorRegTest.java78 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); in TestRegUnreg() local
79 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
80 assertEqual(len, 0, "us word text: " + getString(sci)); in TestRegUnreg()
102 CharacterIterator sci = test1.getText(); in TestRegUnreg() local
103 int len = sci.getEndIndex() - sci.getBeginIndex(); in TestRegUnreg()
104 assertEqual(len, 0, "us sentence-word break text: " + getString(sci)); in TestRegUnreg()
/external/scapy/scapy/contrib/
Dmacsec.py47 def __init__(self, sci, an, pn, key, icvlen, encrypt, send_sci): argument
48 if isinstance(sci, six.integer_types):
49 self.sci = struct.pack('!Q', sci)
50 elif isinstance(sci, bytes):
51 self.sci = sci
63 return self.sci + struct.pack('!I', pkt[MACsec].pn)
104 tag = MACsec(sci=self.sci, an=self.an,
Dmacsec.uts11 sa = MACsecSA(sci=b'\x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvle…
23 assert(m[MACsec].sci == b'\x52\x54\x00\x13\x01\x56\x00\x01')
26 sa = MACsecSA(sci=b'\x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvle…
39 assert(e[MACsec].sci == b'\x52\x54\x00\x13\x01\x56\x00\x01')
42 sa = MACsecSA(sci=b'\x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvle…
56 assert(d[MACsec].sci == b'\x52\x54\x00\x13\x01\x56\x00\x01')
60 sa = MACsecSA(sci=b'\x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=100, key=b'aaaaaaaaaaaaaaaa', icvle…
71 sa = MACsecSA(sci=b'\x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvle…
83 assert(m[MACsec].sci == b'\x52\x54\x00\x13\x01\x56\x00\x01')
86 sa = MACsecSA(sci=b'\x52\x54\x00\x13\x01\x56\x00\x01', an=0, pn=200, key=b'aaaaaaaaaaaaaaaa', icvle…
[all …]
/external/libnl/lib/route/link/
Dmacsec.c53 uint64_t sci; member
133 info->sci = nla_get_u64(tb[IFLA_MACSEC_SCI]); in macsec_parse()
265 nl_dump(p, "sci %016llx <%s>", ntohll(info->sci), flags_str(tmp, sizeof(tmp), info)); in macsec_dump_line()
274 …ntohll(info->sci), values_on_off[info->protect], info->encoding_sa, values_on_off[info->encrypt], … in macsec_dump_details()
308 NLA_PUT_U64(msg, IFLA_MACSEC_SCI, info->sci); in macsec_put_attrs()
365 diff |= MACSEC_DIFF(SCI, a->sci != b->sci); in macsec_compare()
448 int rtnl_link_macsec_set_sci(struct rtnl_link *link, uint64_t sci) in rtnl_link_macsec_set_sci() argument
454 info->sci = sci; in rtnl_link_macsec_set_sci()
468 int rtnl_link_macsec_get_sci(struct rtnl_link *link, uint64_t *sci) in rtnl_link_macsec_get_sci() argument
477 if (sci) in rtnl_link_macsec_get_sci()
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_context.c162 VkSamplerCreateInfo sci = {}; in zink_create_sampler_state() local
163 sci.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in zink_create_sampler_state()
164 sci.magFilter = zink_filter(state->mag_img_filter); in zink_create_sampler_state()
165 sci.minFilter = zink_filter(state->min_img_filter); in zink_create_sampler_state()
168 sci.mipmapMode = sampler_mipmap_mode(state->min_mip_filter); in zink_create_sampler_state()
169 sci.minLod = state->min_lod; in zink_create_sampler_state()
170 sci.maxLod = state->max_lod; in zink_create_sampler_state()
172 sci.mipmapMode = VK_SAMPLER_MIPMAP_MODE_NEAREST; in zink_create_sampler_state()
173 sci.minLod = 0; in zink_create_sampler_state()
174 sci.maxLod = 0; in zink_create_sampler_state()
[all …]
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c116 static const char * sci_txt(const struct ieee802_1x_mka_sci *sci) in sci_txt() argument
121 MAC2STR(sci->addr), be_to_host16(sci->port)); in sci_txt()
418 u64 mka_sci_u64(struct ieee802_1x_mka_sci *sci) in mka_sci_u64() argument
422 os_memcpy(tmp.addr, sci->addr, ETH_ALEN); in mka_sci_u64()
423 tmp.port = sci->port; in mka_sci_u64()
441 const struct ieee802_1x_mka_sci *sci) in ieee802_1x_kay_get_peer_sci() argument
447 if (sci_equal(&peer->sci, sci)) in ieee802_1x_kay_get_peer_sci()
453 if (sci_equal(&peer->sci, sci)) in ieee802_1x_kay_get_peer_sci()
534 os_memcpy(&psc->sci, psci, sizeof(psc->sci)); in ieee802_1x_kay_init_receive_sc()
541 sci_txt(&psc->sci)); in ieee802_1x_kay_init_receive_sc()
[all …]
Dieee802_1x_kay.h81 struct ieee802_1x_mka_sci sci; /* const SCI sci */ member
112 struct ieee802_1x_mka_sci sci; /* const SCI sci */ member
238 u64 mka_sci_u64(struct ieee802_1x_mka_sci *sci);
/external/python/cpython2/Doc/library/
Dfpformat.rst37 .. function:: sci(x, digs)
51 Exception raised when a string passed to :func:`fix` or :func:`sci` as the *x*
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicSemaphoreTests.cpp127 VkSemaphoreCreateInfo sci = { VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, DE_NULL, 0 }; in basicChainCase() local
137 err = vk.createSemaphore(device, &sci, DE_NULL, &pSignalSemaphoreInfo->semaphore); in basicChainCase()
185 VkSemaphoreCreateInfo sci = { VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, &scti, 0 }; in basicChainTimelineCase() local
190 VK_CHECK(vk.createSemaphore(device, &sci, DE_NULL, &semaphore)); in basicChainTimelineCase()
250 const VkSemaphoreCreateInfo sci = { VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, &scti, 0 }; in basicThreadTimelineCase() local
252 const vk::Unique<vk::VkSemaphore> semaphore (createSemaphore(vk, device, &sci)); in basicThreadTimelineCase()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h754 SizeClassInfo *sci = GetSizeClassInfo(class_id); in AllocateBatch() local
755 SpinMutexLock l(&sci->mutex); in AllocateBatch()
756 if (sci->free_list.empty()) in AllocateBatch()
757 PopulateFreeList(stat, c, sci, class_id); in AllocateBatch()
758 CHECK(!sci->free_list.empty()); in AllocateBatch()
759 Batch *b = sci->free_list.front(); in AllocateBatch()
760 sci->free_list.pop_front(); in AllocateBatch()
766 SizeClassInfo *sci = GetSizeClassInfo(class_id); in DeallocateBatch() local
767 SpinMutexLock l(&sci->mutex); in DeallocateBatch()
769 sci->free_list.push_front(b); in DeallocateBatch()
[all …]
/external/python/cpython2/Lib/
Dfpformat.py107 def sci(x, digs): function
144 print x, fix(x, digs), sci(x, digs)
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp459 for(int32_t sci = 0; sci < USCRIPT_CODE_LIMIT; ++sci) { in TestScriptMetadata() local
460 UScriptCode sc = (UScriptCode)sci; in TestScriptMetadata()
Dcitrtest.cpp855 StringCharacterIterator sci(s), compareCI(s); in TestUCharIterator() local
860 uiter_setCharacterIterator(&cIter, &sci); in TestUCharIterator()
893 sci=StringCharacterIterator(s, 2, 5, 3); in TestUCharIterator()
894 uiter_setCharacterIterator(&cIter, &sci); in TestUCharIterator()
1179 SubStringCharIter sci; in TestCharIteratorSubClasses() local
1180 if(sci.firstPostInc()!=0x61) { in TestCharIteratorSubClasses()
/external/arm-trusted-firmware/plat/imx/imx8qx/
Dplatform.mk31 include plat/imx/common/sci/sci_api.mk
/external/arm-trusted-firmware/plat/imx/imx8qm/
Dplatform.mk33 include plat/imx/common/sci/sci_api.mk
/external/clang/test/Parser/
Dcxx-class.cpp44 static const int sci = 10; member in C

123