HomeSort by relevance Sort by last modified time
    Searched refs:reinterpret_cast (Results 1 - 25 of 5105) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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}}
warn-reinterpret-base-class.cpp 27 decltype(reinterpret_cast<C *>(0)) foo;
28 decltype(reinterpret_cast<A *>((C *) 0)) bar;
29 decltype(reinterpret_cast<C *>((A *) 0)) baz;
34 (void)*reinterpret_cast<C *>(b);
35 (void)*reinterpret_cast<B *>(c);
37 (void)reinterpret_cast<C &>(*b);
38 (void)reinterpret_cast<B &>(*c);
49 B *b = reinterpret_cast<B *>(&c);
59 B *b = reinterpret_cast<B *>(&c);
69 B *p = reinterpret_cast<B*>(&c)
    [all...]
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);
  /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));
  /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/chromium_org/third_party/cld/encodings/compact_lang_det/win/
cld_unilib_windows.cc 26 return kUTF8LenTbl[*reinterpret_cast<const uint8*>(src)];
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
abort.cc 15 *(reinterpret_cast<volatile char*>(NULL) + 57) = 0x21;
  /external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
get_browser_interface.cc 50 return reinterpret_cast<const PPB_Audio*>(
55 return reinterpret_cast<const PPB_AudioConfig*>(
60 return reinterpret_cast<const PPB_Core*>(
65 return reinterpret_cast<const PPB_FileIO*>(
70 return reinterpret_cast<const PPB_FileRef*>(
75 return reinterpret_cast<const PPB_FileSystem*>(
80 return reinterpret_cast<const PPB_Fullscreen*>(
85 return reinterpret_cast<const PPB_Graphics2D*>(
90 return reinterpret_cast<const PPB_Graphics3D*>(
95 return reinterpret_cast<const PPB_ImageData*>
    [all...]
  /external/chromium_org/tools/memory_watcher/
preamble_patcher_with_stub.cc 50 unsigned char* target = reinterpret_cast<unsigned char*>(target_function);
64 memcpy(reinterpret_cast<void*>(&relative_offset),
65 reinterpret_cast<void*>(target + 1), 4);
109 memcpy(reinterpret_cast<void*>(preamble_stub),
110 reinterpret_cast<void*>(target), preamble_bytes);
120 = ((reinterpret_cast<unsigned char*>(target) + preamble_bytes) -
128 memcpy(reinterpret_cast<void*>(preamble_stub + preamble_bytes + 1),
129 reinterpret_cast<void*>(&relative_offset_to_target_rest), 4);
146 reinterpret_cast<unsigned char*>(replacement_function) -
147 reinterpret_cast<unsigned char*>(target) - 5
    [all...]
  /external/chromium_org/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<intptr_t*>(addr);
72 return *reinterpret_cast<uintptr_t*>(addr);
76 return *reinterpret_cast<double*>(addr)
    [all...]
  /external/chromium_org/tools/gyp/test/win/compiler-flags/
buffer-security.cc 9 char* stuff = reinterpret_cast<char*>(_alloca(256));
  /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/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
atomicops_internals_x86_msvc.cc 56 reinterpret_cast<volatile LONG*>(ptr),
65 reinterpret_cast<volatile LONG*>(ptr),
73 reinterpret_cast<volatile LONG*>(ptr),
85 reinterpret_cast<volatile PVOID*>(ptr),
86 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value));
87 return reinterpret_cast<Atomic64>(result);
93 reinterpret_cast<volatile PVOID*>(ptr),
94 reinterpret_cast<PVOID>(new_value));
95 return reinterpret_cast<Atomic64>(result)
    [all...]
atomicops_internals_atomicword_compat.h 57 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
63 reinterpret_cast<volatile Atomic32*>(ptr), new_value);
69 reinterpret_cast<volatile Atomic32*>(ptr), increment);
75 reinterpret_cast<volatile Atomic32*>(ptr), increment);
82 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
89 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
93 NoBarrier_Store(reinterpret_cast<volatile Atomic32*>(ptr), value);
97 return Acquire_Store(reinterpret_cast<volatile Atomic32*>(ptr), value);
101 return Release_Store(reinterpret_cast<volatile Atomic32*>(ptr), value);
105 return NoBarrier_Load(reinterpret_cast<volatile const Atomic32*>(ptr))
    [all...]
  /external/chromium_org/sandbox/win/src/sidestep/
preamble_patcher_with_stub.cpp 22 const char* from = reinterpret_cast<const char*>(source);
23 char* to = reinterpret_cast<char*>(destination);
35 char* to = reinterpret_cast<char*>(destination);
80 unsigned char* target = reinterpret_cast<unsigned char*>(target_function);
118 RawMemcpy(reinterpret_cast<void*>(preamble_stub),
119 reinterpret_cast<void*>(target), preamble_bytes);
128 = ((reinterpret_cast<unsigned char*>(target) + preamble_bytes) -
134 RawMemcpy(reinterpret_cast<void*>(preamble_stub + preamble_bytes + 1),
135 reinterpret_cast<void*>(&relative_offset_to_target_rest), 4);
150 reinterpret_cast<unsigned char*>(replacement_function)
    [all...]
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
atomic.h 26 return InterlockedIncrement64(reinterpret_cast<LONGLONG*>(address));
28 return InterlockedIncrement(reinterpret_cast<LONG*>(address));
34 return InterlockedDecrement64(reinterpret_cast<LONGLONG*>(address));
36 return InterlockedDecrement(reinterpret_cast<LONG*>(address));
45 return OSAtomicIncrement32Barrier(reinterpret_cast<int32_t*>(address));
49 return OSAtomicDecrement32Barrier(reinterpret_cast<int32_t*>(address));
  /external/sfntly/cpp/src/sfntly/port/
atomic.h 26 return InterlockedIncrement64(reinterpret_cast<LONGLONG*>(address));
28 return InterlockedIncrement(reinterpret_cast<LONG*>(address));
34 return InterlockedDecrement64(reinterpret_cast<LONGLONG*>(address));
36 return InterlockedDecrement(reinterpret_cast<LONG*>(address));
45 return OSAtomicIncrement32Barrier(reinterpret_cast<int32_t*>(address));
49 return OSAtomicDecrement32Barrier(reinterpret_cast<int32_t*>(address));
  /system/security/keystore-engine/
keyhandle.cpp 39 char* keyhandle = reinterpret_cast<char*>(ptr);
50 void** ptr = reinterpret_cast<void**>(ptrRef);
51 char* keyhandle = reinterpret_cast<char*>(*ptr);
63 char* keyhandle = reinterpret_cast<char*>(data);
68 char* keyhandle = reinterpret_cast<char*>(data);
73 char* keyhandle = reinterpret_cast<char*>(data);
  /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/chromium_org/base/
atomicops_internals_atomicword_compat.h 30 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
36 reinterpret_cast<volatile Atomic32*>(ptr), new_value);
42 reinterpret_cast<volatile Atomic32*>(ptr), increment);
48 reinterpret_cast<volatile Atomic32*>(ptr), increment);
55 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
62 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value);
67 reinterpret_cast<volatile Atomic32*>(ptr), value);
72 reinterpret_cast<volatile Atomic32*>(ptr), value);
77 reinterpret_cast<volatile Atomic32*>(ptr), value);
82 reinterpret_cast<volatile const Atomic32*>(ptr))
    [all...]

Completed in 702 milliseconds

1 2 3 4 5 6 7 8 91011>>