/third_party/abseil-cpp/absl/container/internal/ |
D | hash_policy_traits_test.cc | 34 using Slot = int; typedef 37 using slot_type = Slot; 38 using key_type = Slot; 39 using init_type = Slot; 41 static std::function<void(void*, Slot*, Slot)> construct; 42 static std::function<void(void*, Slot*)> destroy; 44 static std::function<Slot&(Slot*)> element; 47 static std::function<Slot&(Slot*)> value; 50 std::function<void(void*, Slot*, Slot)> PolicyWithoutOptionalOps::construct; 51 std::function<void(void*, Slot*)> PolicyWithoutOptionalOps::destroy; [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | hash_policy_traits_test.cc | 34 using Slot = int; typedef 37 using slot_type = Slot; 38 using key_type = Slot; 39 using init_type = Slot; 41 static std::function<void(void*, Slot*, Slot)> construct; 42 static std::function<void(void*, Slot*)> destroy; 44 static std::function<Slot&(Slot*)> element; 47 static std::function<Slot&(Slot*)> value; 50 std::function<void(void*, Slot*, Slot)> PolicyWithoutOptionalOps::construct; 51 std::function<void(void*, Slot*)> PolicyWithoutOptionalOps::destroy; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | StackColoring.cpp | 477 bool applyFirstUse(int Slot) { in applyFirstUse() argument 480 if (ConservativeSlots.test(Slot)) in applyFirstUse() 573 int Slot = MO.getIndex(); in getStartOrEndSlot() local 574 if (Slot >= 0) in getStartOrEndSlot() 575 return Slot; in getStartOrEndSlot() 588 int Slot = getStartOrEndSlot(MI); in isLifetimeStartOrEnd() local 589 if (Slot < 0) in isLifetimeStartOrEnd() 591 if (!InterestingSlots.test(Slot)) in isLifetimeStartOrEnd() 593 slots.push_back(Slot); in isLifetimeStartOrEnd() 598 if (!applyFirstUse(Slot)) { in isLifetimeStartOrEnd() [all …]
|
D | LiveStacks.cpp | 57 LiveStacks::getOrCreateInterval(int Slot, const TargetRegisterClass *RC) { in getOrCreateInterval() argument 58 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getOrCreateInterval() 59 SS2IntervalMap::iterator I = S2IMap.find(Slot); in getOrCreateInterval() 63 std::piecewise_construct, std::forward_as_tuple(Slot), in getOrCreateInterval() 64 std::forward_as_tuple(Register::index2StackSlot(Slot), 0.0F)) in getOrCreateInterval() 66 S2RCMap.insert(std::make_pair(Slot, RC)); in getOrCreateInterval() 69 const TargetRegisterClass *OldRC = S2RCMap[Slot]; in getOrCreateInterval() 70 S2RCMap[Slot] = TRI->getCommonSubClass(OldRC, RC); in getOrCreateInterval() 81 int Slot = I->first; in print() local 82 const TargetRegisterClass *RC = getIntervalRegClass(Slot); in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | LiveStacks.h | 62 LiveInterval &getOrCreateInterval(int Slot, const TargetRegisterClass *RC); 64 LiveInterval &getInterval(int Slot) { in getInterval() argument 65 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getInterval() 66 SS2IntervalMap::iterator I = S2IMap.find(Slot); in getInterval() 71 const LiveInterval &getInterval(int Slot) const { in getInterval() argument 72 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getInterval() 73 SS2IntervalMap::const_iterator I = S2IMap.find(Slot); in getInterval() 78 bool hasInterval(int Slot) const { return S2IMap.count(Slot); } in hasInterval() argument 80 const TargetRegisterClass *getIntervalRegClass(int Slot) const { in getIntervalRegClass() argument 81 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getIntervalRegClass() [all …]
|
D | SlotIndexes.h | 86 enum Slot { 129 Slot getSlot() const { 130 return static_cast<Slot>(lie.getInt()); 144 SlotIndex(const SlotIndex &li, Slot s) : lie(li.listEntry(), unsigned(s)) { 270 Slot s = getSlot(); 290 Slot s = getSlot();
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | DemoteRegToStack.cpp | 34 AllocaInst *Slot; in DemoteRegToStack() local 36 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, in DemoteRegToStack() 39 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, in DemoteRegToStack() 75 V = new LoadInst(I.getType(), Slot, I.getName() + ".reload", in DemoteRegToStack() 84 Value *V = new LoadInst(I.getType(), Slot, I.getName() + ".reload", in DemoteRegToStack() 103 new StoreInst(&I, Slot, &*InsertPt); in DemoteRegToStack() 104 return Slot; in DemoteRegToStack() 119 AllocaInst *Slot; in DemotePHIToStack() local 121 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr, in DemotePHIToStack() 125 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr, in DemotePHIToStack() [all …]
|
/third_party/flatbuffers/net/FlatBuffers/ |
D | FlatBufferBuilder.cs | 435 public void Slot(int voffset) in Slot() method in FlatBuffers.FlatBufferBuilder 450 …ublic void AddBool(int o, bool x, bool d) { if (ForceDefaults || x != d) { AddBool(x); Slot(o); } } in AddBool() 458 public void AddBool(int o, bool? x) { if (x.HasValue) { AddBool(x.Value); Slot(o); } } in AddBool() 468 …c void AddSbyte(int o, sbyte x, sbyte d) { if (ForceDefaults || x != d) { AddSbyte(x); Slot(o); } } in AddSbyte() 476 public void AddSbyte(int o, sbyte? x) { if (x.HasValue) { AddSbyte(x.Value); Slot(o); } } in AddSbyte() 485 …ublic void AddByte(int o, byte x, byte d) { if (ForceDefaults || x != d) { AddByte(x); Slot(o); } } in AddByte() 493 public void AddByte(int o, byte? x) { if (x.HasValue) { AddByte(x.Value); Slot(o); } } in AddByte() 502 …lic void AddShort(int o, short x, int d) { if (ForceDefaults || x != d) { AddShort(x); Slot(o); } } in AddShort() 510 public void AddShort(int o, short? x) { if (x.HasValue) { AddShort(x.Value); Slot(o); } } in AddShort() 519 …id AddUshort(int o, ushort x, ushort d) { if (ForceDefaults || x != d) { AddUshort(x); Slot(o); } } in AddUshort() [all …]
|
/third_party/flutter/skia/include/private/ |
D | SkTHash.h | 49 size_t approxBytesUsed() const { return fCapacity * sizeof(Slot); } in approxBytesUsed() 75 Slot& s = fSlots[index]; in find() 104 Slot& s = fSlots[index]; in remove() 115 Slot& emptySlot = fSlots[index]; in remove() 126 Slot& s = fSlots[index]; in remove() 129 emptySlot = Slot(); in remove() 137 Slot& moveFrom = fSlots[index]; in remove() 168 Slot& s = fSlots[index]; in uncheckedSet() 195 SkAutoTArray<Slot> oldSlots = std::move(fSlots); in resize() 196 fSlots = SkAutoTArray<Slot>(capacity); in resize() [all …]
|
/third_party/vk-gl-cts/framework/delibs/depool/ |
D | 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]; \ 223 TYPENAME##Slot* nextSlot = slot->nextSlot; \ 234 TYPENAME##Slot* TYPENAME##_allocSlot (DE_PTR_TYPE(TYPENAME) hash) \ 236 TYPENAME##Slot* slot; \ 243 …slot = (TYPENAME##Slot*)deMemPool_alloc(hash->pool, sizeof(TYPENAME##Slot) * DE_HASH_ELEMENTS_PER_… [all …]
|
D | 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]; \ 231 TYPENAME##Slot* nextSlot = slot->nextSlot; \ 242 TYPENAME##Slot* TYPENAME##_allocSlot (DE_PTR_TYPE(TYPENAME) set) \ 244 TYPENAME##Slot* slot; \ 251 …slot = (TYPENAME##Slot*)deMemPool_alloc(set->pool, sizeof(TYPENAME##Slot) * DE_SET_ELEMENTS_PER_SL… [all …]
|
/third_party/skia/include/private/ |
D | SkTHash.h | 69 size_t approxBytesUsed() const { return fCapacity * sizeof(Slot); } in approxBytesUsed() 95 Slot& s = fSlots[index]; in find() 124 Slot& s = fSlots[index]; in remove() 242 Slot& s = fSlots[index]; in uncheckedSet() 268 SkAutoTArray<Slot> oldSlots = std::move(fSlots); in resize() 269 fSlots = SkAutoTArray<Slot>(capacity); in resize() 272 Slot& s = oldSlots[i]; in resize() 285 Slot& emptySlot = fSlots[index]; in removeSlot() 296 Slot& s = fSlots[index]; in removeSlot() 307 Slot& moveFrom = fSlots[index]; in removeSlot() [all …]
|
/third_party/flutter/glfw/tests/ |
D | events.c | 53 } Slot; typedef 271 Slot* slot = glfwGetWindowUserPointer(window); in window_pos_callback() 278 Slot* slot = glfwGetWindowUserPointer(window); in window_size_callback() 285 Slot* slot = glfwGetWindowUserPointer(window); in framebuffer_size_callback() 294 Slot* slot = glfwGetWindowUserPointer(window); in window_close_callback() 303 Slot* slot = glfwGetWindowUserPointer(window); in window_refresh_callback() 314 Slot* slot = glfwGetWindowUserPointer(window); in window_focus_callback() 322 Slot* slot = glfwGetWindowUserPointer(window); in window_iconify_callback() 330 Slot* slot = glfwGetWindowUserPointer(window); in mouse_button_callback() 340 Slot* slot = glfwGetWindowUserPointer(window); in cursor_position_callback() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 185 GlobalVariable *&Slot = CMap[Init]; in mergeConstants() local 190 bool FirstConstantFound = !Slot; in mergeConstants() 191 if (FirstConstantFound || IsBetterCanonical(*GV, *Slot)) { in mergeConstants() 192 Slot = GV; in mergeConstants() 220 GlobalVariable *Slot = Found->second; in mergeConstants() local 221 if (Slot == GV) in mergeConstants() 224 if (makeMergeable(GV, Slot) == CanMerge::No) in mergeConstants() 229 << Slot->getName() << "\n"); in mergeConstants() 230 SameContentReplacements.push_back(std::make_pair(GV, Slot)); in mergeConstants()
|
D | WholeProgramDevirt.cpp | 513 WholeProgramDevirtResolution *Res, VTableSlot Slot); 527 std::string getGlobalName(VTableSlot Slot, ArrayRef<uint64_t> Args, 535 void exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name, 537 void exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name, 542 Constant *importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args, 544 Constant *importConstant(VTableSlot Slot, ArrayRef<uint64_t> Args, 556 VTableSlot Slot, ArrayRef<uint64_t> Args); 562 WholeProgramDevirtResolution *Res, VTableSlot Slot); 567 void importResolution(VTableSlot Slot, VTableSlotInfo &SlotInfo); 1046 WholeProgramDevirtResolution *Res, VTableSlot Slot) { in tryICallBranchFunnel() argument [all …]
|
/third_party/mindspore/mindspore/core/utils/ |
D | signal.h | 32 class Slot { 34 explicit Slot(const std::function<FuncType> &callback) : callback(callback) {} in Slot() function 36 ~Slot() {} in ~Slot() 54 auto slot = std::make_shared<Slot<FuncType>>(func); in add_slot() 65 std::vector<std::shared_ptr<Slot<FuncType>>> slots_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsDelaySlotFiller.cpp | 263 RegDefsUses &RegDU, InspectMemInstr &IM, Iter Slot, 268 bool searchBackward(MachineBasicBlock &MBB, MachineInstr &Slot) const; 272 bool searchForward(MachineBasicBlock &MBB, Iter Slot) const; 277 bool searchSuccBBs(MachineBasicBlock &MBB, Iter Slot) const; 691 InspectMemInstr &IM, Iter Slot, in searchRange() argument 744 unsigned Opcode = (*Slot).getOpcode(); in searchRange() 772 MachineInstr &Slot) const { in searchBackward() 781 RegDU.init(Slot); in searchBackward() 783 MachineBasicBlock::iterator SlotI = Slot; in searchBackward() 784 if (!searchRange(MBB, ++SlotI.getReverse(), MBB.rend(), RegDU, MemDU, Slot, in searchBackward() [all …]
|
/third_party/skia/third_party/externals/brotli/research/ |
D | sieve.cc | 9 typedef struct Slot { struct 14 } Slot; typedef 18 static TextIdx dryRun(TextIdx sliceLen, Slot* map, TextIdx* shortcut, in dryRun() 28 Slot& item = map[shortcut[i]]; in dryRun() 49 Slot* map, TextIdx* shortcut, TextIdx end, TextIdx middle, in createDictionary() 59 Slot& item = map[shortcut[i]]; in createDictionary() 136 std::vector<Slot> map; in sieve_generate() 167 Slot& item = map[slot]; in sieve_generate()
|
/third_party/flatbuffers/go/ |
D | builder.go | 435 b.Slot(o) 445 b.Slot(o) 455 b.Slot(o) 465 b.Slot(o) 475 b.Slot(o) 485 b.Slot(o) 495 b.Slot(o) 505 b.Slot(o) 515 b.Slot(o) 525 b.Slot(o) [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
D | TestUtil.h | 764 return contentsOfQword(AssembledTest::Name64##Slot()); \ 769 return contentsOfQword(AssembledTest::Name64##Slot()); \ 774 return contentsOfQword(AssembledTest::Name64##Slot()); \ 779 return contentsOfQword(AssembledTest::Name64##Slot()); \ 784 return contentsOfQword(AssembledTest::Name64##Slot()); \ 789 return contentsOfQword(AssembledTest::Name64##Slot()); \ 794 return contentsOfQword(AssembledTest::Name64##Slot()); \ 799 return contentsOfQword(AssembledTest::Name64##Slot()); \ 804 return contentsOfQword(AssembledTest::Name64##Slot()); \ 808 return contentsOfQword(AssembledTest::NewName##Slot()); \ [all …]
|
/third_party/skia/src/opts/ |
D | SkVM_opts.h | 41 union Slot { union 64 using SkVMInterpreterTypes::Slot; in interpret_skvm() 68 Slot few_regs[16]; in interpret_skvm() 71 Slot* r = few_regs; in interpret_skvm() 77 many_regs.reset(new char[ sizeof(Slot) * (nregs + 1) ]); in interpret_skvm() 80 addr += alignof(Slot) - in interpret_skvm() 81 (addr & (alignof(Slot) - 1)); in interpret_skvm() 82 SkASSERT((addr & (alignof(Slot) - 1)) == 0); in interpret_skvm() 83 r = (Slot*)addr; in interpret_skvm()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiDelaySlotFiller.cpp | 76 MachineBasicBlock::instr_iterator Slot, 145 MachineBasicBlock::instr_iterator Slot, in findDelayInstr() argument 150 insertDefsUses(Slot, RegDefs, RegUses); in findDelayInstr() 155 for (MachineBasicBlock::reverse_instr_iterator I = ++Slot.getReverse(); in findDelayInstr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBStringTableBuilder.cpp | 186 uint32_t Slot = (Hash + I) % BucketCount; in writeHashTable() local 187 if (Buckets[Slot] != 0) in writeHashTable() 189 Buckets[Slot] = Offset; in writeHashTable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600MachineScheduler.h | 87 SUnit *AttemptFillSlot (unsigned Slot, bool AnyAlu); 91 void AssignSlot(MachineInstr *MI, unsigned Slot);
|
D | R600MachineScheduler.cpp | 355 void R600SchedStrategy::AssignSlot(MachineInstr* MI, unsigned Slot) { in AssignSlot() argument 371 switch (Slot) { in AssignSlot() 387 SUnit *R600SchedStrategy::AttemptFillSlot(unsigned Slot, bool AnyAlu) { in AttemptFillSlot() argument 389 SUnit *SlotedSU = PopInst(AvailableAlus[IndexToID[Slot]], AnyAlu); in AttemptFillSlot() 394 AssignSlot(UnslotedSU->getInstr(), Slot); in AttemptFillSlot()
|