| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/ |
| H A D | hash.d | 34 size_t hash = ((T* x) => (*x).toHash())(null); 39 static struct S { size_t toHash() { return 4; } } in toHash() function 46 && __traits(compiles, {static assert(&Object.toHash is &T.toHash);}); 52 final static class C3 : C1 { override size_t toHash() const nothrow { return 1; }} in toHash() function 72 not override `toHash`. 407 static if (!__traits(isSame, typeof(val), __traits(parent, val.toHash)) 418 return hashOf(cast(size_t) val.toHash(), seed); 420 return val.toHash(); 426 static if (__traits(hasMember, T, "toHash") && is(typeof(T.toHash) == function)) 437 static if (__traits(compiles, __traits(getLocation, T.toHash))) [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/container/ |
| H A D | rbtree.d | 1113 override size_t toHash() nothrow @safe 1130 assert(t1.toHash() == t2.toHash); 1132 assert(t1.toHash() != t3.toHash); 1133 assert(t2.toHash() != t3.toHash); 1135 assert(t3.toHash() != t4.toHash); 1136 assert(t1.toHash() != t4.toHash); 1142 assert(t5.toHash() == t6.toHash()); 1148 assert(t7.toHash() == t9.toHash()); 1149 assert(t7.toHash() != t8.toHash()); 1162 size_t toHash() const nothrow [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
| H A D | checkedint.d | 600 size_t toHash() const nothrow @safe 610 return payload.toHash() ^ hashOf(hook); 619 return payload.toHash(); 628 size_t toHash(this _)() shared const nothrow @safe 649 return payload.toHash() ^ hashOf(hook); 658 return payload.toHash(); 3472 assert(checked(42).toHash() == checked(42).toHash()); 3473 assert(checked(12).toHash() != checked(19).toHash()); 3493 assert(a.toHash() == b.toHash()); 3495 assert(checked!Hook1(12).toHash() != checked!Hook1(13).toHash()); [all …]
|
| H A D | xml.d | 633 override size_t toHash() scope const @trusted in toHash() function 635 return hash(prolog, hash(epilog, (cast() this).Element.toHash())); in toHash() 889 override size_t toHash() scope const @safe in toHash() function 891 size_t hash = tag.toHash(); in toHash() 892 foreach (item;items) hash += item.toHash(); in toHash() 1170 override size_t toHash() in toHash() function 1314 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function 1403 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function 1480 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function 1563 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function [all …]
|
| H A D | uuid.d | 743 @safe pure nothrow @nogc size_t toHash() const 858 assert(u1.toHash() != u2.toHash()); 859 assert(u2.toHash() != u3.toHash()); 860 assert(u3.toHash() != u1.toHash());
|
| H A D | int128.d | 74 size_t toHash() const in toHash() function
|
| H A D | typecons.d | 1234 size_t toHash() const nothrow @safe 1572 assert(point.toHash == typeof(point).init.toHash); 2085 class C { override size_t toHash() const nothrow @safe { return 0; } } 2380 override size_t toHash() const nothrow @trusted { return 42; } 2383 assert(a.toHash() == 42, "Rebindable!A should offer toHash()" 2904 size_t toHash() const @safe nothrow 3649 size_t toHash() const @safe pure nothrow { return 5; } 7196 override size_t toHash() const nothrow @safe 7239 size_t toHash() const nothrow @safe 7422 assert(__traits(compiles, not.toHash())); [all …]
|
| H A D | sumtype.d | 821 size_t toHash() const; in version() 831 size_t toHash() const in toHash() function
|
| H A D | bigint.d | 1391 size_t toHash() const @safe pure nothrow @nogc 1393 return data.toHash() + sign;
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.hash/ |
| H A D | test_hash.d | 158 size_t toHash() { return a; } in issue19332() function 325 override hash_t toHash() { return 0; } in testTypeInfoArrayGetHash1() 337 hash_t toHash() const @safe nothrow { return 0; } in testTypeInfoArrayGetHash2() function 354 size_t toHash() const pure @safe nothrow in pr2243() function 391 override size_t toHash() in pr2243() 399 size_t toHash() pure @safe nothrow in pr2243() function
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.hash/ |
| H A D | test_hash.d | 205 override hash_t toHash() { return 0; } in testTypeInfoArrayGetHash1() 217 hash_t toHash() const @safe nothrow { return 0; } in testTypeInfoArrayGetHash2() function 234 size_t toHash() const pure @safe nothrow in pr2243() function 271 override size_t toHash() in pr2243() 279 size_t toHash() pure @safe nothrow in pr2243() function
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| H A D | xml.d | 630 override size_t toHash() scope const @trusted in toHash() function 632 return hash(prolog, hash(epilog, (cast() this).Element.toHash())); in toHash() 881 override size_t toHash() scope const @safe in toHash() function 883 size_t hash = tag.toHash(); in toHash() 884 foreach (item;items) hash += item.toHash(); in toHash() 1162 override size_t toHash() in toHash() function 1306 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function 1394 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function 1471 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function 1554 override size_t toHash() scope const nothrow { return hash(content); } in toHash() function [all …]
|
| H A D | uuid.d | 743 @safe pure nothrow @nogc size_t toHash() const 858 assert(u1.toHash() != u2.toHash()); 859 assert(u2.toHash() != u3.toHash()); 860 assert(u3.toHash() != u1.toHash());
|
| H A D | bigint.d | 954 size_t toHash() const @safe nothrow in toHash() function 956 return data.toHash() + sign; in toHash()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/typeinfo/ |
| H A D | ti_C.d | 28 return o ? o.toHash() : 0; in getHash()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/ |
| H A D | object.d | 131 size_t toHash() @trusted nothrow in toHash() function 568 override size_t toHash() @trusted const nothrow in toHash() function 808 assert(dummy.toHash() == hashOf(dummy.toString())); 1449 assert(typeid(typeof(&sqr)).toHash() == typeid(typeof(&sqr)).hashOf()); 1458 assert(typeid(delegate_type).toHash() == typeid(delegate_type).hashOf()); 1563 return o ? o.toHash() : 0; in getHash() 1754 return o.toHash(); in getHash() 1847 assert(typeid(I).toHash() == typeid(I).hashOf()); 1854 override size_t toHash() const in toHash() function 3542 size_t toHash() { assert(0); } [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | template.h | 285 hash_t toHash();
|
| H A D | globals.d | 594 extern (D) size_t toHash() const @trusted pure nothrow in toHash() function
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/ |
| H A D | object.d | 63 size_t toHash() @trusted nothrow in toHash() function 218 override size_t toHash() @trusted const nothrow in toHash() function 883 return o ? o.toHash() : 0; in getHash() 1044 return o.toHash(); in getHash() 2340 size_t toHash() { assert(0); } in toHash() function
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/datetime/ |
| H A D | systime.d | 695 size_t toHash() const @nogc pure nothrow @safe 721 assert(SysTime(0).toHash == SysTime(0).toHash); 722 assert(SysTime(DateTime(2000, 1, 1)).toHash == SysTime(DateTime(2000, 1, 1)).toHash); 723 assert(SysTime(DateTime(2000, 1, 1)).toHash != SysTime(DateTime(2000, 1, 2)).toHash); 726 assert(SysTime(0, LocalTime()).toHash == SysTime(0, LocalTime()).toHash); 727 assert(SysTime(0, LocalTime()).toHash == SysTime(0, UTC()).toHash); 728 …ert(SysTime(DateTime(2000, 1, 1), LocalTime()).toHash == SysTime(DateTime(2000, 1, 1), LocalTime()… 730 …assert(SysTime(DateTime(2000, 1, 1, 1), zone).toHash == SysTime(DateTime(2000, 1, 1), UTC()).toHas… 731 … assert(SysTime(DateTime(2000, 1, 1), zone).toHash != SysTime(DateTime(2000, 1, 1), UTC()).toHash);
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | template.h | 341 hash_t toHash();
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/datetime/ |
| H A D | systime.d | 908 size_t toHash() const @nogc pure nothrow @safe scope 934 assert(SysTime(0).toHash == SysTime(0).toHash); 935 assert(SysTime(DateTime(2000, 1, 1)).toHash == SysTime(DateTime(2000, 1, 1)).toHash); 936 assert(SysTime(DateTime(2000, 1, 1)).toHash != SysTime(DateTime(2000, 1, 2)).toHash); 939 assert(SysTime(0, LocalTime()).toHash == SysTime(0, LocalTime()).toHash); 940 assert(SysTime(0, LocalTime()).toHash == SysTime(0, UTC()).toHash); 941 …ert(SysTime(DateTime(2000, 1, 1), LocalTime()).toHash == SysTime(DateTime(2000, 1, 1), LocalTime()… 943 …assert(SysTime(DateTime(2000, 1, 1, 1), zone).toHash == SysTime(DateTime(2000, 1, 1), UTC()).toHas… 944 … assert(SysTime(DateTime(2000, 1, 1), zone).toHash != SysTime(DateTime(2000, 1, 1), UTC()).toHash); 948 auto result = st.toHash();
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.aa/ |
| H A D | test_aa.d | 710 hash_t toHash() { return 0; }
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.aa/ |
| H A D | test_aa.d | 763 hash_t toHash() { return 0; }
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/stdcpp/ |
| H A D | vector.d | 129 …size_t toHash() const { return .hashOf(as_array)… in vector()
|