| /src/tests/crypto/libcrypto/cast/ |
| Makefile | 4 HELPER_DIR= cast
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/openbsd/ |
| dlfcn.d | 14 enum RTLD_NEXT = cast(void *)-1; 15 enum RTLD_DEFAULT = cast(void *)-2; 16 enum RTLD_SELF = cast(void *)-3;
|
| /src/tests/usr.bin/indent/ |
| opt_ta.c | 15 int cast = (unknown_type_name_t) * arg; local 25 int cast = (unknown_type_name_t)*arg; local
|
| opt_T.c | 11 int cast = (custom_type_name) * arg; variable 20 int cast = (custom_type_name)*arg; variable 29 int cast = (custom_type_name) *arg; variable
|
| lsym_rparen_or_rbracket.c | 13 int cast = (int)3; variable 14 int cast = (int)(3); variable 60 * Cast expressions and compound expressions, taken from lint and make. 63 // This ')' is not a cast.
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/darwin/ |
| dlfcn.d | 28 enum RTLD_NEXT = cast(void*) -1; 29 enum RTLD_DEFAULT = cast(void*) -2; 30 enum RTLD_SELF = cast(void*) -3; 31 enum RTLD_MAIN_ONLY = cast(void*) -5;
|
| /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.betterc/ |
| test20088.d | 11 void[] v = cast(void[])s; 12 S[] p = cast(S[])v; // cast of void[] to S[] triggers __ArrayCast template function
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/stdc/ |
| signal.d | 31 enum SIG_ERR = cast(sigfn_t) -1; 33 enum SIG_DFL = cast(sigfn_t) 0; 35 enum SIG_IGN = cast(sigfn_t) 1; 54 enum SIG_ERR = cast(sigfn_t) -1; 56 enum SIG_DFL = cast(sigfn_t) 0; 58 enum SIG_IGN = cast(sigfn_t) 1;
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/netinet/ |
| in_.d | 552 return (cast(uint32_t*) addr)[0] == 0 && 553 (cast(uint32_t*) addr)[1] == 0 && 554 (cast(uint32_t*) addr)[2] == 0 && 555 (cast(uint32_t*) addr)[3] == 0; 560 return (cast(uint32_t*) addr)[0] == 0 && 561 (cast(uint32_t*) addr)[1] == 0 && 562 (cast(uint32_t*) addr)[2] == 0 && 563 (cast(uint32_t*) addr)[3] == htonl( 1 ); 568 return (cast(uint8_t*) addr)[0] == 0xff; 573 return ((cast(uint32_t*) addr)[0] & htonl( 0xffc00000 )) == htonl( 0xfe800000 ) [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/linux/ |
| perf_event.d | 502 return cast(ulong) result; 511 perf_event_attr_bitmanip = cast(typeof(perf_event_attr_bitmanip))( 512 (perf_event_attr_bitmanip & (-1 - cast(typeof(perf_event_attr_bitmanip)) 1U)) | ( 513 (cast(typeof(perf_event_attr_bitmanip)) v << 0U) & 1U)); 516 enum ulong disabled_min = cast(ulong) 0U; 517 enum ulong disabled_max = cast(ulong) 1U; 522 return cast(ulong) result; 531 perf_event_attr_bitmanip = cast(typeof(perf_event_attr_bitmanip))( 532 (perf_event_attr_bitmanip & (-1 - cast(typeof(perf_event_attr_bitmanip)) 2U)) | ( 533 (cast(typeof(perf_event_attr_bitmanip)) v << 1U) & 2U)) [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/windows/ |
| basetsd.d | 80 uint HandleToULong(void* h) { return(cast(uint) cast(ULONG_PTR) h); } 81 int HandleToLong(void* h) { return(cast(int) cast(LONG_PTR) h); } 82 void* ULongToHandle(uint h) { return(cast(void*) cast(UINT_PTR) h); } 83 void* LongToHandle(int h) { return(cast(void*) cast(INT_PTR) h); } 84 uint PtrToUlong(void* p) { return(cast(uint) cast(ULONG_PTR) p); [all...] |
| dde.d | 35 @property ubyte reserved() { return cast(ubyte) (_bf & 0x3F); } 36 @property bool fBusy() { return cast(bool) (_bf & 0x40); } 37 @property bool fAck() { return cast(bool) (_bf & 0x80); } 40 _bf = cast(ubyte) ((_bf & ~0x3F) | (r & 0x3F)); 41 return cast(ubyte)(r & 0x3F); 44 @property bool fBusy(bool f) { _bf = cast(ubyte) ((_bf & ~0x40) | (f << 6)); return f; } 45 @property bool fAck(bool f) { _bf = cast(ubyte) ((_bf & ~0x80) | (f << 7)); return f; } 52 @property ushort reserved() { return cast(ushort) (_bf & 0x3FFF); } 53 @property bool fDeferUpd() { return cast(bool) (_bf & 0x4000); } 54 @property bool fAckReq() { return cast(bool) (_bf & 0x8000); [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| parsetimevisitor.d | 30 void visit(AST.AliasThis s) { visit(cast(AST.Dsymbol)s); } 31 void visit(AST.Declaration s) { visit(cast(AST.Dsymbol)s); } 32 void visit(AST.ScopeDsymbol s) { visit(cast(AST.Dsymbol)s); } 33 void visit(AST.Import s) { visit(cast(AST.Dsymbol)s); } 34 void visit(AST.AttribDeclaration s) { visit(cast(AST.Dsymbol)s); } 35 void visit(AST.StaticAssert s) { visit(cast(AST.Dsymbol)s); } 36 void visit(AST.DebugSymbol s) { visit(cast(AST.Dsymbol)s); } 37 void visit(AST.VersionSymbol s) { visit(cast(AST.Dsymbol)s); } 38 void visit(AST.AliasAssign s) { visit(cast(AST.Dsymbol)s); } 41 void visit(AST.Package s) { visit(cast(AST.ScopeDsymbol)s); [all...] |
| visitor.d | 32 void visit(ASTCodegen.ErrorStatement s) { visit(cast(ASTCodegen.Statement)s); } 33 void visit(ASTCodegen.PeelStatement s) { visit(cast(ASTCodegen.Statement)s); } 34 void visit(ASTCodegen.UnrolledLoopStatement s) { visit(cast(ASTCodegen.Statement)s); } 35 void visit(ASTCodegen.SwitchErrorStatement s) { visit(cast(ASTCodegen.Statement)s); } 36 void visit(ASTCodegen.DebugStatement s) { visit(cast(ASTCodegen.Statement)s); } 37 void visit(ASTCodegen.DtorExpStatement s) { visit(cast(ASTCodegen.ExpStatement)s); } 38 void visit(ASTCodegen.ForwardingStatement s) { visit(cast(ASTCodegen.Statement)s); } 39 void visit(ASTCodegen.OverloadSet s) { visit(cast(ASTCodegen.Dsymbol)s); } 40 void visit(ASTCodegen.LabelDsymbol s) { visit(cast(ASTCodegen.Dsymbol)s); } 41 void visit(ASTCodegen.WithScopeSymbol s) { visit(cast(ASTCodegen.ScopeDsymbol)s); [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| ThreadSafetyLogical.cpp | 49 return RNeg ? RightOrOperator(cast<And>(RHS)) 50 : RightAndOperator(cast<And>(RHS)); 56 return RNeg ? RightAndOperator(cast<Or>(RHS)) 57 : RightOrOperator(cast<Or>(RHS)); 61 return implies(LHS, LNeg, cast<Not>(RHS)->exp(), !RNeg); 74 return LNeg ? LeftAndOperator(cast<And>(LHS)) 75 : LeftOrOperator(cast<And>(LHS)); 81 return LNeg ? LeftOrOperator(cast<Or>(LHS)) 82 : LeftAndOperator(cast<Or>(LHS)); 86 return implies(cast<Not>(LHS)->exp(), !LNeg, RHS, RNeg) [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/unwind/ |
| pe.d | 87 return cast(_Unwind_Ptr) 0; 94 return cast(_Unwind_Ptr) 0; 118 result |= cast(_uleb128_t)(b & 0x7F) << shift; 137 result |= cast(_sleb128_t)(b & 0x7F) << shift; 145 result |= -(cast(_sleb128_t)1 << shift); 160 T result = *cast(T*)p; 183 _Unwind_Internal_Ptr a = cast(_Unwind_Internal_Ptr)p; 184 a = cast(_Unwind_Internal_Ptr)((a + (void*).sizeof - 1) & - (void*).sizeof); 185 result = *cast(_Unwind_Internal_Ptr*)a; 186 p = cast(ubyte*) cast(_Unwind_Internal_Ptr)(a + (void*).sizeof) [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| ioccom.d | 61 return _IOC(IOC_VOID, cast(uint)g, cast(uint)n, cast(size_t)0); 66 return _IOC!(T)(IOC_OUT, cast(uint)g, cast(uint)n, T.sizeof); 71 return _IOC!(T)(IOC_IN, cast(uint)g, cast(uint)n, T.sizeof); 76 return _IOC!(T)(IOC_INOUT, cast(uint)g, cast(uint)n, T.sizeof); 118 return _IOC(IOC_VOID, cast(uint)g, cast(uint)n, cast(size_t)0) [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/ |
| critical_.d | 23 initMutex(cast(Mutex*)&gcs.mtx); 30 // and therefore is single threaded so the following cast is fine. 31 auto h = cast()head; 33 destroyMutex(cast(Mutex*)&p.mtx); 39 ensureMutex(cast(shared(D_CRITICAL_SECTION*)) cs); 45 if (atomicLoad!(MemoryOrder.acq)(*cast(shared) pcs) is null) 47 lockMutex(cast(Mutex*)&gcs.mtx); 48 if (atomicLoad!(MemoryOrder.raw)(*cast(shared) pcs) is null) 51 initMutex(cast(Mutex*)&cs.mtx); 52 atomicStore!(MemoryOrder.rel)(*cast(shared) pcs, cs) [all...] |
| /src/lib/libpthread/arch/i386/ |
| pthread_md.h | 72 volatile uintptr_t *cast = ptr; local 76 : "=a" (ret), "=m" (*cast) 77 : "r" (new), "m" (*cast), "0" (old)); 85 volatile uintptr_t *cast = ptr; local 89 : "=a" (ret), "=m" (*cast) 90 : "r" (new), "m" (*cast), "0" (old));
|
| /src/lib/libpthread/arch/x86_64/ |
| pthread_md.h | 75 volatile uintptr_t *cast = ptr; local 79 : "=a" (ret), "=m" (*cast) 80 : "r" (new), "m" (*cast), "0" (old)); 88 volatile uintptr_t *cast = ptr; local 92 : "=a" (ret), "=m" (*cast) 93 : "r" (new), "m" (*cast), "0" (old));
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/stdcpp/ |
| allocator.d | 66 return cast(T*)mem; 92 return cast(T*)_Allocate_manually_vector_aligned(_Bytes); 94 return cast(T*)__cpp_new(_Bytes); 104 return cast(T*)__cpp_new_aligned(_Bytes, cast(align_val_t)_Passed_align); 142 __cpp_delete_size_aligned(_Ptr, _Bytes, cast(align_val_t)_Passed_align); 159 return cast(T*)__cpp_new_aligned(count * T.sizeof, cast(align_val_t)T.alignof); 161 return cast(T*)__cpp_new(count * T.sizeof); 169 __cpp_delete_aligned(cast(void*)ptr, cast(align_val_t)T.alignof) [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/digest/ |
| crc.d | 212 one = (cast(uint*) data.ptr)[0]; 213 two = (cast(uint*) data.ptr)[1]; 341 hash.put(cast(ubyte) 0); 371 crc.put(cast(ubyte[])"abcdefghijklmnopqrstuvwxyz"); 372 assert(crc.peek() == cast(ubyte[]) hexString!"bd50274c"); 374 crc.put(cast(ubyte[])""); 375 assert(crc.finish() == cast(ubyte[]) hexString!"00000000"); 378 assert(digest == cast(ubyte[]) hexString!"00000000"); 384 assert(digest == cast(ubyte[]) hexString!"43beb7e8"); 387 assert(digest == cast(ubyte[]) hexString!"c2412435") [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
| CoroInstr.h | 57 return cast<ConstantInt>(getArgOperand(IndexArg)); 60 // Methods to support type inquiry through isa, cast, and dyn_cast: 65 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 72 // Methods to support type inquiry through isa, cast, and dyn_cast: 77 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 99 // Methods to support type inquiry through isa, cast, and dyn_cast: 108 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 121 : cast<AllocaInst>(Arg->stripPointerCasts()); 134 auto *Inst = cast<Instruction>(Arg); 173 Result.Resumers = cast<ConstantArray>(Initializer) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/MC/ |
| MCAsmBackend.cpp | 34 return createELFObjectWriter(cast<MCELFObjectTargetWriter>(std::move(TW)), OS, 37 return createMachObjectWriter(cast<MCMachObjectTargetWriter>(std::move(TW)), 41 cast<MCWinCOFFObjectTargetWriter>(std::move(TW)), OS); 43 return createWasmObjectWriter(cast<MCWasmObjectTargetWriter>(std::move(TW)), 47 cast<MCXCOFFObjectTargetWriter>(std::move(TW)), OS); 60 cast<MCELFObjectTargetWriter>(std::move(TW)), OS, DwoOS, 64 cast<MCWasmObjectTargetWriter>(std::move(TW)), OS, DwoOS);
|
| /src/external/gpl3/gcc/dist/gcc/ |
| is-a.h | 60 returns NULL. This function is essentially a checked down cast. 153 must also specialize the template member function 'cast'. Failure to do so 159 is_a_helper <cgraph_node *>::cast (symtab_node *p) 176 static inline T cast (U *p) { return reinterpret_cast <T> (p); } function in struct:reinterpret_is_a_helper 187 static inline T cast (U *p) { return static_cast <T> (p); } function in struct:static_is_a_helper 206 static inline const T *cast (const U *p) function in struct:is_a_helper 208 return is_a_helper<T *>::cast (const_cast <U *> (p)); 256 return is_a_helper <T>::cast (p); 269 return is_a_helper <T>::cast (p); 283 return is_a_helper <T>::cast (p) [all...] |