Searched defs:Ptr (Results 1 - 25 of 208) 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.cpp28 unique_ptr<C> Ptr; member in class:C
/external/llvm/lib/Support/
H A DSmallPtrSet.cpp37 bool SmallPtrSetImplBase::insert_imp(const void * Ptr) { argument
42 if (*APtr == Ptr)
47 SmallArray[NumElements++] = Ptr;
63 const void **Bucket = const_cast<const void**>(FindBucketFor(Ptr));
64 if (*Bucket == Ptr) return false; // Already inserted, good.
69 *Bucket = Ptr;
74 bool SmallPtrSetImplBase::erase_imp(const void * Ptr) {
79 if (*APtr == Ptr) {
91 void **Bucket = const_cast<void**>(FindBucketFor(Ptr));
92 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.cpp23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { argument
29 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) {
31 switch (*Ptr) {
47 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { argument
51 if (Ptr <= Scanned && Scanned <= Ptr + Size)
54 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr));
56 UpdatePosition(Position, Ptr, Siz
75 write_impl(const char *Ptr, size_t Size) argument
[all...]
H A DTwine.cpp58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, argument
64 Ptr.twine->print(OS);
67 OS << Ptr.cString;
70 OS << *Ptr.stdString;
73 OS << *Ptr.stringRef;
76 OS << Ptr.character;
79 OS << Ptr.decUI;
82 OS << Ptr.decI;
85 OS << *Ptr.decUL;
88 OS << *Ptr
102 printOneChildRepr(raw_ostream &OS, Child Ptr, NodeKind Kind) const argument
[all...]
/external/libcxx/test/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/llvm/lib/Analysis/
H A DLibCallSemantics.cpp23 static StringMap<const LibCallFunctionInfo*> *getMap(void *Ptr) { argument
24 return static_cast<StringMap<const LibCallFunctionInfo*> *>(Ptr);
/external/llvm/include/llvm/Analysis/
H A DValueTracking.h122 Value *GetPointerBaseWithConstantOffset(Value *Ptr, int64_t &Offset,
125 GetPointerBaseWithConstantOffset(const Value *Ptr, int64_t &Offset, argument
127 return GetPointerBaseWithConstantOffset(const_cast<Value*>(Ptr), Offset,TD);
/external/chromium_org/third_party/WebKit/Source/platform/heap/
H A DHeapTerminatedArray.h32 typedef RawPtr<HeapTerminatedArray> Ptr; typedef in struct:blink::HeapTerminatedArray::Allocator
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dcondition_variable_native_win.h22 void* Ptr; member in struct:webrtc::RTL_CONDITION_VARIABLE_
/external/libcxx/test/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/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...]
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/
H A Dvectorbuffer.cpp26 return reinterpret_cast<const TUint8*>(iSucc) - Ptr();
29 const TUint8* TNodeBuffer::TNode::Ptr() const function in class:TNodeBuffer::TNode
52 Mem::Copy(start, aData.Ptr(), aData.Size());
/external/chromium_org/third_party/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/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/chromium_org/base/win/
H A Dscoped_comptr_unittest.cc82 typedef ScopedComPtr<Dummy, &dummy_iid> Ptr; typedef
83 std::vector<Ptr> bleh;
87 Ptr p2(p.get());
90 Ptr p3 = p2;
/external/libcxx/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/
H A Drv_value.pass.cpp60 typedef std::unique_ptr<int, do_nothing> Ptr; typedef
61 typedef std::vector<Ptr> C;
65 c1.push_back(Ptr(x+i));
68 c2.push_back(Ptr(x+i));
69 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5));
70 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(
[all...]

Completed in 1362 milliseconds

123456789