/art/runtime/base/ |
D | bit_field.h | 29 template<typename T, int position, int size> 45 return ((kUwordOne << size) - 1) << position; in MaskInPlace() 51 return position; in Shift() 62 return static_cast<uword>(value) << position; in Encode() 67 return static_cast<T>((value >> position) & ((kUwordOne << size) - 1)); in Decode() 75 return (static_cast<uword>(value) << position) | in Update()
|
/art/compiler/optimizing/ |
D | ssa_liveness_analysis.h | 95 size_t position, in UsePosition() argument 100 position_(position), in UsePosition() 162 size_t position = instruction->GetLifetimePosition() + 1; in AddUse() local 167 … first_range_ = last_range_ = new (allocator_) LiveRange(start_block_position, position, nullptr); in AddUse() 170 DCHECK_LE(position, first_range_->GetEnd()); in AddUse() 175 DCHECK(first_range_->GetStart() > position); in AddUse() 177 first_range_ = new (allocator_) LiveRange(start_block_position, position, first_range_); in AddUse() 180 instruction, input_index, is_environment, position, first_use_); in AddUse() 241 bool IsDeadAt(size_t position) const { in IsDeadAt() argument 242 return last_range_->GetEnd() <= position; in IsDeadAt() [all …]
|
D | register_allocator.cc | 136 size_t position = instruction->GetLifetimePosition(); in AllocateRegistersInternal() local 139 current->SetFrom(position + 1); in AllocateRegistersInternal() 141 BlockRegister(output, position, position + 1, instruction->GetType()); in AllocateRegistersInternal() 148 BlockRegister(input, position, position + 1, instruction->InputAt(i)->GetType()); in AllocateRegistersInternal() 315 size_t position = current->GetStart(); in LinearScan() local 322 if (interval->IsDeadAt(position)) { in LinearScan() 326 } else if (!interval->Covers(position)) { in LinearScan() 337 if (interval->IsDeadAt(position)) { in LinearScan() 341 } else if (interval->Covers(position)) { in LinearScan() 549 LiveInterval* RegisterAllocator::Split(LiveInterval* interval, size_t position) { in Split() argument [all …]
|
D | register_allocator.h | 114 void InsertParallelMoveAt(size_t position, Location source, Location destination) const;
|
D | nodes.h | 573 void SetLifetimePosition(size_t position) { lifetime_position_ = position; } in SetLifetimePosition() argument
|
/art/test/070-nio-buffer/src/ |
D | Main.java | 53 shortBuf.position(0); in basicShortTest() 55 shortBuf.position(0); in basicShortTest() 67 shortBuf.position(0); in basicShortTest() 75 shortBuf.position(16); in basicShortTest() 98 int1.position (0); in intFloatTest() 102 int1.position (0); in intFloatTest() 122 directBuf.position(0); in storeValues() 160 directBuf.position(0); in storeValues()
|
/art/compiler/utils/ |
D | assembler.h | 106 void BindTo(int position) { in BindTo() argument 108 position_ = -position - kPointerSize; in BindTo() 112 void LinkTo(int position) { in LinkTo() argument 114 position_ = position + kPointerSize; in LinkTo() 134 virtual void Process(const MemoryRegion& region, int position) = 0; 144 int position() const { return position_; } in position() function 145 void set_position(int position) { position_ = position; } in set_position() argument 186 template<typename T> T Load(size_t position) { in Load() argument 187 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); in Load() 188 return *reinterpret_cast<T*>(contents_ + position); in Load() [all …]
|
D | assembler.cc | 64 fixup->Process(region, fixup->position()); in ProcessFixups()
|
/art/runtime/gc/space/ |
D | bump_pointer_space.cc | 91 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); in GetNextObject() local 92 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment)); in GetNextObject()
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 152 int32_t position = label->Position(); in Bind() local 153 int32_t next = buffer_.Load<int32_t>(position); in Bind() 154 int32_t offset = is_jump ? bound_pc - position : bound_pc - position - 4; in Bind() 156 buffer_.Store<int32_t>(position, encoded); in Bind()
|
/art/tools/ |
D | cpplint.py | 3136 position = start_position 3137 while punctuation_stack and position < len(text): 3138 if text[position] == punctuation_stack[-1]: 3140 elif text[position] in closing_punctuation: 3143 elif text[position] in matching_punctuation: 3144 punctuation_stack.append(matching_punctuation[text[position]]) 3145 position += 1 3150 return text[start_position:position - 1]
|
/art/compiler/utils/x86/ |
D | assembler_x86.cc | 1315 int position = label->LinkPosition(); in Bind() local 1316 int next = buffer_.Load<int32_t>(position); in Bind() 1317 buffer_.Store<int32_t>(position, bound - (position + 4)); in Bind() 1379 int position = buffer_.Size(); in EmitLabelLink() local 1381 label->LinkTo(position); in EmitLabelLink()
|
/art/compiler/utils/arm/ |
D | assembler_arm32.cc | 654 int position = buffer_.Size(); in EmitBranch() local 657 label->LinkTo(position); in EmitBranch() 1210 int32_t position = label->Position(); in Bind() local 1211 int32_t next = buffer_.Load<int32_t>(position); in Bind() 1212 int32_t encoded = Arm32Assembler::EncodeBranchOffset(bound_pc - position, next); in Bind() 1213 buffer_.Store<int32_t>(position, encoded); in Bind()
|
D | assembler_thumb2.cc | 2090 uint16_t position = label->Position(); // Branch id for linked branch. in Bind() local 2091 Branch* branch = GetBranch(position); // Get the branch at this id. in Bind()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.cc | 1511 int position = label->LinkPosition(); in Bind() local 1512 int next = buffer_.Load<int32_t>(position); in Bind() 1513 buffer_.Store<int32_t>(position, bound - (position + 4)); in Bind() 1579 int position = buffer_.Size(); in EmitLabelLink() local 1581 label->LinkTo(position); in EmitLabelLink()
|
/art/compiler/sea_ir/ir/ |
D | sea.cc | 186 int position = crt_offset + 1; in InsertSignatureNodes() local 187 SignatureNode* parameter_def_node = new sea_ir::SignatureNode(register_no, position); in InsertSignatureNodes()
|
/art/compiler/dex/quick/ |
D | ralloc_util.cc | 263 unsigned int position = std::abs(v_reg) - std::abs(static_cast<int>(kVRegTempBaseReg)); in SRegToPMap() local 266 DCHECK_LT(position, mir_graph_->GetNumUsedCompilerTemps()); in SRegToPMap() 267 return cu_->num_dalvik_registers + position; in SRegToPMap()
|
/art/runtime/gc/ |
D | heap.cc | 1837 void AddBin(size_t size, uintptr_t position) { in AddBin() argument 1839 bins_.insert(std::make_pair(size, position)); in AddBin()
|