Home
last modified time | relevance | path

Searched refs:sc2 (Results 1 – 25 of 52) sorted by relevance

123

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsemantic3.d322 Scope* sc2 = sc.push(ss); in visit() local
323 sc2.func = funcdecl; in visit()
324 sc2.parent = funcdecl; in visit()
325 sc2.ctorflow.callSuper = CSX.none; in visit()
326 sc2.sbreak = null; in visit()
327 sc2.scontinue = null; in visit()
328 sc2.sw = null; in visit()
329 sc2.fes = funcdecl.fes; in visit()
330 sc2.linkage = funcdecl.isCsymbol() ? LINK.c : LINK.d; in visit()
331 sc2.stc &= STC.flowThruFunction; in visit()
[all …]
H A Dattrib.d88 Scope* sc2 = sc; in createNewScope() local
98 sc2 = sc.copy(); in createNewScope()
99 sc2.stc = stc; in createNewScope()
100 sc2.linkage = linkage; in createNewScope()
101 sc2.cppmangle = cppmangle; in createNewScope()
102 sc2.visibility = visibility; in createNewScope()
103 sc2.explicitVisibility = explicitVisibility; in createNewScope()
104 sc2.aligndecl = aligndecl; in createNewScope()
105 sc2.inlining = inlining; in createNewScope()
107 return sc2; in createNewScope()
[all …]
H A Dclone.d377 Scope* sc2 = sc.push(); in buildOpAssign() local
378 sc2.stc = 0; in buildOpAssign()
379 sc2.linkage = LINK.d; in buildOpAssign()
380 fop.dsymbolSemantic(sc2); in buildOpAssign()
381 fop.semantic2(sc2); in buildOpAssign()
385 sc2.pop(); in buildOpAssign()
588 Scope* sc2 = sc.push(); in buildXopEquals() local
589 sc2.stc = 0; in buildXopEquals()
590 sc2.linkage = LINK.d; in buildXopEquals()
591 fop.dsymbolSemantic(sc2); in buildXopEquals()
[all …]
H A Daggregate.d168 auto sc2 = sc.push(this); in newScope() local
169 sc2.stc &= STC.flowThruAggregate; in newScope()
170 sc2.parent = this; in newScope()
171 sc2.inunion = isUnionDeclaration(); in newScope()
172 sc2.visibility = Visibility(Visibility.Kind.public_); in newScope()
173 sc2.explicitVisibility = 0; in newScope()
174 sc2.aligndecl = null; in newScope()
175 sc2.userAttribDecl = null; in newScope()
176 sc2.namespace = null; in newScope()
177 return sc2; in newScope()
H A Ddsymbolsem.d444 Scope* sc2 = sc.push(); in visit() local
445 sc2.stc |= (dsym.storage_class & STC.FUNCATTR); in visit()
447 dsym.type = dsym.type.typeSemantic(dsym.loc, sc2); in visit()
449 sc2.pop(); in visit()
1419 Scope* sc2 = ad.newScope(sc); in attribSemantic() local
1424 s.dsymbolSemantic(sc2); in attribSemantic()
1428 if (sc2 != sc) in attribSemantic()
1429 sc2.pop(); in attribSemantic()
1533 Scope* sc2 = pd.newScope(sc); in visit() local
1535 if (sc2 != sc) in visit()
[all …]
H A Ddscope.d788 for (const(Scope)* sc2 = &this; sc2; sc2 = sc2.enclosing)
790 if (sc2.scopesym && sc2.scopesym.isDeprecated())
794 if (sc2.stc & STC.deprecated_)
H A Dtraits.d821 Scope* sc2 = sc.push(); in semanticTraits() local
822 sc2.flags = sc.flags | SCOPE.noaccesscheck | SCOPE.ignoresymbolvisibility; in semanticTraits()
823 bool ok = TemplateInstance.semanticTiargs(e.loc, sc2, e.args, 1); in semanticTraits()
824 sc2.pop(); in semanticTraits()
1727 Scope* sc2 = sc.push(); in semanticTraits() local
1728 sc2.tinst = null; in semanticTraits()
1729 sc2.minst = null; in semanticTraits()
1730sc2.flags = (sc.flags & ~(SCOPE.ctfe | SCOPE.condition)) | SCOPE.compile | SCOPE.fullinst; in semanticTraits()
1739 t.resolve(e.loc, sc2, ex, t, s); in semanticTraits()
1742 t.typeSemantic(e.loc, sc2); in semanticTraits()
[all …]
H A Ddclass.d407 auto sc2 = super.newScope(sc); in newScope() local
413 sc2.linkage = target.systemLinkage(); in newScope()
415 return sc2; in newScope()
1031 auto sc2 = super.newScope(sc); in newScope() local
1033 sc2.linkage = LINK.windows; in newScope()
1035 sc2.linkage = LINK.cpp; in newScope()
1037 sc2.linkage = LINK.objc; in newScope()
1038 return sc2; in newScope()
H A Dsemantic2.d522 Scope* sc2 = ad.newScope(sc); in visit() local
526 s.semantic2(sc2); in visit()
528 if (sc2 != sc) in visit()
529 sc2.pop(); in visit()
608 auto sc2 = ad.newScope(sc); in visit() local
616 s.semantic2(sc2); in visit()
619 sc2.pop(); in visit()
H A Dtypesem.d2043 Scope* sc2 = sc; in typeSemantic() local
2046 sc2 = sc2.inner(); in typeSemantic()
2047 auto scopesym = sc2.scopesym; in typeSemantic()
2050 sc2 = sc2.enclosing; in typeSemantic()
2063 auto scopesym = sc2.inner().scopesym; in typeSemantic()
2069 handleTagSymbols(*sc2, sd, s2, scopesym); in typeSemantic()
2071 sd.parent = sc2.parent; in typeSemantic()
2072 sd.dsymbolSemantic(sc2); in typeSemantic()
2114 auto s = sc2.search(mtype.loc, mtype.id, &scopesym, IgnoreErrors | TagNameSpace); in typeSemantic()
2127 const bool redeclar = (scopesym == sc2.inner().scopesym); in typeSemantic()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dattrib.c81 Scope *sc2 = sc; in createNewScope() local
91 sc2 = sc->copy(); in createNewScope()
92 sc2->stc = stc; in createNewScope()
93 sc2->linkage = linkage; in createNewScope()
94 sc2->cppmangle = cppmangle; in createNewScope()
95 sc2->protection = protection; in createNewScope()
96 sc2->explicitProtection = explicitProtection; in createNewScope()
97 sc2->aligndecl = aligndecl; in createNewScope()
98 sc2->inlining = inlining; in createNewScope()
100 return sc2; in createNewScope()
[all …]
H A Ddstruct.c226 Scope *sc2 = sc->push(this); in newScope() local
227 sc2->stc &= STCsafe | STCtrusted | STCsystem; in newScope()
228 sc2->parent = this; in newScope()
230 sc2->inunion = 1; in newScope()
231 sc2->protection = Prot(PROTpublic); in newScope()
232 sc2->explicitProtection = 0; in newScope()
233 sc2->aligndecl = NULL; in newScope()
234 sc2->userAttribDecl = NULL; in newScope()
235 return sc2; in newScope()
260 Scope *sc2 = newScope(sc); in semantic2() local
[all …]
H A Dfunc.c1456 Scope *sc2 = sc->push(ss); in semantic3() local
1457 sc2->func = this; in semantic3()
1458 sc2->parent = this; in semantic3()
1459 sc2->callSuper = 0; in semantic3()
1460 sc2->sbreak = NULL; in semantic3()
1461 sc2->scontinue = NULL; in semantic3()
1462 sc2->sw = NULL; in semantic3()
1463 sc2->fes = fes; in semantic3()
1464 sc2->linkage = LINKd; in semantic3()
1465 sc2->stc &= ~(STCauto | STCscope | STCstatic | STCextern | STCabstract | in semantic3()
[all …]
H A Ddclass.c277 Scope *sc2 = AggregateDeclaration::newScope(sc); in newScope() local
281 sc2->linkage = LINKwindows; in newScope()
287 sc2->linkage = LINKc; in newScope()
290 return sc2; in newScope()
634 Scope *sc2 = newScope(sc); in semantic() local
643 s->setScope(sc2); in semantic()
646 sc2->pop(); in semantic()
728 Scope *sc2 = newScope(sc); in semantic() local
733 s->importAll(sc2); in semantic()
740 s->semantic(sc2); in semantic()
[all …]
H A Dclone.c326 Scope *sc2 = sc->push(); in buildOpAssign() local
327 sc2->stc = 0; in buildOpAssign()
328 sc2->linkage = LINKd; in buildOpAssign()
330 fop->semantic(sc2); in buildOpAssign()
331 fop->semantic2(sc2); in buildOpAssign()
334 sc2->pop(); in buildOpAssign()
549 Scope *sc2 = sc->push(); in buildXopEquals() local
550 sc2->stc = 0; in buildXopEquals()
551 sc2->linkage = LINKd; in buildXopEquals()
553 fop->semantic(sc2); in buildXopEquals()
[all …]
H A Dtraits.c659 Scope *sc2 = sc->push(); in semanticTraits() local
660 sc2->flags = sc->flags | SCOPEnoaccesscheck; in semanticTraits()
661 bool ok = TemplateInstance::semanticTiargs(e->loc, sc2, e->args, 1); in semanticTraits()
662 sc2->pop(); in semanticTraits()
1323 Scope *sc2 = sc->push(); in semanticTraits() local
1324 sc2->tinst = NULL; in semanticTraits()
1325 sc2->minst = NULL; in semanticTraits()
1326 sc2->flags = (sc->flags & ~(SCOPEctfe | SCOPEcondition)) | SCOPEcompile | SCOPEfullinst; in semanticTraits()
1335 t->resolve(e->loc, sc2, &ex, &t, &s); in semanticTraits()
1338 t->semantic(e->loc, sc2); in semanticTraits()
[all …]
H A Ddtemplate.c1959 Scope *sc2 = _scope; in deduceFunctionTemplateMatch() local
1960 sc2 = sc2->push(paramsym); in deduceFunctionTemplateMatch()
1961 sc2 = sc2->push(ti); in deduceFunctionTemplateMatch()
1962 sc2->parent = ti; in deduceFunctionTemplateMatch()
1963 sc2->tinst = ti; in deduceFunctionTemplateMatch()
1964 sc2->minst = sc->minst; in deduceFunctionTemplateMatch()
1966 fd = doHeaderInstantiation(ti, sc2, fd, tthis, fargs); in deduceFunctionTemplateMatch()
1968 sc2 = sc2->pop(); in deduceFunctionTemplateMatch()
1969 sc2 = sc2->pop(); in deduceFunctionTemplateMatch()
2648 TemplateInstance *ti, Scope *sc2, in doHeaderInstantiation() argument
[all …]
H A Ddsymbol.c774 for (Scope *sc2 = sc; sc2; sc2 = sc2->enclosing) in checkDeprecated() local
776 if (sc2->scopesym && sc2->scopesym->isDeprecated()) in checkDeprecated()
780 if (sc2->stc & STCdeprecated) in checkDeprecated()
H A Ddeclaration.c430 Scope *sc2 = sc; in aliasSemantic() local
435 sc2 = sc->push(); in aliasSemantic()
436sc2->stc |= storage_class & (STCref | STCnothrow | STCnogc | STCpure | STCshared | STCdisable); in aliasSemantic()
439 type->resolve(loc, sc2, &e, &t, &s); in aliasSemantic()
440 if (sc2 != sc) in aliasSemantic()
441 sc2->pop(); in aliasSemantic()
939 Scope *sc2 = sc->push(); in semantic() local
940 sc2->stc |= (storage_class & STC_FUNCATTR); in semantic()
942 type = type->semantic(loc, sc2); in semantic()
944 sc2->pop(); in semantic()
/netbsd-src/sys/net/
H A Dif_ipsec.c1146 struct ipsec_softc *sc2; in if_ipsec_set_tunnel() local
1215 LIST_FOREACH(sc2, &ipsec_softcs.list, ipsec_list) { in if_ipsec_set_tunnel()
1219 if (sc2 == sc) in if_ipsec_set_tunnel()
1221 var2 = if_ipsec_getref_variant(sc2, &psref); in if_ipsec_set_tunnel()
1226 if (if_ipsec_nat_t(sc) || if_ipsec_nat_t(sc2)) { in if_ipsec_set_tunnel()
1499 struct ipsec_softc *sc2; in if_ipsec_share_sp() local
1507 LIST_FOREACH(sc2, &ipsec_softcs.list, ipsec_list) { in if_ipsec_share_sp()
1508 if (sc2 == sc) in if_ipsec_share_sp()
1510 var2 = if_ipsec_getref_variant(sc2, &psref); in if_ipsec_share_sp()
1524 if (sc2 == NULL) in if_ipsec_share_sp()
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dagm.c34 mpfr_t u, v, uf, vf, sc1, sc2; in mpfr_agm() local
207 MPFR_ALIAS (sc2, op2, MPFR_SIGN (op2), e2 + scaleop); in mpfr_agm()
209 op2 = sc2; in mpfr_agm()
/netbsd-src/crypto/external/bsd/openssl/dist/doc/internal/man3/
H A Dcms_add1_signing_cert.pod15 int cms_add1_signing_cert_v2(CMS_SignerInfo *si, ESS_SIGNING_CERT_V2 *sc2);
21 cms_add1_signing_cert_v2() adds an ESS Signing Certificate I<sc2> (version 2) signed
/netbsd-src/sys/netinet/
H A Dtcp_syncache.c320 struct syn_cache *sc2; in syn_cache_insert() local
347 sc2 = TAILQ_FIRST(&scp->sch_bucket); in syn_cache_insert()
353 if (sc2 == NULL) in syn_cache_insert()
356 syn_cache_rm(sc2); in syn_cache_insert()
357 syn_cache_put(sc2); /* calls pool_put but see spl above */ in syn_cache_insert()
389 sc2 = TAILQ_FIRST(&scp2->sch_bucket); in syn_cache_insert()
390 syn_cache_rm(sc2); in syn_cache_insert()
391 syn_cache_put(sc2); /* calls pool_put but see spl above */ in syn_cache_insert()
/netbsd-src/lib/libm/noieee_src/
H A Dn_erf.c244 sc2 = 2.80952153365721279953959310660e+001, variable
308 S = one+s*(sc1+s*(sc2+s*sc3)); in erf()
392 S = one+s*(sc1+s*(sc2+s*sc3)); in erfc()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ts/
H A Dts_rsp_sign.c681 ESS_SIGNING_CERT_V2 *sc2 = NULL; in ts_RESP_sign() local
745 sc2 = OSSL_ESS_signing_cert_v2_new_init(ctx->ess_cert_id_digest, in ts_RESP_sign()
747 if (sc2 == NULL) in ts_RESP_sign()
750 if (!ossl_ess_add1_signing_cert_v2(si, sc2)) { in ts_RESP_sign()
784 ESS_SIGNING_CERT_V2_free(sc2); in ts_RESP_sign()

123