Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 25 of 699) sorted by relevance

12345678910>>...28

/external/syslinux/core/lwip/src/netif/ppp/
Dppp_oe.c146 struct pppoe_softc *sc; in pppoe_create() local
148 sc = (struct pppoe_softc *)memp_malloc(MEMP_PPPOE_IF); in pppoe_create()
149 if (sc == NULL) { in pppoe_create()
153 memset(sc, 0, sizeof(struct pppoe_softc)); in pppoe_create()
156 MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest)); in pppoe_create()
158 sc->sc_pd = pd; in pppoe_create()
159 sc->sc_linkStatusCB = linkStatusCB; in pppoe_create()
160 sc->sc_ethif = ethif; in pppoe_create()
163 sc->next = pppoe_softc_list; in pppoe_create()
164 pppoe_softc_list = sc; in pppoe_create()
[all …]
/external/syslinux/gpxe/src/drivers/net/ath5k/
Dath5k.c177 static int ath5k_reset(struct ath5k_softc *sc, struct net80211_channel *chan);
178 static int ath5k_reset_wake(struct ath5k_softc *sc);
206 static int ath5k_chan_set(struct ath5k_softc *sc,
208 static void ath5k_setcurmode(struct ath5k_softc *sc,
210 static void ath5k_mode_setup(struct ath5k_softc *sc);
213 static int ath5k_desc_alloc(struct ath5k_softc *sc);
214 static void ath5k_desc_free(struct ath5k_softc *sc);
216 static int ath5k_rxbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf);
217 static int ath5k_txbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf);
219 static inline void ath5k_txbuf_free(struct ath5k_softc *sc, in ath5k_txbuf_free() argument
[all …]
Dath5k_rfkill.c42 static inline void ath5k_rfkill_disable(struct ath5k_softc *sc) in ath5k_rfkill_disable() argument
45 sc->rf_kill.gpio, sc->rf_kill.polarity); in ath5k_rfkill_disable()
46 ath5k_hw_set_gpio_output(sc->ah, sc->rf_kill.gpio); in ath5k_rfkill_disable()
47 ath5k_hw_set_gpio(sc->ah, sc->rf_kill.gpio, !sc->rf_kill.polarity); in ath5k_rfkill_disable()
51 static inline void ath5k_rfkill_enable(struct ath5k_softc *sc) in ath5k_rfkill_enable() argument
54 sc->rf_kill.gpio, sc->rf_kill.polarity); in ath5k_rfkill_enable()
55 ath5k_hw_set_gpio_output(sc->ah, sc->rf_kill.gpio); in ath5k_rfkill_enable()
56 ath5k_hw_set_gpio(sc->ah, sc->rf_kill.gpio, sc->rf_kill.polarity); in ath5k_rfkill_enable()
59 static inline void ath5k_rfkill_set_intr(struct ath5k_softc *sc, int enable) in ath5k_rfkill_set_intr() argument
61 struct ath5k_hw *ah = sc->ah; in ath5k_rfkill_set_intr()
[all …]
/external/clang/test/Sema/
Dzvector.c5 vector signed char sc, sc2; variable
46 sc = sc2; in foo()
63 sc = uc2; // expected-error {{incompatible type}} in foo()
64 sc = bc2; // expected-error {{incompatible type}} in foo()
70 sc = sc_scalar; // expected-error {{incompatible type}} in foo()
71 sc = uc_scalar; // expected-error {{incompatible type}} in foo()
77 sc = ss2; // expected-error {{incompatible type}} in foo()
78 sc = si2; // expected-error {{incompatible type}} in foo()
79 sc = sl2; // expected-error {{incompatible type}} in foo()
80 sc = fd2; // expected-error {{incompatible type}} in foo()
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
Dstress.c184 for (sc = 0; sc < NSCENAR; sc++) in main()
185 ids[sc] = sc; in main()
212 for (sc = 0; sc < NSCENAR; sc++) { in main()
214 status[sc] = in main()
215 pthread_create(&creation[sc], &scenarii[sc].ta, in main()
216 threaded, &ids[sc]); in main()
219 switch (scenarii[sc].result) { in main()
221 if (status[sc] != 0) { in main()
228 if (status[sc] == 0) { in main()
245 for (sc = 0; sc < NSCENAR; sc++) { in main()
[all …]
/external/kmod/testsuite/rootfs-pristine/test-depmod/modules-order-compressed/lib/modules/4.4.4/
Dcorrect-modules.alias2 alias pci:v0000103Cd00003230sv0000103Csd0000323Dbc*sc*i* cciss
3 alias pci:v0000103Cd00003230sv0000103Csd00003237bc*sc*i* cciss
4 alias pci:v0000103Cd00003238sv0000103Csd00003215bc*sc*i* cciss
5 alias pci:v0000103Cd00003238sv0000103Csd00003214bc*sc*i* cciss
6 alias pci:v0000103Cd00003238sv0000103Csd00003213bc*sc*i* cciss
7 alias pci:v0000103Cd00003238sv0000103Csd00003212bc*sc*i* cciss
8 alias pci:v0000103Cd00003238sv0000103Csd00003211bc*sc*i* cciss
9 alias pci:v0000103Cd00003230sv0000103Csd00003235bc*sc*i* cciss
10 alias pci:v0000103Cd00003230sv0000103Csd00003234bc*sc*i* cciss
11 alias pci:v0000103Cd00003230sv0000103Csd00003223bc*sc*i* cciss
[all …]
/external/clang/test/CodeGen/
DAtomics.c5 signed char sc; variable
16 (void) __sync_fetch_and_add (&sc, 1); // CHECK: atomicrmw add i8 in test_op_ignore()
25 (void) __sync_fetch_and_sub (&sc, 1); // CHECK: atomicrmw sub i8 in test_op_ignore()
34 (void) __sync_fetch_and_or (&sc, 1); // CHECK: atomicrmw or i8 in test_op_ignore()
43 (void) __sync_fetch_and_xor (&sc, 1); // CHECK: atomicrmw xor i8 in test_op_ignore()
52 (void) __sync_fetch_and_nand (&sc, 1); // CHECK: atomicrmw nand i8 in test_op_ignore()
61 (void) __sync_fetch_and_and (&sc, 1); // CHECK: atomicrmw and i8 in test_op_ignore()
74 sc = __sync_fetch_and_add (&sc, 11); // CHECK: atomicrmw add in test_fetch_and_op()
83 sc = __sync_fetch_and_sub (&sc, 11); // CHECK: atomicrmw sub in test_fetch_and_op()
92 sc = __sync_fetch_and_or (&sc, 11); // CHECK: atomicrmw or in test_fetch_and_op()
[all …]
Dzvector.c4 volatile vector signed char sc, sc2; variable
30 sc = sc2; in test_assign()
67 sc = +sc2; in test_pos()
104 sc = -sc2; in test_neg()
274 sc = sc + sc2; in test_add()
278 sc = sc + bc2; in test_add()
282 sc = bc + sc2; in test_add()
384 sc += sc2; in test_add_assign()
388 sc += bc2; in test_add_assign()
462 sc = sc - sc2; in test_sub()
[all …]
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_cache.c83 static inline struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type) in _cso_hash_for_type() argument
86 hash = sc->hashes[type]; in _cso_hash_for_type()
155 static inline void sanitize_hash(struct cso_cache *sc, in sanitize_hash() argument
160 if (sc->sanitize_cb) in sanitize_hash()
161 sc->sanitize_cb(hash, type, max_size, sc->sanitize_data); in sanitize_hash()
186 cso_insert_state(struct cso_cache *sc, in cso_insert_state() argument
190 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_insert_state()
191 sanitize_hash(sc, hash, type, sc->max_size); in cso_insert_state()
197 cso_find_state(struct cso_cache *sc, in cso_find_state() argument
200 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_find_state()
[all …]
/external/libunwind/src/aarch64/
DGresume.c78 struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; in aarch64_local_resume() local
80 if (c->dwarf.eh_valid_mask & 0x1) sc->regs[0] = c->dwarf.eh_args[0]; in aarch64_local_resume()
81 if (c->dwarf.eh_valid_mask & 0x2) sc->regs[1] = c->dwarf.eh_args[1]; in aarch64_local_resume()
82 if (c->dwarf.eh_valid_mask & 0x4) sc->regs[2] = c->dwarf.eh_args[2]; in aarch64_local_resume()
83 if (c->dwarf.eh_valid_mask & 0x8) sc->regs[3] = c->dwarf.eh_args[3]; in aarch64_local_resume()
85 sc->regs[4] = uc->uc_mcontext.regs[4]; in aarch64_local_resume()
86 sc->regs[5] = uc->uc_mcontext.regs[5]; in aarch64_local_resume()
87 sc->regs[6] = uc->uc_mcontext.regs[6]; in aarch64_local_resume()
88 sc->regs[7] = uc->uc_mcontext.regs[7]; in aarch64_local_resume()
89 sc->regs[8] = uc->uc_mcontext.regs[8]; in aarch64_local_resume()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java75 SpoofChecker sc = new SpoofChecker.Builder().build(); in TestUSpoof() local
76 if (sc == null) { in TestUSpoof()
163 SpoofChecker sc = new SpoofChecker.Builder().setChecks(SpoofChecker.ALL_CHECKS).build(); in TestGetSetChecks1() local
165 t = sc.getChecks(); in TestGetSetChecks1()
168 sc = new SpoofChecker.Builder().setChecks(0).build(); in TestGetSetChecks1()
169 t = sc.getChecks(); in TestGetSetChecks1()
174 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks1()
175 t = sc.getChecks(); in TestGetSetChecks1()
184 SpoofChecker sc = new SpoofChecker.Builder().setChecks(SpoofChecker.CHAR_LIMIT).build(); in TestGetSetAllowedChars() local
188 uset = sc.getAllowedChars(); in TestGetSetAllowedChars()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DSpoofCheckerTest.java78 SpoofChecker sc = new SpoofChecker.Builder().build(); in TestUSpoof() local
79 if (sc == null) { in TestUSpoof()
166 SpoofChecker sc = new SpoofChecker.Builder().setChecks(SpoofChecker.ALL_CHECKS).build(); in TestGetSetChecks1() local
168 t = sc.getChecks(); in TestGetSetChecks1()
171 sc = new SpoofChecker.Builder().setChecks(0).build(); in TestGetSetChecks1()
172 t = sc.getChecks(); in TestGetSetChecks1()
177 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks1()
178 t = sc.getChecks(); in TestGetSetChecks1()
187 SpoofChecker sc = new SpoofChecker.Builder().setChecks(SpoofChecker.CHAR_LIMIT).build(); in TestGetSetAllowedChars() local
191 uset = sc.getAllowedChars(); in TestGetSetAllowedChars()
[all …]
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dstress.c135 pthread_cleanup_push(cleanup, &scenarii[sc].sem); in threaded()
178 for (sc = 0; sc < NSCENAR; sc++) { in main()
180 if (scenarii[sc].altstack != 0) in main()
183 rets[i * NSCENAR + sc] = in main()
184 pthread_create(&threads[i * NSCENAR + sc], in main()
185 &scenarii[sc].ta, threaded, in main()
186 &threads[i * NSCENAR + sc]); in main()
187 switch (scenarii[sc].result) { in main()
189 if (rets[i * NSCENAR + sc] != 0) { in main()
191 [i * NSCENAR + sc], in main()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dspooftest.c57 USpoofChecker *sc; \
58 sc = uspoof_open(&status); \
65 uspoof_close(sc); \
176 USpoofChecker *sc; in TestUSpoofCAPI() local
178 sc = uspoof_open(&status); in TestUSpoofCAPI()
185 uspoof_close(sc); in TestUSpoofCAPI()
199 serializedSize = uspoof_serialize(sc, NULL, 0, &status); in TestUSpoofCAPI()
208 uspoof_serialize(sc, buf, serializedSize, &status); in TestUSpoofCAPI()
238 uspoof_setChecks(sc, USPOOF_ALL_CHECKS, &status); in TestUSpoofCAPI()
240 t = uspoof_getChecks(sc, &status); in TestUSpoofCAPI()
[all …]
/external/icu/icu4c/source/i18n/
Duspoof.cpp183 uspoof_clone(const USpoofChecker *sc, UErrorCode *status) { in uspoof_clone() argument
184 const SpoofImpl *src = SpoofImpl::validateThis(sc, *status); in uspoof_clone()
198 uspoof_close(USpoofChecker *sc) { in uspoof_close() argument
200 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_close()
206 uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status) { in uspoof_setChecks() argument
207 SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_setChecks()
224 uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status) { in uspoof_getChecks() argument
225 const SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_getChecks()
233 uspoof_setRestrictionLevel(USpoofChecker *sc, URestrictionLevel restrictionLevel) { in uspoof_setRestrictionLevel() argument
235 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_setRestrictionLevel()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D3-2.c395 ret = sem_post(&scenarii[sc].sem); in schedtest()
427 for (sc = 0; sc < NSCENAR; sc++) { in main()
430 output("Starting test with scenario (%i): %s\n", sc, in main()
431 scenarii[sc].descr); in main()
437 if ((scenarii[sc].altstack == 0) in main()
438 && (scenarii[sc].altsize == 1)) { in main()
444 test_stack(&scenarii[sc].ta, in main()
449 if (scenarii[sc].guard == 2) { in main()
461 if ((ret != 2) && (scenarii[sc].result == 1)) { in main()
470 if ((ret == 2) && (scenarii[sc].result == 2)) { in main()
[all …]
/external/freetype/builds/amiga/
Dsmakefile87 OPTS = link lib=$(LIB),lib:sc.lib,lib:amiga.lib,lib:debug.lib\
92 # sc $< programname=$@ ftsystem.o $(SCFLAGS) $(OPTS)
114 sc $(SCFLAGS) objname=$@ $<
116 sc $(SCFLAGS) objname=$@ $<
118 sc $(SCFLAGS) objname=$@ $<
120 sc $(SCFLAGS) objname=$@ $<
122 sc $(SCFLAGS) objname=$@ $<
124 sc $(SCFLAGS) objname=$@ $<
129 sc $(SCFLAGS) objname=$@ $<
131 sc $(SCFLAGS) objname=$@ $<
[all …]
/external/libunwind/src/sh/
DGresume.c80 struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; in sh_local_resume() local
81 sc->sc_regs[0] = uc->uc_mcontext.gregs[0]; in sh_local_resume()
82 sc->sc_regs[1] = uc->uc_mcontext.gregs[1]; in sh_local_resume()
83 sc->sc_regs[2] = uc->uc_mcontext.gregs[2]; in sh_local_resume()
84 sc->sc_regs[3] = uc->uc_mcontext.gregs[3]; in sh_local_resume()
85 sc->sc_regs[4] = uc->uc_mcontext.gregs[4]; in sh_local_resume()
86 sc->sc_regs[5] = uc->uc_mcontext.gregs[5]; in sh_local_resume()
87 sc->sc_regs[6] = uc->uc_mcontext.gregs[6]; in sh_local_resume()
88 sc->sc_regs[7] = uc->uc_mcontext.gregs[7]; in sh_local_resume()
89 sc->sc_regs[8] = uc->uc_mcontext.gregs[8]; in sh_local_resume()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Duspoof.h666 uspoof_close(USpoofChecker *sc);
697 uspoof_clone(const USpoofChecker *sc, UErrorCode *status);
738 uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status);
752 uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status);
766 uspoof_setRestrictionLevel(USpoofChecker *sc, URestrictionLevel restrictionLevel);
777 uspoof_getRestrictionLevel(const USpoofChecker *sc);
822 uspoof_setAllowedLocales(USpoofChecker *sc, const char *localesList, UErrorCode *status);
846 uspoof_getAllowedLocales(USpoofChecker *sc, UErrorCode *status);
868 uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *status);
892 uspoof_getAllowedChars(const USpoofChecker *sc, UErrorCode *status);
[all …]
/external/libunwind/src/arm/
DGresume.c75 struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; in arm_local_resume() local
76 sc->arm_r0 = uc->regs[0]; in arm_local_resume()
77 sc->arm_r1 = uc->regs[1]; in arm_local_resume()
78 sc->arm_r2 = uc->regs[2]; in arm_local_resume()
79 sc->arm_r3 = uc->regs[3]; in arm_local_resume()
80 sc->arm_r4 = uc->regs[4]; in arm_local_resume()
81 sc->arm_r5 = uc->regs[5]; in arm_local_resume()
82 sc->arm_r6 = uc->regs[6]; in arm_local_resume()
83 sc->arm_r7 = uc->regs[7]; in arm_local_resume()
84 sc->arm_r8 = uc->regs[8]; in arm_local_resume()
[all …]
/external/valgrind/coregrind/m_sigframe/
Dsigframe-mips64-linux.c77 struct vki_sigcontext *sc = *sc1; in setup_sigcontext() local
80 (Addr)sc, sizeof(unsigned long long)*34); in setup_sigcontext()
81 sc->sc_regs[1] = tst->arch.vex.guest_r1; in setup_sigcontext()
82 sc->sc_regs[2] = tst->arch.vex.guest_r2; in setup_sigcontext()
83 sc->sc_regs[3] = tst->arch.vex.guest_r3; in setup_sigcontext()
84 sc->sc_regs[4] = tst->arch.vex.guest_r4; in setup_sigcontext()
85 sc->sc_regs[5] = tst->arch.vex.guest_r5; in setup_sigcontext()
86 sc->sc_regs[6] = tst->arch.vex.guest_r6; in setup_sigcontext()
87 sc->sc_regs[7] = tst->arch.vex.guest_r7; in setup_sigcontext()
88 sc->sc_regs[8] = tst->arch.vex.guest_r8; in setup_sigcontext()
[all …]
Dsigframe-mips32-linux.c82 struct vki_sigcontext *sc = *sc1; in setup_sigcontext2() local
85 (Addr)sc, sizeof(unsigned long long)*34 ); in setup_sigcontext2()
86 sc->sc_regs[1] = tst->arch.vex.guest_r1; in setup_sigcontext2()
87 sc->sc_regs[2] = tst->arch.vex.guest_r2; in setup_sigcontext2()
88 sc->sc_regs[3] = tst->arch.vex.guest_r3; in setup_sigcontext2()
89 sc->sc_regs[4] = tst->arch.vex.guest_r4; in setup_sigcontext2()
90 sc->sc_regs[5] = tst->arch.vex.guest_r5; in setup_sigcontext2()
91 sc->sc_regs[6] = tst->arch.vex.guest_r6; in setup_sigcontext2()
92 sc->sc_regs[7] = tst->arch.vex.guest_r7; in setup_sigcontext2()
93 sc->sc_regs[8] = tst->arch.vex.guest_r8; in setup_sigcontext2()
[all …]
/external/aac/libAACenc/src/
Dbit_cnt.cpp125 INT bc1_2, bc3_4, bc5_6, bc7_8, bc9_10, bc11, sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11() local
133 sc = 0; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
148 sc += (t0 > 0); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
150 sc += (t1 > 0); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
152 sc += (t2 > 0); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
154 sc += (t3 > 0); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
166 bitCount[3] = HI_LTAB(bc3_4) + sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
167 bitCount[4] = LO_LTAB(bc3_4) + sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
170 bitCount[7] = HI_LTAB(bc7_8) + sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
171 bitCount[8] = LO_LTAB(bc7_8) + sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/
D1-2.c114 ret = sem_post(&(scenarii[sc].sem)); in threaded()
133 for (sc = 0; sc < NSCENAR; sc++) { in main()
136 output("Starting test with scenario (%i): %s\n", sc, in main()
137 scenarii[sc].descr); in main()
140 if (scenarii[sc].detached != 0) { /* only joinable threads can be detached */ in main()
142 pthread_attr_setdetachstate(&scenarii[sc].ta, in main()
154 pthread_create(&child, &scenarii[sc].ta, threaded, in main()
155 (scenarii[sc].detached != 0) ? &ret : NULL); in main()
156 switch (scenarii[sc].result) { in main()
186 ret = sem_wait(&(scenarii[sc].sem)); in main()
[all …]
D2-2.c125 ret = sem_post(&(scenarii[sc].sem)); in threaded()
150 for (sc = 0; sc < NSCENAR; sc++) { in main()
153 output("Starting test with scenario (%i): %s\n", sc, in main()
154 scenarii[sc].descr); in main()
157 if (scenarii[sc].detached != 0) { /* only joinable threads can be detached */ in main()
159 pthread_attr_setdetachstate(&scenarii[sc].ta, in main()
171 pthread_create(&child, &scenarii[sc].ta, threaded, in main()
172 (scenarii[sc].detached != 0) ? &ret : NULL); in main()
173 switch (scenarii[sc].result) { in main()
202 if (scenarii[sc].detached == 0) { in main()
[all …]

12345678910>>...28