/external/llvm/lib/Support/ |
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/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAnnotateUniformValues.cpp | 77 Value *Ptr = I.getPointerOperand(); local 78 if (!DA->isUniform(Ptr)) 81 if (Instruction *PtrI = dyn_cast<Instruction>(Ptr))
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 342 /// CHAIN = STBRX CHAIN, GPRC, Ptr, Type - This is a 344 /// the GPRC input, then stores it through Ptr. Type can be either i16 or 348 /// GPRC, CHAIN = LBRX CHAIN, Ptr, Type - This is a 358 /// GPRC, CHAIN = LFIWAX CHAIN, Ptr - This is a floating-point 363 /// GPRC, CHAIN = LFIWZX CHAIN, Ptr - This is a floating-point 368 /// VSRC, CHAIN = LXVD2X_LE CHAIN, Ptr - Occurs only for little endian. 373 /// CHAIN = STXVD2X CHAIN, VSRC, Ptr - Occurs only for little endian. 378 /// QBRC, CHAIN = QVLFSb CHAIN, Ptr 748 SDValue Ptr; member in struct:llvm::PPCTargetLowering::ReuseLoadInfo
|
/external/llvm/lib/Transforms/ObjCARC/ |
H A D | DependencyAnalysis.h | 67 bool CanUse(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA, 72 bool CanAlterRefCount(const Instruction *Inst, const Value *Ptr, 76 /// the reference count of Ptr. Returns false if we can. 77 bool CanDecrementRefCount(const Instruction *Inst, const Value *Ptr, 81 const Value *Ptr, 83 return CanDecrementRefCount(Inst, Ptr, PA, GetARCInstKind(Inst)); 80 CanDecrementRefCount(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA) argument
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | SMLoc.h | 22 const char *Ptr; member in class:llvm::SMLoc 24 SMLoc() : Ptr(0) {} 25 SMLoc(const SMLoc &RHS) : Ptr(RHS.Ptr) {} 27 bool isValid() const { return Ptr != 0; } 29 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 30 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 32 const char *getPointer() const { return Ptr; } 34 getFromPointer(const char *Ptr) argument [all...] |
H A D | ManagedStatic.h | 31 static void call(void * Ptr) { delete (T*)Ptr; } argument 34 static void call(void * Ptr) { delete[] (T*)Ptr; } argument 42 mutable void *Ptr; member in class:llvm::ManagedStaticBase 49 bool isConstructed() const { return Ptr != 0; } 65 void* tmp = Ptr; 69 return *static_cast<C*>(Ptr); 72 void* tmp = Ptr; 76 return static_cast<C*>(Ptr); [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
H A D | Intercept.cpp | 122 void *Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr); local 123 if (Ptr) return Ptr; 128 Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr+1); 129 if (Ptr) return Ptr; 141 if (void *Ptr = getPointerToNamedFunction(Prefix+"$LDBL128", false)) 142 return Ptr; 143 if (void *Ptr = getPointerToNamedFunction(Prefix, false)) 144 return Ptr; [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/ |
H A D | Intercept.cpp | 125 void *Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr); local 126 if (Ptr) return Ptr; 131 Ptr = sys::DynamicLibrary::SearchForAddressOfSymbol(NameStr+1); 132 if (Ptr) return Ptr; 144 if (void *Ptr = getPointerToNamedFunction(Prefix+"$LDBL128", false)) 145 return Ptr; 146 if (void *Ptr = getPointerToNamedFunction(Prefix, false)) 147 return Ptr; [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
H A D | FormattedStream.cpp | 23 static unsigned CountColumns(unsigned Column, const char *Ptr, size_t Size) { argument 27 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) { 29 if (*Ptr == '\n' || *Ptr == '\r') 31 else if (*Ptr == '\t') 41 void formatted_raw_ostream::ComputeColumn(const char *Ptr, size_t Size) { argument 45 if (Ptr <= Scanned && Scanned <= Ptr 70 write_impl(const char *Ptr, size_t Size) argument [all...] |
H A D | Twine.cpp | 58 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/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | SMLoc.h | 25 const char *Ptr; member in class:llvm::SMLoc 28 SMLoc() : Ptr(nullptr) {} 30 bool isValid() const { return Ptr != nullptr; } 32 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 33 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 35 const char *getPointer() const { return Ptr; } 37 static SMLoc getFromPointer(const char *Ptr) { argument 39 L.Ptr [all...] |
H A D | ManagedStatic.h | 32 static void call(void *Ptr) { delete (T *)Ptr; } argument 36 static void call(void *Ptr) { delete[](T *)Ptr; } argument 44 mutable std::atomic<void *> Ptr; member in class:llvm::ManagedStaticBase 52 bool isConstructed() const { return Ptr != nullptr; } 67 void *Tmp = Ptr.load(std::memory_order_acquire); 71 return *static_cast<C *>(Ptr.load(std::memory_order_relaxed)); 77 void *Tmp = Ptr.load(std::memory_order_acquire); 81 return *static_cast<C *>(Ptr [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Twine.cpp | 57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, argument 63 Ptr.twine->print(OS); 66 OS << Ptr.cString; 69 OS << *Ptr.stdString; 72 OS << *Ptr.stringRef; 75 OS << *Ptr.smallString; 78 OS << *Ptr.formatvObject; 81 OS << Ptr.character; 84 OS << Ptr.decUI; 87 OS << Ptr 107 printOneChildRepr(raw_ostream &OS, Child Ptr, NodeKind Kind) const argument [all...] |
/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/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
H A D | rv_value.pass.cpp | 59 typedef std::unique_ptr<int, do_nothing> Ptr; typedef 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( [all...] |
/external/llvm/include/llvm/Support/ |
H A D | ManagedStatic.h | 32 static void call(void *Ptr) { delete (T *)Ptr; } argument 36 static void call(void *Ptr) { delete[](T *)Ptr; } argument 44 mutable std::atomic<void *> Ptr; member in class:llvm::ManagedStaticBase 51 bool isConstructed() const { return Ptr != nullptr; } 66 void *Tmp = Ptr.load(std::memory_order_acquire); 70 return *static_cast<C *>(Ptr.load(std::memory_order_relaxed)); 76 void *Tmp = Ptr.load(std::memory_order_acquire); 80 return *static_cast<C *>(Ptr [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
H A D | PointerIntPair.h | 60 PointerIntPair(PointerTy Ptr, IntType Int) : Value(0) { argument 63 setPointer(Ptr); 76 void setPointer(PointerTy Ptr) { argument 78 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr));
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
H A D | AllocatorTest.cpp | 138 uintptr_t Ptr = (uintptr_t)Alloc.Allocate(3000, 2048); local 140 EXPECT_LE(Ptr + 3000, ((uintptr_t)Slab) + Slab->Size);
|
/external/clang/include/clang/AST/ |
H A D | DeclAccessPair.h | 31 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 D | DeclGroup.h | 129 static DeclGroupRef getFromOpaquePtr(void *Ptr) { argument 131 X.D = static_cast<Decl*>(Ptr);
|
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); local 56 return IsStringPrefix(StringRef(Ptr, Tok.getLength()),
|
/external/compiler-rt/lib/profile/ |
H A D | InstrProfilingUtil.c | 51 uint32_t lprofBoolCmpXchg(void **Ptr, void *OldV, void *NewV) { argument 52 void *R = *Ptr; 54 *Ptr = NewV;
|
/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)); 91 Ptr p = std::make_shared<int>(val);
|