HomeSort by relevance Sort by last modified time
    Searched defs:Slot (Results 1 - 25 of 45) 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/clang/lib/StaticAnalyzer/Checkers/
NoReturnFunctionChecker.cpp 88 unsigned Slot = 0;
91 if (!Sel->getNameForSlot(Slot).equals(Arg))
93 ++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)
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/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...]
  /frameworks/native/include/gui/
ConsumerBase.h 112 // freeBufferLocked frees up the given buffer slot. If the slot has been
114 // slot. Otherwise it has no effect.
117 // keep per slot. If it is overridden, the derived class's implementation
129 // state they keep (as opposed to per-slot state). If it is overridden,
150 // updates the buffer slot for the buffer returned.
154 // to a slot. If it is overridden the derived class's implementation must
169 // of sync points that must be reached before the buffer in the given slot
170 // may be used after the slot has been released. This should be called by
173 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...]
  /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);
  /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...]
  /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 154 private class Slot {
157 Slot(EnvMode _env, Format _fmt) {
162 Slot[] mSlots;
236 mSlots = new Slot[MAX_TEXTURE];
250 * @param slot index of the texture to apply the operations on
254 public Builder setTexture(EnvMode env, Format fmt, int slot)
256 if((slot < 0) || (slot >= MAX_TEXTURE)) {
259 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/llvm/lib/CodeGen/SelectionDAG/
LegalizeTypesGeneric.cpp 121 unsigned Slot = 0;
122 for (unsigned e = Vals.size(); e - Slot > 2; Slot += 2, e += 1) {
125 SDValue LHS = Vals[Slot];
126 SDValue RHS = Vals[Slot + 1];
137 Lo = Vals[Slot++];
138 Hi = Vals[Slot++];
159 // Emit a store to the stack slot.
163 // Load the first half from the stack slot.
172 // Load the second half from the stack 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/clang/lib/CodeGen/
CGVTables.cpp 360 // Determine whether we have a return value slot to use.
361 ReturnValueSlot Slot;
365 Slot = ReturnValueSlot(ReturnValue, ResultType.isVolatileQualified());
368 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD);
373 if (!ResultType->isVoidType() && Slot.isNull())
    [all...]
CGBlocks.cpp 812 AggValueSlot Slot =
817 EmitAggExpr(copyExpr, Slot);
    [all...]
CGExprAgg.cpp 46 /// We want to use 'dest' as the return slot except under two
48 /// - The destination slot requires garbage collection, so we
50 /// - The destination slot is potentially aliased.
280 /// directly into the return value slot. Otherwise, a final move
590 AggValueSlot Slot = EnsureSlot(E->getType());
591 CGF.EmitAggExpr(E->getInitializer(), Slot);
    [all...]
  /external/llvm/include/llvm/CodeGen/
SlotIndexes.h 1 //===- llvm/CodeGen/SlotIndexes.h - Slot indexes representation -*- C++ -*-===//
34 /// This class represents an entry in the slot index list held in the
81 enum Slot {
84 /// def slot of PHI-defs.
87 /// Early-clobber register use/def slot. A live range defined at
89 /// Slot_Register. Also used as the kill slot for live ranges tied to an
93 /// Normal register use/def slot. Normal instructions kill and define
94 /// register live ranges at this slot.
97 /// Dead def kill point. Kill slot for a live range that is defined by
107 SlotIndex(IndexListEntry *entry, unsigned slot)
    [all...]
  /external/llvm/lib/IR/
AsmWriter.cpp 319 // SlotTracker Class: Enumerate slot numbers for unnamed values
324 /// This class provides computation of slot numbers for LLVM Assembly writing.
328 /// ValueMap - A mapping of Values to slot numbers.
332 /// TheModule - The module for which we are holding slot numbers.
335 /// TheFunction - The function for which we are holding slot numbers.
339 /// mMap - The slot map for the module level data.
343 /// fMap - The slot map for the function level data.
351 /// asMap - The slot map for attribute sets.
360 /// Return the slot number of the specified value in it's type
398 /// CreateModuleSlot - Insert the specified GlobalValue* into the slot table
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcher.h 235 /// ResultNo - The slot number in the RecordedNodes vector that this will be,
266 /// ResultNo - The slot number in the RecordedNodes vector that this will be,
660 /// MatchNumber - This is the recorded nodes slot that contains the node we
667 /// FirstResult - This is the first slot in the RecordedNodes list that the
848 unsigned Slot;
850 EmitConvertToTargetMatcher(unsigned slot)
851 : Matcher(EmitConvertToTarget), Slot(slot) {}
853 unsigned getSlot() const { return Slot; }
862 return cast<EmitConvertToTargetMatcher>(M)->Slot == Slot
    [all...]

Completed in 756 milliseconds

1 2