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

1 2

  /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...]
  /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/clang/lib/StaticAnalyzer/Checkers/
NoReturnFunctionChecker.cpp 87 unsigned Slot = 0;
90 if (!Sel->getNameForSlot(Slot).equals(Arg))
92 ++Slot;
  /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...]
  /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...]
  /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/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...]
  /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) {
  /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...]
  /frameworks/compile/libbcc/bcinfo/
MetadataExtractor.cpp 57 // Name of metadata node where RS object slot info resides (should be
162 llvm::StringRef Slot =
165 if (Slot.getAsInteger(10, USlot)) {
166 ALOGE("Non-integer object slot value '%s'", Slot.str().c_str());
459 ALOGE("Could not populate object slot metadata");
  /external/clang/lib/CodeGen/
CGVTables.cpp 374 // Determine whether we have a return value slot to use.
375 ReturnValueSlot Slot;
379 Slot = ReturnValueSlot(ReturnValue, ResultType.isVolatileQualified());
382 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD);
387 if (!ResultType->isVoidType() && Slot.isNull())
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...]
CGBlocks.cpp 739 AggValueSlot Slot =
744 EmitAggExpr(copyExpr, Slot);
    [all...]
CGClass.cpp 455 AggValueSlot Slot =
461 CGF.EmitAggExpr(Init, Slot);
    [all...]
CGExprCXX.cpp 818 AggValueSlot Slot
823 CGF.EmitAggExpr(Init, 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/llvm/include/llvm/CodeGen/
SlotIndexes.h 1 //===- llvm/CodeGen/SlotIndexes.h - Slot indexes representation -*- C++ -*-===//
33 /// This class represents an entry in the slot index list held in the
80 enum Slot {
83 /// def slot of PHI-defs.
86 /// Early-clobber register use/def slot. A live range defined at
88 /// Slot_Register. Also used as the kill slot for live ranges tied to an
92 /// Normal register use/def slot. Normal instructions kill and define
93 /// register live ranges at this slot.
96 /// Dead def kill point. Kill slot for a live range that is defined by
106 SlotIndex(IndexListEntry *entry, unsigned slot)
    [all...]
  /external/llvm/lib/VMCore/
AsmWriter.cpp 300 // SlotTracker Class: Enumerate slot numbers for unnamed values
305 /// This class provides computation of slot numbers for LLVM Assembly writing.
309 /// ValueMap - A mapping of Values to slot numbers.
313 /// TheModule - The module for which we are holding slot numbers.
316 /// TheFunction - The function for which we are holding slot numbers.
320 /// mMap - The slot map for the module level data.
324 /// fMap - The slot map for the function level data.
337 /// Return the slot number of the specified value in it's type
367 /// CreateModuleSlot - Insert the specified GlobalValue* into the slot table.
370 /// CreateMetadataSlot - Insert the specified MDNode* into the slot table
    [all...]
Constants.cpp 428 ConstantInt *&Slot = Context.pImpl->IntConstants[Key];
429 if (!Slot) Slot = new ConstantInt(ITy, V);
430 return Slot;
556 ConstantFP *&Slot = pImpl->FPConstants[Key];
558 if (!Slot) {
575 Slot = new ConstantFP(Ty, V);
578 return Slot;
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcher.h 237 /// ResultNo - The slot number in the RecordedNodes vector that this will be,
268 /// ResultNo - The slot number in the RecordedNodes vector that this will be,
662 /// MatchNumber - This is the recorded nodes slot that contains the node we
669 /// FirstResult - This is the first slot in the RecordedNodes list that the
850 unsigned Slot;
852 EmitConvertToTargetMatcher(unsigned slot)
853 : Matcher(EmitConvertToTarget), Slot(slot) {}
855 unsigned getSlot() const { return Slot; }
864 return cast<EmitConvertToTargetMatcher>(M)->Slot == Slot
    [all...]
  /external/llvm/lib/Target/X86/
X86FastISel.cpp     [all...]

Completed in 9800 milliseconds

1 2