Searched refs:Ptr (Results 1 - 25 of 507) 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
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...]
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/llvm/lib/Support/
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 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.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...]
H A DManagedStatic.cpp38 if (!Ptr) {
48 Ptr = tmp;
57 assert(!Ptr && !DeleterFn && !Next &&
59 Ptr = Creator();
77 DeleterFn(Ptr);
80 Ptr = nullptr;
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);
/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...]
/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/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/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macwm.c88 static Ptr CopyGammaTable (GammaTblPtr pTableGammaIn)
100 BlockMove( (Ptr)pTableGammaIn, (Ptr)pTableGammaOut, tableSize); /* move everything */
102 return (Ptr)pTableGammaOut; /* return whatever we allocated, could be NULL */
116 *(Ptr *)cParam.csParam = (Ptr) &DeviceGammaRec; /* record for gamma */
125 static Ptr GetDeviceGamma (GDHandle hGD)
135 return (Ptr) pTableGammaReturn;
138 static void DisposeGammaTable (Ptr pGamma)
141 DisposePtr((Ptr) pGamm
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Dsubsetter.cc46 Ptr<FontSourcedInfoBuilder> info_builder =
49 Ptr<FontInfo> font_info;
60 Ptr<FontAssembler> font_assembler = new FontAssembler(font_info,
62 Ptr<Font> font_subset;
H A Dsubsetter.h21 // Cannot remove this header due to Ptr<T> instantiation issue
36 sfntly::Ptr<sfntly::Font> font_;
37 sfntly::Ptr<CharacterPredicate> predicate_;
/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 DDependentDiagnostic.h126 ddiag_iterator() : Ptr(nullptr) {}
127 explicit ddiag_iterator(DependentDiagnostic *Ptr) : Ptr(Ptr) {} argument
135 reference operator*() const { return Ptr; }
138 assert(Ptr && "attempt to increment past end of diag list");
139 Ptr = Ptr->NextDiagnostic;
150 return Ptr == Other.Ptr;
171 DependentDiagnostic *Ptr; member in class:clang::DeclContext::ddiag_iterator
[all...]
/external/sfntly/cpp/src/sample/subtly/
H A Dsubsetter.cc46 Ptr<FontSourcedInfoBuilder> info_builder =
49 Ptr<FontInfo> font_info;
60 Ptr<FontAssembler> font_assembler = new FontAssembler(font_info,
62 Ptr<Font> font_subset;
H A Dsubsetter.h21 // Cannot remove this header due to Ptr<T> instantiation issue
36 sfntly::Ptr<sfntly::Font> font_;
37 sfntly::Ptr<CharacterPredicate> predicate_;
/external/clang/test/CXX/temp/temp.param/
H A Dp4.cpp11 template<int *Ptr> struct A5;
20 template<void *Ptr> struct A12;
/external/clang/lib/Sema/
H A DIdentifierResolver.cpp144 void *Ptr = Name.getFETokenInfo<void>(); local
146 if (!Ptr) {
153 if (isDeclPtr(Ptr)) {
156 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr);
159 IDI = toIdDeclInfo(Ptr);
169 void *Ptr = Name.getFETokenInfo<void>(); local
171 if (!Ptr) {
176 if (isDeclPtr(Ptr)) {
181 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr);
195 IdDeclInfo *IDI = toIdDeclInfo(Ptr);
210 void *Ptr = Name.getFETokenInfo<void>(); local
229 void *Ptr = Name.getFETokenInfo<void>(); local
294 void *Ptr = Name.getFETokenInfo<void>(); local
387 void *Ptr = Name.getFETokenInfo<void>(); local
[all...]

Completed in 1030 milliseconds

1234567891011>>