/external/clang/test/CXX/expr/expr.post/expr.const.cast/ |
p1-0x.cpp | 3 // The result of the expression const_cast<T>(v) is of type T. If T is 16 int *&&ptr0 = const_cast<int *&&>(ptr); 17 int *&&ptr1 = const_cast<int *&&>(xvalue<const int*>()); 18 int *&&ptr2 = const_cast<int *&&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int *&&'}} 19 X &&ptr3 = const_cast<X&&>(x); 20 X &&ptr4 = const_cast<X&&>(xvalue<X>()); 21 X &&ptr5 = const_cast<X&&>(prvalue<X>()); 23 int *&ptr6 = const_cast<int *&>(ptr); 24 int *&ptr7 = const_cast<int *&>(xvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int * (…) [all...] |
/external/clang/test/SemaCXX/ |
const-cast.cpp | 25 char ***var2 = const_cast<cppp>(var); 28 char ***&var4 = const_cast<cpppr>(var3); 30 char *** var5 = const_cast<cppp>(var4); 33 int (&rar)[100] = const_cast<iarr>(ar); 35 int *pi = const_cast<int*>(ar); 38 f *fpp = const_cast<f*>(&fp); 40 int A::* A::* iapap = const_cast<int A::* A::*>(icapcap); 41 (void)const_cast<A&&>(A()); // expected-warning {{C++11}} 49 char **var2 = const_cast<char**>(var); // expected-error {{const_cast from 'const char *volatile *const volatile *' to 'char **' is not allowed} [all...] |
pr13353.cpp | 11 const_cast<foo *>(this->g())->bar();
|
/bionic/libc/bionic/ |
strsignal.cpp | 39 char* result = const_cast<char*>(__strsignal_lookup(signal_number)); 45 return const_cast<char*>(__strsignal(signal_number, strsignal_tls_buffer, strsignal_tls_buffer_size));
|
__strchr_chk.cpp | 39 return const_cast<char*>(p);
|
/external/chromium_org/v8/src/ |
trig-table.h | 39 return const_cast<double*>(&kSinTable[0]); 43 return const_cast<double*>(&kCosXIntervalTable[0]);
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_makedict_Ver3DictDecoder.cpp | 36 const_cast<char *>("doNothing"), 37 const_cast<char *>("()I"),
|
com_android_inputmethod_latin_DicTraverseSession.cpp | 56 const_cast<char *>("setDicTraverseSessionNative"), 57 const_cast<char *>("(Ljava/lang/String;J)J"), 61 const_cast<char *>("initDicTraverseSessionNative"), 62 const_cast<char *>("(JJ[II)V"), 66 const_cast<char *>("releaseDicTraverseSessionNative"), 67 const_cast<char *>("(J)V"),
|
/external/chromium_org/sync/syncable/ |
scoped_kernel_lock.cc | 13 : scoped_lock_(dir->kernel_->mutex), dir_(const_cast<Directory*>(dir)) {
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
TouchList.cpp | 41 return const_cast<TouchList*>(this)->item(index);
|
/external/clang/include/clang/AST/ |
ParentMap.h | 44 return getParent(const_cast<Stmt*>(S)); 48 return getParentIgnoreParens(const_cast<Stmt*>(S)); 52 return getParentIgnoreParenCasts(const_cast<Stmt*>(S)); 62 return isConsumedExpr(const_cast<Expr*>(E));
|
/external/chromium_org/sandbox/win/src/ |
sid.cc | 12 ::CopySid(SECURITY_MAX_SID_SIZE, sid_, const_cast<SID*>(sid)); 23 return reinterpret_cast<SID*>(const_cast<BYTE*>(sid_));
|
/external/clang/include/clang/Analysis/ |
CFGStmtMap.h | 47 return const_cast<CFGStmtMap*>(this)->getBlock(const_cast<Stmt*>(S));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
streambuf.pass.cpp | 33 base::setg(const_cast<CharT*>(str_.data()), 34 const_cast<CharT*>(str_.data()), 35 const_cast<CharT*>(str_.data() + str_.size())); 51 base::setp(const_cast<CharT*>(str_.data()), 52 const_cast<CharT*>(str_.data() + str_.size()));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
streambuf.pass.cpp | 33 base::setg(const_cast<CharT*>(str_.data()), 34 const_cast<CharT*>(str_.data()), 35 const_cast<CharT*>(str_.data() + str_.size())); 51 base::setp(const_cast<CharT*>(str_.data()), 52 const_cast<CharT*>(str_.data() + str_.size()));
|
/art/runtime/mirror/ |
stack_trace_element.cc | 49 const_cast<String*>(declaring_class), false); 51 const_cast<String*>(method_name), false); 53 const_cast<String*>(file_name), false);
|
/external/chromium_org/ppapi/cpp/private/ |
platform_verification.cc | 51 const_cast<PP_Var*>(&signed_data->pp_var()), 52 const_cast<PP_Var*>(&signed_data_signature->pp_var()), 53 const_cast<PP_Var*>(&platform_key_certificate->pp_var()),
|
/external/chromium_org/third_party/skia/src/image/ |
SkDataPixelRef.cpp | 17 this->setPreLocked(const_cast<void*>(fData->data()), NULL); 26 return const_cast<void*>(fData->data()); 45 this->setPreLocked(const_cast<void*>(fData->data()), NULL);
|
/external/skia/src/image/ |
SkDataPixelRef.cpp | 17 this->setPreLocked(const_cast<void*>(fData->data()), NULL); 26 return const_cast<void*>(fData->data()); 45 this->setPreLocked(const_cast<void*>(fData->data()), NULL);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.rvalue/ |
rvalue.pass.cpp | 35 base::setg(const_cast<CharT*>(str_.data()), 36 const_cast<CharT*>(str_.data()), 37 const_cast<CharT*>(str_.data()) + str_.size());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream.unformatted/ |
sync.pass.cpp | 33 base::setg(const_cast<CharT*>(str_.data()), 34 const_cast<CharT*>(str_.data()), 35 const_cast<CharT*>(str_.data()) + str_.size());
|
/external/chromium_org/base/ |
os_compat_android_unittest.cc | 26 char* buffer = const_cast<char*>(sub_dir_string.c_str()); 37 char* buffer2 = const_cast<char*>(sub_dir2_string.c_str());
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
srpc_params.h | 36 NaClSrpcArg** ins() const { return const_cast<NaClSrpcArg**>(ins_); } 37 NaClSrpcArg** outs() const { return const_cast<NaClSrpcArg**>(outs_); }
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/list_update_map_/ |
iterators_fn_imps.hpp | 64 return iterator(&m_p_l->m_value, m_p_l, const_cast<PB_DS_CLASS_C_DEC* >(this)); 78 return const_iterator(NULL, NULL, const_cast<PB_DS_CLASS_C_DEC* const>(this));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/list_update_map_/ |
iterators_fn_imps.hpp | 64 return iterator(&m_p_l->m_value, m_p_l, const_cast<PB_DS_CLASS_C_DEC* >(this)); 78 return const_iterator(0, 0, const_cast<PB_DS_CLASS_C_DEC* const>(this));
|