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

1 2 3 4

  /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...]
  /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...]
  /external/v8/src/
variables.cc 60 Slot* Variable::AsSlot() const {
66 Slot* slot = AsSlot(); local
67 return slot != NULL && slot->IsStackAllocated();
72 Slot* s = AsSlot();
73 return s != NULL && s->type() == Slot::PARAMETER;
78 Slot* s = AsSlot();
79 return s != NULL && s->type() == Slot::LOCAL;
84 Slot* s = AsSlot()
    [all...]
gdb-jit.cc 61 class Slot {
63 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { }
73 Slot<T> at(int i) {
74 return Slot<T>(w_, offset_ + sizeof(T) * i);
90 Slot<T> SlotAt(uintptr_t offset) {
92 return Slot<T>(this, offset);
96 Slot<T> CreateSlotHere() {
101 Slot<T> CreateSlotsHere(uint32_t count) {
160 template<typename T> friend class Slot;
226 void PopulateHeader(Writer::Slot<Header> header, StringTable* strtab)
    [all...]
scopes.cc 178 new Slot(arguments_shadow_, Slot::CONTEXT, arguments_shadow_index));
283 var->set_rewrite(new Slot(var, Slot::PARAMETER, -1));
307 // Assert that there is no local slot with the given name.
310 // Check context slot lookup.
316 var->set_rewrite(new Slot(var, Slot::CONTEXT, index));
338 // Check that there is no local slot with the given name.
342 var->set_rewrite(new Slot(var, Slot::CONTEXT, index))
    [all...]
full-codegen.h 288 // parameter slot.
289 int SlotOffset(Slot* slot);
307 void Move(Slot* dst, Register source, Register scratch1, Register scratch2);
308 void Move(Register dst, Slot* source);
310 // Return an operand used to read/write to a known (ie, non-LOOKUP) slot.
313 MemOperand EmitSlotSearch(Slot* slot, Register scratch);
414 void EmitLoadGlobalSlotCheckExtensions(Slot* slot,
    [all...]
prettyprinter.h 54 virtual void VisitSlot(Slot* node);
89 virtual void VisitSlot(Slot* node);
165 virtual void VisitSlot(Slot* node);
  /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 11 // virtual register computed by an Instruction and replaces it with a slot in
27 /// Instruction and replaces it with a slot in the stack frame, allocated via
30 /// the alloca inserted to create a stack slot for I.
39 // Create a stack slot to hold the value.
40 AllocaInst *Slot;
42 Slot = new AllocaInst(I.getType(), 0,
46 Slot = new AllocaInst(I.getType(), 0, I.getName()+".reg2mem",
50 // Change all of the users of the instruction to read from the stack slot
70 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads,
78 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U)
    [all...]
  /external/llvm/lib/Transforms/IPO/
ConstantMerge.cpp 147 GlobalVariable *&Slot = CMap[Pair];
152 if (Slot == 0 || IsBetterCannonical(*GV, *Slot)) {
153 Slot = GV;
180 GlobalVariable *Slot = CMap[Pair];
182 if (!Slot || Slot == GV)
185 if (!Slot->hasUnnamedAddr() && !GV->hasUnnamedAddr())
189 Slot->setUnnamedAddr(false);
192 Replacements.push_back(std::make_pair(GV, Slot));
    [all...]
  /external/clang/lib/CodeGen/
CGTemporaries.cpp 41 AggValueSlot Slot) {
43 return EmitAnyExpr(E->getSubExpr(), Slot);
  /libcore/luni/src/main/java/java/util/concurrent/
Exchanger.java 80 * The basic idea is to maintain a "slot", which is a reference to
83 * slot is null, it CAS'es (compareAndSets) a Node there and waits
85 * sees that the slot is non-null, and so CASes it back to null,
88 * fail because a slot at first appears non-null but is null upon
94 * deteriorates due to CAS contention on the single slot when
100 * fails to CAS in its chosen slot, it picks an alternative slot
102 * CASes into a slot but no other thread arrives, it tries
103 * another, heading toward the zero slot, which always exists even
107 * Waiting: Slot zero is special in that it is the only slot tha
315 Slot slot = arena[index]; local
535 Slot slot = arena[j]; 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
231 /// slot 'Slot'. Increment Slot past the number of slots used in the record.
233 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot,
235 if (Slot == Record.size()) return true;
236 unsigned ValNo = (unsigned)Record[Slot++];
242 } else if (Slot == Record.size()) {
246 unsigned TypeNo = (unsigned)Record[Slot++];
250 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/base/graphics/java/android/renderscript/
ProgramFragmentFixedFunction.java 117 private class Slot {
120 Slot(EnvMode _env, Format _fmt) {
125 Slot[] mSlots;
198 mSlots = new Slot[MAX_TEXTURE];
211 * @param slot index of the texture to apply the operations on
215 public Builder setTexture(EnvMode env, Format fmt, int slot)
217 if((slot < 0) || (slot >= MAX_TEXTURE)) {
220 mSlots[slot] = new Slot(env, fmt)
    [all...]
  /external/v8/src/mips/
codegen-mips.h 77 enum Type { UNLOADED = -2, ILLEGAL = -1, SLOT = 0, NAMED = 1, KEYED = 2 };
97 return (type_ < SLOT) ? 0 : type_;
101 bool is_slot() const { return type_ == SLOT; }
199 Slot* slot_number,
209 Slot* slot_;
284 TypeInfo type_info(Slot* slot) {
285 int index = NumberOfSlot(slot);
290 TypeInfo set_type_info(Slot* slot, TypeInfo info)
    [all...]
full-codegen-mips.cc 90 void FullCodeGenerator::EffectContext::Plug(Slot* slot) const {
95 void FullCodeGenerator::AccumulatorValueContext::Plug(Slot* slot) const {
100 void FullCodeGenerator::StackValueContext::Plug(Slot* slot) const {
105 void FullCodeGenerator::TestContext::Plug(Slot* slot) const {
246 MemOperand FullCodeGenerator::EmitSlotSearch(Slot* slot, Register scratch)
    [all...]

Completed in 450 milliseconds

1 2 3 4