HomeSort by relevance Sort by last modified time
    Searched refs:Slot (Results 1 - 25 of 63) sorted by null

1 2 3

  /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)
55 LiveStacks::getOrCreateInterval(int Slot, const TargetRegisterClass *RC) {
56 assert(Slot >= 0 && "Spill slot indice must be >= 0");
57 SS2IntervalMap::iterator I = S2IMap.find(Slot);
59 I = S2IMap.insert(I, std::make_pair(Slot,
60 LiveInterval(TargetRegisterInfo::index2StackSlot(Slot), 0.0F)));
61 S2RCMap.insert(std::make_pair(Slot, RC))
    [all...]
StackColoring.cpp 17 // 1. Allow merging multiple small slots into a single larger slot at different
67 STATISTIC(StackSlotMerged, "Number of stack slot merged.");
82 /// for a different stack slot.
102 /// Maps liveness intervals for each slot.
119 // We use -1 to denote a uninteresting slot. Place these slots at the end.
240 unsigned Slot = MI.getIndex();
244 const Value *Allocation = MFI->getObjectAllocation(Slot);
251 BlockLiveness[*FI].Begin.set(Slot);
253 if (BlockLiveness[*FI].Begin.test(Slot)) {
257 BlockLiveness[*FI].Begin.reset(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 18 /// Instruction and replaces it with a slot in the stack frame, allocated via
21 /// the alloca inserted to create a stack slot for I.
29 // Create a stack slot to hold the value.
30 AllocaInst *Slot;
32 Slot = new AllocaInst(I.getType(), 0,
36 Slot = new AllocaInst(I.getType(), 0, I.getName()+".reg2mem",
40 // Change all of the users of the instruction to read from the stack slot.
59 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads,
67 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U);
73 // 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/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...]
  /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/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 87 unsigned Slot = 0;
90 if (!Sel->getNameForSlot(Slot).equals(Arg))
92 ++Slot;
  /development/tools/emulator/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_(
  /external/llvm/lib/Bitcode/Reader/
BitcodeReader.h 43 /// The key of this vector is the placeholder constant, the value is the slot
244 /// slot 'Slot'. Increment Slot past the number of slots used in the record.
246 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot,
248 if (Slot == Record.size()) return true;
249 unsigned ValNo = (unsigned)Record[Slot++];
255 } else if (Slot == Record.size()) {
259 unsigned TypeNo = (unsigned)Record[Slot++];
263 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot,
    [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.h 48 /// The key of this vector is the placeholder constant, the value is the slot
243 /// slot 'Slot'. Increment Slot past the number of slots used in the record.
245 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot,
247 if (Slot == Record.size()) return true;
248 unsigned ValNo = (unsigned)Record[Slot++];
254 } else if (Slot == Record.size()) {
258 unsigned TypeNo = (unsigned)Record[Slot++];
262 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
236 /// slot 'Slot'. Increment Slot past the number of slots used in the record.
238 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot,
240 if (Slot == Record.size()) return true;
241 unsigned ValNo = (unsigned)Record[Slot++];
247 } else if (Slot == Record.size()) {
251 unsigned TypeNo = (unsigned)Record[Slot++];
255 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot,
    [all...]
  /frameworks/native/include/gui/
ConsumerBase.h 101 // freeBufferLocked frees up the given buffer slot. If the slot has been
103 // slot. Otherwise it has no effect.
106 // keep per slot. If it is overridden, the derived class's implementation
118 // state they keep (as opposed to per-slot state). If it is overridden,
139 // updates the buffer slot for the buffer returned.
143 // to a slot. If it is overridden the derived class's implementation must
158 // of sync points that must be reached before the buffer in the given slot
159 // may be used after the slot has been released. This should be called by
162 status_t addReleaseFence(int slot, const sp<Fence>& fence)
    [all...]
  /frameworks/base/graphics/java/android/renderscript/
ProgramFragmentFixedFunction.java 153 private class Slot {
156 Slot(EnvMode _env, Format _fmt) {
161 Slot[] mSlots;
235 mSlots = new Slot[MAX_TEXTURE];
249 * @param slot index of the texture to apply the operations on
253 public Builder setTexture(EnvMode env, Format fmt, int slot)
255 if((slot < 0) || (slot >= MAX_TEXTURE)) {
258 mSlots[slot] = new Slot(env, fmt)
    [all...]
  /external/v8/src/
gdb-jit.cc 75 class Slot {
77 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { }
87 Slot<T> at(int i) {
88 return Slot<T>(w_, offset_ + sizeof(T) * i);
104 Slot<T> SlotAt(uintptr_t offset) {
106 return Slot<T>(this, offset);
110 Slot<T> CreateSlotHere() {
115 Slot<T> CreateSlotsHere(uint32_t count) {
174 template<typename T> friend class Slot;
195 virtual void WriteBody(Writer::Slot<THeader> header, Writer* writer)
    [all...]
  /external/clang/lib/CodeGen/
CGExprAgg.cpp 38 /// We want to use 'dest' as the return slot except under two
40 /// - The destination slot requires garbage collection, so we
42 /// - The destination slot is potentially aliased.
232 /// directly into the return value slot. Otherwise, a final move
544 AggValueSlot Slot = EnsureSlot(E->getType());
545 CGF.EmitAggExpr(E->getInitializer(), Slot);
824 // of the LHS might need to create a destination slot. That's fine
825 // with us, and we can safely emit the RHS into the same slot, but
854 // Ensure that we have a slot, but if we already do, remember
    [all...]
  /external/chromium/base/metrics/
stats_table.h 61 // Get the slot id for the calling thread. Returns 0 if no
62 // slot is assigned.
74 // On success, returns the slot id for this thread. On failure,
93 // the counter id and slot id.
152 // Locates a free slot in the table. Returns a number > 0 on success,
187 ThreadLocalStorage::Slot tls_index_;

Completed in 946 milliseconds

1 2 3