HomeSort by: relevance | last modified time | path
    Searched refs:SCOPE (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
dscope.d 2 * A scope as defined by curly braces `{}`.
4 * Not to be confused with the `scope` storage class.
46 // List of flags that can be applied to this `Scope`
47 enum SCOPE
73 /// Flags that are carried along with a scope push()
75 SCOPE.contract | SCOPE.debug_ | SCOPE.ctfe | SCOPE.compile | SCOPE.constraint
    [all...]
importc.d 40 Type cAdjustParamType(Type t, Scope* sc)
42 if (!(sc.flags & SCOPE.Cfile))
75 Expression arrayFuncConv(Expression e, Scope* sc)
78 if (!(sc.flags & SCOPE.Cfile))
111 Expression fieldLookup(Expression e, Scope* sc, Identifier id)
145 Expression carraySemantic(ArrayExp ae, Scope* sc)
147 if (!(sc.flags & SCOPE.Cfile))
212 Expression castCallAmbiguity(Expression e, Scope* sc)
nogc.d 144 return; // delete for scope allocated class object
207 Expression checkGC(Scope* sc, Expression e)
210 if (e && e.op != EXP.error && f && sc.intypeof != 1 && !(sc.flags & SCOPE.ctfe) &&
213 !(sc.flags & SCOPE.debug_))
215 scope NOGCVisitor gcv = new NOGCVisitor(f);
safe.d 38 * sc = scope
46 bool checkUnsafeAccess(Scope* sc, Expression e, bool readonly, bool printmsg)
213 bool checkUnsafeDotExp(Scope* sc, Expression e, Identifier id, int flag)
218 !(sc.flags & SCOPE.debug_) && // allow unsafe code in debug statements
typinf.d 33 * sc = the scope
35 extern (C++) void genTypeInfo(const ref Loc loc, Type torig, Scope* sc)
42 if (!sc || !(sc.flags & SCOPE.ctfe))
101 * sc = the scope
105 extern (C++) Type getTypeInfoType(const ref Loc loc, Type t, Scope* sc);
dstruct.d 71 extern (C++) void semanticTypeInfo(Scope* sc, Type t)
77 if (sc.flags & (SCOPE.ctfe | SCOPE.compile))
104 Scope scx;
112 // the typeid(T) expression exists in speculative scope.
126 * This should be done even if typeid(T) exists in speculative scope.
127 * Because it may appear later in non-speculative scope.
semantic3.d 79 extern(C++) void semantic3(Dsymbol dsym, Scope* sc)
81 scope v = new Semantic3Visitor(sc);
89 Scope* sc;
90 this(Scope* sc)
185 // Note that modules get their own scope, from scratch.
188 Scope* sc = Scope.createGlobal(mod); // create root scope
222 if (sc.flags & SCOPE.Cfile && funcdecl.isCMain() && f.next.ty == Tint32)
284 //printf(" sc.incontract = %d\n", (sc.flags & SCOPE.contract))
    [all...]
traits.d 376 scope PointerBitmapVisitor pbv = new PointerBitmapVisitor(data, sz_size_t);
423 Expression semanticTraits(TraitsExp e, Scope* sc)
436 // Pretend we're in a deprecated scope so that deprecation messages
821 Scope* sc2 = sc.push();
822 sc2.flags = sc.flags | SCOPE.noaccesscheck | SCOPE.ignoresymbolvisibility;
1043 Scope* scx = sc.push();
1044 scx.flags |= SCOPE.ignoresymbolvisibility | SCOPE.noaccesscheck;
1045 scope (exit) scx.pop()
    [all...]
expressionsem.d 96 bool expressionsToString(ref OutBuffer buf, Scope* sc, Expressions* exps)
144 * sc = scope
150 StringExp semanticString(Scope *sc, Expression exp, const char* s)
178 private Expression extractOpDollarSideEffect(Scope* sc, UnaExp ue)
185 if ((sc.flags & SCOPE.ctfe) ? hasSideEffect(e1) : !isTrivialExp(e1)) // match logic in extractSideEffect()
207 Expression resolveOpDollar(Scope* sc, ArrayExp ae, Expression* pe0)
229 // Create scope for '$' variable for this dimension
291 Expression resolveOpDollar(Scope* sc, ArrayExp ae, IntervalExp ie, Expression* pe0)
300 // create scope for '$'
339 bool arrayExpressionSemantic(Expressions* exps, Scope* sc, bool preserveErrors = false
    [all...]
access.d 39 bool checkAccess(AggregateDeclaration ad, Loc loc, Scope* sc, Dsymbol smember)
43 printf("AggregateDeclaration::checkAccess() for %s.%s in function %s() in scope %s\n", ad.toChars(), smember.toChars(), f ? f.toChars() : null, cdscope ? cdscope.toChars() : null);
63 * Determine if scope sc has package level access to s.
65 private bool hasPackageAccess(Scope* sc, Dsymbol s)
145 * Determine if scope sc has protected level access to cd.
147 private bool hasProtectedAccess(Scope *sc, Dsymbol s)
167 bool checkAccess(Loc loc, Scope* sc, Expression e, Dsymbol d)
169 if (sc.flags & SCOPE.noaccesscheck)
213 * Check access to package/module `p` from scope `sc`.
216 * sc = scope from which to access to a fully qualified package nam
    [all...]
attrib.d 4 * The term 'attribute' refers to things that can apply to a larger scope than a single declaration.
70 Dsymbols* include(Scope* sc)
79 * Create a new scope if one or more given attributes
81 * If the returned scope != sc, the caller should pop
82 * the scope after it used.
84 extern (D) static Scope* createNewScope(Scope* sc, StorageClass stc, LINK linkage,
88 Scope* sc2 = sc;
111 * A hook point to supply scope for members.
114 Scope* newScope(Scope* sc
    [all...]
sideeffect.d 60 scope IsTrivialExp v = new IsTrivialExp();
89 scope LambdaHasSideEffect v = new LambdaHasSideEffect();
388 * sc = scope
399 Expression extractSideEffect(Scope* sc, const char[] name,
411 ((sc.flags & SCOPE.ctfe) ? !hasSideEffect(e) : isTrivialExp(e)))
dsymbolsem.d 102 extern(C++) void dsymbolSemantic(Dsymbol dsym, Scope* sc)
104 scope v = new DsymbolSemanticVisitor(sc);
116 AlignDeclaration getAlignment(AlignDeclaration ad, Scope* sc)
143 if (sc.flags & SCOPE.Cfile && n == 0) // C11 6.7.5-6 allows 0 for alignment
211 Scope* sc;
212 this(Scope* sc)
217 // Save the scope and defer semantic analysis on the Dsymbol.
218 private void deferDsymbolSemantic(Dsymbol s, Scope *scx)
362 Scope* scx = null;
375 // 'static foreach' variables should not inherit scope propertie
    [all...]
initsem.d 96 extern(C++) Initializer initializerSemantic(Initializer init, Scope* sc, ref Type tx, NeedInterpret needInterpret)
377 if (i.dim > edim && !(tsa.isIncomplete() && (sc.flags & SCOPE.Cfile)))
428 if (i.exp.implicitConvTo(t) && !(sc.flags & SCOPE.Cfile))
436 if (sc.flags & SCOPE.Cfile)
509 if (sc.flags & SCOPE.Cfile &&
522 if (sc.flags & SCOPE.Cfile && i.exp.isStringExp() &&
586 else if (sc.flags & SCOPE.Cfile && i.exp.isStringExp() &&
950 Initializer inferType(Initializer init, Scope* sc)
statementsem.d 86 private Identifier fixupLabelName(Scope* sc, Identifier ident)
88 uint flags = (sc.flags & SCOPE.contract);
90 if (flags && flags != SCOPE.invariant_ &&
94 buf.writestring(flags == SCOPE.require ? "__in_" : "__out_");
110 private LabelStatement checkLabeledLoop(Scope* sc, Statement statement)
127 private Expression checkAssignmentAsCondition(Expression e, Scope* sc)
129 if (sc.flags & SCOPE.Cfile)
141 extern(C++) Statement statementSemantic(Statement s, Scope* sc)
146 scope v = new StatementSemanticVisitor(sc);
160 Scope* sc
    [all...]
declaration.d 48 * accessible from the current scope.
51 bool checkFrameAccess(Loc loc, Scope* sc, AggregateDeclaration ad, size_t iStart = 0)
85 bool modifyFieldVar(Loc loc, Scope* sc, VarDeclaration var, Expression e1)
270 * sc = Scope in which the call occurs
276 extern (D) final bool checkDisabled(Loc loc, Scope* sc, bool isAliasedDeclaration = false)
360 extern (D) final Modifiable checkModify(Loc loc, Scope* sc, Expression e1, ModifyFlags flag)
368 for (Scope* scx = sc; scx; scx = scx.enclosing)
370 if (scx.func == parent && (scx.flags & SCOPE.contract))
383 for (Scope* scx = sc; scx; scx = scx.enclosing)
385 if (scx.func == vthis.parent && (scx.flags & SCOPE.contract)
    [all...]
staticcond.d 36 * sc = instantiating scope
44 bool evalStaticCondition(Scope* sc, Expression original, Expression e, out bool errors, Expressions* negatives = null)
92 sc.flags |= SCOPE.condition;
typesem.d 71 private Expression semanticLength(Scope* sc, Type t, Expression exp)
94 private Expression semanticLength(Scope* sc, TupleDeclaration tup, Expression exp)
121 private void resolveTupleIndex(const ref Loc loc, Scope* sc, Dsymbol s, out Expression pe, out Type pt, out Dsymbol ps, RootObject oindex)
191 private void resolveHelper(TypeQualified mt, const ref Loc loc, Scope* sc, Dsymbol s, Dsymbol scopesym,
211 else if (const q = Scope.search_correct_C(id))
271 if (!(sc.flags & SCOPE.ignoresymbolvisibility) && !symbolIsVisible(sc, sm))
660 extern(C++) Type typeSemantic(Type type, const ref Loc loc, Scope* sc)
850 .error(loc, "cannot have array of scope `%s`", tbn.toChars());
884 .error(loc, "cannot have array of scope `%s`", tn.toChars());
1090 .error(loc, "cannot have array of scope `%s`", mtype.next.toChars())
    [all...]
  /src/external/bsd/ntp/dist/include/
ntp_net.h 78 /* sockaddr_u v6 scope */
82 /* v4/v6 scope (always zero for v4) */
83 # define SCOPE(psau) (IS_IPV4(psau) \
91 /* assign scope if supported */
98 # define SCOPE(psau) (0)
109 /* v6 is interface ID scope universal, as with MAC-derived addresses */
196 /* just how unspecified do you mean? (scope 0/unspec too) */
198 (SOCK_UNSPEC(psau) && !SCOPE(psau))
  /src/external/gpl3/gdb.old/dist/gdb/
tracectf.c 935 #define SET_INT32_FIELD(EVENT, SCOPE, VAR, FIELD) \
937 (SCOPE), \
940 #define SET_ENUM_FIELD(EVENT, SCOPE, VAR, TYPE, FIELD) \
942 (SCOPE), \
951 const struct bt_definition *scope local
954 SET_ENUM_FIELD (event, scope, ts, enum trace_stop_reason, stop_reason);
955 SET_INT32_FIELD (event, scope, ts, stopping_tracepoint);
956 SET_INT32_FIELD (event, scope, ts, traceframe_count);
957 SET_INT32_FIELD (event, scope, ts, traceframes_created);
958 SET_INT32_FIELD (event, scope, ts, buffer_free)
977 const struct bt_definition *scope; local
1063 const struct bt_definition *scope; local
1118 const struct bt_definition *scope; local
1253 const struct bt_definition *scope local
1327 const struct bt_definition *scope; local
1453 const struct bt_definition *scope; local
1485 const struct bt_definition *scope local
1673 const struct bt_definition *scope local
1689 const struct bt_definition *scope local
    [all...]
  /src/external/gpl3/gdb/dist/gdb/
tracectf.c 935 #define SET_INT32_FIELD(EVENT, SCOPE, VAR, FIELD) \
937 (SCOPE), \
940 #define SET_ENUM_FIELD(EVENT, SCOPE, VAR, TYPE, FIELD) \
942 (SCOPE), \
951 const struct bt_definition *scope local
954 SET_ENUM_FIELD (event, scope, ts, enum trace_stop_reason, stop_reason);
955 SET_INT32_FIELD (event, scope, ts, stopping_tracepoint);
956 SET_INT32_FIELD (event, scope, ts, traceframe_count);
957 SET_INT32_FIELD (event, scope, ts, traceframes_created);
958 SET_INT32_FIELD (event, scope, ts, buffer_free)
977 const struct bt_definition *scope; local
1063 const struct bt_definition *scope; local
1118 const struct bt_definition *scope; local
1253 const struct bt_definition *scope local
1327 const struct bt_definition *scope; local
1453 const struct bt_definition *scope; local
1485 const struct bt_definition *scope local
1673 const struct bt_definition *scope local
1689 const struct bt_definition *scope local
    [all...]
  /src/external/gpl3/gcc/dist/gcc/cp/
name-lookup.h 28 /* The datatype used to implement C++ scope. */
31 /* Nonzero if this binding is for a local scope, as opposed to a class
32 or namespace scope. */
54 /* The scope at which this binding was made. */ variable
55 cp_binding_level *scope;
191 sk_block = 0, /* An ordinary block scope. This enumerator must
194 contents to zero, and the default scope kind
196 sk_cleanup, /* A scope for (pseudo-)scope for cleanup. It is
201 sk_for, /* The scope of the variable declared in
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/cp/
name-lookup.h 28 /* The datatype used to implement C++ scope. */
31 /* Nonzero if this binding is for a local scope, as opposed to a class
32 or namespace scope. */
54 /* The scope at which this binding was made. */ variable
55 cp_binding_level *scope;
191 sk_block = 0, /* An ordinary block scope. This enumerator must
194 contents to zero, and the default scope kind
196 sk_cleanup, /* A scope for (pseudo-)scope for cleanup. It is
201 sk_for, /* The scope of the variable declared in
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/
AnalyzerOptions.h 38 #define ANALYSIS(NAME, CMDFLAG, DESC, SCOPE) NAME,
  /src/external/bsd/ntp/dist/ntpd/
ntp_peer.c 663 * to one with a different scope ID.
666 && SCOPE(&dstadr->sin) != SCOPE(&p->srcadr)) {

Completed in 39 milliseconds

1 2