Searched defs:Ptr (Results 1 - 25 of 210) sorted by relevance

123456789

/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}}
H A Dfixit-vexing-parse.cpp90 typedef void *Ptr; typedef
93 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
97 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
/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(); }
H A Darm-cc.cpp4 const char *Ptr; member in class:SMLoc
H A Ddebug-info-template-partial-specialization.cpp30 unique_ptr<C> Ptr; member in class:C
/external/llvm/lib/Support/
H A DSmallPtrSet.cpp38 SmallPtrSetImplBase::insert_imp(const void *Ptr) { argument
43 if (*APtr == Ptr)
48 SmallArray[NumElements++] = Ptr;
65 const void **Bucket = const_cast<const void**>(FindBucketFor(Ptr));
66 if (*Bucket == Ptr)
72 *Bucket = Ptr;
77 bool SmallPtrSetImplBase::erase_imp(const void * Ptr) {
82 if (*APtr == Ptr) {
94 void **Bucket = const_cast<void**>(FindBucketFor(Ptr));
95 if (*Bucket != Ptr) retur
[all...]
H A Dcircular_raw_ostream.cpp18 void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) { argument
20 TheStream->write(Ptr, Size);
28 memcpy(Cur, Ptr, Bytes);
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 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 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...]
/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/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.op.index/
H A Ddifference_type.pass.cpp52 typedef std::unique_ptr<int, do_nothing> Ptr; typedef
53 Ptr p[5];
56 test(p, 3, Ptr(i+3));
/external/llvm/include/llvm/Analysis/
H A DValueTracking.h144 Value *GetPointerBaseWithConstantOffset(Value *Ptr, int64_t &Offset,
147 GetPointerBaseWithConstantOffset(const Value *Ptr, int64_t &Offset, argument
149 return GetPointerBaseWithConstantOffset(const_cast<Value *>(Ptr), Offset,
/external/llvm/include/llvm/Support/
H A DSMLoc.h24 const char *Ptr; member in class:llvm::SMLoc
26 SMLoc() : Ptr(nullptr) {}
28 bool isValid() const { return Ptr != nullptr; }
30 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
31 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
33 const char *getPointer() const { return Ptr; }
35 static SMLoc getFromPointer(const char *Ptr) { argument
37 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...]
/external/llvm/lib/Analysis/
H A DLibCallSemantics.cpp24 static StringMap<const LibCallFunctionInfo*> *getMap(void *Ptr) { argument
25 return static_cast<StringMap<const LibCallFunctionInfo*> *>(Ptr);
/external/llvm/lib/Target/R600/
H A DAMDGPUTargetTransformInfo.cpp46 const Value *Ptr = GEP->getPointerOperand(); local
48 dyn_cast<AllocaInst>(GetUnderlyingObject(Ptr, DL));
/external/llvm/lib/Transforms/ObjCARC/
H A DDependencyAnalysis.h66 bool CanUse(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA,
71 bool CanAlterRefCount(const Instruction *Inst, const Value *Ptr,
75 /// the reference count of Ptr. Returns false if we can.
76 bool CanDecrementRefCount(const Instruction *Inst, const Value *Ptr,
80 const Value *Ptr,
82 return CanDecrementRefCount(Inst, Ptr, PA, GetARCInstKind(Inst));
79 CanDecrementRefCount(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA) argument
/external/sfntly/cpp/src/sfntly/port/
H A Drefcount.h23 // IUnknown (but no QueryInterface). Use a Ptr<> based smart pointer to hold
29 // Ptr<Foo> obj = new Foo(); // ref count = 1
33 // typedef Ptr<Foo> FooPtr; // common short-hand notation
177 class Ptr { class in namespace:sfntly
179 Ptr() : p_(NULL) { function in class:sfntly::Ptr
184 Ptr(T* pT) : p_(NULL) { function in class:sfntly::Ptr
188 Ptr(const Ptr<T>& p) : p_(NULL) { function in class:sfntly::Ptr
192 ~Ptr() {
212 T* operator=(const Ptr<
[all...]
/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/clang/include/clang/AST/
H A DDeclAccessPair.h31 uintptr_t Ptr; // we'd use llvm::PointerUnion, but it isn't trivial member in class:clang::DeclAccessPair
43 return reinterpret_cast<NamedDecl*>(~Mask & Ptr);
46 return AccessSpecifier(Mask & Ptr);
56 Ptr = uintptr_t(AS) | reinterpret_cast<uintptr_t>(D);
H A DDeclGroup.h130 static DeclGroupRef getFromOpaquePtr(void *Ptr) { argument
132 X.D = static_cast<Decl*>(Ptr);

Completed in 709 milliseconds

123456789