Searched refs:Ptr (Results 1 - 25 of 792) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Datomic.cpp4 template<typename _Tp> struct Ptr { struct in namespace:PR11411
10 template<typename _Tp> inline void Ptr<_Tp>::f() {
16 void f(Ptr<int> *a) { a->f(); }
/external/clang/test/FixIt/
H A Dfixit-vexing-parse-cxx0x.cpp12 typedef int *Ptr; typedef
14 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
/external/llvm/include/llvm/Support/
H A DSMLoc.h24 const char *Ptr; member in class:llvm::SMLoc
27 SMLoc() : Ptr(nullptr) {}
29 bool isValid() const { return Ptr != nullptr; }
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; }
36 static SMLoc getFromPointer(const char *Ptr) { argument
38 L.Ptr
[all...]
H A DManagedStatic.h32 static void call(void * Ptr) { delete (T*)Ptr; } argument
35 static void call(void * Ptr) { delete[] (T*)Ptr; } argument
43 mutable void *Ptr; member in class:llvm::ManagedStaticBase
50 bool isConstructed() const { return Ptr != nullptr; }
66 void* tmp = Ptr;
71 return *static_cast<C*>(Ptr);
74 void* tmp = Ptr;
79 return static_cast<C*>(Ptr);
[all...]
H A DArrayRecycler.h56 void push(unsigned Idx, T *Ptr) { argument
57 assert(Ptr && "Cannot recycle NULL pointer");
58 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr);
105 while (T *Ptr = pop(Bucket.size() - 1))
106 Allocator.Deallocate(Ptr);
126 if (T *Ptr = pop(Cap.getBucket()))
127 return Ptr;
136 void deallocate(Capacity Cap, T *Ptr) { argument
137 push(Cap.getBucket(), Ptr);
/external/opencv3/modules/core/include/opencv2/core/
H A Dptr.inl.hpp112 Ptr<T>::Ptr() : owner(NULL), stored(NULL) function in class:cv::Ptr
117 Ptr<T>::Ptr(Y* p) function in class:cv::Ptr
126 Ptr<T>::Ptr(Y* p, D d) function in class:cv::Ptr
134 Ptr<T>::Ptr(const Ptr& o) : owner(o.owner), stored(o.stored) function in class:cv::Ptr
141 Ptr< function in class:cv::Ptr
148 Ptr<T>::Ptr(const Ptr<Y>& o, T* p) : owner(o.owner), stored(p) function in class:cv::Ptr
[all...]
H A Doptim.hpp81 virtual Ptr<Function> getFunction() const = 0;
89 virtual void setFunction(const Ptr<Function>& f) = 0;
198 static Ptr<DownhillSolver> create(const Ptr<MinProblemSolver::Function>& f=Ptr<MinProblemSolver::Function>(),
252 static Ptr<ConjGradSolver> create(const Ptr<MinProblemSolver::Function>& f=Ptr<ConjGradSolver::Function>(),
/external/llvm/lib/Support/
H A DFormattedStream.cpp24 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { argument
30 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) {
32 switch (*Ptr) {
48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { argument
52 if (Ptr <= Scanned && Scanned <= Ptr + Size)
55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr));
57 UpdatePosition(Position, Ptr, Siz
76 write_impl(const char *Ptr, size_t Size) argument
[all...]
H A Draw_os_ostream.cpp26 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) { argument
27 OS.write(Ptr, Size);
H A DTwine.cpp51 void Twine::printOneChild(raw_ostream &OS, Child Ptr, argument
57 Ptr.twine->print(OS);
60 OS << Ptr.cString;
63 OS << *Ptr.stdString;
66 OS << *Ptr.stringRef;
69 OS << *Ptr.smallString;
72 OS << Ptr.character;
75 OS << Ptr.decUI;
78 OS << Ptr.decI;
81 OS << *Ptr
98 printOneChildRepr(raw_ostream &OS, Child Ptr, NodeKind Kind) const argument
[all...]
H A DManagedStatic.cpp39 if (!Ptr) {
49 Ptr = tmp;
58 assert(!Ptr && !DeleterFn && !Next &&
60 Ptr = Creator();
78 DeleterFn(Ptr);
81 Ptr = nullptr;
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/
H A Drv_value.pass.cpp61 typedef std::unique_ptr<int, do_nothing> Ptr; typedef
62 typedef std::vector<Ptr> C;
66 c1.push_back(Ptr(x+i));
69 c2.push_back(Ptr(x+i));
70 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5));
71 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(
[all...]
/external/opencv3/modules/superres/include/opencv2/
H A Dsuperres.hpp75 CV_EXPORTS Ptr<FrameSource> createFrameSource_Empty();
77 CV_EXPORTS Ptr<FrameSource> createFrameSource_Video(const String& fileName);
78 CV_EXPORTS Ptr<FrameSource> createFrameSource_Video_CUDA(const String& fileName);
80 CV_EXPORTS Ptr<FrameSource> createFrameSource_Camera(int deviceId = 0);
94 void setInput(const Ptr<FrameSource>& frameSource);
163 virtual Ptr<cv::superres::DenseOpticalFlowExt> getOpticalFlow() const = 0;
165 virtual void setOpticalFlow(const Ptr<cv::superres::DenseOpticalFlowExt> &val) = 0;
170 virtual void initImpl(Ptr<FrameSource>& frameSource) = 0;
171 virtual void processImpl(Ptr<FrameSource>& frameSource, OutputArray output) = 0;
176 Ptr<FrameSourc
[all...]
/external/opencv3/modules/videostab/include/opencv2/videostab/
H A Dstabilizer.hpp71 void setLog(Ptr<ILog> ilog) { log_ = ilog; }
72 Ptr<ILog> log() const { return log_; }
77 void setFrameSource(Ptr<IFrameSource> val) { frameSource_ = val; }
78 Ptr<IFrameSource> frameSource() const { return frameSource_; }
80 void setMotionEstimator(Ptr<ImageMotionEstimatorBase> val) { motionEstimator_ = val; }
81 Ptr<ImageMotionEstimatorBase> motionEstimator() const { return motionEstimator_; }
83 void setDeblurer(Ptr<DeblurerBase> val) { deblurer_ = val; }
84 Ptr<DeblurerBase> deblurrer() const { return deblurer_; }
95 void setInpainter(Ptr<InpainterBase> val) { inpainter_ = val; }
96 Ptr<InpainterBas
[all...]
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Dpointer.pass.cpp23 struct Ptr {}; struct
29 typedef Ptr<T> pointer;
40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), "");
H A Dconst_pointer.pass.cpp24 struct Ptr {}; struct
30 typedef Ptr<T> pointer;
52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::value), "");
H A Dconst_void_pointer.pass.cpp25 struct Ptr {}; struct
31 typedef Ptr<T> pointer;
52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >::value), "");
H A Dvoid_pointer.pass.cpp25 struct Ptr {}; struct
31 typedef Ptr<T> pointer;
52 static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), "");
/external/opencv3/modules/calib3d/src/
H A Drho.h101 Ptr<RHO_HEST> rhoInit(void);
119 int rhoEnsureCapacity(Ptr<RHO_HEST> p, unsigned N, double beta);
134 void rhoSeed(Ptr<RHO_HEST> p, uint64_t seed);
244 unsigned rhoHest(Ptr<RHO_HEST> p, /* Homography estimation context. */
/external/opencv3/modules/stitching/include/opencv2/stitching/
H A Dwarpers.hpp59 virtual Ptr<detail::RotationWarper> create(float scale) const = 0;
68 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::PlaneWarper>(scale); }
77 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::CylindricalWarper>(scale); }
84 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::SphericalWarper>(scale); }
90 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::FisheyeWarper>(scale); }
96 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::StereographicWarper>(scale); }
107 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::CompressedRectilinearWarper>(scale, a, b); }
118 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::CompressedRectilinearPortraitWarper>(scale, a, b); }
129 Ptr<detail::RotationWarper> create(float scale) const { return makePtr<detail::PaniniWarper>(scale, a, b); }
140 Ptr<detai
[all...]
/external/compiler-rt/lib/profile/
H A DInstrProfilingPort.h29 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \
30 (InterlockedCompareExchange64((LONGLONG volatile *)Ptr, (LONGLONG)NewV, \
33 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \
34 (InterlockedCompareExchange((LONG volatile *)Ptr, (LONG)NewV, (LONG)OldV) == \
38 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \
39 __sync_bool_compare_and_swap(Ptr, OldV, NewV)
42 #define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \
43 BoolCmpXchg((void **)Ptr, OldV, NewV)
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/
H A Drace_condition.pass.cpp24 typedef std::shared_ptr<int> Ptr; typedef
31 TestRunner(Ptr xx) : x(xx) {}
37 Ptr x2 = x; // increment shared count
39 Ptr x4 = x3.lock(); // increment shared count via lock
44 Ptr x;
47 void run_test(Ptr p) {
84 Ptr p(new int(42));
90 Ptr p = std::make_shared<int>(42);
/external/clang/include/clang/Sema/
H A DIdentifierResolver.h76 /// Ptr - There are 3 forms that 'Ptr' represents:
77 /// 1) A single NamedDecl. (Ptr & 0x1 == 0)
79 /// same declaration context. (Ptr & 0x3 == 0x1)
81 /// declaration contexts too. (Ptr & 0x3 == 0x3)
82 uintptr_t Ptr; member in class:clang::IdentifierResolver::iterator
85 /// A single NamedDecl. (Ptr & 0x1 == 0)
87 Ptr = reinterpret_cast<uintptr_t>(D);
88 assert((Ptr & 0x1) == 0 && "Invalid Ptr!");
197 isDeclPtr(void *Ptr) argument
202 toIdDeclInfo(void *Ptr) argument
[all...]
/external/opencv3/modules/cudafilters/include/opencv2/
H A Dcudafilters.hpp102 CV_EXPORTS Ptr<Filter> createBoxFilter(int srcType, int dstType, Size ksize, Point anchor = Point(-1,-1),
120 CV_EXPORTS Ptr<Filter> createLinearFilter(int srcType, int dstType, InputArray kernel, Point anchor = Point(-1,-1),
139 CV_EXPORTS Ptr<Filter> createLaplacianFilter(int srcType, int dstType, int ksize = 1, double scale = 1,
159 CV_EXPORTS Ptr<Filter> createSeparableLinearFilter(int srcType, int dstType, InputArray rowKernel, InputArray columnKernel,
180 CV_EXPORTS Ptr<Filter> createDerivFilter(int srcType, int dstType, int dx, int dy,
199 CV_EXPORTS Ptr<Filter> createSobelFilter(int srcType, int dstType, int dx, int dy, int ksize = 3,
216 CV_EXPORTS Ptr<Filter> createScharrFilter(int srcType, int dstType, int dx, int dy,
236 CV_EXPORTS Ptr<Filter> createGaussianFilter(int srcType, int dstType, Size ksize,
261 CV_EXPORTS Ptr<Filter> createMorphologyFilter(int op, int srcType, InputArray kernel, Point anchor = Point(-1, -1), int iterations = 1);
274 CV_EXPORTS Ptr<Filte
[all...]
/external/opencv3/modules/stitching/include/opencv2/
H A Dstitching.hpp134 Ptr<detail::FeaturesFinder> featuresFinder() { return features_finder_; }
135 const Ptr<detail::FeaturesFinder> featuresFinder() const { return features_finder_; }
136 void setFeaturesFinder(Ptr<detail::FeaturesFinder> features_finder)
139 Ptr<detail::FeaturesMatcher> featuresMatcher() { return features_matcher_; }
140 const Ptr<detail::FeaturesMatcher> featuresMatcher() const { return features_matcher_; }
141 void setFeaturesMatcher(Ptr<detail::FeaturesMatcher> features_matcher)
151 Ptr<detail::BundleAdjusterBase> bundleAdjuster() { return bundle_adjuster_; }
152 const Ptr<detail::BundleAdjusterBase> bundleAdjuster() const { return bundle_adjuster_; }
153 void setBundleAdjuster(Ptr<detail::BundleAdjusterBase> bundle_adjuster)
156 Ptr<WarperCreato
[all...]

Completed in 594 milliseconds

1234567891011>>