/bionic/tests/ |
pthread_test.cpp | 58 sleep(reinterpret_cast<unsigned int>(arg)); 63 volatile bool* b = reinterpret_cast<volatile bool*>(arg); 70 return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), NULL)); 89 void* expected_result = reinterpret_cast<void*>(123); 110 ASSERT_EQ(0, pthread_create(&t1, NULL, SleepFn, reinterpret_cast<void*>(5))); 129 ASSERT_EQ(0, pthread_create(&t2, NULL, JoinFn, reinterpret_cast<void*>(t1))); 142 ASSERT_EQ(0, reinterpret_cast<int>(join_result)); 154 ASSERT_EQ(0, pthread_create(&t1, NULL, JoinFn, reinterpret_cast<void*>(pthread_self()))); 170 return reinterpret_cast<void*>(sigwait(&wait_set, reinterpret_cast<int*>(arg))) [all...] |
/external/ceres-solver/internal/ceres/ |
suitesparse.cc | 47 triplet.i = reinterpret_cast<void*>(A->mutable_rows()); 48 triplet.j = reinterpret_cast<void*>(A->mutable_cols()); 49 triplet.x = reinterpret_cast<void*>(A->mutable_values()); 69 triplet.j = reinterpret_cast<void*>(A->mutable_rows()); 70 triplet.i = reinterpret_cast<void*>(A->mutable_cols()); 71 triplet.x = reinterpret_cast<void*>(A->mutable_values()); 87 m->p = reinterpret_cast<void*>(A->mutable_rows()); 88 m->i = reinterpret_cast<void*>(A->mutable_cols()); 89 m->x = reinterpret_cast<void*>(A->mutable_values()); 173 block_matrix.p = reinterpret_cast<void*>(&block_cols[0]) [all...] |
/external/chromium/base/ |
message_pump_win.cc | 99 PostMessage(message_hwnd_, kMsgHaveWork, reinterpret_cast<WPARAM>(this), 0); 132 SetTimer(message_hwnd_, reinterpret_cast<UINT_PTR>(this), delay_msec, NULL); 167 reinterpret_cast<MessagePumpForUI*>(wparam)->HandleWorkMessage(); 170 reinterpret_cast<MessagePumpForUI*>(wparam)->HandleTimerMessage(); 214 KillTimer(message_hwnd_, reinterpret_cast<UINT_PTR>(this)); 303 KillTimer(message_hwnd_, reinterpret_cast<UINT_PTR>(this)); 421 reinterpret_cast<ULONG_PTR>(this), 422 reinterpret_cast<OVERLAPPED*>(this)); 435 ULONG_PTR key = reinterpret_cast<ULONG_PTR>(handler); 537 item->handler = reinterpret_cast<IOHandler*>(key) [all...] |
cpu.cc | 98 *(reinterpret_cast<int*>(cpu_string)) = cpu_info[1]; 99 *(reinterpret_cast<int*>(cpu_string+4)) = cpu_info[3]; 100 *(reinterpret_cast<int*>(cpu_string+8)) = cpu_info[2];
|
/external/v8/src/mips/ |
assembler-mips-inl.h | 60 imm32_ = reinterpret_cast<int32_t>(f.address()); 67 imm32_ = reinterpret_cast<intptr_t>(value); 98 uint32_t scope2 = reinterpret_cast<uint32_t>(pc_) & ~kImm28Mask; 106 byte* p = reinterpret_cast<byte*>(pc_); 138 return reinterpret_cast<Address>( 161 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_)); 167 return Handle<Object>(reinterpret_cast<Object**>( 177 reinterpret_cast<Object*>(Assembler::target_address_at(pc_)); 184 Assembler::set_target_address_at(pc_, reinterpret_cast<Address>(target)); 205 reinterpret_cast<JSGlobalPropertyCell**>(address)) [all...] |
/frameworks/base/core/jni/ |
android_database_CursorWindow.cpp | 76 return reinterpret_cast<jint>(window); 91 return reinterpret_cast<jint>(window); 95 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); 103 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); 109 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); 121 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); 130 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); 136 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); 142 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); 148 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr) [all...] |
/external/webkit/Source/JavaScriptCore/assembler/ |
MIPSAssembler.h | 680 void* b = reinterpret_cast<void*>((reinterpret_cast<intptr_t>(code)) + jump.m_offset); 686 void* b = reinterpret_cast<void*>((reinterpret_cast<intptr_t>(code)) + label.m_offset); 744 MIPSWord* insn = reinterpret_cast<MIPSWord*>(reinterpret_cast<intptr_t>(m_buffer.data()) + from.m_offset); 745 MIPSWord* toPos = reinterpret_cast<MIPSWord*>(reinterpret_cast<intptr_t>(m_buffer.data()) + to.m_offset); 755 MIPSWord* insn = reinterpret_cast<MIPSWord*>(reinterpret_cast<intptr_t>(code) + from.m_offset) [all...] |
/external/chromium/chrome/common/ |
child_process_logging_win.cc | 49 set_active_url = reinterpret_cast<MainSetActiveURL>( 77 set_client_id = reinterpret_cast<MainSetClientId>( 99 set_number_of_extensions = reinterpret_cast<MainSetNumberOfExtensions>( 110 set_extension_id = reinterpret_cast<MainSetExtensionID>( 135 set_gpu_info = reinterpret_cast<MainSetGpuInfo>( 154 set_number_of_views = reinterpret_cast<MainSetNumberOfViews>(
|
/external/chromium/net/http/ |
des.cc | 97 reinterpret_cast<const_DES_cblock*>(const_cast<uint8*>(key)), &ks); 99 DES_ecb_encrypt(reinterpret_cast<const_DES_cblock*>(const_cast<uint8*>(src)), 100 reinterpret_cast<DES_cblock*>(hash), &ks, DES_ENCRYPT); 139 rv = PK11_CipherOp(ctxt, hash, reinterpret_cast<int*>(&n), 8, 196 reinterpret_cast<BYTE*>(&key_blob), 205 if (!CryptSetKeyParam(key, KP_MODE, reinterpret_cast<BYTE*>(&cipher_mode),
|
/external/llvm/include/llvm/ADT/ |
ImmutableList.h | 152 return *reinterpret_cast<BumpPtrAllocator*>(Allocator & ~0x1); 157 : Allocator(reinterpret_cast<uintptr_t>(new BumpPtrAllocator())) {} 160 : Allocator(reinterpret_cast<uintptr_t>(&Alloc) | 0x1) {} 208 return reinterpret_cast<ImmutableListImpl<T>*>(-1); 211 return reinterpret_cast<ImmutableListImpl<T>*>(-2); 214 uintptr_t PtrVal = reinterpret_cast<uintptr_t>(X.getInternalPointer());
|
/external/skia/legacy/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 38 const __m128i *s = reinterpret_cast<const __m128i*>(src); 39 __m128i *d = reinterpret_cast<__m128i*>(dst); 99 src = reinterpret_cast<const SkPMColor*>(s); 100 dst = reinterpret_cast<SkPMColor*>(d); 128 const __m128i *s = reinterpret_cast<const __m128i*>(src); 129 __m128i *d = reinterpret_cast<__m128i*>(dst); 224 src = reinterpret_cast<const SkPMColor*>(s); 225 dst = reinterpret_cast<SkPMColor*>(d); 254 const __m128i *s = reinterpret_cast<const __m128i*>(src); 255 __m128i *d = reinterpret_cast<__m128i*>(dst) [all...] |
/external/webkit/Source/JavaScriptCore/heap/ |
MarkedBlock.h | 109 return reinterpret_cast<Atom*>(this); 119 return reinterpret_cast<MarkedBlock*>(reinterpret_cast<uintptr_t>(p) & blockMask); 195 return (reinterpret_cast<uintptr_t>(p) - reinterpret_cast<uintptr_t>(this)) / atomSize; 218 functor(reinterpret_cast<JSCell*>(&atoms()[i]));
|
/external/webkit/Source/JavaScriptCore/interpreter/ |
CallFrame.h | 136 static CallFrame* noCaller() { return reinterpret_cast<CallFrame*>(HostCallFrameFlag); } 138 bool hasHostCallFrameFlag() const { return reinterpret_cast<intptr_t>(this) & HostCallFrameFlag; } 139 CallFrame* addHostCallFrameFlag() const { return reinterpret_cast<CallFrame*>(reinterpret_cast<intptr_t>(this) | HostCallFrameFlag); } 140 CallFrame* removeHostCallFrameFlag() { return reinterpret_cast<CallFrame*>(reinterpret_cast<intptr_t>(this) & ~HostCallFrameFlag); }
|
/external/webkit/Source/WebCore/bindings/scripts/test/ObjC/ |
DOMTestCallback.mm | 63 #define IMPL reinterpret_cast<WebCore::TestCallback*>(_internal) 124 return wrapper ? reinterpret_cast<WebCore::TestCallback*>(wrapper->_internal) : 0; 135 wrapper->_internal = reinterpret_cast<DOMObjectInternal*>(value);
|
/external/webkit/Source/WebCore/platform/network/brew/ |
SocketStreamHandleBrew.cpp | 47 SocketStreamHandlePrivate* p = reinterpret_cast<SocketStreamHandlePrivate*>(user); 59 SocketStreamHandlePrivate* p = reinterpret_cast<SocketStreamHandlePrivate*>(user); 71 SocketStreamHandlePrivate* p = reinterpret_cast<SocketStreamHandlePrivate*>(user); 80 IShell* shell = reinterpret_cast<AEEApplet*>(GETAPPINSTANCE())->m_pIShell; 81 ISHELL_CreateInstance(shell, AEECLSID_NET, reinterpret_cast<void**>(&s_netMgr)); 149 int sentSize = ISOCKET_Write(m_socket.get(), reinterpret_cast<byte*>(const_cast<char*>(data)), len);
|
/libcore/luni/src/main/native/ |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 654 SSL_CTX* ssl_ctx = reinterpret_cast<SSL_CTX*>(static_cast<uintptr_t>(ssl_ctx_address)); 663 SSL* ssl = reinterpret_cast<SSL*>(static_cast<uintptr_t>(ssl_address)); 673 = reinterpret_cast<SSL_SESSION*>(static_cast<uintptr_t>(ssl_session_address)); 694 *dest = BN_bin2bn(reinterpret_cast<const unsigned char*>(sourceBytes.get()), 725 unsigned char* tmp = reinterpret_cast<unsigned char*>(bytes.get()); 775 unsigned char* p = reinterpret_cast<unsigned char*>(bytes.get()); 795 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(bytes.get()); 927 env->GetByteArrayRegion(javaBytes.get(), 0, read, reinterpret_cast<jbyte*>(buf)); 957 env->SetByteArrayRegion(javaBytes.get(), 0, len, reinterpret_cast<const jbyte*>(buf)); [all...] |
/dalvik/vm/ |
Common.h | 142 (reinterpret_cast<char*>( \ 143 &reinterpret_cast<t*>(16)->f) - \ 144 reinterpret_cast<char*>(16))
|
/external/chromium/base/debug/ |
trace_event.h | 58 reinterpret_cast<const void*>(id), \ 69 reinterpret_cast<const void*>(id), \ 79 reinterpret_cast<const void*>(id), \
|
trace_event_win.h | 19 reinterpret_cast<const void*>(id), \ 26 reinterpret_cast<const void*>(id), \ 33 reinterpret_cast<const void*>(id), \
|
/external/chromium/base/win/ |
event_trace_controller.h | 47 return reinterpret_cast<const EVENT_TRACE_PROPERTIES*>(&properties_); 51 return reinterpret_cast<const wchar_t *>(buffer_ + get()->LoggerNameOffset); 57 return reinterpret_cast<const wchar_t*>(buffer_ + get()->LogFileNameOffset);
|
/external/chromium/crypto/ |
symmetric_key_openssl.cc | 36 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); 55 reinterpret_cast<uint8*>(WriteInto(&key->key_, key_size_in_bytes + 1)); 57 reinterpret_cast<const uint8*>(salt.data()),
|
/external/chromium/net/base/ |
test_root_certs_mac.cc | 33 reinterpret_cast<SecCertificateRef>(const_cast<void*>(value1)), 34 reinterpret_cast<SecCertificateRef>(const_cast<void*>(value2))); 84 reinterpret_cast<SecTrustSetAnchorCertificatesOnlyFuncPtr>(
|
/external/clang/include/clang/AST/ |
DeclarationName.h | 109 return reinterpret_cast<DeclarationNameExtra *>(Ptr & ~PtrMask); 118 return reinterpret_cast<CXXSpecialName *>(Ptr & ~PtrMask); 125 return reinterpret_cast<CXXOperatorIdName *>(Ptr & ~PtrMask); 131 return reinterpret_cast<CXXLiteralOperatorIdName *>(Ptr & ~PtrMask); 138 : Ptr(reinterpret_cast<uintptr_t>(Name)) { 146 : Ptr(reinterpret_cast<uintptr_t>(Name)) { 152 : Ptr(reinterpret_cast<uintptr_t>(Name)) { 173 : Ptr(reinterpret_cast<uintptr_t>(II)) { 187 (reinterpret_cast<IdentifierInfo *>(Ptr & ~PtrMask)); 221 return reinterpret_cast<IdentifierInfo *>(Ptr) [all...] |
/external/eigen/lapack/ |
cholesky.cpp | 26 Scalar* a = reinterpret_cast<Scalar*>(pa); 55 Scalar* a = reinterpret_cast<Scalar*>(pa); 56 Scalar* b = reinterpret_cast<Scalar*>(pb);
|
/external/libvpx/libvpx/test/ |
pp_filter_test.cc | 52 reinterpret_cast<uint8_t*>(vpx_calloc(input_size, 1)); 54 reinterpret_cast<uint8_t*>(vpx_calloc(output_size, 1)); 59 uint8_t *const flimits = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_width));
|