/third_party/boost/boost/intrusive/ |
D | pointer_rebind.hpp | 32 template <typename Ptr, typename U> 44 static const bool value = (1 == sizeof(test<Ptr>(0, 0))); 47 template <typename Ptr, typename U> 59 static const bool value = (1 == sizeof(test<Ptr>(0, 0))); 62 template <typename Ptr, typename U> 65 static const unsigned int rebind = (unsigned int)pointer_has_rebind<Ptr, U>::value; 66 static const unsigned int rebind_other = (unsigned int)pointer_has_rebind_other<Ptr, U>::value; 73 template <typename Ptr, typename U, unsigned int RebindMode> 78 template <typename Ptr, typename U> 79 struct pointer_rebinder< Ptr, U, 2u > [all …]
|
D | pointer_traits.hpp | 67 template <typename Ptr> 73 typedef Ptr pointer; 96 typedef Ptr pointer; 99 ( boost::intrusive::detail::, Ptr, element_type 100 , boost::movelib::detail::first_param<Ptr>) element_type; 103 (boost::intrusive::detail::, Ptr, difference_type, std::ptrdiff_t) difference_type; 106 …(boost::intrusive::detail::, Ptr, reference, typename boost::intrusive::detail::unvoid_ref<element… 110 typedef typename boost::intrusive::pointer_rebind<Ptr, U>::type type; 114 template <class U> using rebind = typename boost::intrusive::pointer_rebind<Ptr, U>::type; 132 <Ptr, Ptr (*)(reference)>::value; in pointer_to() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Twine.cpp | 57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument 63 Ptr.twine->print(OS); in printOneChild() 66 OS << Ptr.cString; in printOneChild() 69 OS << *Ptr.stdString; in printOneChild() 72 OS << *Ptr.stringRef; in printOneChild() 75 OS << *Ptr.smallString; in printOneChild() 78 OS << *Ptr.formatvObject; in printOneChild() 81 OS << Ptr.character; in printOneChild() 84 OS << Ptr.decUI; in printOneChild() 87 OS << Ptr.decI; in printOneChild() [all …]
|
D | FormattedStream.cpp | 23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { in UpdatePosition() argument 29 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) { in UpdatePosition() 31 switch (*Ptr) { in UpdatePosition() 48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { in ComputePosition() argument 52 if (Ptr <= Scanned && Scanned <= Ptr + Size) in ComputePosition() 55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr)); in ComputePosition() 57 UpdatePosition(Position, Ptr, Size); in ComputePosition() 60 Scanned = Ptr + Size; in ComputePosition() 76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() argument 78 ComputePosition(Ptr, Size); in write_impl() [all …]
|
D | DynamicLibrary.cpp | 79 if (void *Ptr = DLSym(Handle, Symbol)) in LibLookup() local 80 return Ptr; in LibLookup() 84 if (void *Ptr = DLSym(Handle, Symbol)) in LibLookup() local 85 return Ptr; in LibLookup() 96 if (void *Ptr = LibLookup(Symbol, Order)) in Lookup() local 97 return Ptr; in Lookup() 101 if (void *Ptr = DLSym(Process, Symbol)) in Lookup() local 102 return Ptr; in Lookup() 106 if (void *Ptr = LibLookup(Symbol, Order)) in Lookup() local 107 return Ptr; in Lookup() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Twine.cpp | 57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument 63 Ptr.twine->print(OS); in printOneChild() 66 OS << Ptr.cString; in printOneChild() 69 OS << *Ptr.stdString; in printOneChild() 72 OS << *Ptr.stringRef; in printOneChild() 75 OS << *Ptr.smallString; in printOneChild() 78 OS << *Ptr.formatvObject; in printOneChild() 81 OS << Ptr.character; in printOneChild() 84 OS << Ptr.decUI; in printOneChild() 87 OS << Ptr.decI; in printOneChild() [all …]
|
D | raw_ostream.cpp | 219 raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) { in write() argument 224 write_impl(Ptr, Size); in write() 229 return write(Ptr, Size); in write() 240 write_impl(Ptr, BytesToWrite); in write() 244 return write(Ptr + BytesToWrite, BytesRemaining); in write() 246 copy_to_buffer(Ptr + BytesToWrite, BytesRemaining); in write() 252 copy_to_buffer(Ptr, NumBytes); in write() 254 return write(Ptr + NumBytes, Size - NumBytes); in write() 257 copy_to_buffer(Ptr, Size); in write() 262 void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) { in copy_to_buffer() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | SMLoc.h | 25 const char *Ptr; variable 28 SMLoc() : Ptr(nullptr) {} in SMLoc() 30 bool isValid() const { return Ptr != nullptr; } in isValid() 32 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 33 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 35 const char *getPointer() const { return Ptr; } in getPointer() 37 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() argument 39 L.Ptr = Ptr; in getFromPointer()
|
D | ManagedStatic.h | 32 static void call(void *Ptr) { delete (T *)Ptr; } in call() 36 static void call(void *Ptr) { delete[](T *)Ptr; } 52 mutable std::atomic<void *> Ptr{}; 58 mutable std::atomic<void *> Ptr; 71 bool isConstructed() const { return Ptr != nullptr; } 86 void *Tmp = Ptr.load(std::memory_order_acquire); 90 return *static_cast<C *>(Ptr.load(std::memory_order_relaxed)); 96 void *Tmp = Ptr.load(std::memory_order_acquire); 100 return *static_cast<C *>(Ptr.load(std::memory_order_relaxed));
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | SMLoc.h | 24 const char *Ptr = nullptr; variable 29 bool isValid() const { return Ptr != nullptr; } in isValid() 31 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 32 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 34 const char *getPointer() const { return Ptr; } in getPointer() 36 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() argument 38 L.Ptr = Ptr; in getFromPointer()
|
D | ManagedStatic.h | 29 static void call(void *Ptr) { delete (T *)Ptr; } in call() 32 static void call(void *Ptr) { delete[](T *)Ptr; } 52 mutable std::atomic<void *> Ptr{}; 58 mutable std::atomic<void *> Ptr; 71 bool isConstructed() const { return Ptr != nullptr; } 87 void *Tmp = Ptr.load(std::memory_order_acquire); 91 return *static_cast<C *>(Ptr.load(std::memory_order_relaxed)); 97 void *Tmp = Ptr.load(std::memory_order_acquire); 101 return *static_cast<C *>(Ptr.load(std::memory_order_relaxed)); 109 return static_cast<C *>(Ptr.exchange(nullptr));
|
D | ArrayRecycler.h | 56 void push(unsigned Idx, T *Ptr) { in push() argument 57 assert(Ptr && "Cannot recycle NULL pointer"); in push() 58 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr); in push() 63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push() 106 while (T *Ptr = pop(Bucket.size() - 1)) in clear() local 107 Allocator.Deallocate(Ptr); in clear() 127 if (T *Ptr = pop(Cap.getBucket())) in allocate() local 128 return Ptr; in allocate() 137 void deallocate(Capacity Cap, T *Ptr) { in deallocate() argument 138 push(Cap.getBucket(), Ptr); in deallocate()
|
/third_party/boost/boost/python/converter/ |
D | arg_to_python.hpp | 66 template <class Ptr> 70 pointer_deep_arg_to_python(Ptr); 73 template <class Ptr> 77 pointer_shallow_arg_to_python(Ptr); 79 static PyObject* get_object(Ptr p); 209 template <class Ptr> 210 inline pointer_deep_arg_to_python<Ptr>::pointer_deep_arg_to_python(Ptr x) in pointer_deep_arg_to_python() 211 : arg_to_python_base(x, registered_pointee<Ptr>::converters) in pointer_deep_arg_to_python() 213 detail::reject_raw_object_ptr((Ptr)0); in pointer_deep_arg_to_python() 235 template <class Ptr> [all …]
|
/third_party/json/test/thirdparty/Fuzzer/test/ |
D | TraceMallocTest.cpp | 11 int *Ptr; variable 16 delete Ptr; in LLVMFuzzerTestOneInput() 17 Ptr = nullptr; in LLVMFuzzerTestOneInput() 19 delete Ptr; in LLVMFuzzerTestOneInput() 20 Ptr = new int; in LLVMFuzzerTestOneInput() 22 if (!Ptr) in LLVMFuzzerTestOneInput() 23 Ptr = new int; in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVEGatherScatterLowering.cpp | 78 void lookThroughBitcast(Value *&Ptr); 82 Value *checkGEP(Value *&Offsets, Type *Ty, Value *Ptr, IRBuilder<> Builder); 86 Value *tryCreateMaskedGatherOffset(IntrinsicInst *I, Value *Ptr, 89 Value *tryCreateMaskedGatherBase(IntrinsicInst *I, Value *Ptr, 118 Value *MVEGatherScatterLowering::checkGEP(Value *&Offsets, Type *Ty, Value *Ptr, in checkGEP() argument 120 GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr); in checkGEP() 163 void MVEGatherScatterLowering::lookThroughBitcast(Value *&Ptr) { in lookThroughBitcast() argument 165 if (auto *BitCast = dyn_cast<BitCastInst>(Ptr)) { in lookThroughBitcast() 170 Ptr = BitCast->getOperand(0); in lookThroughBitcast() 183 Value *Ptr = I->getArgOperand(0); in lowerGather() local [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | CLContextImpl.h | 23 using Ptr = std::unique_ptr<CLContextImpl>; 30 virtual CLCommandQueueImpl::Ptr createCommandQueue(const cl::CommandQueue &commandQueue, 33 virtual CLMemoryImpl::Ptr createBuffer(const cl::Buffer &buffer, 38 virtual CLMemoryImpl::Ptr createImage(const cl::Image &image, 51 virtual CLSamplerImpl::Ptr createSampler(const cl::Sampler &sampler, cl_int &errorCode) = 0; 53 virtual CLProgramImpl::Ptr createProgramWithSource(const cl::Program &program, 57 virtual CLProgramImpl::Ptr createProgramWithIL(const cl::Program &program, 62 virtual CLProgramImpl::Ptr createProgramWithBinary(const cl::Program &program, 68 virtual CLProgramImpl::Ptr createProgramWithBuiltInKernels(const cl::Program &program, 72 virtual CLProgramImpl::Ptr linkProgram(const cl::Program &program, [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstrInfo.cpp | 33 const Value *Ptr = MMO->getValue(); in isUniformMMO() local 38 if (!Ptr || isa<UndefValue>(Ptr) || in isUniformMMO() 39 isa<Constant>(Ptr) || isa<GlobalValue>(Ptr)) in isUniformMMO() 45 if (const Argument *Arg = dyn_cast<Argument>(Ptr)) in isUniformMMO() 48 const Instruction *I = dyn_cast<Instruction>(Ptr); in isUniformMMO()
|
D | AMDGPUAnnotateUniformValues.cpp | 94 const Value *Ptr = Load->getPointerOperand(); in isClobberedInFunction() local 110 auto Q = MDR->getPointerDependencyFrom(MemoryLocation(Ptr), true, in isClobberedInFunction() 124 Value *Ptr = I.getPointerOperand(); in visitLoadInst() local 125 if (!DA->isUniform(Ptr)) in visitLoadInst() 135 Instruction *PtrI = dyn_cast<Instruction>(Ptr); in visitLoadInst() 137 if (isa<Argument>(Ptr) || isa<GlobalValue>(Ptr)) { in visitLoadInst() 139 if (noClobberClones.count(Ptr)) { in visitLoadInst() 140 PtrI = noClobberClones[Ptr]; in visitLoadInst() 145 Type::getInt32Ty(Ptr->getContext()), APInt(64, 0)); in visitLoadInst() 148 Ptr->getType()->getPointerElementType(), Ptr, in visitLoadInst() [all …]
|
/third_party/boost/boost/python/ |
D | extract.hpp | 39 template <class Ptr> 42 typedef Ptr result_type; 46 Ptr operator()() const; 212 template <class Ptr> 213 inline extract_pointer<Ptr>::extract_pointer(PyObject* obj) in extract_pointer() 216 obj == Py_None ? 0 : (get_lvalue_from_python)(obj, registered_pointee<Ptr>::converters) in extract_pointer() 221 template <class Ptr> 222 inline bool extract_pointer<Ptr>::check() const in check() 227 template <class Ptr> 228 inline Ptr extract_pointer<Ptr>::operator()() const in operator ()() [all …]
|
D | ptr.hpp | 19 template<class Ptr> class pointer_wrapper 22 typedef Ptr type; 24 explicit pointer_wrapper(Ptr x): p_(x) {} in pointer_wrapper() 25 operator Ptr() const { return p_; } in operator Ptr() 26 Ptr get() const { return p_; } in get() 28 Ptr p_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerArgs.cpp | 121 void markPointerAsGlobal(Value *Ptr); 178 void NVPTXLowerArgs::markPointerAsGlobal(Value *Ptr) { in markPointerAsGlobal() argument 179 if (Ptr->getType()->getPointerAddressSpace() == ADDRESS_SPACE_GLOBAL) in markPointerAsGlobal() 184 if (Argument *Arg = dyn_cast<Argument>(Ptr)) { in markPointerAsGlobal() 189 InsertPt = ++cast<Instruction>(Ptr)->getIterator(); in markPointerAsGlobal() 195 Ptr, PointerType::get(Ptr->getType()->getPointerElementType(), in markPointerAsGlobal() 197 Ptr->getName(), &*InsertPt); in markPointerAsGlobal() 198 Value *PtrInGeneric = new AddrSpaceCastInst(PtrInGlobal, Ptr->getType(), in markPointerAsGlobal() 199 Ptr->getName(), &*InsertPt); in markPointerAsGlobal() 201 Ptr->replaceAllUsesWith(PtrInGeneric); in markPointerAsGlobal() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | SmallPtrSet.h | 125 std::pair<const void *const *, bool> insert_imp(const void *Ptr) { in insert_imp() argument 132 if (Value == Ptr) in insert_imp() 140 *LastTombstone = Ptr; in insert_imp() 148 SmallArray[NumNonEmpty++] = Ptr; in insert_imp() 154 return insert_imp_big(Ptr); in insert_imp() 161 bool erase_imp(const void * Ptr) { in erase_imp() argument 162 const void *const *P = find_imp(Ptr); in erase_imp() 167 assert(*Loc == Ptr && "broken find!"); in erase_imp() 176 const void *const * find_imp(const void * Ptr) const { in find_imp() argument 181 if (*APtr == Ptr) in find_imp() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | invoke.h | 94 template <typename MemFunType, typename C, typename Ptr, typename... Args> 95 struct AcceptImpl<MemFunType C::*, Ptr, Args...> 96 : std::integral_constant<bool, !std::is_base_of<C, Ptr>::value && 100 template <typename MemFun, typename Ptr, typename... Args> 101 static decltype(((*std::declval<Ptr>()).* 103 Invoke(MemFun&& mem_fun, Ptr&& ptr, Args&&... args) { 104 return ((*std::forward<Ptr>(ptr)).* 134 template <typename R, typename C, typename Ptr> 135 struct AcceptImpl<R C::*, Ptr> 136 : std::integral_constant<bool, !std::is_base_of<C, Ptr>::value && [all …]
|
/third_party/abseil-cpp/absl/base/internal/ |
D | invoke.h | 94 template <typename MemFunType, typename C, typename Ptr, typename... Args> 95 struct AcceptImpl<MemFunType C::*, Ptr, Args...> 96 : std::integral_constant<bool, !std::is_base_of<C, Ptr>::value && 100 template <typename MemFun, typename Ptr, typename... Args> 101 static decltype(((*std::declval<Ptr>()).* 103 Invoke(MemFun&& mem_fun, Ptr&& ptr, Args&&... args) { 104 return ((*std::forward<Ptr>(ptr)).* 134 template <typename R, typename C, typename Ptr> 135 struct AcceptImpl<R C::*, Ptr> 136 : std::integral_constant<bool, !std::is_base_of<C, Ptr>::value && [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/ |
D | PtrState.cpp | 229 const Value *Ptr, in HandlePotentialAlterRefCount() argument 235 if (!CanAlterRefCount(Inst, Ptr, PA, Class)) in HandlePotentialAlterRefCount() 239 << *Ptr << "\n"); in HandlePotentialAlterRefCount() 257 const Value *Ptr, in HandlePotentialUse() argument 289 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse() 291 << *Ptr << "\n"); in HandlePotentialUse() 295 << "; " << *Ptr << "\n"); in HandlePotentialUse() 299 if (CanUse(Call, Ptr, PA, GetBasicARCInstKind(Call))) { in HandlePotentialUse() 301 << *Ptr << "\n"); in HandlePotentialUse() 307 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse() [all …]
|