/external/chromium/base/threading/ |
thread_local_storage_posix.cc | 11 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) 17 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { 29 void ThreadLocalStorage::Slot::Free() { 37 void* ThreadLocalStorage::Slot::Get() const { 42 void ThreadLocalStorage::Slot::Set(void* value) {
|
thread_local_storage.h | 29 class BASE_API Slot { 31 explicit Slot(TLSDestructorFunc destructor = NULL); 34 // It returns an uninitialized Slot. 35 explicit Slot(base::LinkerInitialized x) {} 37 // Set up the TLS slot. Called by the constructor. 39 // this object. If set to NULL, no cleanup is done for this TLS slot. 43 // Free a previously allocated TLS 'slot'. 44 // If a destructor was set for this slot, removes 49 // Get the thread-local value stored in slot 'slot' [all...] |
thread_local_storage_win.cc | 26 // unallocated TLS slot. 30 // a slot has a destructor, it will be stored in its corresponding 59 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) 65 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { 69 // Grab a new slot. 82 void ThreadLocalStorage::Slot::Free() { 89 void* ThreadLocalStorage::Slot::Get() const { 97 void ThreadLocalStorage::Slot::Set(void* value) { 115 for (int slot = 0; slot < tls_max_; slot++) [all...] |
thread_local_storage_unittest.cc | 25 static ThreadLocalStorage::Slot tls_slot(LINKER_INITIALIZED); 63 ThreadLocalStorage::Slot slot; local 64 slot.Set(reinterpret_cast<void*>(123)); 65 int value = reinterpret_cast<intptr_t>(slot.Get());
|
/external/llvm/lib/CodeGen/ |
LiveStackAnalysis.cpp | 1 //===-- LiveStackAnalysis.cpp - Live Stack Slot Analysis ------------------===// 10 // This file implements the live stack slot analysis pass. It is analogous to 29 "Live Stack Slot Analysis", false, false) 32 "Live Stack Slot Analysis", false, false) 58 LiveStacks::getOrCreateInterval(int Slot, const TargetRegisterClass *RC) { 59 assert(Slot >= 0 && "Spill slot indice must be >= 0"); 60 SS2IntervalMap::iterator I = S2IMap.find(Slot); 62 I = S2IMap.insert(I, std::make_pair(Slot, 63 LiveInterval(TargetRegisterInfo::index2StackSlot(Slot), 0.0F))) [all...] |
StackColoring.cpp | 17 // 1. Allow merging multiple small slots into a single larger slot at different 75 STATISTIC(StackSlotMerged, "Number of stack slot merged."); 92 /// for a different stack slot. 113 /// Maps liveness intervals for each slot. 130 // We use -1 to denote a uninteresting slot. Place these slots at the end. 177 /// which access that frame slot. 266 unsigned Slot = MI.getIndex(); 270 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot); 272 DEBUG(dbgs()<<"Found a lifetime marker for slot #"<<Slot<< [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveStackAnalysis.h | 1 //===-- LiveStackAnalysis.h - Live Stack Slot Analysis ----------*- C++ -*-===// 10 // This file implements the live stack slot analysis pass. It is analogous to 34 /// S2IMap - Stack slot indices to live interval mapping. 39 /// S2RCMap - Stack slot indices to register class mapping. 57 LiveInterval &getOrCreateInterval(int Slot, const TargetRegisterClass *RC); 59 LiveInterval &getInterval(int Slot) { 60 assert(Slot >= 0 && "Spill slot indice must be >= 0"); 61 SS2IntervalMap::iterator I = S2IMap.find(Slot); 62 assert(I != S2IMap.end() && "Interval does not exist for stack slot"); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListButtonsDiagonalAcrossItems.java | 20 import static android.util.ListItemFactory.Slot; 52 final Slot slot = position == 0 ? Slot.Left : local 53 (position == 1 ? Slot.Middle : Slot.Right); 55 parent.getContext(), desiredHeight, slot);
|
ListHorizontalFocusWithinItemWins.java | 20 import static android.util.ListItemFactory.Slot; 56 context, desiredHeight, Slot.Left, Slot.Right); 59 context, desiredHeight, Slot.Middle);
|
/external/llvm/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 19 /// Instruction and replaces it with a slot in the stack frame, allocated via 22 /// the alloca inserted to create a stack slot for I. 30 // Create a stack slot to hold the value. 31 AllocaInst *Slot; 33 Slot = new AllocaInst(I.getType(), 0, 37 Slot = new AllocaInst(I.getType(), 0, I.getName()+".reg2mem", 41 // Change all of the users of the instruction to read from the stack slot. 60 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, 68 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U); 74 // Insert stores of the computed value into the stack slot. We have to b [all...] |
/external/skia/include/utils/ |
SkJSON.h | 31 struct Slot; 39 * Create a new slot with the specified name and value. The name 47 * Create a new slot with the specified name and value. The name 55 * Create a new slot with the specified name and value. Both parameters 62 * Create a new slot with the specified name and value. The name 68 * Create a new slot with the specified name and value. The name 74 * Create a new slot with the specified name and value. The name 86 * Returns true if a slot matching the name and Type is found. 97 * Finds the first slot matching the name and Type and removes it. 173 Slot* fSlot [all...] |
/external/skia/legacy/include/utils/ |
SkJSON.h | 31 struct Slot; 39 * Create a new slot with the specified name and value. The name 47 * Create a new slot with the specified name and value. The name 55 * Create a new slot with the specified name and value. Both parameters 62 * Create a new slot with the specified name and value. The name 68 * Create a new slot with the specified name and value. The name 74 * Create a new slot with the specified name and value. The name 86 * Returns true if a slot matching the name and Type is found. 97 * Finds the first slot matching the name and Type and removes it. 173 Slot* fSlot [all...] |
/external/llvm/lib/Transforms/IPO/ |
ConstantMerge.cpp | 154 GlobalVariable *&Slot = CMap[Pair]; 159 if (Slot == 0 || IsBetterCannonical(*GV, *Slot)) 160 Slot = GV; 186 GlobalVariable *Slot = CMap[Pair]; 188 if (!Slot || Slot == GV) 191 if (!Slot->hasUnnamedAddr() && !GV->hasUnnamedAddr()) 195 Slot->setUnnamedAddr(false); 198 Replacements.push_back(std::make_pair(GV, Slot)); [all...] |
/external/llvm/lib/Bitcode/Reader/ |
BitcodeReader.h | 43 /// The key of this vector is the placeholder constant, the value is the slot 259 /// slot 'Slot'. Increment Slot past the number of slots used in the record. 261 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot, 263 if (Slot == Record.size()) return true; 264 unsigned ValNo = (unsigned)Record[Slot++]; 273 } else if (Slot == Record.size()) { 277 unsigned TypeNo = (unsigned)Record[Slot++]; 282 /// popValue - Read a value out of the specified record from slot 'Slot' [all...] |
/frameworks/compile/mclinker/lib/Fragment/ |
FGNode.cpp | 36 void FGNode::addSlot(Slot pSlot)
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
FGNode.h | 32 typedef ResolveInfo* Slot; 39 typedef std::vector<Slot> SlotListType; 53 void addSlot(Slot pSlot);
|
FragmentGraph.h | 39 typedef FGNode::Slot Slot; 60 bool connect(Signal pSignal, Slot pSlot); 61 bool connect(FGNode& pFrom, Slot pSlot);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Exchanger.java | 79 * The basic idea is to maintain a "slot", which is a reference to 82 * slot is null, it CAS'es (compareAndSets) a Node there and waits 84 * sees that the slot is non-null, and so CASes it back to null, 87 * fail because a slot at first appears non-null but is null upon 93 * deteriorates due to CAS contention on the single slot when 99 * fails to CAS in its chosen slot, it picks an alternative slot 101 * CASes into a slot but no other thread arrives, it tries 102 * another, heading toward the zero slot, which always exists even 106 * Waiting: Slot zero is special in that it is the only slot tha 316 Slot slot = arena[index]; local 536 Slot slot = arena[j]; local [all...] |
/external/skia/legacy/src/utils/ |
SkJSON.cpp | 53 struct SkJSON::Object::Slot { 54 Slot(const char name[], Type type) { 55 LEAK_CODE(SkDebugf(" slot[%d]\n", gSlotCount++);) 70 ~Slot(); 75 Slot* fNext; 87 SkJSON::Object::Slot::~Slot() { 102 LEAK_CODE(SkASSERT(gSlotCount > 0); SkDebugf("~slot[%d]\n", --gSlotCount);) 200 Slot* slot = fHead local 272 const Slot* slot = this->findSlot(name, kObject); local 283 const Slot* slot = this->findSlot(name, kArray); local 294 const Slot* slot = this->findSlot(name, kString); local 305 const Slot* slot = this->findSlot(name, kInt); local 316 const Slot* slot = this->findSlot(name, kFloat); local 327 const Slot* slot = this->findSlot(name, kBool); local 340 Slot* slot = fHead; local [all...] |
/external/skia/src/utils/ |
SkJSON.cpp | 53 struct SkJSON::Object::Slot { 54 Slot(const char name[], Type type) { 55 LEAK_CODE(SkDebugf(" slot[%d]\n", gSlotCount++);) 70 ~Slot(); 75 Slot* fNext; 87 SkJSON::Object::Slot::~Slot() { 102 LEAK_CODE(SkASSERT(gSlotCount > 0); SkDebugf("~slot[%d]\n", --gSlotCount);) 200 Slot* slot = fHead local 272 const Slot* slot = this->findSlot(name, kObject); local 283 const Slot* slot = this->findSlot(name, kArray); local 294 const Slot* slot = this->findSlot(name, kString); local 305 const Slot* slot = this->findSlot(name, kInt); local 316 const Slot* slot = this->findSlot(name, kFloat); local 327 const Slot* slot = this->findSlot(name, kBool); local 340 Slot* slot = fHead; local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
NoReturnFunctionChecker.cpp | 88 unsigned Slot = 0; 91 if (!Sel->getNameForSlot(Slot).equals(Arg)) 93 ++Slot;
|
/device/generic/goldfish/opengl/system/gralloc/ |
Android.mk | 13 # Need to access the special OPENGL TLS Slot
|
/external/chromium/net/base/ |
dns_reload_timer.cc | 65 // multiple times. Initialize the ThreadLocalStorage slot only once. 75 static base::ThreadLocalStorage::Slot tls_index_ ; 80 // A TLS slot to the TimeTicks for the current thread. 82 base::ThreadLocalStorage::Slot DnsReloadTimer::tls_index_(
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitcodeReader.h | 48 /// The key of this vector is the placeholder constant, the value is the slot 253 /// slot 'Slot'. Increment Slot past the number of slots used in the record. 255 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot, 257 if (Slot == Record.size()) return true; 258 unsigned ValNo = (unsigned)Record[Slot++]; 264 } else if (Slot == Record.size()) { 268 unsigned TypeNo = (unsigned)Record[Slot++]; 272 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, [all...] |
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitcodeReader.h | 48 /// The key of this vector is the placeholder constant, the value is the slot 247 /// slot 'Slot'. Increment Slot past the number of slots used in the record. 249 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot, 251 if (Slot == Record.size()) return true; 252 unsigned ValNo = (unsigned)Record[Slot++]; 258 } else if (Slot == Record.size()) { 262 unsigned TypeNo = (unsigned)Record[Slot++]; 266 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, [all...] |