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

1 2

  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
astenums.d 68 ref_ = 0x4_0000, /// `ref`
116 IOR = STC.in_ | STC.ref_ | STC.out_,
118 FUNCATTR = (STC.ref_ | STC.nothrow_ | STC.nogc | STC.pure_ | STC.property | STC.live |
126 STC.immutable_ | STC.shared_ | STC.wild | STC.nothrow_ | STC.nogc | STC.pure_ | STC.ref_ | STC.return_ | STC.tls | STC.gshared |
133 STC.TYPECTOR | STC.final_ | STC.tls | STC.gshared | STC.ref_ | STC.return_ | STC.property |
151 stc & (STC.ref_ | STC.out_);
160 STC.wild | STC.nothrow_ | STC.nogc | STC.pure_ | STC.ref_ | STC.return_ | STC.tls |
clone.d 172 if (v.storage_class & STC.ref_)
278 if (v.storage_class & STC.ref_)
301 auto tf = new TypeFunction(ParameterList(fparams), sd.handleType(), LINK.d, stc | STC.ref_);
415 if (v.storage_class & STC.ref_)
548 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, null, null, null));
576 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, Id.p, null, null));
622 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, null, null, null));
700 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, Id.p, null, null));
741 if (v.storage_class & STC.ref_)
819 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, Id.p, null, null))
    [all...]
statementsem.d 971 if (p.storageClass & STC.ref_)
979 if (p.storageClass & STC.ref_)
998 if (p.storageClass & STC.ref_)
1134 if ((p.storageClass & STC.ref_) && p.type.equals(fs.key.type))
1144 v.storage_class |= STC.foreach_ | (p.storageClass & STC.ref_);
1290 ve.storage_class &= ~STC.ref_;
1296 auto vd = copyToTemp(STC.ref_, "__front", einit);
1337 if (ignoreRef) sc &= ~STC.ref_;
1343 var.storage_class |= STC.ctfe | STC.ref_ | STC.foreach_;
1508 bool isRef = (p.storageClass & STC.ref_) != 0
    [all...]
tokens.h 232 ref_, member in class:TOK
tokens.d 223 ref_,
544 TOK.ref_,
750 TOK.ref_: "ref",
sideeffect.d 397 * e's lvalue-ness will be handled well by STC.ref_ or STC.rvalue.
415 vd.storage_class |= e.isLvalue() ? STC.ref_ : STC.rvalue;
declaration.d 397 if ((storage_class & (STC.foreach_ | STC.ref_)) == (STC.foreach_ | STC.ref_))
531 return (storage_class & STC.ref_) != 0;
537 return (storage_class & (STC.ref_ | STC.out_)) != 0;
1199 if (storage_class & STC.ref_)
1415 if (storage_class & (STC.nodtor | STC.ref_ | STC.out_ | STC.field))
escape.d 1764 stc |= STC.ref_; // `this` for a struct member function is passed by `ref`
1790 StorageClass stc = dve.var.storage_class & (STC.return_ | STC.scope_ | STC.ref_);
1880 if (v.storage_class & STC.ref_ && v.storage_class & (STC.foreach_ | STC.temp) && v._init)
2038 StorageClass stc = dve.var.storage_class & (STC.return_ | STC.scope_ | STC.ref_);
2042 stc |= STC.ref_;
2260 if (v.storage_class & STC.ref_)
parse.d 661 case TOK.ref_:
662 stc = STC.ref_;
1205 (global.params.previewIn ? STC.ref_ : 0));
2817 case TOK.ref_:
2818 stc = STC.ref_;
2887 if (stc & (stc - 1) && !(stc == (STC.in_ | STC.ref_)))
2889 //if ((storageClass & STC.scope_) && (storageClass & (STC.ref_ | STC.out_)))
2954 if (storageClass & (STC.out_ | STC.ref_))
4218 case TOK.ref_:
4219 stc = STC.ref_;
    [all...]
dmangle.d 1013 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_);
1030 case STC.in_ | STC.ref_:
1036 case STC.ref_:
typesem.d 1191 if (sc.stc & STC.ref_)
1301 const(char)* errTxt = fparam.storageClass & STC.ref_ ? "ref" : "out";
1380 StorageClass stc1 = fparam.storageClass & (STC.ref_ | STC.out_ | STC.lazy_);
1381 StorageClass stc2 = narg.storageClass & (STC.ref_ | STC.out_ | STC.lazy_);
1384 OutBuffer buf1; stcToBuffer(&buf1, stc1 | ((stc1 & STC.ref_) ? (fparam.storageClass & STC.auto_) : 0));
1390 stc = stc1 | (stc & ~(STC.ref_ | STC.out_ | STC.lazy_));
1445 auto stc = fparam.storageClass & (STC.ref_ | STC.out_);
1528 if (global.params.previewIn && (fparam.storageClass & (STC.in_ | STC.ref_)) == STC.in_)
1533 fparam.storageClass |= STC.ref_;
1588 if (farg && (eparam.storageClass & STC.ref_))
    [all...]
dsymbolsem.d 505 if (!ts.sym.members && !(dsym.storage_class & (STC.ref_ | STC.extern_)))
783 if ((dsym.storage_class & (STC.ref_ | STC.parameter | STC.foreach_ | STC.temp | STC.result)) == STC.ref_ && dsym.ident != Id.This)
815 if (!(dsym.storage_class & (STC.ctfe | STC.extern_ | STC.ref_ | STC.result)) &&
837 if (dsym.storage_class & (STC.field | STC.out_ | STC.ref_ | STC.static_ | STC.manifest | STC.gshared) || !fd)
951 sc.stc &= ~(STC.TYPECTOR | STC.pure_ | STC.nothrow_ | STC.nogc | STC.ref_ | STC.disable);
2999 funcdecl.storage_class |= sc.stc & ~STC.ref_;
3142 sc.stc |= STC.ref_;
3174 sc.stc |= STC.ref_;
4055 if (param.storageClass & STC.ref_ && param.type.mutableOf().unSharedOf() == sd.type.mutableOf().unSharedOf()
    [all...]
dstruct.d 422 if (v.storage_class & STC.ref_)
func.d 554 vthis.storage_class |= STC.ref_;
1708 if (fparam.storageClass & (STC.lazy_ | STC.out_ | STC.ref_))
2231 vresult.storage_class |= STC.ref_;
2434 auto stc = STC.ref_ | STC.temp | STC.result;
2464 p.storageClass = (p.storageClass | STC.ref_) & ~STC.out_;
2526 Parameter p = new Parameter(STC.ref_ | STC.const_, f.nextOf(), Id.result, null, null);
2721 enum invalidSTC = STC.out_ | STC.ref_ | STC.lazy_;
mtype.d 688 stc1 |= STC.ref_;
694 stc2 |= STC.ref_;
4250 if (stc & STC.ref_)
4331 const pref = (fparam.storageClass & STC.ref_) != 0;
5811 if (v.storage_class & STC.ref_ || v.hasPointers())
6833 return (this.storageClass & (STC.ref_ | STC.out_)) != 0;
7015 const mask = STC.ref_ | STC.out_ | STC.lazy_ | (previewIn ? STC.in_ : 0);
7040 if ((from ^ to) & STC.ref_) // differing in 'ref' means no covariance
7250 stc |= STC.ref_; // treat `out` and `ref` the same
7253 final switch (stc & (STC.ref_ | STC.scope_ | STC.return_)
    [all...]
hdrgen.d 2868 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_);
2923 SCstring(STC.ref_, Token.toString(TOK.ref_)),
3191 if (global.params.previewIn && p.storageClass & STC.ref_)
3192 stc &= ~STC.ref_;
3203 STC.return_ | STC.returninferred | STC.scope_ | STC.scopeinferred | STC.out_ | STC.ref_ | STC.returnScope)))
dtoh.d 2312 this.forwarding = !!(p.storageClass & AST.STC.ref_);
2317 if (p.storageClass & AST.STC.ref_)
dinterpret.d 960 if (v.storage_class & STC.ref_)
2230 if (v.storage_class & (STC.out_ | STC.ref_))
2259 if ((e.var.storage_class & (STC.ref_ | STC.out_)) == 0 && e.type.baseElemOf().ty != Tstruct)
2261 /* Ultimately, STC.ref_|STC.out_ check should be enough to see the
5514 if (vd.storage_class & STC.ref_)
7440 if (!((vd.storage_class & (STC.out_ | STC.ref_)) ? isCtfeReferenceValid(newval) : isCtfeValueValid(newval)))
7445 assert((vd.storage_class & (STC.out_ | STC.ref_)) ? isCtfeReferenceValid(newval) : isCtfeValueValid(newval));
dtemplate.d 1656 if ((tt.ty == Tarray || tt.ty == Tpointer) && !tt.isMutable() && (!(fparam.storageClass & STC.ref_) || (fparam.storageClass & STC.auto_) && !farg.isLvalue()))
1849 if ((fparam.storageClass & STC.ref_) && (!(fparam.storageClass & STC.auto_) || farg.isLvalue()))
1938 if (m > MATCH.nomatch && (fparam.storageClass & (STC.ref_ | STC.auto_)) == STC.ref_)
6122 if (!(fparam.storageClass & STC.ref_))
6127 if (fparam.storageClass & STC.ref_)
expressionsem.d 1973 if ((p.storageClass & (STC.in_ | STC.ref_)) == (STC.in_ | STC.ref_))
1987 else if (p.storageClass & STC.ref_)
2259 if (!(p && (p.storageClass & (STC.lazy_ | STC.ref_ | STC.out_))))
6186 const stc = op.isLvalue() ? STC.ref_ : 0;
7874 !(v.storage_class & STC.ref_))
8586 auto v = copyToTemp(STC.ref_, "__postref", exp.e1);
9046 (cast(VarExp)exp.e1).var.storage_class & (STC.out_ | STC.ref_))
10057 auto v = copyToTemp(STC.ref_, "__powtmp", exp.e1);
12946 return check(e.e1, allowRef && (ve.var.storage_class & STC.ref_));
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/linux/
tipc.d 17 uint ref_;
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
gmock-actions.h 643 explicit ReturnRefAction(T& ref) : ref_(ref) {} // NOLINT
655 return Action<F>(new Impl<F>(ref_));
666 explicit Impl(T& ref) : ref_(ref) {} // NOLINT
668 Result Perform(const ArgumentTuple&) override { return ref_; }
671 T& ref_; member in class:testing::internal::ReturnRefAction::Impl
676 T& ref_; member in class:testing::internal::ReturnRefAction
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
traits.d 722 psc & PSC.ref_ ? "ref " : "",
786 ~ (attrs & FA.ref_ ? " ref" : "")
1137 ref_ = 0x02, /// ditto
1182 static assert(pstc[0] == STC.ref_);
1218 case "ref": result |= ref_; break;
1226 if (result == (ParameterStorageClass.ref_ | ParameterStorageClass.return_))
1241 static assert(param1 == ParameterStorageClass.ref_);
1252 static assert(param3 == (ParameterStorageClass.ref_ | ParameterStorageClass.out_));
1266 static assert(test_pstc[1] == STC.ref_);
1289 static assert(dglit_pstc[0] == STC.ref_);
    [all...]
typecons.d 5585 if (atts & FA.ref_) rtype ~= "ref ";
5683 if (stc & STC.ref_ ) params ~= "ref ";
5740 else static if (functionAttributes!(func) & FunctionAttribute.ref_)
5988 if (fa & FunctionAttribute.ref_) r ~= "ref ";
6481 ((FA0 ^ FA1) & (FA.ref_ | FA.property)) == 0)
9406 static if (attributes & FunctionAttribute.ref_)
9428 if (storageClasses[i] & ParameterStorageClass.ref_)
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/
typecons.d 345 if (fa & FunctionAttribute.ref_) r ~= "ref ";

Completed in 63 milliseconds

1 2