/external/chromium/base/ |
thread_local_storage_posix.cc | 9 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) 14 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { 26 void ThreadLocalStorage::Slot::Free() { 34 void* ThreadLocalStorage::Slot::Get() const { 39 void ThreadLocalStorage::Slot::Set(void* value) {
|
thread_local_storage.h | 25 class Slot { 27 explicit Slot(TLSDestructorFunc destructor = NULL); 30 // It returns an uninitialized Slot. 31 explicit Slot(base::LinkerInitialized x) {} 33 // Set up the TLS slot. Called by the constructor. 35 // this object. If set to NULL, no cleanup is done for this TLS slot. 39 // Free a previously allocated TLS 'slot'. 40 // If a destructor was set for this slot, removes 45 // Get the thread-local value stored in slot 'slot' [all...] |
thread_local_storage_win.cc | 24 // unallocated TLS slot. 28 // a slot has a destructor, it will be stored in its corresponding 57 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) 62 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { 66 // Grab a new slot. 79 void ThreadLocalStorage::Slot::Free() { 86 void* ThreadLocalStorage::Slot::Get() const { 94 void ThreadLocalStorage::Slot::Set(void* value) { 112 for (int slot = 0; slot < tls_max_; slot++) [all...] |
thread_local_storage_unittest.cc | 21 static ThreadLocalStorage::Slot tls_slot(base::LINKER_INITIALIZED); 59 ThreadLocalStorage::Slot slot; local 60 slot.Set(reinterpret_cast<void*>(123)); 61 int value = reinterpret_cast<intptr_t>(slot.Get());
|
/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);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Exchanger.java | 82 * The basic idea is to maintain a "slot", which is a reference to 85 * slot is null, it CAS'es (compareAndSets) a Node there and waits 87 * sees that the slot is non-null, and so CASes it back to null, 90 * fail because a slot at first appears non-null but is null upon 96 * deteriorates due to CAS contention on the single slot when 102 * fails to CAS in its chosen slot, it picks an alternative slot 104 * CASes into a slot but no other thread arrives, it tries 105 * another, heading toward the zero slot, which always exists even 109 * Waiting: Slot zero is special in that it is the only slot tha 317 Slot slot = arena[index]; local 535 Slot slot = arena[j]; local [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
ProgramFragment.java | 93 private class Slot { 96 Slot(EnvMode _env, Format _fmt) { 101 Slot[] mSlots; 105 mSlots = new Slot[MAX_TEXTURE]; 109 public void setTexture(EnvMode env, Format fmt, int slot) 111 if((slot < 0) || (slot >= MAX_TEXTURE)) { 114 mSlots[slot] = new Slot(env, fmt);
|
/external/v8/src/mips/ |
full-codegen-mips.cc | 56 void FullCodeGenerator::Apply(Expression::Context context, Slot* slot) { 89 MemOperand FullCodeGenerator::EmitSlotSearch(Slot* slot, Register scratch) { 95 void FullCodeGenerator::Move(Register destination, Slot* source) { 100 void FullCodeGenerator::Move(Slot* dst,
|
/external/v8/src/ |
full-codegen.cc | 229 void FullCodeGenSyntaxChecker::VisitSlot(Slot* expr) { 329 } else if (var != NULL && var->slot() != NULL && 330 var->slot()->type() == Slot::LOOKUP) { 331 BAILOUT("call to a lookup slot"); 401 ASSERT(var->slot() != NULL); 402 Slot::Type type = var->slot()->type(); 403 if (type == Slot::LOOKUP) { 404 BAILOUT("CountOperation with lookup slot"); 494 Slot* slot = var->slot(); local 514 Slot* slot = var->slot(); local [all...] |
full-codegen.h | 243 int SlotOffset(Slot* slot); 245 // Emit code to convert a pure value (in a register, slot, as a literal, 250 // Slot cannot have type Slot::LOOKUP. 251 void Apply(Expression::Context context, Slot* slot); 272 void Move(Slot* dst, Register source, Register scratch1, Register scratch2); 273 void Move(Register dst, Slot* source); 275 // Return an operand used to read/write to a known (ie, non-LOOKUP) slot [all...] |
scopes.cc | 191 var->rewrite_ = new Slot(var, Slot::PARAMETER, -1); 535 var->rewrite_ = new Slot(var, Slot::LOOKUP, -1); 772 var->rewrite_ = new Slot(var, Slot::LOCAL, num_stack_slots_++); 777 var->rewrite_ = new Slot(var, Slot::CONTEXT, num_heap_slots_++); 866 (var->slot() != NULL && var->slot()->type() == Slot::CONTEXT)) [all...] |
scopeinfo.cc | 40 Slot* s = (*v)->slot(); 41 Slot* t = (*w)->slot(); 43 // and which may have a NULL slot... - find a better solution... 72 // sorted according to usage, the allocated slot indices may 75 // sort them by context slot index before adding them to the 86 Slot* slot = var->slot(); local [all...] |
variables.cc | 134 Slot* Variable::slot() const { function in class:v8::internal::Variable
|
prettyprinter.cc | 294 void PrettyPrinter::VisitSlot(Slot* node) { 296 case Slot::PARAMETER: 299 case Slot::LOCAL: 302 case Slot::CONTEXT: 305 case Slot::LOOKUP: 999 void AstPrinter::VisitSlot(Slot* node) { 1000 PrintIndented("SLOT "); 1002 case Slot::PARAMETER: 1005 case Slot::LOCAL: 1008 case Slot::CONTEXT [all...] |
codegen.cc | 303 Slot* slot = var->slot(); local 308 if ((slot != NULL && slot->type() == Slot::LOOKUP) || !var->is_global()) { 324 Slot* slot = var->slot(); local 326 if ((slot != NULL && slot->type() == Slot::LOOKUP) || !var->is_global()) [all...] |
/external/chromium/net/base/ |
host_resolver_proc.cc | 132 // multiple times. Initialize the ThreadLocalStorage slot only once. 142 static ThreadLocalStorage::Slot tls_index_ ; 147 // A TLS slot to the TimeTicks for the current thread. 149 ThreadLocalStorage::Slot DnsReloadTimer::tls_index_(base::LINKER_INITIALIZED);
|
/external/v8/src/arm/ |
full-codegen-arm.cc | 93 Slot* slot = scope()->parameter(i)->slot(); local 94 if (slot != NULL && slot->type() == Slot::CONTEXT) { 100 __ mov(r1, Operand(Context::SlotOffset(slot->index()))); 134 // Duplicate the value; move-to-slot operation might clobber registers. 136 Move(arguments->slot(), r0, r1, r2); 137 Slot* dot_arguments_slot 278 Move(result_register(), slot); local 556 Slot* slot = var->slot(); local 693 Slot* slot = var->slot(); local 1029 Slot* slot = var->slot(); local 1047 Slot* slot = var->slot(); local [all...] |
codegen-arm.h | 55 enum Type { UNLOADED = -2, ILLEGAL = -1, SLOT = 0, NAMED = 1, KEYED = 2 }; 75 return (type_ < SLOT) ? 0 : type_; 79 bool is_slot() const { return type_ == SLOT; } 248 MemOperand SlotOperand(Slot* slot, Register tmp); 250 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, 281 // Read a value from a slot and leave it on top of the expression stack. 282 void LoadFromSlot(Slot* slot, TypeofState typeof_state) [all...] |
/cts/tests/src/android/widget/cts/util/ |
ListItemFactory.java | 77 public enum Slot { 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { 104 for (Slot slot : slots) { 105 switch (slot) {
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ListItemFactory.java | 77 public enum Slot { 91 public static View horizontalButtonSlots(Context context, int desiredHeight, Slot... slots) { 104 for (Slot slot : slots) { 105 switch (slot) {
|
/external/v8/src/ia32/ |
full-codegen-ia32.cc | 93 Slot* slot = scope()->parameter(i)->slot(); local 94 if (slot != NULL && slot->type() == Slot::CONTEXT) { 100 int context_offset = Context::SlotOffset(slot->index()); 133 Move(arguments->slot(), eax, ebx, edx); 134 Slot* dot_arguments_slot = 135 scope()->arguments_shadow()->AsVariable()->slot(); 272 Move(result_register(), slot); local 278 Move(result_register(), slot); local 670 Slot* slot = var->slot(); local 804 Slot* slot = var->slot(); local 1146 Slot* slot = var->slot(); local [all...] |
codegen-ia32.h | 55 enum Type { UNLOADED = -2, ILLEGAL = -1, SLOT = 0, NAMED = 1, KEYED = 2 }; 75 return (type_ < SLOT) ? 0 : type_; 79 bool is_slot() const { return type_ == SLOT; } 93 // Like GetValue except that the slot is expected to be written to before 399 Operand SlotOperand(Slot* slot, Register tmp); 401 Operand ContextSlotOperandCheckExtensions(Slot* slot, 422 // Read a value from a slot and leave it on top of the expression stack. 423 Result LoadFromSlot(Slot* slot, TypeofState typeof_state) [all...] |
/external/v8/src/x64/ |
full-codegen-x64.cc | 93 Slot* slot = scope()->parameter(i)->slot(); local 94 if (slot != NULL && slot->type() == Slot::CONTEXT) { 100 int context_offset = Context::SlotOffset(slot->index()); 136 Move(arguments->slot(), rax, rbx, rdx); 137 Slot* dot_arguments_slot = 138 scope()->arguments_shadow()->AsVariable()->slot(); 278 Move(result_register(), slot); local 284 Move(result_register(), slot); local 672 Slot* slot = var->slot(); local 807 Slot* slot = var->slot(); local 1140 Slot* slot = var->slot(); local [all...] |
codegen-x64.h | 55 enum Type { UNLOADED = -2, ILLEGAL = -1, SLOT = 0, NAMED = 1, KEYED = 2 }; 76 return (type_ < SLOT) ? 0 : type_; 80 bool is_slot() const { return type_ == SLOT; } 94 // Like GetValue except that the slot is expected to be written to before 400 Operand SlotOperand(Slot* slot, Register tmp); 402 Operand ContextSlotOperandCheckExtensions(Slot* slot, 423 // Read a value from a slot and leave it on top of the expression stack. 424 void LoadFromSlot(Slot* slot, TypeofState typeof_state) [all...] |