Home
last modified time | relevance | path

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

12345678910>>...20

/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 …]
Dcomplex-convert.c11 void foo(signed char sc, unsigned char uc, signed long long sll, in foo() argument
122 csc1 = sc; in foo()
152 cuc1 = sc; in foo()
182 csll1 = sc; in foo()
212 cull1 = sc; in foo()
242 csc1 = sc + csc; in foo()
260 cuc1 = sc + cuc; in foo()
278 csll1 = sc + csll; in foo()
292 cull1 = sc + cull; in foo()
482 csc1 = csc + sc; in foo()
[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 …]
Dcso_cache.h149 void cso_cache_delete(struct cso_cache *sc);
151 void cso_cache_set_sanitize_callback(struct cso_cache *sc,
155 struct cso_hash_iter cso_insert_state(struct cso_cache *sc,
158 struct cso_hash_iter cso_find_state(struct cso_cache *sc,
160 struct cso_hash_iter cso_find_state_template(struct cso_cache *sc,
163 void cso_for_each_state(struct cso_cache *sc, enum cso_cache_type type,
165 void * cso_take_state(struct cso_cache *sc, unsigned hash_key,
168 void cso_set_maximum_cache_size(struct cso_cache *sc, int number);
169 int cso_maximum_cache_size(const struct cso_cache *sc);
/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.java73 SpoofChecker sc = new SpoofChecker.Builder().build(); in TestUSpoof() local
74 if (sc == null) { in TestUSpoof()
170 SpoofChecker sc = new SpoofChecker.Builder().setChecks(SpoofChecker.ALL_CHECKS).build(); in TestGetSetChecks1() local
172 t = sc.getChecks(); in TestGetSetChecks1()
175 sc = new SpoofChecker.Builder().setChecks(0).build(); in TestGetSetChecks1()
176 t = sc.getChecks(); in TestGetSetChecks1()
181 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks1()
182 t = sc.getChecks(); in TestGetSetChecks1()
190 SpoofChecker sc = new SpoofChecker.Builder().build(); in TestGetSetAllowedChars() local
194 uset = sc.getAllowedChars(); in TestGetSetAllowedChars()
[all …]
/external/valgrind/coregrind/m_sigframe/
Dsigframe-tilegx-linux.c75 struct vki_sigcontext *sc = *sc1; in setup_sigcontext2() local
78 (Addr)sc, sizeof(unsigned long long)*34 ); in setup_sigcontext2()
79 sc->gregs[0] = tst->arch.vex.guest_r0; in setup_sigcontext2()
80 sc->gregs[1] = tst->arch.vex.guest_r1; in setup_sigcontext2()
81 sc->gregs[2] = tst->arch.vex.guest_r2; in setup_sigcontext2()
82 sc->gregs[3] = tst->arch.vex.guest_r3; in setup_sigcontext2()
83 sc->gregs[4] = tst->arch.vex.guest_r4; in setup_sigcontext2()
84 sc->gregs[5] = tst->arch.vex.guest_r5; in setup_sigcontext2()
85 sc->gregs[6] = tst->arch.vex.guest_r6; in setup_sigcontext2()
86 sc->gregs[7] = tst->arch.vex.guest_r7; in setup_sigcontext2()
[all …]
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 …]
Dsigframe-amd64-linux.c332 struct vki_sigcontext *sc = &uc->uc_mcontext; in synth_ucontext() local
340 sc->fpstate = fpstate; in synth_ucontext()
344 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG in synth_ucontext()
363 sc->eflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex); in synth_ucontext()
367 sc->trapno = trapno; in synth_ucontext()
368 sc->err = err; in synth_ucontext()
371 sc->cr2 = (UWord)si->_sifields._sigfault._addr; in synth_ucontext()
533 struct vki_sigcontext *sc, in restore_sigcontext() argument
536 tst->arch.vex.guest_RAX = sc->rax; in restore_sigcontext()
537 tst->arch.vex.guest_RCX = sc->rcx; in restore_sigcontext()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dspooftest.c54 USpoofChecker *sc; \
55 sc = uspoof_open(&status); \
62 uspoof_close(sc); \
114 USpoofChecker *sc; in TestUSpoofCAPI() local
116 sc = uspoof_open(&status); in TestUSpoofCAPI()
123 uspoof_close(sc); in TestUSpoofCAPI()
189 serializedSize = uspoof_serialize(sc, NULL, 0, &status); in TestUSpoofCAPI()
198 uspoof_serialize(sc, buf, serializedSize, &status); in TestUSpoofCAPI()
228 uspoof_setChecks(sc, USPOOF_ALL_CHECKS, &status); in TestUSpoofCAPI()
230 t = uspoof_getChecks(sc, &status); in TestUSpoofCAPI()
[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.h403 uspoof_close(USpoofChecker *sc);
434 uspoof_clone(const USpoofChecker *sc, UErrorCode *status);
450 uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status);
464 uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status);
475 uspoof_setRestrictionLevel(USpoofChecker *sc, URestrictionLevel restrictionLevel);
486 uspoof_getRestrictionLevel(const USpoofChecker *sc);
531 uspoof_setAllowedLocales(USpoofChecker *sc, const char *localesList, UErrorCode *status);
555 uspoof_getAllowedLocales(USpoofChecker *sc, UErrorCode *status);
577 uspoof_setAllowedChars(USpoofChecker *sc, const USet *chars, UErrorCode *status);
601 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/icu/icu4c/source/i18n/
Duspoof.cpp181 uspoof_clone(const USpoofChecker *sc, UErrorCode *status) { in uspoof_clone() argument
182 const SpoofImpl *src = SpoofImpl::validateThis(sc, *status); in uspoof_clone()
196 uspoof_close(USpoofChecker *sc) { in uspoof_close() argument
198 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_close()
204 uspoof_setChecks(USpoofChecker *sc, int32_t checks, UErrorCode *status) { in uspoof_setChecks() argument
205 SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_setChecks()
222 uspoof_getChecks(const USpoofChecker *sc, UErrorCode *status) { in uspoof_getChecks() argument
223 const SpoofImpl *This = SpoofImpl::validateThis(sc, *status); in uspoof_getChecks()
231 uspoof_setRestrictionLevel(USpoofChecker *sc, URestrictionLevel restrictionLevel) { in uspoof_setRestrictionLevel() argument
233 SpoofImpl *This = SpoofImpl::validateThis(sc, status); in uspoof_setRestrictionLevel()
[all …]
/external/lldb/source/Core/
DAddress.cpp627 SymbolContext sc; in Dump() local
628 module_sp->ResolveSymbolContextForAddress(*this, eSymbolContextEverything, sc); in Dump()
629 if (sc.function || sc.symbol) in Dump()
635 if (sc.function == NULL && sc.symbol != NULL) in Dump()
638 if (sc.symbol->ValueIsAddress()) in Dump()
640 if (sc.symbol->GetAddress().GetSection() != GetSection()) in Dump()
651 sc.DumpStopContext (s, in Dump()
683 SymbolContext sc; in Dump() local
684 module_sp->ResolveSymbolContextForAddress(*this, eSymbolContextEverything, sc); in Dump()
685 if (sc.symbol) in Dump()
[all …]
DAddressResolverName.cpp98 SymbolContext sc; in SearchCallback() local
156 if (func_list.GetContextAtIndex(i, sc) == false) in SearchCallback()
159 if (sc.function == NULL) in SearchCallback()
169 … if (sc.function->GetAddressRange().GetBaseAddress() == symbol_sc.symbol->GetAddress()) in SearchCallback()
183 if (func_list.GetContextAtIndex(i, sc)) in SearchCallback()
185 if (sc.function) in SearchCallback()
187 func_addr = sc.function->GetAddressRange().GetBaseAddress(); in SearchCallback()
188 addr_t byte_size = sc.function->GetAddressRange().GetByteSize(); in SearchCallback()
191 const uint32_t prologue_byte_size = sc.function->GetPrologueByteSize(); in SearchCallback()
211 if (sym_list.GetContextAtIndex(i, sc)) in SearchCallback()
[all …]
/external/lldb/source/Symbol/
DCompileUnit.cpp59 CompileUnit::CalculateSymbolContext(SymbolContext* sc) in CalculateSymbolContext() argument
61 sc->comp_unit = this; in CalculateSymbolContext()
62 GetModule()->CalculateSymbolContext(sc); in CalculateSymbolContext()
228 SymbolContext sc; in GetLanguage() local
229 CalculateSymbolContext(&sc); in GetLanguage()
230 m_language = symbol_vendor->ParseCompileUnitLanguage(sc); in GetLanguage()
248 SymbolContext sc; in GetLineTable() local
249 CalculateSymbolContext(&sc); in GetLineTable()
250 symbol_vendor->ParseCompileUnitLineTable(sc); in GetLineTable()
272 SymbolContext sc; in GetVariableList() local
[all …]
/external/lldb/source/Breakpoint/
DBreakpointResolverFileLine.cpp91 SymbolContext sc; in SearchCallback() local
102 sc_list.GetContextAtIndex (current_idx, sc); in SearchCallback()
105 match_file_spec = sc.line_entry.file; in SearchCallback()
110 matches = (sc.line_entry.file == match_file_spec); in SearchCallback()
114 tmp_sc_list.Append (sc); in SearchCallback()
119 if (sc.line_entry.line < closest_line_number) in SearchCallback()
120 closest_line_number = sc.line_entry.line; in SearchCallback()
131 if (tmp_sc_list.GetContextAtIndex(current_idx, sc)) in SearchCallback()
133 if (sc.line_entry.line != closest_line_number) in SearchCallback()
147 if (tmp_sc_list.GetContextAtIndex(current_idx, sc)) in SearchCallback()
[all …]
DBreakpointResolverName.cpp157 SymbolContext sc; in Prune() local
161 if (!sc_list.GetContextAtIndex(i, sc)) in Prune()
163 ConstString full_name (sc.GetFunctionName()); in Prune()
256 SymbolContext sc; in SearchCallback() local
257 func_list.GetContextAtIndex(idx, sc); in SearchCallback()
258 if (!sc.comp_unit || !filter.CompUnitPasses(*sc.comp_unit)) in SearchCallback()
268 SymbolContext sc; in SearchCallback() local
273 if (func_list.GetContextAtIndex(i, sc)) in SearchCallback()
275 if (sc.block && sc.block->GetInlinedFunctionInfo()) in SearchCallback()
277 if (!sc.block->GetStartAddress(break_addr)) in SearchCallback()
[all …]
/external/selinux/sepolgen/tests/
Dtest_refpolicy.py34 sc = refpolicy.SecurityContext()
35 sc = refpolicy.SecurityContext("user_u:object_r:foo_t")
39 sc = refpolicy.SecurityContext()
40 sc.from_string(context)
41 self.assertEquals(sc.user, "user_u")
42 self.assertEquals(sc.role, "object_r")
43 self.assertEquals(sc.type, "foo_t")
44 self.assertEquals(sc.level, None)
46 self.assertEquals(str(sc), context + ":s0")
48 self.assertEquals(str(sc), context)
[all …]
/external/lldb/source/Commands/
DCommandObjectSource.cpp356 DisplayFunctionSource (const SymbolContext &sc, in DisplayFunctionSource() argument
362 source_info.function = sc.GetFunctionName(); in DisplayFunctionSource()
363 source_info.line_entry = sc.GetFunctionStartLineEntry(); in DisplayFunctionSource()
366 if (sc.function) in DisplayFunctionSource()
375 if (sc.block == NULL) in DisplayFunctionSource()
378 sc.function->GetStartLineSourceInfo (start_file, start_line); in DisplayFunctionSource()
385 sc.function->GetEndLineSourceInfo (end_file, end_line); in DisplayFunctionSource()
539 SymbolContext sc; in DoExecute() local
540 sc_list_symbols.GetContextAtIndex (i, sc); in DoExecute()
541 if (sc.symbol) in DoExecute()
[all …]
/external/iproute2/tc/
Dq_hfsc.c227 hfsc_print_sc(FILE *f, char *name, struct tc_service_curve *sc) in hfsc_print_sc() argument
232 fprintf(f, "m1 %s ", sprint_rate(sc->m1, b1)); in hfsc_print_sc()
233 fprintf(f, "d %s ", sprint_time(tc_core_ktime2time(sc->d), b1)); in hfsc_print_sc()
234 fprintf(f, "m2 %s ", sprint_rate(sc->m2, b1)); in hfsc_print_sc()
293 hfsc_get_sc1(int *argcp, char ***argvp, struct tc_service_curve *sc) in hfsc_get_sc1() argument
326 sc->m1 = m1; in hfsc_get_sc1()
327 sc->d = tc_core_time2ktime(d); in hfsc_get_sc1()
328 sc->m2 = m2; in hfsc_get_sc1()
336 hfsc_get_sc2(int *argcp, char ***argvp, struct tc_service_curve *sc) in hfsc_get_sc2() argument
379 sc->m1 = ceil(1.0 * umax * TIME_UNITS_PER_SEC / dmax); /* in bps */ in hfsc_get_sc2()
[all …]
/external/aac/libAACenc/src/
Dbit_cnt.cpp115 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
123 sc=0; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
157 sc+=(t0>0)+(t1>0)+(t2>0)+(t3>0); in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
162 bitCount[3]=HI_LTAB(bc3_4)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
163 bitCount[4]=LO_LTAB(bc3_4)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
166 bitCount[7]=HI_LTAB(bc7_8)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
167 bitCount[8]=LO_LTAB(bc7_8)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
168 bitCount[9]=HI_LTAB(bc9_10)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
169 bitCount[10]=LO_LTAB(bc9_10)+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
170 bitCount[11]=bc11+sc; in FDKaacEnc_count1_2_3_4_5_6_7_8_9_10_11()
[all …]
/external/libunwind/src/ia64/
DGresume.c86 struct sigcontext *sc = (struct sigcontext *) c->sigcontext_addr; in local_resume() local
105 sc->sc_gr[12] = c->psp; in local_resume()
116 sc->sc_flags &= ~IA64_SC_FLAG_IN_SYSCALL; in local_resume()
117 sc->sc_ip = c->ip; in local_resume()
118 sc->sc_cfm = c->cfm & (((unw_word_t) 1 << 38) - 1); in local_resume()
119 sc->sc_pr = (c->pr & ~PR_SCRATCH) | (sc->sc_pr & ~PR_PRESERVED); in local_resume()
120 if ((ret = ia64_get (c, c->loc[IA64_REG_PFS], &sc->sc_ar_pfs)) < 0 in local_resume()
121 || (ret = ia64_get (c, c->loc[IA64_REG_FPSR], &sc->sc_ar_fpsr)) < 0 in local_resume()
122 || (ret = ia64_get (c, c->loc[IA64_REG_UNAT], &sc->sc_ar_unat)) < 0) in local_resume()
125 sc->sc_gr[1] = c->pi.gp; in local_resume()
[all …]

12345678910>>...20