Home
last modified time | relevance | path

Searched defs:Ptr (Results 1 – 25 of 600) sorted by relevance

12345678910>>...24

/external/scudo/standalone/
Dmemtag.h37 inline uptr untagPointer(uptr Ptr) { return Ptr & ((1ULL << 56) - 1); } in untagPointer()
39 inline uint8_t extractTag(uptr Ptr) { return (Ptr >> 56) & 0xf; } in extractTag()
148 inline uptr selectRandomTag(uptr Ptr, uptr ExcludeMask) { in selectRandomTag()
161 inline uptr addFixedTag(uptr Ptr, uptr Tag) { in addFixedTag()
232 inline void storeTag(uptr Ptr) { in storeTag()
243 inline uptr loadTag(uptr Ptr) { in loadTag()
275 inline NORETURN uptr selectRandomTag(uptr Ptr, uptr ExcludeMask) { in selectRandomTag()
281 inline NORETURN uptr addFixedTag(uptr Ptr, uptr Tag) { in addFixedTag()
293 inline NORETURN void storeTag(uptr Ptr) { in storeTag()
298 inline NORETURN uptr loadTag(uptr Ptr) { in loadTag()
[all …]
Dchunk.h91 inline AtomicPackedHeader *getAtomicHeader(void *Ptr) { in getAtomicHeader()
96 inline const AtomicPackedHeader *getConstAtomicHeader(const void *Ptr) { in getConstAtomicHeader()
104 static inline u16 computeHeaderChecksum(u32 Cookie, const void *Ptr, in computeHeaderChecksum()
114 inline void storeHeader(u32 Cookie, void *Ptr, in storeHeader()
122 inline void loadHeader(u32 Cookie, const void *Ptr, in loadHeader()
131 inline void compareExchangeHeader(u32 Cookie, void *Ptr, in compareExchangeHeader()
144 inline bool isValid(u32 Cookie, const void *Ptr, in isValid()
Dreport.cpp77 void NORETURN reportHeaderCorruption(void *Ptr) { in reportHeaderCorruption()
85 void NORETURN reportHeaderRace(void *Ptr) { in reportHeaderRace()
141 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr) { in reportInvalidChunkState()
147 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr) { in reportMisalignedPointer()
155 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr, in reportDeallocTypeMismatch()
164 void NORETURN reportDeleteSizeMismatch(void *Ptr, uptr Size, in reportDeleteSizeMismatch()
Dcombined.h86 void *Ptr = Cache.allocate(QuarantineClassId); in allocate() local
265 ALWAYS_INLINE void *getHeaderTaggedPointer(void *Ptr) { in getHeaderTaggedPointer()
277 ALWAYS_INLINE uptr addHeaderTag(uptr Ptr) { in addHeaderTag()
283 ALWAYS_INLINE void *addHeaderTag(void *Ptr) { in addHeaderTag()
301 uptr computeOddEvenMaskForPointerMaybe(Options Options, uptr Ptr, in computeOddEvenMaskForPointerMaybe()
330 if (void *Ptr = GuardedAlloc.allocate(Size, Alignment)) { variable
415 void *Ptr = reinterpret_cast<void *>(UserPtr); variable
848 uptr getUsableSize(const void *Ptr) { in getUsableSize()
875 bool isOwned(const void *Ptr) { in isOwned()
1067 atomic_uptr Ptr; member
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/func.wrap/func.wrap.func/
Drobust_against_adl.pass.cpp31 typedef Holder<Incomplete> *Ptr; typedef
40 Ptr two_args(Ptr p, Ptr) { return p; } in two_args() argument
41 Ptr three_args(Ptr p, Ptr, Ptr) { return p; } in three_args() argument
42 Ptr four_args(Ptr p, Ptr, Ptr, Ptr) { return p; } in four_args() argument
44 void one_arg_void(Ptr) { } in one_arg_void() argument
/external/gwp_asan/gwp_asan/tests/
Drecoverable.cpp22 void *Ptr = AllocateMemory(GPA); in TEST_P() local
39 char *Ptr = static_cast<char *>(AllocateMemory(GPA)); in TEST_P() local
55 void *Ptr = AllocateMemory(GPA); in TEST_P() local
71 char *Ptr = static_cast<char *>(AllocateMemory(GPA)); in TEST_P() local
92 void *Ptr = AllocateMemory(GPA); in TEST_P() local
117 void *Ptr = AllocateMemory(GPA); in TEST_P() local
135 for (void *Ptr : Ptrs) { in TEST_P() local
144 unsigned NumIterations, unsigned Job, char *Ptr) { in singleAllocThrashTask()
176 char *Ptr = static_cast<char *>(AllocateMemory(*GPA)); in runInterThreadThrashingSingleAlloc() local
Dharness.cpp29 DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory()
33 DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory2()
36 __attribute__((optnone)) void TouchMemory(void *Ptr) { in TouchMemory()
/external/scudo/standalone/tests/
Dscudo_hooks_test.cpp30 __attribute__((visibility("default"))) void __scudo_allocate_hook(void *Ptr, in __scudo_allocate_hook()
35 __attribute__((visibility("default"))) void __scudo_deallocate_hook(void *Ptr) { in __scudo_deallocate_hook()
55 void *Ptr = Allocator.allocate(DefaultSize, Origin); in TEST() local
69 void *Ptr = Allocator.allocate(DefaultSize, Origin); in TEST() local
86 void *Ptr = Allocator.allocate(0, Origin); in TEST() local
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_gfx_mem.cpp129 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/
Dguarded_pool_allocator_posix.cpp47 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()
/external/pdfium/third_party/lcms/src/
Dcmstypes.c367 cmsBool Type_XYZ_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr, cmsUInt3… in Type_XYZ_Write()
376 void* Type_XYZ_Dup(struct _cms_typehandler_struct* self, const void *Ptr, cmsUInt32Number n) in Type_XYZ_Dup()
384 void Type_XYZ_Free(struct _cms_typehandler_struct* self, void *Ptr) in Type_XYZ_Free()
464 cmsBool Type_Chromaticity_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr,… in Type_Chromaticity_Write()
482 void* Type_Chromaticity_Dup(struct _cms_typehandler_struct* self, const void *Ptr, cmsUInt32Number … in Type_Chromaticity_Dup()
490 void Type_Chromaticity_Free(struct _cms_typehandler_struct* self, void* Ptr) in Type_Chromaticity_Free()
537 …OrderType_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr, cmsUInt32Number… in Type_ColorantOrderType_Write()
559 void* Type_ColorantOrderType_Dup(struct _cms_typehandler_struct* self, const void *Ptr, cmsUInt32Nu… in Type_ColorantOrderType_Dup()
568 void Type_ColorantOrderType_Free(struct _cms_typehandler_struct* self, void* Ptr) in Type_ColorantOrderType_Free()
604 cmsBool Type_S15Fixed16_Write(struct _cms_typehandler_struct* self, cmsIOHANDLER* io, void* Ptr, cm… in Type_S15Fixed16_Write()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/function.objects/refwrap/refwrap.invoke/
Drobust_against_adl.pass.cpp17 typedef Holder<Incomplete> *Ptr; typedef
21 Ptr two_args(Ptr p, Ptr) { return p; } in two_args() argument
22 Ptr three_args(Ptr p, Ptr, Ptr) { return p; } in three_args() argument
24 void one_arg_void(Ptr) { } in one_arg_void() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDynamicLibrary.cpp79 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
DFormattedStream.cpp23 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/llvm/include/llvm/Support/
DArrayRecycler.h56 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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DArrayRecycler.h56 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()
DAllocator.h65 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
/external/sfntly/cpp/src/sfntly/port/
Drefcount.h105 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/llvm/lib/Support/
DFormattedStream.cpp24 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()
Draw_ostream.cpp298 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVEGatherScatterLowering.cpp118 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/clang/lib/Sema/
DIdentifierResolver.cpp147 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/
DMemoryLocation.h48 const Value *Ptr; variable
98 : Ptr(Ptr), Size(Size), AATags(AATags) {} in Ptr() function
/external/gwp_asan/gwp_asan/
Dguarded_pool_allocator.cpp34 uintptr_t getPageAddr(uintptr_t Ptr, uintptr_t PageSize) { in getPageAddr()
181 uintptr_t GuardedPoolAllocator::alignUp(uintptr_t Ptr, size_t Alignment) { in alignUp()
191 uintptr_t GuardedPoolAllocator::alignDown(uintptr_t Ptr, size_t Alignment) { in alignDown()
325 void GuardedPoolAllocator::deallocate(void *Ptr) { in deallocate()
376 void GuardedPoolAllocator::preCrashReport(void *Ptr) { in preCrashReport()
429 size_t GuardedPoolAllocator::getSize(const void *Ptr) { in getSize()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Draw_ostream.cpp219 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()

12345678910>>...24