/external/clang/test/FixIt/ |
H A D | fixit-vexing-parse-cxx0x.cpp | 12 typedef int *Ptr; typedef 14 Ptr p(); // expected-warning {{function declaration}} expected-note {{replace parentheses with an initializer}}
|
H A D | fixit-vexing-parse.cpp | 90 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 D | atomic.cpp | 4 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 D | arm-cc.cpp | 4 const char *Ptr; member in class:SMLoc
|
H A D | enable_if.cpp | 9 int (*Ptr)(int) = &test5; variable
|
H A D | debug-info-template-partial-specialization.cpp | 30 unique_ptr<C> Ptr; member in class:C
|
/external/llvm/lib/Support/ |
H A D | SmallPtrSet.cpp | 38 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 D | circular_raw_ostream.cpp | 18 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 D | raw_os_ostream.cpp | 26 void raw_os_ostream::write_impl(const char *Ptr, size_t Size) { argument 27 OS.write(Ptr, Size);
|
H A D | FormattedStream.cpp | 24 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 D | Twine.cpp | 51 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 D | pointer.pass.cpp | 23 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 D | const_pointer.pass.cpp | 24 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 D | const_void_pointer.pass.cpp | 25 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 D | void_pointer.pass.cpp | 25 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 D | difference_type.pass.cpp | 52 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 D | SMLoc.h | 24 const char *Ptr; member in class:llvm::SMLoc 27 SMLoc() : Ptr(nullptr) {} 29 bool isValid() const { return Ptr != nullptr; } 31 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 32 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 34 const char *getPointer() const { return Ptr; } 36 static SMLoc getFromPointer(const char *Ptr) { argument 38 L.Ptr [all...] |
H A D | ManagedStatic.h | 32 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/Target/AMDGPU/ |
H A D | AMDGPUAnnotateUniformValues.cpp | 61 Value *Ptr = I.getPointerOperand(); local 62 if (!DA->isUniform(Ptr)) 65 if (Instruction *PtrI = dyn_cast<Instruction>(Ptr))
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 316 /// CHAIN = STBRX CHAIN, GPRC, Ptr, Type - This is a 318 /// the GPRC input, then stores it through Ptr. Type can be either i16 or 322 /// GPRC, CHAIN = LBRX CHAIN, Ptr, Type - This is a 332 /// GPRC, CHAIN = LFIWAX CHAIN, Ptr - This is a floating-point 337 /// GPRC, CHAIN = LFIWZX CHAIN, Ptr - This is a floating-point 342 /// VSRC, CHAIN = LXVD2X_LE CHAIN, Ptr - Occurs only for little endian. 347 /// CHAIN = STXVD2X CHAIN, VSRC, Ptr - Occurs only for little endian. 352 /// QBRC, CHAIN = QVLFSb CHAIN, Ptr 677 SDValue Ptr; member in struct:llvm::PPCTargetLowering::ReuseLoadInfo
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | DependencyAnalysis.h | 66 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/webrtc/webrtc/system_wrappers/source/ |
H A D | condition_variable_native_win.h | 22 void* Ptr; member in struct:webrtc::RTL_CONDITION_VARIABLE_
|
/external/sfntly/cpp/src/sfntly/port/ |
H A D | 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 103 class Ptr; 112 friend class Ptr; 174 class Ptr { class in namespace:sfntly 176 Ptr() : p_(NULL) { function in class:sfntly::Ptr 181 Ptr(T* pT) : p_(NULL) { function in class:sfntly::Ptr 185 Ptr(const Ptr< function in class:sfntly::Ptr [all...] |
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/ |
H A D | race_condition.pass.cpp | 24 typedef std::shared_ptr<int> Ptr; typedef 31 TestRunner(Ptr xx) : x(xx) {} 37 Ptr x2 = x; // increment shared count 39 Ptr x4 = x3.lock(); // increment shared count via lock 44 Ptr x; 47 void run_test(Ptr p) { 84 Ptr p(new int(42)); 90 Ptr p = std::make_shared<int>(42);
|
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
H A D | rv_value.pass.cpp | 61 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...] |