| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | astenums.d | 68 ref_ = 0x4_0000, /// `ref` enumerator 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.ret… 133 … STC.TYPECTOR | STC.final_ | STC.tls | STC.gshared | STC.ref_ | STC.return_ | STC.property | 151 stc & (STC.ref_ | STC.out_); in isRefReturnScope() 160 STC.wild | STC.nothrow_ | STC.nogc | STC.pure_ | STC.ref_ | STC.return_ | STC.tls |
|
| H A D | clone.d | 172 if (v.storage_class & STC.ref_) in needOpAssign() 278 if (v.storage_class & STC.ref_) in buildOpAssign() 301 auto tf = new TypeFunction(ParameterList(fparams), sd.handleType(), LINK.d, stc | STC.ref_); in buildOpAssign() 415 if (v.storage_class & STC.ref_) in needOpEquals() 548 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, null, null, null)); in buildXopEquals() 576 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, Id.p, null, null)); in buildXopEquals() 622 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, null, null, null)); in buildXopCmp() 700 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, Id.p, null, null)); in buildXopCmp() 741 if (v.storage_class & STC.ref_) in needToHash() 819 parameters.push(new Parameter(STC.ref_ | STC.const_, sd.type, Id.p, null, null)); in buildXtoHash() [all …]
|
| H A D | statementsem.d | 971 if (p.storageClass & STC.ref_) in package() 979 if (p.storageClass & STC.ref_) in package() 998 if (p.storageClass & STC.ref_) in package() 1134 if ((p.storageClass & STC.ref_) && p.type.equals(fs.key.type)) in package() 1144 v.storage_class |= STC.foreach_ | (p.storageClass & STC.ref_); in package() 1290 ve.storage_class &= ~STC.ref_; in package() 1296 auto vd = copyToTemp(STC.ref_, "__front", einit); in package() 1337 if (ignoreRef) sc &= ~STC.ref_; in package() 1343 var.storage_class |= STC.ctfe | STC.ref_ | STC.foreach_; in package() 1508 bool isRef = (p.storageClass & STC.ref_) != 0; in package() [all …]
|
| H A D | declaration.d | 397 if ((storage_class & (STC.foreach_ | STC.ref_)) == (STC.foreach_ | STC.ref_)) in checkModify() 531 return (storage_class & STC.ref_) != 0; in isRef() 537 return (storage_class & (STC.ref_ | STC.out_)) != 0; in isReference() 1199 if (storage_class & STC.ref_) in setFieldOffset() 1415 if (storage_class & (STC.nodtor | STC.ref_ | STC.out_ | STC.field)) in callScopeDtor()
|
| H A D | escape.d | 1764 … stc |= STC.ref_; // `this` for a struct member function is passed by `ref` in visit() 1790 … StorageClass stc = dve.var.storage_class & (STC.return_ | STC.scope_ | STC.ref_); in visit() 1880 … if (v.storage_class & STC.ref_ && v.storage_class & (STC.foreach_ | STC.temp) && v._init) in visit() 2038 … StorageClass stc = dve.var.storage_class & (STC.return_ | STC.scope_ | STC.ref_); in visit() 2042 stc |= STC.ref_; in visit() 2260 if (v.storage_class & STC.ref_) in isReferenceToMutable()
|
| H A D | tokens.d | 223 ref_, enumerator 544 TOK.ref_, 750 TOK.ref_: "ref",
|
| H A D | parse.d | 661 case TOK.ref_: 662 stc = STC.ref_; 1205 (global.params.previewIn ? STC.ref_ : 0)); in appendStorageClass() 2817 case TOK.ref_: 2818 stc = STC.ref_; 2887 if (stc & (stc - 1) && !(stc == (STC.in_ | STC.ref_))) 2954 if (storageClass & (STC.out_ | STC.ref_)) 4218 case TOK.ref_: 4219 stc = STC.ref_; 4810 token.value == TOK.ref_ && peekNext() == TOK.leftParenthesis && in parseAliasDeclarations() [all …]
|
| H A D | tokens.h | 232 ref_, enumerator
|
| H A D | dsymbolsem.d | 505 if (!ts.sym.members && !(dsym.storage_class & (STC.ref_ | STC.extern_))) in visit() 783 …if ((dsym.storage_class & (STC.ref_ | STC.parameter | STC.foreach_ | STC.temp | STC.result)) == ST… in visit() 815 if (!(dsym.storage_class & (STC.ctfe | STC.extern_ | STC.ref_ | STC.result)) && in visit() 837 …if (dsym.storage_class & (STC.field | STC.out_ | STC.ref_ | STC.static_ | STC.manifest | STC.gshar… in visit() 951 … sc.stc &= ~(STC.TYPECTOR | STC.pure_ | STC.nothrow_ | STC.nogc | STC.ref_ | STC.disable); in visit() 2999 funcdecl.storage_class |= sc.stc & ~STC.ref_; in funcDeclarationSemantic() 3142 sc.stc |= STC.ref_; in funcDeclarationSemantic() 3174 sc.stc |= STC.ref_; in funcDeclarationSemantic() 4055 …if (param.storageClass & STC.ref_ && param.type.mutableOf().unSharedOf() == sd.type.mutableOf().un… in visit() 4077 …if (!(param.storageClass & STC.ref_) && param.type.mutableOf().unSharedOf() == sd.type.mutableOf()… in visit() [all …]
|
| H A D | dmangle.d | 1013 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_); in mangleParameter() 1030 case STC.in_ | STC.ref_: in mangleParameter() 1036 case STC.ref_: in mangleParameter()
|
| H A D | typesem.d | 1191 if (sc.stc & STC.ref_) in typeSemantic() 1301 const(char)* errTxt = fparam.storageClass & STC.ref_ ? "ref" : "out"; in typeSemantic() 1380 … StorageClass stc1 = fparam.storageClass & (STC.ref_ | STC.out_ | STC.lazy_); in typeSemantic() 1381 … StorageClass stc2 = narg.storageClass & (STC.ref_ | STC.out_ | STC.lazy_); in typeSemantic() 1384 …OutBuffer buf1; stcToBuffer(&buf1, stc1 | ((stc1 & STC.ref_) ? (fparam.storageClass & STC.auto_) … in typeSemantic() 1390 stc = stc1 | (stc & ~(STC.ref_ | STC.out_ | STC.lazy_)); in typeSemantic() 1445 auto stc = fparam.storageClass & (STC.ref_ | STC.out_); in typeSemantic() 1528 … if (global.params.previewIn && (fparam.storageClass & (STC.in_ | STC.ref_)) == STC.in_) in typeSemantic() 1533 fparam.storageClass |= STC.ref_; in typeSemantic() 1588 if (farg && (eparam.storageClass & STC.ref_)) in typeSemantic() [all …]
|
| H A D | mtype.d | 688 stc1 |= STC.ref_; 694 stc2 |= STC.ref_; 4250 if (stc & STC.ref_) 4331 const pref = (fparam.storageClass & STC.ref_) != 0; in purityLevel() 5811 if (v.storage_class & STC.ref_ || v.hasPointers()) in hasPointers() 6833 return (this.storageClass & (STC.ref_ | STC.out_)) != 0; in isReference() 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 in isCovariantScope() 7250 stc |= STC.ref_; // treat `out` and `ref` the same in buildScopeRef() 7253 final switch (stc & (STC.ref_ | STC.scope_ | STC.return_)) in buildScopeRef() [all …]
|
| H A D | sideeffect.d | 415 vd.storage_class |= e.isLvalue() ? STC.ref_ : STC.rvalue;
|
| H A D | func.d | 554 vthis.storage_class |= STC.ref_; in declareThis() 1708 if (fparam.storageClass & (STC.lazy_ | STC.out_ | STC.ref_)) in isTypeIsolatedIndirect() 2231 vresult.storage_class |= STC.ref_; in buildResultVar() 2434 auto stc = STC.ref_ | STC.temp | STC.result; in buildEnsureRequire() 2464 p.storageClass = (p.storageClass | STC.ref_) & ~STC.out_; in buildEnsureRequire() 2526 … Parameter p = new Parameter(STC.ref_ | STC.const_, f.nextOf(), Id.result, null, null); in buildEnsureRequire() 2721 enum invalidSTC = STC.out_ | STC.ref_ | STC.lazy_; in checkMain()
|
| H A D | dstruct.d | 422 if (v.storage_class & STC.ref_) in isPOD()
|
| H A D | hdrgen.d | 2868 stc &= ~(STC.out_ | STC.scope_ | STC.ref_ | STC.return_); in stcToBuffer() 2923 SCstring(STC.ref_, Token.toString(TOK.ref_)), in stcToString() 3191 if (global.params.previewIn && p.storageClass & STC.ref_) in parameterToBuffer() 3192 stc &= ~STC.ref_; in parameterToBuffer() 3203 …STC.return_ | STC.returninferred | STC.scope_ | STC.scopeinferred | STC.out_ | STC.ref_ | STC.retu… in parameterToBuffer()
|
| H A D | dtemplate.d | 1656 … || tt.ty == Tpointer) && !tt.isMutable() && (!(fparam.storageClass & STC.ref_) || (fparam.storage… in deduceFunctionTemplateMatch() 1849 … if ((fparam.storageClass & STC.ref_) && (!(fparam.storageClass & STC.auto_) || farg.isLvalue())) in deduceFunctionTemplateMatch() 1938 … if (m > MATCH.nomatch && (fparam.storageClass & (STC.ref_ | STC.auto_)) == STC.ref_) in deduceFunctionTemplateMatch() 6122 if (!(fparam.storageClass & STC.ref_)) in equalsx() 6127 if (fparam.storageClass & STC.ref_) in equalsx()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
| H A D | 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_; 676 T& ref_;
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/ |
| H A D | tipc.d | 17 uint ref_; member
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| H A D | traits.d | 211 case 'K': stc2 = ParameterStorageClass.ref_; break; 236 'c': FunctionAttribute.ref_, 631 psc & PSC.ref_ ? "ref " : "", in fqnType() 695 attrs & FA.ref_ ? " ref" : "", in fqnType() 1038 ref_ = 4, /// ditto enumerator 1081 static assert(pstc[0] == STC.ref_); 1106 case "ref": result |= ref_; break; in extractParameterStorageClassFlags() 1114 if (result == (ParameterStorageClass.ref_ | ParameterStorageClass.return_)) in extractParameterStorageClassFlags() 1132 static assert(test_pstc[1] == STC.ref_); 1155 static assert(dglit_pstc[0] == STC.ref_); [all …]
|
| H A D | typecons.d | 4365 if (atts & FA.ref_) rtype ~= "ref "; 4460 if (stc & STC.ref_ ) params ~= "ref "; 4517 else static if (functionAttributes!(func) & FunctionAttribute.ref_) 4718 if (fa & FunctionAttribute.ref_) r ~= "ref "; 5182 ((FA0 ^ FA1) & (FA.ref_ | FA.property)) == 0) 7698 static if (attributes & FunctionAttribute.ref_) 7718 if (storageClasses[i] & ParameterStorageClass.ref_)
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
| H A D | traits.d | 722 psc & PSC.ref_ ? "ref " : "", in fqnType() 786 ~ (attrs & FA.ref_ ? " ref" : "") in fqnType() 1137 ref_ = 0x02, /// ditto enumerator 1182 static assert(pstc[0] == STC.ref_); 1218 case "ref": result |= ref_; break; in extractParameterStorageClassFlags() 1226 if (result == (ParameterStorageClass.ref_ | ParameterStorageClass.return_)) in extractParameterStorageClassFlags() 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 …]
|
| H A D | 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_)
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/ |
| H A D | typecons.d | 345 if (fa & FunctionAttribute.ref_) r ~= "ref "; in wrapperSignature()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/ |
| H A D | typecons.d | 344 if (fa & FunctionAttribute.ref_) r ~= "ref "; in wrapperSignature()
|