Home
last modified time | relevance | path

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

12345678910>>...17

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A 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 …]
H A Dchunk.h91 inline AtomicPackedHeader *getAtomicHeader(void *Ptr) { in getAtomicHeader() argument
96 inline const AtomicPackedHeader *getConstAtomicHeader(const void *Ptr) { in getConstAtomicHeader() argument
104 static inline u16 computeHeaderChecksum(u32 Cookie, const void *Ptr, in computeHeaderChecksum() argument
114 inline void storeHeader(u32 Cookie, void *Ptr, in storeHeader() argument
122 inline void loadHeader(u32 Cookie, const void *Ptr, in loadHeader() argument
131 compareExchangeHeader(u32 Cookie,void * Ptr,UnpackedHeader * NewUnpackedHeader,UnpackedHeader * OldUnpackedHeader) compareExchangeHeader() argument
144 isValid(u32 Cookie,const void * Ptr,UnpackedHeader * NewUnpackedHeader) isValid() argument
[all...]
H A Dreport.cpp147 void NORETURN reportDeleteSizeMismatch(void *Ptr, uptr Size, in reportMisalignedPointer() argument
77 reportHeaderCorruption(void * Ptr) reportHeaderCorruption() argument
85 reportHeaderRace(void * Ptr) reportHeaderRace() argument
141 reportInvalidChunkState(AllocatorAction Action,void * Ptr) reportInvalidChunkState() argument
155 reportDeallocTypeMismatch(AllocatorAction Action,void * Ptr,u8 TypeA,u8 TypeB) reportDeallocTypeMismatch() argument
164 reportDeleteSizeMismatch(void * Ptr,uptr Size,uptr ExpectedSize) reportDeleteSizeMismatch() argument
[all...]
H A Dcombined.h92 void *Ptr = Cache.allocate(QuarantineClassId); in allocate() local
285 ALWAYS_INLINE void *getHeaderTaggedPointer(void *Ptr) { in getHeaderTaggedPointer()
297 ALWAYS_INLINE uptr addHeaderTag(uptr Ptr) { in addHeaderTag()
303 ALWAYS_INLINE void *addHeaderTag(void *Ptr) { in addHeaderTag()
321 uptr computeOddEvenMaskForPointerMaybe(const Options &Options, uptr Ptr, in computeOddEvenMaskForPointerMaybe()
350 if (void *Ptr = GuardedAlloc.allocate(Size, Alignment)) { variable
749 uptr getUsableSize(const void *Ptr) { in getUsableSize()
756 uptr getAllocSize(const void *Ptr) { in getAllocSize()
783 bool isOwned(const void *Ptr) { in isOwned()
978 atomic_uptr Ptr; member
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.h64 inline u8 *GetShadowAddrFor(u8 *Ptr) { in GetShadowAddrFor()
70 inline const u8 *GetShadowAddrFor(const u8 *Ptr) { in GetShadowAddrFor()
75 inline u8 *GetShadowTypeAddrFor(u8 *Ptr) { in GetShadowTypeAddrFor()
81 inline const u8 *GetShadowTypeAddrFor(const u8 *Ptr) { in GetShadowTypeAddrFor()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallPtrSet.h127 std::pair<const void *const *, bool> insert_imp(const void *Ptr) { in insert_imp()
152 bool erase_imp(const void * Ptr) { in erase_imp()
180 const void *const * find_imp(const void * Ptr) const { in find_imp()
344 std::pair<iterator, bool> insert(PtrType Ptr) { in insert()
352 iterator insert(iterator, PtrType Ptr) { in insert()
361 bool erase(PtrType Ptr) { in erase()
383 PtrType Ptr = PtrTraits::getFromVoidPointer(const_cast<void *>(*APtr)); in remove_if() local
400 PtrType Ptr = PtrTraits::getFromVoidPointer(const_cast<void *>(Value)); in remove_if() local
412 size_type count(ConstPtrType Ptr) const { in count()
415 iterator find(ConstPtrType Ptr) const { in find()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFWriter.cpp56 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()); in writeHeaders() local
76 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + in writeSections() local
83 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + in writeSections() local
94 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + in writeSymbolStringTable() local
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
H A 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()
H A Dguarded_pool_allocator_fuchsia.cpp38 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()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp125 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckActive()
157 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary()
177 static bool CheckGlobal(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckGlobal()
248 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckExtern()
263 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckArray()
271 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLive()
335 static bool CheckConstant(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckConstant()
341 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckNull()
352 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckRange()
362 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckRange()
[all …]
H A DInterp.h718 bool IncDecHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in IncDecHelper()
777 const Pointer &Ptr = S.Stk.pop<Pointer>(); in Inc() local
789 const Pointer &Ptr = S.Stk.pop<Pointer>(); in IncPop() local
802 const Pointer &Ptr = S.Stk.pop<Pointer>(); in Dec() local
814 const Pointer &Ptr = S.Stk.pop<Pointer>(); in DecPop() local
822 bool IncDecFloatHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in IncDecFloatHelper()
842 const Pointer &Ptr = S.Stk.pop<Pointer>(); in Incf() local
850 const Pointer &Ptr = S.Stk.pop<Pointer>(); in IncfPop() local
858 const Pointer &Ptr = S.Stk.pop<Pointer>(); in Decf() local
866 const Pointer &Ptr = S.Stk.pop<Pointer>(); in DecfPop() local
[all …]
H A DDescriptor.cpp23 static void ctorTy(Block *, std::byte *Ptr, bool, bool, bool, in ctorTy()
29 static void dtorTy(Block *, std::byte *Ptr, const Descriptor *) { in dtorTy()
42 static void ctorArrayTy(Block *, std::byte *Ptr, bool, bool, bool, in ctorArrayTy()
53 static void dtorArrayTy(Block *, std::byte *Ptr, const Descriptor *D) { in dtorArrayTy()
84 static void ctorArrayDesc(Block *B, std::byte *Ptr, bool IsConst, in ctorArrayDesc()
110 static void dtorArrayDesc(Block *B, std::byte *Ptr, const Descriptor *D) { in dtorArrayDesc()
147 static void initField(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, in initField()
164 static void initBase(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, in initBase()
189 static void ctorRecord(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable, in ctorRecord()
199 static void destroyField(Block *B, std::byte *Ptr, const Descriptor *D, in destroyField()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A 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()
H A DAllocator.h223 void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { in Deallocate()
237 std::optional<int64_t> identifyObject(const void *Ptr) { in identifyObject()
263 int64_t identifyKnownObject(const void *Ptr) { in identifyKnownObject()
280 int64_t identifyKnownAlignedObject(const void *Ptr) { in identifyKnownAlignedObject()
369 void *Ptr = PtrAndSize.first; in DeallocateCustomSizedSlabs() local
411 for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) in DestroyAll() local
427 void *Ptr = PtrAndSize.first; in DestroyAll() local
H A DSMLoc.h24 const char *Ptr = nullptr; variable
36 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDynamicLibrary.cpp84 if (void *Ptr = DLSym(Handle, Symbol)) in LibLookup() local
89 if (void *Ptr = DLSym(Handle, Symbol)) in LibLookup() local
101 if (void *Ptr = LibLookup(Symbol, Order)) in Lookup() local
106 if (void *Ptr = DLSym(Process, Symbol)) in Lookup() local
111 if (void *Ptr = LibLookup(Symbol, Order)) in Lookup() local
230 if (void *Ptr = G.OpenedHandles.Lookup(SymbolName, SearchOrder)) in SearchForAddressOfSymbol() local
232 if (void *Ptr = G.OpenedTemporaryHandles.Lookup(SymbolName, SearchOrder)) in SearchForAddressOfSymbol() local
H A DFormattedStream.cpp26 void formatted_raw_ostream::UpdatePosition(const char *Ptr, size_t Size) { in UpdatePosition() argument
96 ComputePosition(const char * Ptr,size_t Size) ComputePosition() argument
124 write_impl(const char * Ptr,size_t Size) write_impl() argument
[all...]
H A DConvertEBCDIC.cpp73 const unsigned char *Ptr = in convertToEBCDIC() local
106 const unsigned char *Ptr = in convertToUTF8() local
H A Draw_ostream.cpp247 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) { in write()
290 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) { in copy_to_buffer()
738 void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl()
828 void raw_fd_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl()
940 ssize_t raw_fd_stream::read(char *Ptr, size_t Size) { in read()
958 void raw_string_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl()
968 void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl()
972 void raw_svector_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl()
994 void raw_null_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl()
1001 void raw_null_ostream::pwrite_impl(const char *Ptr, size_t Size, in pwrite_impl()
H A DTwine.cpp57 printOneChild(raw_ostream & OS,Child Ptr,NodeKind Kind) const printOneChild() argument
104 printOneChildRepr(raw_ostream & OS,Child Ptr,NodeKind Kind) const printOneChildRepr() argument
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp34 uintptr_t getPageAddr(uintptr_t Ptr, uintptr_t PageSize) { in getPageAddr()
184 uintptr_t GuardedPoolAllocator::alignUp(uintptr_t Ptr, size_t Alignment) { in alignUp()
194 uintptr_t GuardedPoolAllocator::alignDown(uintptr_t Ptr, size_t Alignment) { in alignDown()
328 void GuardedPoolAllocator::deallocate(void *Ptr) { in deallocate()
379 void GuardedPoolAllocator::preCrashReport(void *Ptr) { in preCrashReport()
432 size_t GuardedPoolAllocator::getSize(const void *Ptr) { in getSize()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h55 void operator delete(void *Ptr) { User::operator delete(Ptr); } in delete()
81 void operator delete(void *Ptr) { User::operator delete(Ptr); } in delete()
108 void operator delete(void *Ptr) { User::operator delete(Ptr); } in delete()
136 void operator delete(void *Ptr) { User::operator delete(Ptr); } in delete()
172 void operator delete(void *Ptr) { return User::operator delete(Ptr); } in delete()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DExternalPreprocessorSource.h53 mutable uint64_t Ptr = 0; variable
58 explicit LazyIdentifierInfoPtr(const IdentifierInfo *Ptr) in LazyIdentifierInfoPtr()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp255 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()); in writeHeaders() local
317 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + in writeSections() local
347 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + in writeSymbolStringTables() local
435 uint8_t *Ptr = reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + in patchDebugDirectory() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DPtrState.cpp227 const Value *Ptr, in HandlePotentialAlterRefCount()
254 const Value *Ptr, in HandlePotentialUse()
378 Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA, in HandlePotentialAlterRefCount()
416 void TopDownPtrState::HandlePotentialUse(Instruction *Inst, const Value *Ptr, in HandlePotentialUse()

12345678910>>...17