/external/llvm/include/llvm/Support/ |
SMLoc.h | 24 const char *Ptr; 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) { 37 L.Ptr = Ptr [all...] |
ManagedStatic.h | 32 static void call(void * Ptr) { delete (T*)Ptr; } 35 static void call(void * Ptr) { delete[] (T*)Ptr; } 43 mutable void *Ptr; 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...] |
ArrayRecycler.h | 56 void push(unsigned Idx, T *Ptr) { 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) { 137 push(Cap.getBucket(), Ptr);
|
/external/clang/test/CodeGenCXX/ |
atomic.cpp | 4 template<typename _Tp> struct Ptr { 10 template<typename _Tp> inline void Ptr<_Tp>::f() { 16 void f(Ptr<int> *a) { a->f(); }
|
/external/clang/test/FixIt/ |
fixit-vexing-parse-cxx0x.cpp | 12 typedef int *Ptr; 14 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
|
/external/llvm/lib/Support/ |
FormattedStream.cpp | 24 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { 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) { 52 if (Ptr <= Scanned && Scanned <= Ptr + Size) 55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr)); 57 UpdatePosition(Position, Ptr, Size) [all...] |
raw_os_ostream.cpp | 26 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) { 27 OS.write(Ptr, Size);
|
Twine.cpp | 51 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 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.decUL [all...] |
ManagedStatic.cpp | 38 if (!Ptr) { 48 Ptr = tmp; 57 assert(!Ptr && !DeleterFn && !Next && 59 Ptr = Creator(); 77 DeleterFn(Ptr); 80 Ptr = nullptr;
|
circular_raw_ostream.cpp | 18 void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) { 20 TheStream->write(Ptr, Size); 28 memcpy(Cur, Ptr, Bytes);
|
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
rv_value.pass.cpp | 61 typedef std::unique_ptr<int, do_nothing> Ptr; 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(x+5), c2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
rv_value.pass.cpp | 60 typedef std::unique_ptr<int, do_nothing> Ptr; 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(x+5), c2) [all...] |
/external/clang/include/clang/Sema/ |
IdentifierResolver.h | 76 /// 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; 85 /// A single NamedDecl. (Ptr & 0x1 == 0) 87 Ptr = reinterpret_cast<uintptr_t>(D); 88 assert((Ptr & 0x1) == 0 && "Invalid Ptr!"); [all...] |
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
pointer.pass.cpp | 23 struct Ptr {}; 29 typedef Ptr<T> pointer; 40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), "");
|
const_pointer.pass.cpp | 24 struct Ptr {}; 30 typedef Ptr<T> pointer; 52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::value), "");
|
const_void_pointer.pass.cpp | 25 struct Ptr {}; 31 typedef Ptr<T> pointer; 52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >::value), "");
|
void_pointer.pass.cpp | 25 struct Ptr {}; 31 typedef Ptr<T> pointer; 52 static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/ |
pointer.pass.cpp | 23 struct Ptr {}; 29 typedef Ptr<T> pointer; 40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), "");
|
const_pointer.pass.cpp | 24 struct Ptr {}; 30 typedef Ptr<T> pointer; 52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::value), "");
|
const_void_pointer.pass.cpp | 25 struct Ptr {}; 31 typedef Ptr<T> pointer; 52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >::value), "");
|
void_pointer.pass.cpp | 25 struct Ptr {}; 31 typedef Ptr<T> pointer; 52 static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), "");
|
/external/sfntly/cpp/src/sample/subtly/ |
subsetter.h | 21 // Cannot remove this header due to Ptr<T> instantiation issue 36 sfntly::Ptr<sfntly::Font> font_; 37 sfntly::Ptr<CharacterPredicate> predicate_;
|
font_assembler.h | 60 sfntly::Ptr<FontInfo> font_info_; 61 sfntly::Ptr<sfntly::FontFactory> font_factory_; 62 sfntly::Ptr<sfntly::Font::Builder> font_builder_;
|
/external/clang/include/clang/AST/ |
DependentDiagnostic.h | 126 ddiag_iterator() : Ptr(nullptr) {} 127 explicit ddiag_iterator(DependentDiagnostic *Ptr) : Ptr(Ptr) {} 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; [all...] |
DeclarationName.h | 66 /// upper bits of the Ptr field. This is only used internally. 78 /// Ptr - The lowest two bits are used to express what kind of name 80 /// on the kind of name this is, the upper bits of Ptr may have one 83 /// StoredIdentifier - The name is a normal identifier, and Ptr is 87 /// selector with zero arguments, and Ptr is an IdentifierInfo 91 /// with one argument, and Ptr is an IdentifierInfo pointer 94 /// StoredDeclarationNameExtra - Ptr is actually a pointer to a 98 uintptr_t Ptr; 101 /// Ptr. 103 return static_cast<StoredNameKind>(Ptr & PtrMask) [all...] |