/external/v8/src/ |
D | v8memory.h | 17 return *reinterpret_cast<uint8_t*>(addr); in uint8_at() 21 return *reinterpret_cast<uint16_t*>(addr); in uint16_at() 25 return *reinterpret_cast<uint32_t*>(addr); in uint32_at() 29 return *reinterpret_cast<int32_t*>(addr); in int32_at() 33 return *reinterpret_cast<uint64_t*>(addr); in uint64_at() 37 return *reinterpret_cast<int*>(addr); in int_at() 41 return *reinterpret_cast<unsigned*>(addr); in unsigned_at() 45 return *reinterpret_cast<intptr_t*>(addr); in intptr_at() 49 return *reinterpret_cast<uintptr_t*>(addr); in uintptr_at() 53 return *reinterpret_cast<double*>(addr); in double_at() [all …]
|
D | unbound-queue-inl.h | 27 divider_ = last_ = reinterpret_cast<base::AtomicWord>(first_); 48 Node* next = reinterpret_cast<Node*>(divider_)->next; 50 base::Release_Store(÷r_, reinterpret_cast<base::AtomicWord>(next)); 57 Node*& next = reinterpret_cast<Node*>(last_)->next; 59 base::Release_Store(&last_, reinterpret_cast<base::AtomicWord>(next)); 61 while (first_ != reinterpret_cast<Node*>(base::Acquire_Load(÷r_))) { 76 Node* next = reinterpret_cast<Node*>(divider_)->next;
|
D | small-pointer-list.h | 41 DCHECK(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Reserve() 42 data_ = reinterpret_cast<intptr_t>(list) | kListTag; in Reserve() 64 DCHECK(IsAligned(reinterpret_cast<intptr_t>(pointer), kPointerAlignment)); in Add() 66 data_ = reinterpret_cast<intptr_t>(pointer) | kSingletonTag; in Add() 73 DCHECK(IsAligned(reinterpret_cast<intptr_t>(list), kPointerAlignment)); in Add() 74 data_ = reinterpret_cast<intptr_t>(list) | kListTag; in Add() 160 return reinterpret_cast<T*>(data_); in single_value() 165 return reinterpret_cast<PointerList*>(data_ & kValueMask); in list()
|
D | globals.h | 196 (reinterpret_cast<v8::internal::Address>(reinterpret_cast<intptr_t>(f))) 203 return reinterpret_cast<F>(reinterpret_cast<intptr_t>(addr)); in FUNCTION_CAST() 258 reinterpret_cast<Address>(V8_UINT64_C(0xdeadbeedbeadbeef)); 260 reinterpret_cast<Address>(V8_UINT64_C(0x1baddead0baddeaf)); 262 reinterpret_cast<Address>(V8_UINT64_C(0x1baffed00baffedf)); 264 reinterpret_cast<Address>(V8_UINT64_C(0x1beefdad0beefdaf)); 269 const Address kZapValue = reinterpret_cast<Address>(0xdeadbeef); 270 const Address kHandleZapValue = reinterpret_cast<Address>(0xbaddeaf); 271 const Address kGlobalHandleZapValue = reinterpret_cast<Address>(0xbaffedf); 272 const Address kFromSpaceZapValue = reinterpret_cast<Address>(0xbeefdaf); [all …]
|
D | types-inl.h | 73 return reinterpret_cast<uintptr_t>(type) & 1; in is_bitset() 92 return static_cast<Type::bitset>(reinterpret_cast<uintptr_t>(type) ^ 1u); in as_bitset() 99 return reinterpret_cast<Struct*>(type); in as_struct() 112 return reinterpret_cast<Type*>(static_cast<uintptr_t>(bitset | 1u)); in from_bitset() 125 return reinterpret_cast<Type*>(structure); in from_struct() 139 Struct* structure = reinterpret_cast<Struct*>( in struct_create() 141 structure[0] = reinterpret_cast<void*>(tag); in struct_create() 142 structure[1] = reinterpret_cast<void*>(length); in struct_create() 150 structure[1] = reinterpret_cast<void*>(length); in struct_shrink() 156 return static_cast<int>(reinterpret_cast<intptr_t>(structure[0])); in struct_tag() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | atomicops_internals_atomicword_compat.h | 57 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 63 reinterpret_cast<volatile Atomic32*>(ptr), new_value); in NoBarrier_AtomicExchange() 69 reinterpret_cast<volatile Atomic32*>(ptr), increment); in NoBarrier_AtomicIncrement() 75 reinterpret_cast<volatile Atomic32*>(ptr), increment); in Barrier_AtomicIncrement() 82 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 89 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap() 93 NoBarrier_Store(reinterpret_cast<volatile Atomic32*>(ptr), value); in NoBarrier_Store() 97 return Acquire_Store(reinterpret_cast<volatile Atomic32*>(ptr), value); in Acquire_Store() 101 return Release_Store(reinterpret_cast<volatile Atomic32*>(ptr), value); in Release_Store() 105 return NoBarrier_Load(reinterpret_cast<volatile const Atomic32*>(ptr)); in NoBarrier_Load() [all …]
|
/external/v8/src/base/ |
D | atomicops_internals_atomicword_compat.h | 30 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap() 36 reinterpret_cast<volatile Atomic32*>(ptr), new_value); in NoBarrier_AtomicExchange() 42 reinterpret_cast<volatile Atomic32*>(ptr), increment); in NoBarrier_AtomicIncrement() 48 reinterpret_cast<volatile Atomic32*>(ptr), increment); in Barrier_AtomicIncrement() 55 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap() 62 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap() 67 reinterpret_cast<volatile Atomic32*>(ptr), value); in NoBarrier_Store() 72 reinterpret_cast<volatile Atomic32*>(ptr), value); in Acquire_Store() 77 reinterpret_cast<volatile Atomic32*>(ptr), value); in Release_Store() 82 reinterpret_cast<volatile const Atomic32*>(ptr)); in NoBarrier_Load() [all …]
|
D | atomicops_internals_x86_msvc.h | 29 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_CompareAndSwap() 38 reinterpret_cast<volatile LONG*>(ptr), in NoBarrier_AtomicExchange() 46 reinterpret_cast<volatile LONG*>(ptr), in Barrier_AtomicIncrement() 126 reinterpret_cast<volatile PVOID*>(ptr), in NoBarrier_CompareAndSwap() 127 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)); in NoBarrier_CompareAndSwap() 128 return reinterpret_cast<Atomic64>(result); in NoBarrier_CompareAndSwap() 134 reinterpret_cast<volatile PVOID*>(ptr), in NoBarrier_AtomicExchange() 135 reinterpret_cast<PVOID>(new_value)); in NoBarrier_AtomicExchange() 136 return reinterpret_cast<Atomic64>(result); in NoBarrier_AtomicExchange() 142 reinterpret_cast<volatile LONGLONG*>(ptr), in Barrier_AtomicIncrement()
|
/external/google-breakpad/src/processor/ |
D | fast_source_line_resolver_types.h | 58 const char *raw = reinterpret_cast<const char*>(line_ptr); in CopyFrom() 64 address = *(reinterpret_cast<const MemAddr*>(raw)); in CopyFrom() 65 size = *(reinterpret_cast<const MemAddr*>(raw + sizeof(address))); in CopyFrom() 66 source_file_id = *(reinterpret_cast<const int32_t *>( in CopyFrom() 68 line = *(reinterpret_cast<const int32_t*>( in CopyFrom() 76 const char *raw = reinterpret_cast<const char*>(func_ptr); in CopyFrom() 84 address = *(reinterpret_cast<const MemAddr*>(raw + name_size)); in CopyFrom() 85 size = *(reinterpret_cast<const MemAddr*>( in CopyFrom() 87 parameter_size = *(reinterpret_cast<const int32_t*>( in CopyFrom() 99 const char *raw = reinterpret_cast<const char*>(public_symbol_ptr); in CopyFrom() [all …]
|
/external/eigen/blas/ |
D | level2_real_impl.h | 30 Scalar* a = reinterpret_cast<Scalar*>(pa); in EIGEN_BLAS_FUNC() 31 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 32 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 33 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); in EIGEN_BLAS_FUNC() 34 Scalar beta = *reinterpret_cast<Scalar*>(pbeta); in EIGEN_BLAS_FUNC() 103 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 104 Scalar* c = reinterpret_cast<Scalar*>(pc); in EIGEN_BLAS_FUNC() 105 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); in EIGEN_BLAS_FUNC() 163 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 164 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() [all …]
|
D | level2_cplx_impl.h | 36 Scalar* a = reinterpret_cast<Scalar*>(pa); in EIGEN_BLAS_FUNC() 37 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 38 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 39 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); in EIGEN_BLAS_FUNC() 40 Scalar beta = *reinterpret_cast<Scalar*>(pbeta); in EIGEN_BLAS_FUNC() 128 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 129 Scalar* ap = reinterpret_cast<Scalar*>(pap); in EIGEN_BLAS_FUNC() 179 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 180 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 181 Scalar* ap = reinterpret_cast<Scalar*>(pap); in EIGEN_BLAS_FUNC() [all …]
|
D | level1_impl.h | 14 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 15 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 16 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); in EIGEN_BLAS_FUNC() 33 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 34 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 57 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_CAT() 68 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_CAT() 81 Scalar& a = *reinterpret_cast<Scalar*>(pa); in EIGEN_BLAS_FUNC() 82 Scalar& b = *reinterpret_cast<Scalar*>(pb); in EIGEN_BLAS_FUNC() 84 Scalar* s = reinterpret_cast<Scalar*>(ps); in EIGEN_BLAS_FUNC() [all …]
|
D | level1_cplx_impl.h | 31 Complex* x = reinterpret_cast<Complex*>(px); 46 Scalar* x = reinterpret_cast<Scalar*>(px); 47 Scalar* y = reinterpret_cast<Scalar*>(py); 48 Scalar* res = reinterpret_cast<Scalar*>(pres); 65 Scalar* x = reinterpret_cast<Scalar*>(px); 66 Scalar* y = reinterpret_cast<Scalar*>(py); 67 Scalar* res = reinterpret_cast<Scalar*>(pres); 82 Scalar* x = reinterpret_cast<Scalar*>(px); 94 Scalar* x = reinterpret_cast<Scalar*>(px); 95 Scalar* y = reinterpret_cast<Scalar*>(py); [all …]
|
D | level1_real_impl.h | 18 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 33 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 34 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 51 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 62 Scalar* x = reinterpret_cast<Scalar*>(px); in EIGEN_BLAS_FUNC() 63 Scalar* y = reinterpret_cast<Scalar*>(py); in EIGEN_BLAS_FUNC() 64 Scalar c = *reinterpret_cast<Scalar*>(pc); in EIGEN_BLAS_FUNC() 65 Scalar s = *reinterpret_cast<Scalar*>(ps); in EIGEN_BLAS_FUNC()
|
/external/llvm/include/llvm/Support/ |
D | Win64EH.h | 106 return reinterpret_cast<void *>(&UnwindCodes[(NumCodes+1) & ~1]); in getLanguageSpecificData() 111 return reinterpret_cast<const void *>(&UnwindCodes[(NumCodes + 1) & ~1]); in getLanguageSpecificData() 116 return *reinterpret_cast<const support::ulittle32_t *>( in getLanguageSpecificHandlerOffset() 122 *reinterpret_cast<support::ulittle32_t *>(getLanguageSpecificData()) = in setLanguageSpecificHandlerOffset() 128 return reinterpret_cast<void *>(reinterpret_cast<uint32_t *>( in getExceptionData() 134 return reinterpret_cast<RuntimeFunction *>(getLanguageSpecificData()); in getChainedFunctionEntry() 139 return reinterpret_cast<const RuntimeFunction *>(getLanguageSpecificData()); in getChainedFunctionEntry()
|
/external/skia/src/c/ |
D | sk_types_priv.h | 18 return reinterpret_cast<const SkPaint&>(cpaint); in AsPaint() 22 return reinterpret_cast<const SkPaint*>(cpaint); in AsPaint() 26 return reinterpret_cast<SkPaint*>(cpaint); in AsPaint() 30 return reinterpret_cast<SkMaskFilter*>(cfilter); in AsMaskFilter() 34 return reinterpret_cast<sk_maskfilter_t*>(filter); in ToMaskFilter() 38 return reinterpret_cast<SkShader*>(cshader); in AsShader()
|
/external/sfntly/cpp/src/sfntly/port/ |
D | atomic.h | 26 return InterlockedIncrement64(reinterpret_cast<LONGLONG*>(address)); in AtomicIncrement() 28 return InterlockedIncrement(reinterpret_cast<LONG*>(address)); in AtomicIncrement() 34 return InterlockedDecrement64(reinterpret_cast<LONGLONG*>(address)); in AtomicDecrement() 36 return InterlockedDecrement(reinterpret_cast<LONG*>(address)); in AtomicDecrement() 45 return OSAtomicIncrement32Barrier(reinterpret_cast<int32_t*>(address)); in AtomicIncrement() 49 return OSAtomicDecrement32Barrier(reinterpret_cast<int32_t*>(address)); in AtomicDecrement()
|
/external/skia/src/gpu/ |
D | GrTRecorder.h | 95 const TAlign* ptr = reinterpret_cast<const TAlign*>(item); in GetDataForItem() 99 TAlign* ptr = reinterpret_cast<TAlign*>(item); in GetDataForItem() 119 MemBlock* block = reinterpret_cast<MemBlock*>( in Alloc() 146 return reinterpret_cast<TAlign*>(this)[length_of<MemBlock>::kValue + i]; 174 Header* header = reinterpret_cast<Header*>( in pop_back() 175 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in pop_back() 193 fLastItem = reinterpret_cast<TBase*>( in pop_back() 204 Header* lastHeader = reinterpret_cast<Header*>( in alloc_back() 205 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in alloc_back() 223 Header* header = reinterpret_cast<Header*>(&(*fTailBlock)[fTailBlock->fBack]); in alloc_back() [all …]
|
/external/v8/src/ia32/ |
D | assembler-ia32-inl.h | 59 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 64 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply() 71 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply() 77 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply() 82 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 99 return reinterpret_cast<Address>(pc_); in target_address_address() 165 return reinterpret_cast<Address>(*reinterpret_cast<int32_t*>(pc_)); in target_runtime_entry() 182 return Handle<Cell>(reinterpret_cast<Cell**>(address)); in target_cell_handle() 266 return reinterpret_cast<Object**>(pc_ + 1); in call_object_address() 353 x_ = reinterpret_cast<int32_t>(ext.address()); in Immediate() [all …]
|
/external/v8/src/x87/ |
D | assembler-x87-inl.h | 59 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 64 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply() 71 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply() 77 int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1); in apply() 82 int32_t* p = reinterpret_cast<int32_t*>(pc_); in apply() 99 return reinterpret_cast<Address>(pc_); in target_address_address() 166 return reinterpret_cast<Address>(*reinterpret_cast<int32_t*>(pc_)); in target_runtime_entry() 183 return Handle<Cell>(reinterpret_cast<Cell**>(address)); in target_cell_handle() 267 return reinterpret_cast<Object**>(pc_ + 1); in call_object_address() 354 x_ = reinterpret_cast<int32_t>(ext.address()); in Immediate() [all …]
|
/external/clang/test/SemaObjCXX/ |
D | arc-type-conversion.mm | 67 // Okay to reinterpret_cast to add/remove/change ownership 69 (void)reinterpret_cast<__strong id *>(wip); 70 (void)reinterpret_cast<__weak id *>(sip); 73 …(void)reinterpret_cast<__strong id *>(csip); // expected-error{{reinterpret_cast from '__strong id… 74 …(void)reinterpret_cast<__weak id *>(cwip); // expected-error{{reinterpret_cast from '__weak id con… 75 …(void)reinterpret_cast<__weak id *>(csip); // expected-error{{reinterpret_cast from '__strong id c… 76 …(void)reinterpret_cast<__strong id *>(cwip); // expected-error{{reinterpret_cast from '__weak id c… 151 (void)reinterpret_cast<void*>(sip); 152 (void)reinterpret_cast<void*>(wip); 153 (void)reinterpret_cast<void*>(aip); [all …]
|
/external/llvm/include/llvm/ADT/ |
D | PointerIntPair.h | 76 reinterpret_cast<void*>(Value & PointerBitMask)); in getPointer() 85 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal)); in setPointer() 103 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal)); in initWithPointer() 111 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal)); in setPointerAndInt() 125 assert(Value == reinterpret_cast<intptr_t>(getPointer()) && in getAddrOfPointer() 128 return reinterpret_cast<PointerTy *>(&Value); in getAddrOfPointer() 131 void *getOpaqueValue() const { return reinterpret_cast<void*>(Value); } in getOpaqueValue() 132 void setFromOpaqueValue(void *Val) { Value = reinterpret_cast<intptr_t>(Val);} in setFromOpaqueValue() 166 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val)); 171 return Ty::getFromOpaqueValue(reinterpret_cast<void *>(Val)); [all …]
|
/external/clang/include/clang/Sema/ |
D | IdentifierResolver.h | 87 Ptr = reinterpret_cast<uintptr_t>(D); in iterator() 93 Ptr = reinterpret_cast<uintptr_t>(I) | 0x1; in iterator() 100 return reinterpret_cast<BaseIter>(Ptr & ~0x3); in getIterator() 113 return reinterpret_cast<NamedDecl*>(Ptr); 198 return (reinterpret_cast<uintptr_t>(Ptr) & 0x1) == 0; in isDeclPtr() 203 assert((reinterpret_cast<uintptr_t>(Ptr) & 0x1) == 1 in toIdDeclInfo() 205 return reinterpret_cast<IdDeclInfo*>( in toIdDeclInfo() 206 reinterpret_cast<uintptr_t>(Ptr) & ~0x1 in toIdDeclInfo()
|
/external/v8/src/ic/ |
D | stub-cache.h | 64 reinterpret_cast<Address>(&first_entry(table)->key)); in key_reference() 69 reinterpret_cast<Address>(&first_entry(table)->map)); in map_reference() 74 reinterpret_cast<Address>(&first_entry(table)->value)); in value_reference() 117 static_cast<uint32_t>(reinterpret_cast<uintptr_t>(map)); in PrimaryOffset() 133 static_cast<uint32_t>(reinterpret_cast<uintptr_t>(name)); in SecondaryOffset() 149 return reinterpret_cast<Entry*>(reinterpret_cast<Address>(table) + in entry()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOAArch64.h | 64 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend() 66 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend() 70 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend() 83 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend() 96 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend() 104 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend() 159 *reinterpret_cast<support::ulittle32_t *>(LocalAddress) = Addend; in encodeAddend() 161 *reinterpret_cast<support::ulittle64_t *>(LocalAddress) = Addend; in encodeAddend() 164 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in encodeAddend() 179 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in encodeAddend() [all …]
|