/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(); }
|
arm-cc.cpp | 4 const char *Ptr;
|
/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}}
|
fixit-vexing-parse.cpp | 90 typedef void *Ptr; 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}}
|
/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/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/ |
vectorbuffer.cpp | 26 return reinterpret_cast<const TUint8*>(iSucc) - Ptr(); 29 const TUint8* TNodeBuffer::TNode::Ptr() const 52 Mem::Copy(start, aData.Ptr(), aData.Size());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
rv_value.pass.cpp | 59 typedef std::unique_ptr<int, do_nothing> Ptr; 60 typedef std::vector<Ptr> C; 64 c1.push_back(Ptr(x+i)); 67 c2.push_back(Ptr(x+i)); 68 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5)); 69 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/move.iterators/move.iter.ops/move.iter.op.index/ |
difference_type.pass.cpp | 52 typedef std::unique_ptr<int, do_nothing> Ptr; 53 Ptr p[5]; 56 test(p, 3, Ptr(i+3));
|
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); 56 return IsStringPrefix(StringRef(Ptr, Tok.getLength()),
|
/external/llvm/include/llvm/Support/ |
SMLoc.h | 24 const char *Ptr; 26 SMLoc() : Ptr(0) {} 28 bool isValid() const { return Ptr != 0; } 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 != 0; } 66 void* tmp = Ptr; 71 return *static_cast<C*>(Ptr); 74 void* tmp = Ptr; 79 return static_cast<C*>(Ptr); [all...] |
/external/llvm/lib/ExecutionEngine/ |
RTDyldMemoryManager.cpp | 102 void *Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr); 103 if (Ptr) return Ptr; 108 Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr+1); 109 if (Ptr) return Ptr;
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
SmartPtr.h | 26 explicit SmartPtr(T* ptr = (T*)NULL) { 33 m_ptr = ptr; 34 if (ptr) 77 T* Ptr() const {
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/ |
refcount.h | 23 // 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 { 179 Ptr() : p_(NULL) { 184 Ptr(T* pT) : p_(NULL) { 188 Ptr(const Ptr<T>& p) : p_(NULL) { 192 ~Ptr() { 212 T* operator=(const Ptr<T>& p) [all...] |
/external/sfntly/cpp/src/sfntly/port/ |
refcount.h | 23 // 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 { 179 Ptr() : p_(NULL) { 184 Ptr(T* pT) : p_(NULL) { 188 Ptr(const Ptr<T>& p) : p_(NULL) { 192 ~Ptr() { 212 T* operator=(const Ptr<T>& p) [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
SmartPtr.h | 26 explicit SmartPtr(T* ptr = (T*)NULL) { 33 m_ptr = ptr; 34 if (ptr) 77 T* Ptr() const {
|
/external/chromium/base/win/ |
scoped_comptr_unittest.cc | 84 typedef ScopedComPtr<Dummy, &dummy_iid> Ptr; 85 std::vector<Ptr> bleh; 89 Ptr p2(p.get()); 92 Ptr p3 = p2;
|
/external/chromium_org/base/win/ |
scoped_comptr_unittest.cc | 82 typedef ScopedComPtr<Dummy, &dummy_iid> Ptr; 83 std::vector<Ptr> bleh; 87 Ptr p2(p.get()); 90 Ptr p3 = p2;
|
/external/clang/include/clang/AST/ |
DeclAccessPair.h | 31 NamedDecl *Ptr; // we'd use llvm::PointerUnion, but it isn't trivial 43 return (NamedDecl*) (~Mask & (uintptr_t) Ptr); 46 return AccessSpecifier(Mask & (uintptr_t) Ptr); 56 Ptr = reinterpret_cast<NamedDecl*>(uintptr_t(AS) |
|
/external/clang/lib/Format/ |
Encoding.h | 34 const UTF8 *Ptr = reinterpret_cast<const UTF8 *>(Text.begin()); 36 if (::isLegalUTF8String(&Ptr, BufEnd))
|
/external/llvm/lib/Transforms/Scalar/ |
LowerAtomic.cpp | 25 Value *Ptr = CXI->getPointerOperand(); 29 LoadInst *Orig = Builder.CreateLoad(Ptr); 32 Builder.CreateStore(Res, Ptr); 41 Value *Ptr = RMWI->getPointerOperand(); 44 LoadInst *Orig = Builder.CreateLoad(Ptr); 87 Builder.CreateStore(Res, Ptr);
|
/external/llvm/unittests/Support/ |
AllocatorTest.cpp | 145 uintptr_t Ptr = (uintptr_t)Alloc.Allocate(3000, 2048); 147 EXPECT_LE(Ptr + 3000, ((uintptr_t)Slab) + Slab->Size);
|