/external/clang/test/CodeGenCXX/ |
D | vla-lambda-capturing.cpp | 8 typedef __INTPTR_TYPE__ intptr_t; typedef 27 void g(intptr_t n) { in g() 28 intptr_t buffer[n]; in g() 47 intptr_t buffer[n + m]; in f() 54 intptr_t getSize(T); 57 void b(intptr_t n, T arg) { in b() 58 typedef intptr_t ArrTy[getSize(arg)]; in b() 61 intptr_t a; in b() 74 g((intptr_t)1); in main() 76 f((intptr_t)1, (intptr_t)2); in main() [all …]
|
/external/v8/src/heap/ |
D | gc-tracer.h | 137 AllocationEvent(double duration, intptr_t allocation_in_bytes); 145 intptr_t allocation_in_bytes_; 173 intptr_t start_object_size; 176 intptr_t end_object_size; 179 intptr_t start_memory_size; 182 intptr_t end_memory_size; 186 intptr_t start_holes_size; 190 intptr_t end_holes_size; 193 intptr_t new_space_object_size; 205 intptr_t cumulative_incremental_marking_bytes; [all …]
|
D | spaces.h | 308 if ((reinterpret_cast<intptr_t>(owner_) & kPageHeaderTagMask) == in owner() 310 return reinterpret_cast<Space*>(reinterpret_cast<intptr_t>(owner_) - in owner() 318 DCHECK((reinterpret_cast<intptr_t>(space) & kPageHeaderTagMask) == 0); in set_owner() 320 DCHECK((reinterpret_cast<intptr_t>(owner_) & kPageHeaderTagMask) == in set_owner() 424 void SetFlags(intptr_t flags, intptr_t mask) { in SetFlags() 429 intptr_t GetFlags() { return flags_; } in GetFlags() 523 static const intptr_t kAlignment = 526 static const intptr_t kAlignmentMask = kAlignment - 1; 528 static const intptr_t kSizeOffset = 0; 530 static const intptr_t kLiveBytesOffset = [all …]
|
D | incremental-marking.h | 73 static const intptr_t kAllocatedThreshold = 65536; 74 static const intptr_t kWriteBarriersInvokedThreshold = 32768; 76 static const intptr_t kInitialMarkingSpeed = 1; 79 static const intptr_t kFastMarking = 3; 81 static const intptr_t kMarkingSpeedAccellerationInterval = 1024; 83 static const intptr_t kMarkingSpeedAccelleration = 2; 84 static const intptr_t kMaxMarkingSpeed = 1000; 86 void OldSpaceStep(intptr_t allocated); 88 void Step(intptr_t allocated, CompletionAction action, 194 INLINE(intptr_t ProcessMarkingDeque(intptr_t bytes_to_process)); [all …]
|
D | gc-tracer.cc | 12 static intptr_t CountTotalHolesSize(Heap* heap) { in CountTotalHolesSize() 13 intptr_t holes_size = 0; in CountTotalHolesSize() 23 intptr_t allocation_in_bytes) { in AllocationEvent() 105 reinterpret_cast<intptr_t>((heap_->new_space()->top()) - in Start() 146 reinterpret_cast<intptr_t>(heap_->new_space()->top()); in Stop() 205 intptr_t allocation_in_bytes) { in AddNewSpaceAllocationTime() 210 void GCTracer::AddIncrementalMarkingStep(double duration, intptr_t bytes) { in AddIncrementalMarkingStep() 309 intptr_t allocated_since_last_gc = in PrintNVP() 407 intptr_t GCTracer::IncrementalMarkingSpeedInBytesPerMillisecond() const { in IncrementalMarkingSpeedInBytesPerMillisecond() 413 return static_cast<intptr_t>(cumulative_incremental_marking_bytes_ / in IncrementalMarkingSpeedInBytesPerMillisecond() [all …]
|
/external/v8/src/base/platform/ |
D | platform.h | 86 INLINE(intptr_t InternalGetExistingThreadLocal(intptr_t index)); 88 inline intptr_t InternalGetExistingThreadLocal(intptr_t index) { in InternalGetExistingThreadLocal() 89 const intptr_t kTibInlineTlsOffset = 0xE10; in InternalGetExistingThreadLocal() 90 const intptr_t kTibExtraTlsOffset = 0xF94; in InternalGetExistingThreadLocal() 91 const intptr_t kMaxInlineSlots = 64; in InternalGetExistingThreadLocal() 92 const intptr_t kMaxSlots = kMaxInlineSlots + 1024; in InternalGetExistingThreadLocal() 93 const intptr_t kPointerSize = sizeof(void*); in InternalGetExistingThreadLocal() 96 return static_cast<intptr_t>(__readfsdword(kTibInlineTlsOffset + in InternalGetExistingThreadLocal() 99 intptr_t extra = static_cast<intptr_t>(__readfsdword(kTibExtraTlsOffset)); in InternalGetExistingThreadLocal() 101 return *reinterpret_cast<intptr_t*>(extra + in InternalGetExistingThreadLocal() [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 51 (int (*)(int, char **, const char **))(intptr_t)FPtr; in runFunction() 64 int (*PF)(int, char **) = (int (*)(int, char **))(intptr_t)FPtr; in runFunction() 76 int (*PF)(int) = (int (*)(int))(intptr_t)FPtr; in runFunction() 93 rv.IntVal = APInt(BitWidth, ((bool (*)())(intptr_t)FPtr)()); in runFunction() 95 rv.IntVal = APInt(BitWidth, ((char (*)())(intptr_t)FPtr)()); in runFunction() 97 rv.IntVal = APInt(BitWidth, ((short (*)())(intptr_t)FPtr)()); in runFunction() 99 rv.IntVal = APInt(BitWidth, ((int (*)())(intptr_t)FPtr)()); in runFunction() 101 rv.IntVal = APInt(BitWidth, ((int64_t (*)())(intptr_t)FPtr)()); in runFunction() 107 rv.IntVal = APInt(32, ((int (*)())(intptr_t)FPtr)()); in runFunction() 110 rv.FloatVal = ((float (*)())(intptr_t)FPtr)(); in runFunction() [all …]
|
/external/skia/forth/ |
D | Forth.h | 44 void push(intptr_t value); 45 intptr_t top() const { return this->peek(0); } in top() 46 intptr_t peek(size_t index) const; 47 void setTop(intptr_t value); 48 intptr_t pop(); 60 intptr_t* fStackBase; 61 intptr_t* fStackCurr; 62 intptr_t* fStackStop; 70 const intptr_t* in_data; 72 intptr_t* out_data;
|
D | StdWords.cpp | 34 intptr_t a = fe->pop(); in BEGIN_WORD() 35 intptr_t b = fe->top(); in BEGIN_WORD() 41 intptr_t c = fe->pop(); in BEGIN_WORD() 42 intptr_t b = fe->pop(); in BEGIN_WORD() 43 intptr_t a = fe->pop(); in BEGIN_WORD() 50 intptr_t c = fe->pop(); in BEGIN_WORD() 51 intptr_t b = fe->pop(); in BEGIN_WORD() 52 intptr_t a = fe->pop(); in BEGIN_WORD() 59 intptr_t d = fe->pop(); in BEGIN_WORD() 60 intptr_t c = fe->pop(); in BEGIN_WORD() [all …]
|
D | Forth.cpp | 15 size_t size = 32 * sizeof(intptr_t); in ForthEngine() 16 fStackBase = reinterpret_cast<intptr_t*>(sk_malloc_throw(size)); in ForthEngine() 17 fStackStop = fStackBase + size/sizeof(intptr_t); in ForthEngine() 33 void ForthEngine::push(intptr_t value) { in push() 42 intptr_t ForthEngine::peek(size_t index) const { in peek() 52 void ForthEngine::setTop(intptr_t value) { in setTop() 61 intptr_t ForthEngine::pop() { in pop() 123 static unsigned GetCode(intptr_t c) { in GetCode() 126 static unsigned GetCodeData(intptr_t c) { in GetCodeData() 154 intptr_t* detach() { in detach() [all …]
|
/external/clang/test/Sema/ |
D | static-init.c | 3 typedef __typeof((int*) 0 - (int*) 0) intptr_t; typedef 8 float r = (float) (intptr_t) &r; // expected-error {{initializer element is not a compile-time con… 9 intptr_t s = (intptr_t) &s; 22 struct foo x = {(intptr_t) u}; // expected-error {{initializer element is not a compile-time consta… 24 intptr_t z = (intptr_t) u; // no-error
|
/external/llvm/include/llvm/ADT/ |
D | PointerIntPair.h | 44 intptr_t Value; 53 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable)-1), 60 IntMask = (uintptr_t)(((intptr_t)1 << IntBits)-1), 84 intptr_t PtrWord in setPointer() 85 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal)); in setPointer() 93 intptr_t IntWord = static_cast<intptr_t>(IntVal); in setInt() 102 intptr_t PtrWord in initWithPointer() 103 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal)); in initWithPointer() 110 intptr_t PtrWord in setPointerAndInt() 111 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal)); in setPointerAndInt() [all …]
|
/external/libnfc-nci/halimpl/pn54x/tml/ |
D | phTmlNfc_i2c.c | 61 close((intptr_t)pDevHandle); in phTmlNfc_i2c_close() 96 *pLinkHandle = (void*) ((intptr_t)nHandle); in phTmlNfc_i2c_open_and_configure() 99 phTmlNfc_i2c_reset((void *)((intptr_t)nHandle), 1); in phTmlNfc_i2c_open_and_configure() 101 phTmlNfc_i2c_reset((void *)((intptr_t)nHandle), 0); in phTmlNfc_i2c_open_and_configure() 103 phTmlNfc_i2c_reset((void *)((intptr_t)nHandle), 1); in phTmlNfc_i2c_open_and_configure() 151 FD_SET((intptr_t) pDevHandle, &rfds); in phTmlNfc_i2c_read() 155 ret_Select = select((int)((intptr_t)pDevHandle + (int)1), &rfds, NULL, NULL, &tv); in phTmlNfc_i2c_read() 168 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 195 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 214 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), totalBtyesToRead - numRead); in phTmlNfc_i2c_read() [all …]
|
D | phDal4Nfc_messageQueueLib.h | 27 intptr_t phDal4Nfc_msgget(key_t key, int msgflg); 28 void phDal4Nfc_msgrelease(intptr_t msqid); 29 int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void *buf); 30 intptr_t phDal4Nfc_msgsnd(intptr_t msqid, phLibNfc_Message_t * msg, int msgflg); 31 int phDal4Nfc_msgrcv(intptr_t msqid, phLibNfc_Message_t * msg, long msgtyp, int msgflg);
|
D | phDal4Nfc_messageQueueLib.c | 56 intptr_t phDal4Nfc_msgget(key_t key, int msgflg) in phDal4Nfc_msgget() 76 return ((intptr_t) pQueue); in phDal4Nfc_msgget() 90 void phDal4Nfc_msgrelease(intptr_t msqid) in phDal4Nfc_msgrelease() 123 int phDal4Nfc_msgctl(intptr_t msqid, int cmd, void *buf) in phDal4Nfc_msgctl() 173 intptr_t phDal4Nfc_msgsnd(intptr_t msqid, phLibNfc_Message_t * msg, int msgflg) in phDal4Nfc_msgsnd() 230 int phDal4Nfc_msgrcv(intptr_t msqid, phLibNfc_Message_t * msg, long msgtyp, int msgflg) in phDal4Nfc_msgrcv()
|
/external/v8/src/ |
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() 149 static const intptr_t kEmptyTag = 1; 150 static const intptr_t kSingletonTag = 0; 151 static const intptr_t kListTag = 2; 152 static const intptr_t kTagMask = 3; [all …]
|
D | deoptimizer.h | 62 void patch_slot_address(intptr_t slot) { in patch_slot_address() 344 void AddObjectStart(intptr_t slot_address, int argc, bool is_arguments); 345 void AddObjectDuplication(intptr_t slot, int object_index); 346 void AddObjectTaggedValue(intptr_t value); 348 void AddDoubleValue(intptr_t slot_address, double value); 486 intptr_t GetFrameSlot(unsigned offset) { in GetFrameSlot() 491 intptr_t* ptr = GetFrameSlotPointer(offset); in GetDoubleFrameSlot() 495 void SetFrameSlot(unsigned offset, intptr_t value) { in SetFrameSlot() 499 void SetCallerPc(unsigned offset, intptr_t value); 501 void SetCallerFp(unsigned offset, intptr_t value); [all …]
|
D | globals.h | 128 const int kIntptrSize = sizeof(intptr_t); // NOLINT 142 const intptr_t kIntptrSignBit = V8_INT64_C(0x8000000000000000); 148 const intptr_t kIntptrSignBit = 0x80000000; 196 (reinterpret_cast<v8::internal::Address>(reinterpret_cast<intptr_t>(f))) 203 return reinterpret_cast<F>(reinterpret_cast<intptr_t>(addr)); in FUNCTION_CAST() 223 const intptr_t kSmiSignMask = kIntptrSignBit; 226 const intptr_t kObjectAlignment = 1 << kObjectAlignmentBits; 227 const intptr_t kObjectAlignmentMask = kObjectAlignment - 1; 230 const intptr_t kPointerAlignment = (1 << kPointerSizeLog2); 231 const intptr_t kPointerAlignmentMask = kPointerAlignment - 1; [all …]
|
D | deoptimizer.cc | 323 " / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function)); in DeoptimizeMarkedCodeForContext() 351 " / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function)); in DeoptimizeMarkedCodeForContext() 474 reinterpret_cast<intptr_t>(object)); in DeoptimizeGlobalObject() 768 reinterpret_cast<intptr_t>(function_)); in DoComputeOutputFrames() 858 reinterpret_cast<intptr_t>(function)); in DoComputeOutputFrames() 918 intptr_t top_address; in DoComputeJSFrame() 957 intptr_t value; in DoComputeJSFrame() 983 intptr_t fp_value = top_address + output_offset; in DoComputeJSFrame() 1027 reinterpret_cast<intptr_t>(isolate_->heap()->arguments_marker())); in DoComputeJSFrame() 1029 reinterpret_cast<intptr_t>(isolate_->heap()->undefined_value())) { in DoComputeJSFrame() [all …]
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | scale_posix.cc | 192 : "r"((intptr_t)(src_stride)) // %3 in ScaleRowDown2Box_SSE2() 298 : "r"((intptr_t)(src_stride)) // %3 in ScaleRowDown2Box_Unaligned_SSE2() 343 intptr_t stridex3 = 0; in ScaleRowDown4Box_SSE2() 390 : "r"((intptr_t)(src_stride)) // %4 in ScaleRowDown4Box_SSE2() 499 : "r"((intptr_t)(src_stride)), // %3 in ScaleRowDown34_1_Box_SSSE3() 573 : "r"((intptr_t)(src_stride)), // %3 in ScaleRowDown34_0_Box_SSSE3() 655 : "r"((intptr_t)(src_stride)) // %3 in ScaleRowDown38_2_Box_SSSE3() 723 : "r"((intptr_t)(src_stride)) // %3 in ScaleRowDown38_3_Box_SSSE3() 737 intptr_t tmp_src = 0; in ScaleAddRows_SSE2() 780 : "rm"((intptr_t)(src_stride)) // %6 in ScaleAddRows_SSE2() [all …]
|
/external/skia/tests/ |
D | ImageCacheTest.cpp | 15 intptr_t fValue; 17 TestingKey(intptr_t value, uint64_t sharedID = 0) : fValue(value) { in TestingKey() 25 intptr_t fValue; 32 intptr_t* result = (intptr_t*)context; in Visitor() 46 intptr_t value = -1; in test_cache() 67 intptr_t value; in test_cache() 83 intptr_t value = -1; in test_cache_purge_shared_id() 95 intptr_t value = -1; in test_cache_purge_shared_id() 148 intptr_t value = -1; in DEF_TEST()
|
/external/clang/test/Analysis/ |
D | stack-addr-ps.cpp | 3 typedef __INTPTR_TYPE__ intptr_t; typedef 111 operator intptr_t() const { return reinterpret_cast<intptr_t>(this); } in operator intptr_t() 119 intptr_t returnAsNonLoc() { in returnAsNonLoc() 129 intptr_t returnAsNonLocViaPointer() { in returnAsNonLocViaPointer() 131 …return reinterpret_cast<intptr_t>(static_cast<const void *>(obj)); // expected-warning{{Address of… in returnAsNonLocViaPointer()
|
D | stackaddrleak.c | 4 typedef __INTPTR_TYPE__ intptr_t; typedef 38 intptr_t returnAsNonLoc() { in returnAsNonLoc() 40 …return (intptr_t)&x; // expected-warning{{Address of stack memory associated with local variable '… in returnAsNonLoc() 49 extern intptr_t ip; in assignAsNonLoc() 51 ip = (intptr_t)&x; in assignAsNonLoc()
|
/external/skia/src/gpu/ |
D | GrMemoryPool.cpp | 59 intptr_t ptr = fTail->fCurrPtr; in allocate() 76 intptr_t ptr = reinterpret_cast<intptr_t>(p) - kPerAllocPad; in release() 81 fHead->fCurrPtr = reinterpret_cast<intptr_t>(fHead) + kHeaderSize; in release() 116 SkASSERT(!(reinterpret_cast<intptr_t>(block) % kAlignment)); in CreateBlock() 119 block->fCurrPtr = reinterpret_cast<intptr_t>(block) + kHeaderSize; in CreateBlock() 142 intptr_t b = reinterpret_cast<intptr_t>(block); in validate() 146 intptr_t userStart = b + kHeaderSize; in validate()
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileWrapper.cpp | 80 OpenAgentFunc = (op_open_agent_ptr_t)(intptr_t) in initialize() 82 CloseAgentFunc = (op_close_agent_ptr_t)(intptr_t) in initialize() 84 WriteNativeCodeFunc = (op_write_native_code_ptr_t)(intptr_t) in initialize() 86 WriteDebugLineInfoFunc = (op_write_debug_line_info_ptr_t)(intptr_t) in initialize() 88 UnloadNativeCodeFunc = (op_unload_native_code_ptr_t)(intptr_t) in initialize() 90 MajorVersionFunc = (op_major_version_ptr_t)(intptr_t) in initialize() 92 MinorVersionFunc = (op_major_version_ptr_t)(intptr_t) in initialize()
|