/external/scudo/standalone/ |
D | memtag.h | 36 inline uptr untagPointer(uptr Ptr) { return Ptr & ((1ULL << 56) - 1); } in untagPointer() 38 inline uint8_t extractTag(uptr Ptr) { return (Ptr >> 56) & 0xf; } in extractTag() 147 inline uptr selectRandomTag(uptr Ptr, uptr ExcludeMask) { in selectRandomTag() 160 inline uptr addFixedTag(uptr Ptr, uptr Tag) { in addFixedTag() 231 inline void storeTag(uptr Ptr) { in storeTag() 242 inline uptr loadTag(uptr Ptr) { in loadTag() 274 inline NORETURN uptr selectRandomTag(uptr Ptr, uptr ExcludeMask) { in selectRandomTag() 280 inline NORETURN uptr addFixedTag(uptr Ptr, uptr Tag) { in addFixedTag() 292 inline NORETURN void storeTag(uptr Ptr) { in storeTag() 297 inline NORETURN uptr loadTag(uptr Ptr) { in loadTag() [all …]
|
D | chunk.h | 90 inline AtomicPackedHeader *getAtomicHeader(void *Ptr) { in getAtomicHeader() 95 inline const AtomicPackedHeader *getConstAtomicHeader(const void *Ptr) { in getConstAtomicHeader() 103 static inline u16 computeHeaderChecksum(u32 Cookie, const void *Ptr, in computeHeaderChecksum() 113 inline void storeHeader(u32 Cookie, void *Ptr, in storeHeader() 121 inline void loadHeader(u32 Cookie, const void *Ptr, in loadHeader() 130 inline void compareExchangeHeader(u32 Cookie, void *Ptr, in compareExchangeHeader() 143 inline bool isValid(u32 Cookie, const void *Ptr, in isValid()
|
D | combined.h | 85 void *Ptr = Cache.allocate(QuarantineClassId); in allocate() local 249 ALWAYS_INLINE void *getHeaderTaggedPointer(void *Ptr) { in getHeaderTaggedPointer() 261 ALWAYS_INLINE uptr addHeaderTag(uptr Ptr) { in addHeaderTag() 267 ALWAYS_INLINE void *addHeaderTag(void *Ptr) { in addHeaderTag() 285 uptr computeOddEvenMaskForPointerMaybe(Options Options, uptr Ptr, in computeOddEvenMaskForPointerMaybe() 314 if (void *Ptr = GuardedAlloc.allocate(Size, Alignment)) { variable 385 void *Ptr = reinterpret_cast<void *>(UserPtr); variable 818 uptr getUsableSize(const void *Ptr) { in getUsableSize() 845 bool isOwned(const void *Ptr) { in isOwned() 1007 atomic_uptr Ptr; member [all …]
|
D | report.cpp | 65 void NORETURN reportHeaderCorruption(void *Ptr) { in reportHeaderCorruption() 73 void NORETURN reportHeaderRace(void *Ptr) { in reportHeaderRace() 124 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr) { in reportInvalidChunkState() 130 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr) { in reportMisalignedPointer() 138 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr, in reportDeallocTypeMismatch() 147 void NORETURN reportDeleteSizeMismatch(void *Ptr, uptr Size, in reportDeleteSizeMismatch()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_gfx_mem.cpp | 129 Value* BuilderGfxMem::GEP(Value* Ptr, Value* Idx, Type* Ty, bool isReadOnly, const Twine& Name) in GEP() 153 Value* BuilderGfxMem::GEP(Type* Ty, Value* Ptr, Value* Idx, const Twine& Name) in GEP() 170 Value* BuilderGfxMem::GEP(Value* Ptr, const std::initializer_list<Value*>& indexList, Type* Ty) in GEP() 188 BuilderGfxMem::GEP(Value* Ptr, const std::initializer_list<uint32_t>& indexList, Type* Ty) in GEP() 205 Value* BuilderGfxMem::TranslationHelper(Value* Ptr, Type* Ty, Value* pfnTranslateGfxAddress) in TranslationHelper() 219 void BuilderGfxMem::TrackerHelper(Value* Ptr, Type* Ty, MEM_CLIENT usage, bool isRead) in TrackerHelper() 266 LoadInst* BuilderGfxMem::LOAD(Value* Ptr, const char* Name, Type* Ty, MEM_CLIENT usage) in LOAD() 275 LoadInst* BuilderGfxMem::LOAD(Value* Ptr, const Twine& Name, Type* Ty, MEM_CLIENT usage) in LOAD() 285 Value* Ptr, bool isVolatile, const Twine& Name, Type* Ty, MEM_CLIENT usage) in LOAD() 323 CallInst* BuilderGfxMem::MASKED_LOAD(Value* Ptr, in MASKED_LOAD() [all …]
|
/external/gwp_asan/gwp_asan/platform_specific/ |
D | guarded_pool_allocator_posix.cpp | 47 void *Ptr = mmap(nullptr, Size, PROT_READ | PROT_WRITE, in map() local 54 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() 63 void *Ptr = in reserveGuardedPool() local 75 void GuardedPoolAllocator::allocateInGuardedPool(void *Ptr, size_t Size) const { in allocateInGuardedPool() 83 void GuardedPoolAllocator::deallocateInGuardedPool(void *Ptr, in deallocateInGuardedPool()
|
D | guarded_pool_allocator_fuchsia.cpp | 38 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() 67 void GuardedPoolAllocator::allocateInGuardedPool(void *Ptr, size_t Size) const { in allocateInGuardedPool() 88 void GuardedPoolAllocator::deallocateInGuardedPool(void *Ptr, in deallocateInGuardedPool()
|
/external/pdfium/third_party/lcms/src/ |
D | cmstypes.c | 320 cmsBool Type_XYZ_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr, cmsUInt3… in Type_XYZ_Write() 329 void* Type_XYZ_Dup(struct _cms_typehandler_struct* self, const void *Ptr, cmsUInt32Number n) in Type_XYZ_Dup() 337 void Type_XYZ_Free(struct _cms_typehandler_struct* self, void *Ptr) in Type_XYZ_Free() 417 cmsBool Type_Chromaticity_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr,… in Type_Chromaticity_Write() 435 void* Type_Chromaticity_Dup(struct _cms_typehandler_struct* self, const void *Ptr, cmsUInt32Number … in Type_Chromaticity_Dup() 443 void Type_Chromaticity_Free(struct _cms_typehandler_struct* self, void* Ptr) in Type_Chromaticity_Free() 490 …OrderType_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr, cmsUInt32Number… in Type_ColorantOrderType_Write() 512 void* Type_ColorantOrderType_Dup(struct _cms_typehandler_struct* self, const void *Ptr, cmsUInt32Nu… in Type_ColorantOrderType_Dup() 521 void Type_ColorantOrderType_Free(struct _cms_typehandler_struct* self, void* Ptr) in Type_ColorantOrderType_Free() 557 cmsBool Type_S15Fixed16_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr, cm… in Type_S15Fixed16_Write() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | DynamicLibrary.cpp | 79 if (void *Ptr = DLSym(Handle, Symbol)) in LibLookup() local 84 if (void *Ptr = DLSym(Handle, Symbol)) in LibLookup() local 96 if (void *Ptr = LibLookup(Symbol, Order)) in Lookup() local 101 if (void *Ptr = DLSym(Process, Symbol)) in Lookup() local 106 if (void *Ptr = LibLookup(Symbol, Order)) in Lookup() local 193 if (void *Ptr = OpenedHandles->Lookup(SymbolName, SearchOrder)) in SearchForAddressOfSymbol() local
|
D | FormattedStream.cpp | 23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { in UpdatePosition() 48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { in ComputePosition() 76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Allocator.h | 65 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() 106 void Deallocate(const void *Ptr, size_t /*Size*/) { in Deallocate() 282 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() 296 llvm::Optional<int64_t> identifyObject(const void *Ptr) { in identifyObject() 322 int64_t identifyKnownObject(const void *Ptr) { in identifyKnownObject() 339 int64_t identifyKnownAlignedObject(const void *Ptr) { in identifyKnownAlignedObject() 428 void *Ptr = PtrAndSize.first; in DeallocateCustomSizedSlabs() local 470 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) in DestroyAll() local 486 void *Ptr = PtrAndSize.first; in DestroyAll() local
|
D | ArrayRecycler.h | 56 void push(unsigned Idx, T *Ptr) { in push() 106 while (T *Ptr = pop(Bucket.size() - 1)) in clear() local 127 if (T *Ptr = pop(Cap.getBucket())) in allocate() local 137 void deallocate(Capacity Cap, T *Ptr) { in deallocate()
|
/external/llvm/include/llvm/Support/ |
D | ArrayRecycler.h | 56 void push(unsigned Idx, T *Ptr) { in push() 105 while (T *Ptr = pop(Bucket.size() - 1)) in clear() local 126 if (T *Ptr = pop(Cap.getBucket())) in allocate() local 136 void deallocate(Capacity Cap, T *Ptr) { in deallocate()
|
D | Allocator.h | 60 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() 101 void Deallocate(const void *Ptr, size_t /*Size*/) { in Deallocate() 263 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() 347 void *Ptr = PtrAndSize.first; in DeallocateCustomSizedSlabs() local 385 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) in DestroyAll() local 401 void *Ptr = PtrAndSize.first; in DestroyAll() local
|
/external/gwp_asan/gwp_asan/tests/ |
D | backtrace.cpp | 22 DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory() 26 DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory2() 29 __attribute__((optnone)) void TouchMemory(void *Ptr) { in TouchMemory() 34 void *Ptr = AllocateMemory(GPA); in TEST_F() local 54 void *Ptr = AllocateMemory(GPA); in TEST_F() local
|
D | basic.cpp | 13 void *Ptr = GPA.allocate(1); in TEST_F() local 31 void *Ptr = GPA.allocate(AllocSize); in TEST_F() local 86 void *Ptr = GPA.allocate(1); in TEST_F() local
|
/external/sfntly/cpp/src/sfntly/port/ |
D | refcount.h | 105 class Ptr; variable 179 Ptr() : p_(NULL) { in Ptr() function 184 Ptr(T* pT) : p_(NULL) { in Ptr() function 188 Ptr(const Ptr<T>& p) : p_(NULL) { in Ptr() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVEGatherScatterLowering.cpp | 118 Value *MVEGatherScatterLowering::checkGEP(Value *&Offsets, Type *Ty, Value *Ptr, in checkGEP() 163 void MVEGatherScatterLowering::lookThroughBitcast(Value *&Ptr) { in lookThroughBitcast() 183 Value *Ptr = I->getArgOperand(0); in lowerGather() local 216 IntrinsicInst *I, Value *Ptr, IRBuilder<> Builder) { in tryCreateMaskedGatherBase() 236 IntrinsicInst *I, Value *Ptr, IRBuilder<> Builder) { in tryCreateMaskedGatherOffset()
|
/external/llvm/lib/Support/ |
D | FormattedStream.cpp | 24 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { in UpdatePosition() 48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { in ComputePosition() 76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl()
|
D | raw_ostream.cpp | 298 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) { in write() 341 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) { in copy_to_buffer() 567 void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 634 void raw_fd_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl() 752 void raw_string_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 762 void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 766 void raw_svector_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl() 784 void raw_null_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 791 void raw_null_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl()
|
/external/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 147 void *Ptr = Name.getFETokenInfo<void>(); in AddDecl() local 172 void *Ptr = Name.getFETokenInfo<void>(); in InsertDeclAfter() local 213 void *Ptr = Name.getFETokenInfo<void>(); in RemoveDecl() local 232 void *Ptr = Name.getFETokenInfo<void>(); in begin() local 302 void *Ptr = Name.getFETokenInfo<void>(); in tryAddTopLevelDecl() local 395 void *Ptr = Name.getFETokenInfo<void>(); in operator []() local
|
/external/llvm/include/llvm/Analysis/ |
D | MemoryLocation.h | 48 const Value *Ptr; variable 98 : Ptr(Ptr), Size(Size), AATags(AATags) {} in Ptr() argument
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | raw_ostream.cpp | 219 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) { in write() 262 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) { in copy_to_buffer() 540 void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 613 void raw_fd_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl() 730 void raw_string_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 740 void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 744 void raw_svector_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl() 762 void raw_null_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() 769 void raw_null_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Allocator.h | 62 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() 103 void Deallocate(const void *Ptr, size_t /*Size*/) { in Deallocate() 266 void Deallocate(const void *Ptr, size_t Size) { in Deallocate() 350 void *Ptr = PtrAndSize.first; in DeallocateCustomSizedSlabs() local 388 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) in DestroyAll() local 404 void *Ptr = PtrAndSize.first; in DestroyAll() local
|
/external/gwp_asan/gwp_asan/ |
D | guarded_pool_allocator.cpp | 33 uintptr_t getPageAddr(uintptr_t Ptr, uintptr_t PageSize) { in getPageAddr() 173 uintptr_t GuardedPoolAllocator::alignUp(uintptr_t Ptr, size_t Alignment) { in alignUp() 183 uintptr_t GuardedPoolAllocator::alignDown(uintptr_t Ptr, size_t Alignment) { in alignDown() 279 void GuardedPoolAllocator::deallocate(void *Ptr) { in deallocate() 321 size_t GuardedPoolAllocator::getSize(const void *Ptr) { in getSize()
|