OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:reinterpret_cast
(Results
1 - 25
of
2553
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/SemaCXX/
reinterpret-cast.cpp
16
(void)
reinterpret_cast
<int>(i);
19
(void)
reinterpret_cast
<test>(e);
23
(void)
reinterpret_cast
<int*>(pi);
26
(void)
reinterpret_cast
<const int structure::*>(psi);
29
(void)
reinterpret_cast
<structure>(s); // expected-error {{
reinterpret_cast
from 'structure' to 'structure' is not allowed}}
32
(void)
reinterpret_cast
<float>(f); // expected-error {{
reinterpret_cast
from 'float' to 'float' is not allowed}}
38
void *vp =
reinterpret_cast
<void*>(testval);
39
intptr_t i =
reinterpret_cast
<intptr_t>(vp)
[
all
...]
reinterpret-fn-obj-pedantic.cpp
7
void *vp =
reinterpret_cast
<void*>(fp); // expected-warning {{cast between pointer-to-function and pointer-to-object is an extension}}
8
(void)
reinterpret_cast
<fnptr>(vp); // expected-warning {{cast between pointer-to-function and pointer-to-object is an extension}}
vector-casts.cpp
16
(void)
reinterpret_cast
<__v2si>(v4hi);
18
(void)
reinterpret_cast
<__v4hi>(v2si);
20
(void)
reinterpret_cast
<unsigned long long>(v2si);
22
(void)
reinterpret_cast
<__v2si>(ll);
25
(void)
reinterpret_cast
<S>(v2si); // expected-error {{
reinterpret_cast
from '__v2si' to 'S' is not allowed}}
27
(void)
reinterpret_cast
<__v2si>(s); // expected-error {{
reinterpret_cast
from 'S' to '__v2si' is not allowed}}
30
(void)
reinterpret_cast
<unsigned char>(v2si); // expected-error {{
reinterpret_cast
from vector '__v2si' to scalar 'unsigned char' of different size}
[
all
...]
warn-cast-align.cpp
9
a =
reinterpret_cast
<char*>(P);
14
b =
reinterpret_cast
<short*>(P);
19
c =
reinterpret_cast
<int*>(P);
30
a =
reinterpret_cast
<char*>(P);
36
b =
reinterpret_cast
<short*>(P);
42
c =
reinterpret_cast
<int*>(P);
overload-value-dep-arg.cpp
12
return f(
reinterpret_cast
<unsigned long>(t));
addr-of-overloaded-function-casting.cpp
27
{ bool b =
reinterpret_cast
<void (&)(char)>(f); } // expected-error{{cannot resolve}}
28
{ bool b =
reinterpret_cast
<void (*)(char)>(f); } // expected-error{{cannot resolve}}
30
{ bool b =
reinterpret_cast
<void (*)(char)>(g); } //ok
33
{ bool b =
reinterpret_cast
<void (&)(int)>(f); } // expected-error{{cannot resolve}}
34
{ bool b =
reinterpret_cast
<void (*)(int)>(f); } // expected-error{{cannot resolve}}
49
{ bool b =
reinterpret_cast
<void (&)(char)>(t); } // expected-error{{cannot resolve}}
50
{ bool b =
reinterpret_cast
<void (*)(char)>(t); } // expected-error{{cannot resolve}}
52
{ bool b =
reinterpret_cast
<int (*)(char)>(g); } //ok
/external/clang/test/CXX/expr/expr.post/expr.reinterpret.cast/
p1-0x.cpp
11
int (&fr0)(int) =
reinterpret_cast
<int (&&)(int)>(f);
12
int &&ir0 =
reinterpret_cast
<int &&>(*ptr);
13
int &&ir1 =
reinterpret_cast
<int &&>(0); // expected-error {{rvalue to reference type}}
14
int &&ir2 =
reinterpret_cast
<int &&>('a'); // expected-error {{rvalue to reference type}}
15
int &&ir3 =
reinterpret_cast
<int &&>(xvalue<char>());
16
// Per DR1268,
reinterpret_cast
can convert between lvalues and xvalues.
17
int &ir4 =
reinterpret_cast
<int &>(xvalue<char>());
18
int &&ir5 =
reinterpret_cast
<int &&>(*ptr);
/bionic/libc/bionic/
pthread_self.cpp
32
return
reinterpret_cast
<pthread_t>(__get_thread());
/external/clang/test/CodeGenCXX/
reinterpret-cast.cpp
5
return
reinterpret_cast
<void *>(l);
9
return
reinterpret_cast
<unsigned long>(nullptr);
13
return
reinterpret_cast
<unsigned long>(p);
18
f4(
reinterpret_cast
<int*&>(u));
2004-03-08-ReinterpretCastCopy.cpp
16
fn_type_a f =
reinterpret_cast
<fn_type_a>(&B::Method);
17
fn_type_b g =
reinterpret_cast
<fn_type_b>(f);
/external/v8/src/
v8memory.h
40
return *
reinterpret_cast
<uint8_t*>(addr);
44
return *
reinterpret_cast
<uint16_t*>(addr);
48
return *
reinterpret_cast
<uint32_t*>(addr);
52
return *
reinterpret_cast
<int32_t*>(addr);
56
return *
reinterpret_cast
<uint64_t*>(addr);
60
return *
reinterpret_cast
<int*>(addr);
64
return *
reinterpret_cast
<unsigned*>(addr);
68
return *
reinterpret_cast
<double*>(addr);
72
return *
reinterpret_cast
<Address*>(addr);
76
return *
reinterpret_cast
<Object**>(addr)
[
all
...]
/external/skia/legacy/src/ports/
SkThread_win.cpp
22
return _InterlockedIncrement(
reinterpret_cast
<LONG*>(addr)) - 1;
26
return _InterlockedDecrement(
reinterpret_cast
<LONG*>(addr)) + 1;
32
InitializeCriticalSection(
reinterpret_cast
<CRITICAL_SECTION*>(&fStorage));
36
DeleteCriticalSection(
reinterpret_cast
<CRITICAL_SECTION*>(&fStorage));
40
EnterCriticalSection(
reinterpret_cast
<CRITICAL_SECTION*>(&fStorage));
44
LeaveCriticalSection(
reinterpret_cast
<CRITICAL_SECTION*>(&fStorage));
/external/webrtc/src/system_wrappers/interface/
fix_interlocked_exchange_pointer_win.h
27
return
reinterpret_cast
<void*>(static_cast<LONG_PTR>(InterlockedExchange(
28
reinterpret_cast
<volatile LONG*>(target),
29
static_cast<LONG>(
reinterpret_cast
<LONG_PTR>(value)))));
/external/webkit/Source/WebCore/bindings/objc/
DOMImplementationFront.cpp
34
return
reinterpret_cast
<DOMImplementationFront*>(document->implementation());
39
return
reinterpret_cast
<DOMImplementationFront*>(wrapper->impl());
44
reinterpret_cast
<DOMImplementation*>(this)->ref();
49
reinterpret_cast
<DOMImplementation*>(this)->deref();
54
return
reinterpret_cast
<const DOMImplementation*>(this)->hasFeature(feature, version);
59
return
reinterpret_cast
<DOMImplementation*>(this)->createDocumentType(qualifiedName, publicId, systemId, ec);
64
return
reinterpret_cast
<DOMImplementation*>(this)->createDocument(namespaceURI, qualifiedName, type, ec);
69
return
reinterpret_cast
<DOMImplementationFront*>(
reinterpret_cast
<DOMImplementation*>(this)->getInterface(feature));
74
return
reinterpret_cast
<DOMImplementation*>(this)->createCSSStyleSheet(title, media, ec)
[
all
...]
/external/webkit/Source/WebCore/bindings/js/
JSExceptionBase.cpp
49
return
reinterpret_cast
<ExceptionBase*>(domException);
51
return
reinterpret_cast
<ExceptionBase*>(rangeException);
53
return
reinterpret_cast
<ExceptionBase*>(eventException);
55
return
reinterpret_cast
<ExceptionBase*>(xmlHttpException);
58
return
reinterpret_cast
<ExceptionBase*>(svgException);
62
return
reinterpret_cast
<ExceptionBase*>(pathException);
66
return
reinterpret_cast
<ExceptionBase*>(pathException);
/external/chromium/base/
atomicops_internals_atomicword_compat.h
31
reinterpret_cast
<volatile Atomic32*>(ptr), old_value, new_value);
37
reinterpret_cast
<volatile Atomic32*>(ptr), new_value);
43
reinterpret_cast
<volatile Atomic32*>(ptr), increment);
49
reinterpret_cast
<volatile Atomic32*>(ptr), increment);
56
reinterpret_cast
<volatile Atomic32*>(ptr), old_value, new_value);
63
reinterpret_cast
<volatile Atomic32*>(ptr), old_value, new_value);
68
reinterpret_cast
<volatile Atomic32*>(ptr), value);
73
reinterpret_cast
<volatile Atomic32*>(ptr), value);
78
reinterpret_cast
<volatile Atomic32*>(ptr), value);
83
reinterpret_cast
<volatile const Atomic32*>(ptr))
[
all
...]
/external/chromium/base/win/
wrapped_window_proc.cc
21
reinterpret_cast
<subtle::AtomicWord*>(&s_exception_filter),
22
reinterpret_cast
<subtle::AtomicWord>(filter));
23
return
reinterpret_cast
<WinProcExceptionFilter>(rv);
/external/compiler-rt/lib/ubsan/
ubsan_value.cc
29
return *
reinterpret_cast
<s64*>(Val);
32
return *
reinterpret_cast
<s128*>(Val);
45
return *
reinterpret_cast
<u64*>(Val);
48
return *
reinterpret_cast
<u128*>(Val);
73
case 16: return *
reinterpret_cast
<__fp16*>(Val);
75
case 32: return *
reinterpret_cast
<float*>(Val);
76
case 64: return *
reinterpret_cast
<double*>(Val);
77
case 80: return *
reinterpret_cast
<long double*>(Val);
78
case 128: return *
reinterpret_cast
<long double*>(Val);
/external/qemu/elff/
elf_defs.h
31
#define INC_PTR(p, n) (
reinterpret_cast
<uint8_t*>(p) + (n))
38
#define INC_CPTR(p, n) (
reinterpret_cast
<const uint8_t*>(p) + (n))
47
reinterpret_cast
<T*> \
48
(
reinterpret_cast
<uint8_t*>(p) + (n))
57
reinterpret_cast
<const T*> \
58
(
reinterpret_cast
<const uint8_t*>(p) + (n))
90
return ((size_t)(
reinterpret_cast
<const uint8_t*>(e) -
91
reinterpret_cast
<const uint8_t*>(s)));
103
return *(
reinterpret_cast
<const uint8_t*>(ptr) + bt);
elff_api.cc
30
return
reinterpret_cast
<ELFF_HANDLE>(elf_file);
37
delete
reinterpret_cast
<ElfFile*>(handle);
49
return
reinterpret_cast
<ElfFile*>(handle)->is_exec();
63
if (
reinterpret_cast
<ElfFile*>(handle)->get_pc_address_info(address,
78
reinterpret_cast
<ElfFile*>(handle)->free_pc_address_info(address_info);
/ndk/sources/host-tools/ndk-stack/elff/
elf_defs.h
31
#define INC_PTR(p, n) (
reinterpret_cast
<uint8_t*>(p) + (n))
38
#define INC_CPTR(p, n) (
reinterpret_cast
<const uint8_t*>(p) + (n))
47
reinterpret_cast
<T*> \
48
(
reinterpret_cast
<uint8_t*>(p) + (n))
57
reinterpret_cast
<const T*> \
58
(
reinterpret_cast
<const uint8_t*>(p) + (n))
90
return ((size_t)(
reinterpret_cast
<const uint8_t*>(e) -
91
reinterpret_cast
<const uint8_t*>(s)));
103
return *(
reinterpret_cast
<const uint8_t*>(ptr) + bt);
elff_api.cc
30
return
reinterpret_cast
<ELFF_HANDLE>(elf_file);
37
delete
reinterpret_cast
<ElfFile*>(handle);
49
return
reinterpret_cast
<ElfFile*>(handle)->is_exec();
63
if (
reinterpret_cast
<ElfFile*>(handle)->get_pc_address_info(address,
78
reinterpret_cast
<ElfFile*>(handle)->free_pc_address_info(address_info);
/bionic/tests/
unistd_test.cpp
29
void* new_break =
reinterpret_cast
<void*>(
reinterpret_cast
<uintptr_t>(initial_break) + 2000);
/external/webkit/Source/JavaScriptCore/interpreter/
RegisterFile.cpp
50
m_reservation.decommit(base,
reinterpret_cast
<intptr_t>(m_commitEnd) -
reinterpret_cast
<intptr_t>(base));
51
addToCommittedByteCount(-(
reinterpret_cast
<intptr_t>(m_commitEnd) -
reinterpret_cast
<intptr_t>(base)));
67
m_reservation.decommit(m_start,
reinterpret_cast
<intptr_t>(m_commitEnd) -
reinterpret_cast
<intptr_t>(m_start));
68
addToCommittedByteCount(-(
reinterpret_cast
<intptr_t>(m_commitEnd) -
reinterpret_cast
<intptr_t>(m_start)));
/external/webrtc/src/system_wrappers/source/
atomic32_win.cc
36
reinterpret_cast
<volatile LONG*>(&_value)));
42
reinterpret_cast
<volatile LONG*>(&_value)));
47
return InterlockedExchangeAdd(
reinterpret_cast
<volatile LONG*>(&_value),
53
return InterlockedExchangeAdd(
reinterpret_cast
<volatile LONG*>(&_value),
61
reinterpret_cast
<volatile LONG*>(&_value),
Completed in 727 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>