Home
last modified time | relevance | path

Searched refs:stc (Results 1 – 25 of 238) sorted by relevance

12345678910

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dclone.c51 StorageClass stc = 0; in mergeFuncAttrs() local
56 stc |= STCsystem; in mergeFuncAttrs()
58 stc |= STCtrusted; in mergeFuncAttrs()
60 stc |= STCtrusted; in mergeFuncAttrs()
62 stc |= STCsafe; in mergeFuncAttrs()
65 stc |= STCpure; in mergeFuncAttrs()
68 stc |= STCnothrow; in mergeFuncAttrs()
71 stc |= STCnogc; in mergeFuncAttrs()
74 stc |= STCdisable; in mergeFuncAttrs()
76 return stc; in mergeFuncAttrs()
[all …]
H A Dparse.c130 StorageClass stc = parseAttribute(&exps); in parseModule() local
132 if (stc == STCproperty || stc == STCnogc || stc == STCdisable || in parseModule()
133 stc == STCsafe || stc == STCtrusted || stc == STCsystem) in parseModule()
141 if (stc) in parseModule()
266 StorageClass stc; in parseDeclDefs() local
495 stc = STCstatic; in parseDeclDefs()
504 stc = STCconst; in parseDeclDefs()
510 stc = STCimmutable; in parseDeclDefs()
532 stc = STCshared; in parseDeclDefs()
539 stc = STCwild; in parseDeclDefs()
[all …]
H A Dattrib.c78 StorageClass stc, LINK linkage, CPPMANGLE cppmangle, Prot protection, in createNewScope() argument
82 if (stc != sc->stc || in createNewScope()
92 sc2->stc = stc; in createNewScope()
344 StorageClassDeclaration::StorageClassDeclaration(StorageClass stc, Dsymbols *decl) in StorageClassDeclaration() argument
347 this->stc = stc; in StorageClassDeclaration()
353 return new StorageClassDeclaration(stc, Dsymbol::arraySyntaxCopy(decl)); in syntaxCopy()
378 fd->storage_class2 |= stc; in oneMember()
397 decl->storage_class |= stc & STClocal; in addMember()
400 sdecl->stc |= stc & STClocal; in addMember()
412 StorageClass scstc = sc->stc; in newScope()
[all …]
H A Dfunc.c482 storage_class |= sc->stc & ~STCref; in semantic()
533 sc->stc |= storage_class & (STCdisable | STCdeprecated); // forward to function type in semantic()
578 if (tf->isref) sc->stc |= STCref; in semantic()
579 if (tf->isscope) sc->stc |= STCscope; in semantic()
580 if (tf->isnothrow) sc->stc |= STCnothrow; in semantic()
581 if (tf->isnogc) sc->stc |= STCnogc; in semantic()
582 if (tf->isproperty) sc->stc |= STCproperty; in semantic()
583 if (tf->purity == PUREfwdref) sc->stc |= STCpure; in semantic()
585 sc->stc &= ~(STCsafe | STCsystem | STCtrusted); in semantic()
586 if (tf->trust == TRUSTsafe) sc->stc |= STCsafe; in semantic()
[all …]
H A Ddeclaration.h669 …c FuncDeclaration *genCfunc(Parameters *args, Type *treturn, const char *name, StorageClass stc=0);
670 …tic FuncDeclaration *genCfunc(Parameters *args, Type *treturn, Identifier *id, StorageClass stc=0);
729 CtorDeclaration(Loc loc, Loc endloc, StorageClass stc, Type *type);
745 PostBlitDeclaration(Loc loc, Loc endloc, StorageClass stc, Identifier *id);
761 DtorDeclaration(Loc loc, Loc endloc, StorageClass stc, Identifier *id);
778 StaticCtorDeclaration(Loc loc, Loc endloc, StorageClass stc);
779 StaticCtorDeclaration(Loc loc, Loc endloc, const char *name, StorageClass stc);
795 SharedStaticCtorDeclaration(Loc loc, Loc endloc, StorageClass stc);
807 StaticDtorDeclaration(Loc loc, Loc endloc, StorageClass stc);
808 StaticDtorDeclaration(Loc loc, Loc endloc, const char *name, StorageClass stc);
[all …]
H A Dmtype.c908 Type *Type::addSTC(StorageClass stc) in addSTC() argument
913 else if (stc & STCimmutable) in addSTC()
919 if ((stc & STCshared) && !t->isShared()) in addSTC()
936 if ((stc & STCconst) && !t->isConst()) in addSTC()
953 if ((stc & STCwild) && !t->isWild()) in addSTC()
980 StorageClass stc = 0; in ModToStc() local
981 if (mod & MODimmutable) stc |= STCimmutable; in ModToStc()
982 if (mod & MODconst) stc |= STCconst; in ModToStc()
983 if (mod & MODwild) stc |= STCwild; in ModToStc()
984 if (mod & MODshared) stc |= STCshared; in ModToStc()
[all …]
/netbsd-src/sys/arch/sh3/include/
H A Dlocore.h76 stc ssr, r2 /* r2 = SSR */ ;\
90 stc.l r0_bank,@-r14 /* tf_r0 */ ;\
91 stc.l r1_bank,@-r14 /* tf_r1 */ ;\
92 stc.l r2_bank,@-r14 /* tf_r2 */ ;\
93 stc.l r3_bank,@-r14 /* tf_r3 */ ;\
94 stc.l r4_bank,@-r14 /* tf_r4 */ ;\
95 stc.l r5_bank,@-r14 /* tf_r5 */ ;\
96 stc.l r6_bank,@-r14 /* tf_r6 */ ;\
97 stc.l r7_bank,@-r14 /* tf_r7 */ ;\
107 stc.l gbr, @-r14 /* tf_gbr */ ;\
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dclone.d76 StorageClass stc = (sa & (STC.pure_ | STC.nothrow_ | STC.nogc)) | (so & STC.disable); in mergeFuncAttrs() local
79 stc |= STC.system; in mergeFuncAttrs()
81 stc |= STC.trusted; in mergeFuncAttrs()
83 stc |= STC.trusted; in mergeFuncAttrs()
85 stc |= STC.safe; in mergeFuncAttrs()
87 return stc; in mergeFuncAttrs()
268 StorageClass stc = STC.safe | STC.nothrow_ | STC.pure_ | STC.nogc; in buildOpAssign() local
286 stc = mergeFuncAttrs(stc, hasIdentityOpAssign(sdv, sc)); in buildOpAssign()
294 stc = mergeFuncAttrs(stc, sd.dtor); in buildOpAssign()
295 if (stc & STC.safe) in buildOpAssign()
[all …]
H A Dparse.d231 const stc = parseAttribute(exps); variable
232 if (stc & atAttrGroup)
240 if (stc)
315 StorageClass stc; variable
584 stc = STC.static_;
592 stc = STC.const_;
598 stc = STC.immutable_;
620 stc = STC.shared_;
626 stc = STC.wild;
630 stc = STC.final_;
[all …]
H A Dattrib.d84 extern (D) static Scope* createNewScope(Scope* sc, StorageClass stc, LINK linkage, in createNewScope() argument
89 if (stc != sc.stc || in createNewScope()
99 sc2.stc = stc; in createNewScope()
227 StorageClass stc; variable
229 extern (D) this(StorageClass stc, Dsymbols* decl) in this() argument
232 this.stc = stc; in this()
238 return new StorageClassDeclaration(stc, Dsymbol.arraySyntaxCopy(decl)); in syntaxCopy()
243 StorageClass scstc = sc.stc; in newScope()
247 if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.extern_ | STC.manifest)) in newScope()
249 if (stc & (STC.auto_ | STC.scope_ | STC.static_ | STC.manifest | STC.gshared)) in newScope()
[all …]
H A Dmtype.d241 StorageClass stc = 0; in ModToStc() local
243 stc |= STC.immutable_; in ModToStc()
245 stc |= STC.const_; in ModToStc()
247 stc |= STC.wild; in ModToStc()
249 stc |= STC.shared_; in ModToStc()
250 return stc; in ModToStc()
542 StorageClass stc = 0; variable
713 stc |= STC.const_; in version()
726 stc |= STC.pure_;
729 stc |= STC.nothrow_;
[all …]
H A Ddmangle.d987 auto stc = p.storageClass; in mangleParameter() local
990 if (stc & STC.scopeinferred) in mangleParameter()
991 stc &= ~(STC.scope_ | STC.scopeinferred); in mangleParameter()
992 if (stc & STC.returninferred) in mangleParameter()
993 stc &= ~(STC.return_ | STC.returninferred); in mangleParameter()
997 const isout = (stc & STC.out_) != 0; in mangleParameter()
998 final switch (buildScopeRef(stc)) in mangleParameter()
1013 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_); in mangleParameter()
1017 if (stc & STC.scope_) in mangleParameter()
1020 if (stc & STC.return_) in mangleParameter()
[all …]
H A Dfunc.d686 StorageClass stc = 0; in findVtblIndex() local
687 const cov = type.covariant(fdv.type, &stc); in findVtblIndex()
702 mismatchstc = stc; in findVtblIndex()
1278 if (_scope.stc & STC.abstract_) in isAbstract()
2274 sc.stc &= ~STC.override_; in mergeFrequire()
2330 sc.stc &= ~STC.override_; in mergeFrequireInclusivePreview()
2434 auto stc = STC.ref_ | STC.temp | STC.result; in buildEnsureRequire() local
2435 auto decl = new VarDeclaration(rloc, null, r.id, init, stc); in buildEnsureRequire()
2572 sc.stc &= ~STC.override_; in mergeFensure()
2636 …uncDeclaration genCfunc(Parameters* fparams, Type treturn, const(char)* name, StorageClass stc = 0)
[all …]
H A Ddsymbolsem.d248 dsym.isDeprecated_ = !!(sc.stc & STC.deprecated_); in visit()
315 dsym.storage_class |= sc.stc & STC.deprecated_; in visit()
389 …dsym.storage_class |= (sc.stc & ~(STC.synchronized_ | STC.override_ | STC.abstract_ | STC.final_)); in visit()
445 sc2.stc |= (dsym.storage_class & STC.FUNCATTR); in visit()
692 …if (StorageClass stc = dsym.storage_class & (STC.synchronized_ | STC.override_ | STC.abstract_ | S… in visit() local
694 if (stc == STC.final_) in visit()
699 stcToBuffer(&buf, stc); in visit()
702 dsym.storage_class &= ~stc; // strip off in visit()
712 … StorageClass stc = dsym.storage_class & (STC.static_ | STC.extern_ | STC.manifest | STC.gshared); in visit() local
713 if (stc) in visit()
[all …]
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.disasm/
H A Dt13_otr.s130 stc.b ccr,r1h ;0201
131 stc.w ccr,@er1 ;01406990
132 stc.w ccr,@-er1 ;01406d90
133 stc.w ccr,@(0x1234:16,er1) ;01406f901234
134 stc.w ccr,@(0x12345678:32,er1) ;014078106ba012345678
135 stc.w ccr,@0x1234:16 ;01406b801234
136 stc.w ccr,@0x12345678:32 ;01406ba012345678
138 stc.b exr,r1h ;0211
139 stc.w exr,@er1 ;01416990
140 stc.w exr,@-er1 ;01416d90
[all …]
H A Dh8300s.s324 stc ccr,r3l
325 stc ccr,@er0
326 stc ccr,@(0x1234:16,er0)
327 stc ccr,@(0x12345678:32,er0)
328 stc ccr,@-er1
329 stc ccr,@0x1234:16
330 stc ccr,@0x12345678:32
342 stc exr,r3l
343 stc exr,@er0
344 stc exr,@(0x1234:16,er0)
[all …]
/netbsd-src/external/bsd/nsd/dist/
H A Dnsd.h96 #define STATUP(nsd, stc) nsd->st->stc++ argument
100 #define STATUP2(nsd, stc, i) nsd->st->stc[(i) <= (LASTELEM(nsd->st->stc) - 1) ? i : LASTELEM(nsd->s… argument
103 #define STATUP(nsd, stc) /* Nothing */ argument
104 #define STATUP2(nsd, stc, i) /* Nothing */ argument
110 #define ZTATUP(nsd, zone, stc) ( \ argument
112 nsd->zonestatnow[zone->zonestatid].stc++ \
114 #define ZTATUP2(nsd, zone, stc, i) ( \ argument
116 …one->zonestatid].stc[(i) <= (LASTELEM(nsd->zonestatnow[zone->zonestatid].stc) - 1) ? i : LASTELEM(…
119 #define ZTATUP(nsd, zone, stc) /* Nothing */ argument
120 #define ZTATUP2(nsd, zone, stc, i) /* Nothing */ argument
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/sh/
H A Dldrc.s22 stc rs, r0 ! rs unchanged
24 stc re, r0 ! re unchanged
46 stc rs, r0 ! rs unchanged
48 stc re, r0 ! re unchanged
81 stc rs, r0 ! rs unchanged
83 stc re, r0
106 stc rs, r0 ! rs unchanged
108 stc re, r0
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/h8300/
H A Dstc.s57 stc ccr, r0h ; copy test value to r0h
77 stc exr, r0l ; retrieve and check exr value
96 stc ccr, @byte_dest1:16 ; abs16 dest
112 stc exr, @byte_dest2:16 ; abs16 dest
128 stc ccr, @byte_dest3:32 ; abs32 dest
144 stc exr, @byte_dest4:32 ; abs32 dest
161 stc ccr, @(1:16,er1) ; disp16 dest (5)
179 stc exr, @(-1:16,er1) ; disp16 dest (6)
197 stc ccr, @(1:32,er1) ; disp32 dest (7)
215 stc exr, @(-1:32,er1) ; disp16 dest (8)
[all …]
H A Dldc.s93 stc exr, r0l ; retrieve and check exr value
115 stc exr, r0l ; retrieve and check exr value
134 stc ccr, r0l ; copy into general reg
151 stc exr, r0l ; copy into general reg
167 stc ccr, r0l ; copy into general reg
184 stc exr, r0l ; copy into general reg
201 stc ccr, r0l ; copy into general reg
219 stc exr, r0l ; copy into general reg
236 stc ccr, r0l ; copy into general reg
254 stc exr, r0l ; copy into general reg
[all …]
H A Dxorb.s354 stc exr, r0l
362 stc exr, r0l
365 stc exr, r0l
369 stc exr, r0l
372 stc exr, r0l
376 stc exr, r0l
379 stc exr, r0l
383 stc exr, r0l
386 stc exr, r0l
/netbsd-src/external/gpl3/gcc/dist/gcc/config/h8300/
H A Dproepi.md110 …return "subs\\t#2,er7\;mov.l\\ter0,@-er7\;stc\\tccr,r0l\;mov.b\\tr0l,@(4,er7)\;mov.l\\t@er7+,er0\;…
112 …return "mov.l\\ter0,@-er7\;stc\\tccr,r0l\;mov.b\\tr0l,@(4,er7)\;mov.l\\t@er7+,er0\;orc\\t#128,ccr";
114 return "mov.l\\ter0,@-er7\;stc\tccr,r0l\;mov.b\tr0l,@(4,er7)\;mov.l\\t@er7+,er0\;orc\t#128,ccr";
116 …return "subs\\t#2,er7\;mov.l\\ter0,@-er7\;stc\tccr,r0l\;mov.b\tr0l,@(4,er7)\;mov.l\\t@er7+,er0\;or…
118 …return "subs\\t#2,er7\;stc\texr,@-er7\;mov.l\\ter0,@-er7\;stc\tccr,r0l\;mov.b\tr0l,@(6,er7)\;mov.l…
120 …return "stc\texr,@-er7\;mov.l\\ter0,@-er7\;stc\tccr,r0l\;mov.b\tr0l,@(6,er7)\;mov.l\\t@er7+,er0\;o…
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/frv/
H A Dstc.cgs1 # frv testcase for stc $CPRk,@($GRi,$GRj)
9 .global stc
10 stc:
14 stc cpr8,@(sp,gr7)
/netbsd-src/sys/netinet/
H A Dsctp_output.c233 struct sctp_state_cookie *stc; in sctp_add_cookie() local
261 stc = (struct sctp_state_cookie *)((vaddr_t)ph + in sctp_add_cookie()
265 /* Fill in the stc cookie data */ in sctp_add_cookie()
266 *stc = *stc_in; in sctp_add_cookie()
3263 struct sctp_state_cookie stc; in sctp_send_initiate_ack() local
3314 SCTP_GETTIME_TIMEVAL(&stc.time_entered); in sctp_send_initiate_ack()
3322 stc.tie_tag_my_vtag = asoc->my_vtag_nonce; in sctp_send_initiate_ack()
3326 stc.tie_tag_peer_vtag = asoc->peer_vtag_nonce; in sctp_send_initiate_ack()
3328 stc.cookie_life = asoc->cookie_life; in sctp_send_initiate_ack()
3345 stc in sctp_send_initiate_ack()
[all...]
/netbsd-src/sys/arch/sh3/sh3/
H A Dlocore_subr.S59 stc.l r7_bank, @-pcb ; \
60 stc.l r6_bank, @-pcb ; \
70 stc.l sr, @-pcb ; \
72 stc.l gbr, @-pcb
281 stc sr, r0 /* r0 = SR */
298 stc sr, r0 /* r0 = SR */
316 stc sr, r0 /* r0 = SR */
333 stc sr, r0 /* r0 = SR */

12345678910