/system/update_engine/common/ |
boot_control_interface.h | 34 using Slot = unsigned int; 36 static const Slot kInvalidSlot = UINT_MAX; 42 // images running from other media can have only one slot, like some USB 43 // image. Systems with only one slot won't be able to update. 46 // Return the slot where we are running the system from. On success, the 49 virtual Slot GetCurrentSlot() const = 0; 51 // Determines the block device for the given partition name and slot number. 52 // The |slot| number must be between 0 and GetNumSlots() - 1 and the 54 // every slot. On success, returns true and stores the block device in 57 Slot slot [all...] |
boot_control_stub.cc | 29 BootControlInterface::Slot BootControlStub::GetCurrentSlot() const { 35 Slot slot, 41 bool BootControlStub::IsSlotBootable(Slot slot) const { 46 bool BootControlStub::MarkSlotUnbootable(Slot slot) { 51 bool BootControlStub::SetActiveBootSlot(Slot slot) {
|
boot_control_stub.h | 40 BootControlInterface::Slot GetCurrentSlot() const override; 42 BootControlInterface::Slot slot, 44 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 45 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 46 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
|
fake_boot_control.h | 35 // The current slot should be bootable. 41 BootControlInterface::Slot GetCurrentSlot() const override { 46 BootControlInterface::Slot slot, 48 if (slot >= num_slots_) 50 auto part_it = devices_[slot].find(partition_name); 51 if (part_it == devices_[slot].end()) 57 bool IsSlotBootable(BootControlInterface::Slot slot) const override { 58 return slot < num_slots_ && is_bootable_[slot] [all...] |
/system/update_engine/ |
boot_control_android.h | 42 BootControlInterface::Slot GetCurrentSlot() const override; 44 BootControlInterface::Slot slot, 46 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 47 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 48 bool SetActiveBootSlot(BootControlInterface::Slot slot) override;
|
boot_control_chromeos.h | 38 // some critical failure such as we couldn't determine the slot that we 39 // booted from, the implementation will pretend that there's only one slot and 45 BootControlInterface::Slot GetCurrentSlot() const override; 47 BootControlInterface::Slot slot, 49 bool IsSlotBootable(BootControlInterface::Slot slot) const override; 50 bool MarkSlotUnbootable(BootControlInterface::Slot slot) override; 51 bool SetActiveBootSlot(BootControlInterface::Slot slot) override [all...] |
boot_control_android.cc | 90 BootControlInterface::Slot BootControlAndroid::GetCurrentSlot() const { 95 Slot slot, 98 // doesn't list every slot partition (it uses the slotselect option 106 // |partition_name| and suffix corresponding to |slot|, e.g. 126 const char* suffix = module_->getSuffix(module_, slot); 128 LOG(ERROR) << "boot_control impl returned no suffix for slot " 129 << SlotName(slot); 143 bool BootControlAndroid::IsSlotBootable(Slot slot) const [all...] |
/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 31 "Live Stack Slot Analysis", false, false) 34 "Live Stack Slot Analysis", false, false) 60 LiveStacks::getOrCreateInterval(int Slot, const TargetRegisterClass *RC) { 61 assert(Slot >= 0 && "Spill slot indice must be >= 0"); 62 SS2IntervalMap::iterator I = S2IMap.find(Slot); 64 I = S2IMap.emplace(std::piecewise_construct, std::forward_as_tuple(Slot), 66 TargetRegisterInfo::index2StackSlot(Slot), 0.0F) [all...] |
StackColoring.cpp | 17 // 1. Allow merging multiple small slots into a single larger slot at different 78 STATISTIC(StackSlotMerged, "Number of stack slot merged."); 94 /// for a different stack slot. 115 /// Maps liveness intervals for each slot. 167 /// which access that frame slot. 254 unsigned Slot = MO.getIndex(); 258 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot); 260 DEBUG(dbgs()<<"Found a lifetime marker for slot #"<<Slot<< 265 BlockInfo.Begin.set(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 35 /// S2IMap - Stack slot indices to live interval mapping. 40 /// S2RCMap - Stack slot indices to register class mapping. 58 LiveInterval &getOrCreateInterval(int Slot, const TargetRegisterClass *RC); 60 LiveInterval &getInterval(int Slot) { 61 assert(Slot >= 0 && "Spill slot indice must be >= 0"); 62 SS2IntervalMap::iterator I = S2IMap.find(Slot); 63 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 | 20 /// Instruction and replaces it with a slot in the stack frame, allocated via 23 /// the alloca inserted to create a stack slot for I. 31 // Create a stack slot to hold the value. 32 AllocaInst *Slot; 34 Slot = new AllocaInst(I.getType(), nullptr, 38 Slot = new AllocaInst(I.getType(), nullptr, I.getName() + ".reg2mem", 55 // Change all of the users of the instruction to read from the stack slot. 74 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, 82 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U); 87 // Insert stores of the computed value into the stack slot. We have to b [all...] |
/external/llvm/lib/Transforms/IPO/ |
ConstantMerge.cpp | 148 GlobalVariable *&Slot = CMap[Init]; 153 if (!Slot || IsBetterCanonical(*GV, *Slot)) 154 Slot = GV; 179 GlobalVariable *Slot = CMap[Init]; 181 if (!Slot || Slot == GV) 184 if (!Slot->hasUnnamedAddr() && !GV->hasUnnamedAddr()) 188 Slot->setUnnamedAddr(false); 191 Replacements.push_back(std::make_pair(GV, Slot)); [all...] |
/external/deqp/framework/delibs/depool/ |
dePoolHash.h | 69 typedef struct TYPENAME##Slot_s TYPENAME##Slot; \ 74 TYPENAME##Slot* nextSlot; \ 85 TYPENAME##Slot** slotTable; \ 86 TYPENAME##Slot* slotFreeList; \ 93 const TYPENAME##Slot* curSlot; \ 220 TYPENAME##Slot* slot = hash->slotTable[slotNdx]; \ 221 while (slot) \ 223 TYPENAME##Slot* nextSlot = slot->nextSlot; [all...] |
dePoolSet.h | 68 typedef struct TYPENAME##Slot_s TYPENAME##Slot; \ 73 TYPENAME##Slot* nextSlot; \ 83 TYPENAME##Slot** slotTable; \ 84 TYPENAME##Slot* slotFreeList; \ 91 const TYPENAME##Slot* curSlot; \ 228 TYPENAME##Slot* slot = set->slotTable[slotNdx]; \ 229 while (slot) \ 231 TYPENAME##Slot* nextSlot = slot->nextSlot; [all...] |
/external/v8/test/unittests/compiler/ |
register-allocator-unittest.cc | 212 Return(EmitCall(Slot(-1), kPhis, merged)); 226 vals[i] = Parameter(Slot(-1 - i)); 321 EmitCall(Slot(-1)); 340 call_ops[i + kDefaultNRegs] = Slot(constants[i], i); 342 EmitCall(Slot(-1), arraysize(call_ops), call_ops); 356 auto p_0 = Define(Slot(-1)); 357 auto p_1 = Define(Slot(-2)); 382 auto p_0 = Define(Slot(-1)); 383 auto p_1 = Define(Slot(-2)); 524 EmitCall(Slot(-2), Unique(p_0), Reg(p_0, 1)) [all...] |
/external/libchrome/base/threading/ |
thread_local_storage.h | 25 // interface, you should instead be using ThreadLocalStorage::StaticSlot/Slot. 43 // Chromium will use these methods to acquire a single OS slot, and then use 50 // might not reuse released slot, you might just reset the TLS value with 59 // ThreadLocalStorage, until there are no slot values remaining as having 66 // should use GetTLSValue() to retrieve the value of TLS slot. 69 // |Value| is the data stored in TLS slot, The implementation can't use 70 // GetTLSValue() to retrieve the value of slot as it has already been reset 98 // ThreadLocalStorage::Slot (below) instead. 100 // Set up the TLS slot. Called by the constructor. 102 // this object. If set to NULL, no cleanup is done for this TLS slot [all...] |
/external/llvm/lib/IR/ |
AttributeImpl.h | 208 /// \brief Return a pointer to the IndexAttrPair for the specified slot. 209 const IndexAttrPair *getNode(unsigned Slot) const { 210 return getTrailingObjects<IndexAttrPair>() + Slot; 240 /// \brief Get the index of the given "slot" in the AttrNodes list. This index 244 unsigned getSlotIndex(unsigned Slot) const { 245 return getNode(Slot)->first; 248 /// \brief Retrieve the attributes for the given "slot" in the AttrNode list. 249 /// \p Slot is an index into the AttrNodes list, not the index of the return / 251 AttributeSet getSlotAttributes(unsigned Slot) const { 252 return AttributeSet::get(Context, *getNode(Slot)); [all...] |
/art/runtime/gc/allocator/ |
rosalloc.h | 115 // The slot header. 116 class Slot { 118 Slot* Next() const { 121 void SetNext(Slot* next) { 124 // The slot right before this slot in terms of the address. 125 Slot* Left(size_t bracket_size) { 126 return reinterpret_cast<Slot*>(reinterpret_cast<uintptr_t>(this) - bracket_size); 133 Slot* next_; // Next slot in the list 157 Slot* slot; local [all...] |
/external/skia/include/private/ |
SkTHash.h | 39 size_t approxBytesUsed() const { return fCapacity * sizeof(Slot); } 65 Slot& s = fSlots[index]; 85 Slot& s = fSlots[index]; 124 Slot& s = fSlots[index]; 153 SkAutoTArray<Slot> oldSlots(capacity); 157 const Slot& s = oldSlots[i]; 177 struct Slot { 178 Slot() : hash(0) {} 189 SkAutoTArray<Slot> fSlots;
|
/frameworks/base/rs/java/android/renderscript/ |
ProgramFragmentFixedFunction.java | 151 private class Slot { 154 Slot(EnvMode _env, Format _fmt) { 159 Slot[] mSlots; 233 mSlots = new Slot[MAX_TEXTURE]; 247 * @param slot index of the texture to apply the operations on 251 public Builder setTexture(EnvMode env, Format fmt, int slot) 253 if((slot < 0) || (slot >= MAX_TEXTURE)) { 256 mSlots[slot] = new Slot(env, fmt) [all...] |
/device/generic/goldfish-opengl/system/gralloc/ |
Android.mk | 15 # Need to access the special OPENGL TLS Slot
|
/external/llvm/lib/Target/AMDGPU/ |
R600MachineScheduler.h | 91 SUnit *AttemptFillSlot (unsigned Slot, bool AnyAlu); 95 void AssignSlot(MachineInstr *MI, unsigned Slot);
|
/system/update_engine/payload_consumer/ |
install_plan.h | 65 BootControlInterface::Slot source_slot{BootControlInterface::kInvalidSlot}; 66 BootControlInterface::Slot target_slot{BootControlInterface::kInvalidSlot};
|