OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:const_cast
(Results
1 - 25
of
1173
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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);
48
char **var2 =
const_cast
<char**>(var); // expected-error {{
const_cast
from 'const char *volatile *const volatile *' to 'char **' is not allowed}}
50
short ***var3 =
const_cast
<short***>(var); // expected-error {{const_cast from 'const char *volatile *const volatile *' to 's (…)
[
all
...]
/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
14
int *ptr0 =
const_cast
<int *&&>(ptr);
15
int *ptr1 =
const_cast
<int *&&>(xvalue<const int*>());
16
int *ptr2 =
const_cast
<int *&&>(prvalue<const int*>());
/external/webkit/Source/WebKit2/Shared/API/c/
WKType.cpp
36
return toAPI(static_cast<APIObject*>(
const_cast
<void*>(typeRef))->type());
41
static_cast<APIObject*>(
const_cast
<void*>(typeRef))->ref();
47
static_cast<APIObject*>(
const_cast
<void*>(typeRef))->deref();
/external/clang/include/clang/AST/
ParentMap.h
39
return getParent(
const_cast
<Stmt*>(S));
43
return getParentIgnoreParens(
const_cast
<Stmt*>(S));
47
return getParentIgnoreParenCasts(
const_cast
<Stmt*>(S));
57
return isConsumedExpr(
const_cast
<Expr*>(E));
/external/webkit/Source/WebCore/bindings/cpp/
WebDOMCustomVoidCallback.cpp
47
return
const_cast
<WebCore::VoidCallback*>((WebCore::VoidCallback*)&callback);
/external/webkit/Source/WebCore/platform/image-decoders/cairo/
ImageDecoderCairo.cpp
36
reinterpret_cast<unsigned char*>(
const_cast
<PixelData*>(
/external/clang/include/clang/Analysis/
CFGStmtMap.h
47
return
const_cast
<CFGStmtMap*>(this)->getBlock(
const_cast
<Stmt*>(S));
/external/webkit/Source/JavaScriptCore/wtf/
OwnFastMallocPtr.h
38
fastFree(
const_cast
<void*>(static_cast<const void*>(
const_cast
<const T*>(m_ptr))));
/frameworks/compile/mclinker/lib/MC/
MCLDInput.cpp
18
m_pAttr(
const_cast
<Attribute*>(pProxy.attr())),
28
m_pAttr(
const_cast
<Attribute*>(pProxy.attr())),
/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));
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-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));
/prebuilts/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/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/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/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/ndk/android-ndk-r7/sources/cxx-stl/gnu-libstdc++/include/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));
/external/chromium/base/test/
test_file_util_mac.cc
26
if (msync(
const_cast
<uint8*>(mapped_file.data()), mapped_file.length(),
/external/chromium/chrome/common/
native_window_notification_source.h
26
return static_cast<gfx::NativeWindow>(
const_cast
<void*>(ptr_));
/external/webkit/Source/WebKit/chromium/src/
WebData.cpp
53
WebDataPrivate* p =
const_cast
<WebDataPrivate*>(other.m_private);
69
return
const_cast
<WebDataPrivate*>(m_private)->size();
76
return
const_cast
<WebDataPrivate*>(m_private)->data();
92
return PassRefPtr<SharedBuffer>(
const_cast
<WebDataPrivate*>(m_private));
/external/webkit/Source/WebKit2/Platform/qt/
ModuleQt.cpp
47
return
const_cast
<QLibrary*>(&m_lib)->resolve(functionName);
/frameworks/native/libs/binder/
IInterface.cpp
37
return this ?
const_cast
<IInterface*>(this)->onAsBinder() : NULL;
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/unordered_iterator/
iterator.hpp
85
const_cast
<pointer>(const_iterator_::m_p_value)));
93
const_cast
<pointer>(const_iterator_::m_p_value)));
102
return (
const_cast
<pointer>(base_type::m_p_value));
111
return (
const_cast
<reference>(*base_type::m_p_value));
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/unordered_iterator/
iterator.hpp
85
const_cast
<pointer>(const_iterator_::m_p_value)));
93
const_cast
<pointer>(const_iterator_::m_p_value)));
102
return (
const_cast
<pointer>(base_type::m_p_value));
111
return (
const_cast
<reference>(*base_type::m_p_value));
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/unordered_iterator/
iterator.hpp
85
const_cast
<pointer>(const_iterator_::m_p_value)));
93
const_cast
<pointer>(const_iterator_::m_p_value)));
102
return (
const_cast
<pointer>(base_type::m_p_value));
111
return (
const_cast
<reference>(*base_type::m_p_value));
/prebuilts/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/unordered_iterator/
iterator.hpp
85
const_cast
<pointer>(const_iterator_::m_p_value)));
93
const_cast
<pointer>(const_iterator_::m_p_value)));
102
return (
const_cast
<pointer>(base_type::m_p_value));
111
return (
const_cast
<reference>(*base_type::m_p_value));
/prebuilts/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/unordered_iterator/
iterator.hpp
85
const_cast
<pointer>(const_iterator_::m_p_value)));
93
const_cast
<pointer>(const_iterator_::m_p_value)));
102
return (
const_cast
<pointer>(base_type::m_p_value));
111
return (
const_cast
<reference>(*base_type::m_p_value));
Completed in 2482 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>