Home
last modified time | relevance | path

Searched refs:opCall (Results 1 – 25 of 45) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dfunctional.d85 static if (is(typeof(fun.opCall) == function)) in needOpCallAlias()
120 alias unaryFun = fun.opCall;
153 static bool opCall(int n) { return true; } in opCall() function
166 bool opCall(int n) { return true; } in opCall() function
207 alias binaryFun = fun.opCall;
239 static bool opCall(int x, int y) { return true; } in opCall() function
246 bool opCall(int x, int y) { return true; } in opCall() function
756 static string opCall(string a, string b) { return a ~ b; } in opCall() function
757 int opCall(int a, int b) { return a * b; } in opCall() function
758 double opCall(double a, double b) { return a + b; } in opCall() function
[all …]
H A Dconcurrency.d543 auto callable1 = new class{ void opCall(int) shared {} }; in opCall() function
544 auto callable2 = cast(shared) new class{ void opCall(int) shared {} }; in cast()
545 auto callable3 = new class{ void opCall(int) immutable {} }; in opCall() function
546 auto callable4 = cast(immutable) new class{ void opCall(int) immutable {} }; in cast()
547 auto callable5 = new class{ void opCall(int) {} }; in opCall() function
548 auto callable6 = cast(shared) new class{ void opCall(int) immutable {} }; in cast()
549 auto callable7 = cast(immutable) new class{ void opCall(int) shared {} }; in cast()
550 auto callable8 = cast(shared) new class{ void opCall(int) const shared {} }; in cast()
551 auto callable9 = cast(const shared) new class{ void opCall(int) shared {} }; in cast()
552 auto callable10 = cast(const shared) new class{ void opCall(int) const shared {} }; in cast()
[all …]
H A Dtraits.d916 int opCall (int i) { return 1;} in opCall() function
931 int opCall (int i) { return 1;} in opCall() function
983 struct S { real opCall(real r, int i) { return 0.0; } } in opCall() function
1830 struct SafeStatic { @safe static SafeStatic opCall() { return SafeStatic.init; } }
1831 struct TrustedStatic { @trusted static TrustedStatic opCall() { return TrustedStatic.init; } }
1832 struct SystemStatic { @system static SystemStatic opCall() { return SystemStatic.init; } }
1839 struct Safe { @safe Safe opCall() { return Safe.init; } }
1840 struct Trusted { @trusted Trusted opCall() { return Trusted.init; } }
1841 struct System { @system System opCall() { return System.init; } }
1906 struct SafeStatic { @safe static SafeStatic opCall() { return SafeStatic.init; } }
[all …]
H A Dconv.d663 static Int3 opCall(int x) @safe pure in opCall() function
4943 static opCall(__std_conv_SS ss)
5084 static S1 opCall(int*){assert(0);}
5094 static S2 opCall(int*){assert(0);}
5095 static S2 opCall(int){assert(0);}
5107 static S3 opCall(ref S3){assert(0);}
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfunctional.d91 static if (is(typeof(fun.opCall) == function)) in needOpCallAlias()
133 alias unaryFun = fun.opCall;
166 static bool opCall(int n) { return true; } in opCall() function
179 bool opCall(int n) { return true; } in opCall() function
227 alias binaryFun = fun.opCall;
259 static bool opCall(int x, int y) { return true; } in opCall() function
266 bool opCall(int x, int y) { return true; } in opCall() function
846 static string opCall(string a, string b) { return a ~ b; } in opCall() function
847 int opCall(int a, int b) { return a * b; } in opCall() function
848 double opCall(double a, double b) { return a + b; } in opCall() function
[all …]
H A Dconcurrency.d649 auto callable1 = new class{ void opCall(int) shared {} }; in opCall() function
650 auto callable2 = cast(shared) new class{ void opCall(int) shared {} }; in cast()
651 auto callable3 = new class{ void opCall(int) immutable {} }; in opCall() function
652 auto callable4 = cast(immutable) new class{ void opCall(int) immutable {} }; in cast()
653 auto callable5 = new class{ void opCall(int) {} }; in opCall() function
654 auto callable6 = cast(shared) new class{ void opCall(int) immutable {} }; in cast()
655 auto callable7 = cast(immutable) new class{ void opCall(int) shared {} }; in cast()
656 auto callable8 = cast(shared) new class{ void opCall(int) const shared {} }; in cast()
657 auto callable9 = cast(const shared) new class{ void opCall(int) shared {} }; in cast()
658 auto callable10 = cast(const shared) new class{ void opCall(int) const shared {} }; in cast()
[all …]
H A Dtraits.d476 struct Foo{void opCall(int){}} in opCall() function
477 static assert(packageName!(Foo.opCall) == "std");
540 struct Foo{void opCall(int){}} in opCall() function
541 static assert(moduleName!(Foo.opCall) == "std.traits");
1009 int opCall (int i) { return 1;} in opCall() function
1024 int opCall (int i) { return 1;} in opCall() function
1076 struct S { real opCall(real r, int i) { return 0.0; } } in opCall() function
2005 struct SafeStatic { @safe static SafeStatic opCall() { return SafeStatic.init; } }
2006 struct TrustedStatic { @trusted static TrustedStatic opCall() { return TrustedStatic.init; } }
2007 struct SystemStatic { @system static SystemStatic opCall() { return SystemStatic.init; } }
[all …]
H A Dsumtype.d2281 bool opCall(int arg)
2289 bool opCall(float arg)
2309 bool opCall(int arg)
2314 bool opCall(float arg)
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Dtraits.d388 struct HasContextPointer { int opCall() { return ++local; } } in opCall() function
586 else static if (is(typeof(& func[0].opCall) Fobj == delegate))
590 else static if (is(typeof(& func[0].opCall) Ftyp : Ftyp*) && is(Ftyp == function))
640 class Callable { int opCall(int) { return 0; } } in opCall() function
644 struct StaticCallable { static int opCall(int) { return 0; } } in opCall() function
700 int opCall (int i) { return 1;} in opCall() function
715 int opCall (int i) { return 1;} in opCall() function
763 struct S { real opCall(real r, int i) { return 0.0; } } in opCall() function
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/thread/
H A Dcontext.d38 void opCall() in opCall() function
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/util/
H A Drandom.d30 auto opCall() in opCall() function
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/
H A Dshowcase.d74 auto opCall(size_t n) in mmapRegionList() function
H A Dmallocator.d134 static AlignInfo* opCall(void* ptr) in version() function
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
H A Dshowcase.d73 auto opCall(size_t n) in mmapRegionList() function
H A Dmallocator.d123 static AlignInfo* opCall(void* ptr) in version() function
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdcpp/
H A Dmemory.d36 void opCall()(pointer ptr) const in default_delete()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.aa/
H A Dtest_aa.d267 C opCall() in testUpdate2()
276 C opCall(ref C) in testUpdate2()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/container/
H A Dtreap.d348 auto opCall() in opCall() function
/netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.aa/
H A Dtest_aa.d269 C opCall() in testUpdate2()
278 C opCall(ref C) in testUpdate2()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Dlifetime.d820 static opCall(__std_conv_SS ss)
965 static S1 opCall(int*){assert(0);}
975 static S2 opCall(int*){assert(0);}
976 static S2 opCall(int){assert(0);}
988 static S3 opCall(ref S3){assert(0);}
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/net/
H A Dcurl.d2549 static HTTP opCall(const(char)[] url) in opCall() function
2558 static HTTP opCall() in opCall() function
3379 static FTP opCall(const(char)[] url) in opCall() function
3388 static FTP opCall() in opCall() function
3792 static SMTP opCall(const(char)[] url) in opCall() function
3801 static SMTP opCall() in opCall() function
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/net/
H A Dcurl.d2520 static HTTP opCall(const(char)[] url) in opCall() function
2529 static HTTP opCall() in opCall() function
3357 static FTP opCall(const(char)[] url) in opCall() function
3366 static FTP opCall() in opCall() function
3775 static SMTP opCall(const(char)[] url) in opCall() function
3784 static SMTP opCall() in opCall() function
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dallocator_list.d530 A opCall(size_t n) { return factoryFunction(n); } in opCall() function
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/range/
H A Dprimitives.d697 void opCall(C){}
701 void opCall(const(C)[]){}
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/
H A Dobject.d2278 else static if (isCreateOperation!(typeof(&C.opCall), V)) in isCreateOperation()
2288 else static if (isUpdateOperation!(typeof(&U.opCall), V)) in isUpdateOperation()

12