Searched refs:const_cast (Results 1 - 25 of 344) sorted by relevance

1234567891011>>

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DParentMap.h43 return getParent(const_cast<Stmt*>(S));
47 return getParentIgnoreParens(const_cast<Stmt*>(S));
51 return getParentIgnoreParenCasts(const_cast<Stmt*>(S));
59 return isConsumedExpr(const_cast<Expr*>(E));
H A DDeclLookups.h76 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
90 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/config/os/aix/
H A Datomicity.h48 { return ::fetch_and_add(const_cast<atomic_p>(__mem), __val); }
53 { (void) ::fetch_and_add(const_cast<atomic_p>(__mem), __val); }
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCFGStmtMap.h44 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S));
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DInitLLVM.h40 : InitLLVM(Argc, const_cast<const char **&>(Argv),
H A DPointerLikeTypeTraits.h86 return NonConst::getFromVoidPointer(const_cast<void *>(P));
96 return NonConst::getAsVoidPointer(const_cast<T *>(P));
99 return NonConst::getFromVoidPointer(const_cast<void *>(P));
H A DCBindingWrapping.h25 return reinterpret_cast<ref>(const_cast<ty*>(P)); \
H A DMemoryBuffer.h171 // const_cast is well-defined here, because the underlying buffer is
174 return const_cast<char *>(MemoryBuffer::getBufferStart());
177 return const_cast<char *>(MemoryBuffer::getBufferEnd());
229 // const_cast is well-defined here, because the underlying buffer is
232 return const_cast<char *>(MemoryBuffer::getBufferStart());
235 return const_cast<char *>(MemoryBuffer::getBufferEnd());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/Windows/
H A DThreadLocal.inc42 int errorcode = TlsSetValue(*tls, const_cast<void*>(d));
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DGlobalIndirectSymbol.h57 return const_cast<Constant *>(
63 return const_cast<GlobalObject *>(
73 return const_cast<GlobalObject *>(
H A DBasicBlock.h116 return const_cast<Module *>(
124 return const_cast<Instruction *>(
133 return const_cast<CallInst *>(
142 return const_cast<CallInst *>(
151 return const_cast<CallInst *>(
163 return const_cast<Instruction *>(
172 return const_cast<Instruction *>(
183 return const_cast<Instruction *>(
245 return const_cast<BasicBlock *>(
257 return const_cast<BasicBloc
[all...]
H A DOperandTraits.h130 return OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this)); \
136 return OperandTraits<CLASS>::op_end(const_cast<CLASS*>(this)); \
142 OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this))[i_nocapture].get()); \
H A DIntrinsicInst.h487 Value *getLHS() const { return const_cast<Value *>(getArgOperand(0)); }
488 Value *getRHS() const { return const_cast<Value *>(getArgOperand(1)); }
535 Value *getLHS() const { return const_cast<Value *>(getArgOperand(0)); }
536 Value *getRHS() const { return const_cast<Value *>(getArgOperand(1)); }
598 return const_cast<Value *>(getArgOperand(ARG_DEST));
604 return const_cast<Value *>(getArgOperand(ARG_LENGTH));
667 return const_cast<Value *>(BaseCL::getArgOperand(ARG_SOURCE));
727 return const_cast<Value *>(BaseCL::getArgOperand(ARG_VALUE));
747 return const_cast<Value *>(getArgOperand(ARG_ELEMENTSIZE));
840 return cast<ConstantInt>(const_cast<Valu
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libbacktrace/
H A Dmmapio.c101 } const_cast; local
103 const_cast.cv = view->base;
104 if (munmap (const_cast.v, view->len) < 0)
/netbsd-current/external/gpl3/gcc/dist/libbacktrace/
H A Dmmapio.c105 } const_cast; local
107 const_cast.cv = view->base;
108 if (munmap (const_cast.v, view->len) < 0)
/netbsd-current/external/gpl3/gdb/dist/libbacktrace/
H A Dmmapio.c105 } const_cast; local
107 const_cast.cv = view->base;
108 if (munmap (const_cast.v, view->len) < 0)
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h177 return {const_cast<MachineBasicBlock &>(MBB).instr_end(),
178 const_cast<MachineBasicBlock &>(MBB).instr_begin()->operands_end()};
195 : MIBundleOperandIteratorBase(const_cast<MachineInstr &>(MI)) {}
199 return {const_cast<MachineBasicBlock &>(MBB).instr_end(),
200 const_cast<MachineBasicBlock &>(MBB).instr_begin()->operands_end()};
/netbsd-current/external/apache2/llvm/dist/libcxx/include/__support/win32/
H A Dlocale_win32.h66 __lc.decimal_point = const_cast<char *>(__decimal_point.c_str());
67 __lc.thousands_sep = const_cast<char *>(__thousands_sep.c_str());
68 __lc.grouping = const_cast<char *>(__grouping.c_str());
69 __lc.int_curr_symbol = const_cast<char *>(__int_curr_symbol.c_str());
70 __lc.currency_symbol = const_cast<char *>(__currency_symbol.c_str());
71 __lc.mon_decimal_point = const_cast<char *>(__mon_decimal_point.c_str());
72 __lc.mon_thousands_sep = const_cast<char *>(__mon_thousands_sep.c_str());
73 __lc.mon_grouping = const_cast<char *>(__mon_grouping.c_str());
74 __lc.positive_sign = const_cast<char *>(__positive_sign.c_str());
75 __lc.negative_sign = const_cast<cha
[all...]
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_atomic_clang_mips.h51 ret = *(const_cast<atomic_uint64_t::Type volatile *>(&ptr->val_dont_use));
80 prev = *(const_cast<Type volatile *>(&ptr->val_dont_use));
99 const_cast<volatile atomic_uint64_t *>(ptr);
/netbsd-current/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_atomic_clang_mips.h49 ret = *(const_cast<atomic_uint64_t::Type volatile *>(&ptr->val_dont_use));
78 prev = *(const_cast<Type volatile *>(&ptr->val_dont_use));
97 const_cast<volatile atomic_uint64_t *>(ptr);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowValues.h108 return const_cast<DataflowValues*>(this)->getBlockData(B);
125 return const_cast<DataflowValues*>(this)->getStmtData(S);
150 return const_cast<DataflowValues*>(this)->getStmtDataMap();
/netbsd-current/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_atomic_clang_mips.h50 ret = *(const_cast<atomic_uint64_t::Type volatile *>(&ptr->val_dont_use));
79 prev = *(const_cast<Type volatile *>(&ptr->val_dont_use));
98 const_cast<volatile atomic_uint64_t *>(ptr);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXRegisterInfo.h48 return const_cast<ManagedStringPool *>(&ManagedStrPool);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DEnumeratedArray.h37 return const_cast<ValueType &>(
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/
H A Dcast.h81 { return _ToType(const_cast<typename _Caster<_ToType>::
109 { return _ToType(const_cast<typename _Caster<_ToType>::

Completed in 375 milliseconds

1234567891011>>