Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 44) sorted by relevance

12

/art/libartbase/base/
Ddchecked_vector.h150 iterator insert(const_iterator position, const value_type& value) { in insert() argument
151 DCHECK(cbegin() <= position && position <= cend()); in insert()
152 return Base::insert(position, value); in insert()
154 iterator insert(const_iterator position, size_type n, const value_type& value) { in insert() argument
155 DCHECK(cbegin() <= position && position <= cend()); in insert()
156 return Base::insert(position, n, value); in insert()
159 iterator insert(const_iterator position, InputIterator first, InputIterator last) { in insert() argument
160 DCHECK(cbegin() <= position && position <= cend()); in insert()
161 return Base::insert(position, first, last); in insert()
163 iterator insert(const_iterator position, value_type&& value) { in insert() argument
[all …]
Dbit_field.h34 static constexpr size_t position = kPosition; variable
37 static_assert(position < sizeof(uintptr_t) * kBitsPerByte, "Invalid position.");
40 static_assert(size + position <= sizeof(uintptr_t) * kBitsPerByte, "Invalid position + size.");
55 return ((kUintPtrTOne << size) - 1) << position; in MaskInPlace()
61 return position; in Shift()
72 return static_cast<uintptr_t>(value) << position; in Encode()
77 return static_cast<T>((value >> position) & ((kUintPtrTOne << size) - 1)); in Decode()
85 return (static_cast<uintptr_t>(value) << position) | in Update()
Dbit_string.h152 static constexpr size_t GetBitLengthTotalAtPosition(size_t position) { in GetBitLengthTotalAtPosition()
155 while (idx < position && idx < kCapacity) { in GetBitLengthTotalAtPosition()
166 static constexpr size_t GetLsbForPosition(size_t position) { in GetLsbForPosition()
167 DCHECK_GE(kCapacity, position); in GetLsbForPosition()
168 return GetBitLengthTotalAtPosition(position); in GetLsbForPosition()
173 static constexpr size_t MaybeGetBitLengthAtPosition(size_t position) { in MaybeGetBitLengthAtPosition()
174 if (position >= kCapacity) { in MaybeGetBitLengthAtPosition()
177 return kBitSizeAtPosition[position]; in MaybeGetBitLengthAtPosition()
/art/compiler/optimizing/
Dssa_liveness_analysis.h112 UsePosition(HInstruction* user, size_t input_index, size_t position) in UsePosition() argument
115 position_(position) { in UsePosition()
118 explicit UsePosition(size_t position) in UsePosition() argument
121 position_(dchecked_integral_cast<uint32_t>(position)) { in UsePosition()
169 size_t position) in EnvUsePosition() argument
172 position_(position) { in EnvUsePosition()
199 inline Iterator FindUseAtOrAfterPosition(Iterator first, Iterator last, size_t position) { in FindUseAtOrAfterPosition() argument
205 first, last, [position](const value_type& use) { return use.GetPosition() >= position; }); in FindUseAtOrAfterPosition()
304 size_t position = instruction->GetLifetimePosition(); in AddTempUse() local
305 UsePosition* new_use = new (allocator_) UsePosition(instruction, temp_index, position); in AddTempUse()
[all …]
Dregister_allocator_linear_scan.cc182 size_t position = block->GetLifetimeStart(); in AllocateRegistersInternal() local
183 BlockRegisters(position, position + 1); in AllocateRegistersInternal()
226 size_t position = instruction->GetLifetimePosition(); in ProcessInstruction() local
234 BlockRegister(temp, position, position + 1); in ProcessInstruction()
287 BlockRegisters(position, position + 1, /* caller_save_only= */ true); in ProcessInstruction()
293 BlockRegister(input, position, position + 1); in ProcessInstruction()
295 BlockRegister(input.ToLow(), position, position + 1); in ProcessInstruction()
296 BlockRegister(input.ToHigh(), position, position + 1); in ProcessInstruction()
348 current->SetFrom(position + 1); in ProcessInstruction()
351 current->SetFrom(position + 1); in ProcessInstruction()
[all …]
Dregister_allocation_resolver.cc548 static bool IsInstructionStart(size_t position) { in IsInstructionStart() argument
549 return (position & 1) == 0; in IsInstructionStart()
552 static bool IsInstructionEnd(size_t position) { in IsInstructionEnd() argument
553 return (position & 1) == 1; in IsInstructionEnd()
556 void RegisterAllocationResolver::InsertParallelMoveAt(size_t position, in InsertParallelMoveAt() argument
563 HInstruction* at = liveness_.GetInstructionFromPosition(position / 2); in InsertParallelMoveAt()
566 if (IsInstructionStart(position)) { in InsertParallelMoveAt()
571 at = liveness_.GetInstructionFromPosition((position + 1) / 2); in InsertParallelMoveAt()
577 if (at->GetLifetimePosition() < position) { in InsertParallelMoveAt()
584 if (at->GetLifetimePosition() != position) { in InsertParallelMoveAt()
[all …]
Dregister_allocator.cc215 LiveInterval* RegisterAllocator::Split(LiveInterval* interval, size_t position) { in Split() argument
216 DCHECK_GE(position, interval->GetStart()); in Split()
217 DCHECK(!interval->IsDeadAt(position)); in Split()
218 if (position == interval->GetStart()) { in Split()
228 LiveInterval* new_interval = interval->SplitAt(position); in Split()
230 LiveInterval* high = interval->GetHighInterval()->SplitAt(position); in Split()
234 LiveInterval* low = interval->GetLowInterval()->SplitAt(position); in Split()
276 size_t position = dominated->GetLifetimeStart(); in SplitBetween() local
277 if ((position > from) && (block_to->GetLifetimeStart() > position)) { in SplitBetween()
Dregister_allocator_graph_color.cc76 static size_t CostForMoveAt(size_t position, const SsaLivenessAnalysis& liveness) { in CostForMoveAt() argument
77 HBasicBlock* block = liveness.GetBlockFromPosition(position / 2); in CostForMoveAt()
95 size_t position, in ComputeCoalescePriority() argument
102 return CostForMoveAt(position, liveness); in ComputeCoalescePriority()
122 size_t position, in CoalesceOpportunity()
127 priority(ComputeCoalescePriority(kind, position, liveness)) {} in CoalesceOpportunity()
485 size_t position);
802 size_t position = block->GetLifetimeStart(); in ProcessInstructions() local
803 BlockRegisters(position, position + 1); in ProcessInstructions()
879 size_t position = instruction->GetLifetimePosition(); in CheckForFixedInputs() local
[all …]
Dcode_sinking.cc404 HInstruction* position = nullptr; in SinkCodeToUncommonBranch() local
417 position = FindIdealPosition(instruction->InputAt(0), post_dominated, /* filter= */ true); in SinkCodeToUncommonBranch()
420 if (position == nullptr || !instruction->GetBlock()->Dominates(position->GetBlock())) { in SinkCodeToUncommonBranch()
425 position = FindIdealPosition(instruction, post_dominated); in SinkCodeToUncommonBranch()
426 if (position == nullptr) { in SinkCodeToUncommonBranch()
433 if (!post_dominated.IsBitSet(position->GetBlock()->GetBlockId())) { in SinkCodeToUncommonBranch()
437 instruction->MoveBefore(position, /* do_checks= */ false); in SinkCodeToUncommonBranch()
Dssa_liveness_analysis.cc362 size_t position = predecessor->GetLifetimeEnd() - 1; in FindFirstRegisterHint() local
364 if (position < GetStart()) { in FindFirstRegisterHint()
365 LiveInterval* existing = GetParent()->GetSiblingAt(position); in FindFirstRegisterHint()
421 size_t position = user->GetLifetimePosition() - 1; in FindFirstRegisterHint() local
425 if (free_until[reg] >= position) { in FindFirstRegisterHint()
538 Location LiveInterval::GetLocationAt(size_t position) { in GetLocationAt() argument
539 LiveInterval* sibling = GetSiblingAt(position); in GetLocationAt()
544 LiveInterval* LiveInterval::GetSiblingAt(size_t position) { in GetSiblingAt() argument
546 while (current != nullptr && !current->IsDefinedAt(position)) { in GetSiblingAt()
Dregister_allocator.h84 static LiveInterval* Split(LiveInterval* interval, size_t position);
Dregister_allocation_resolver.h80 void InsertParallelMoveAt(size_t position,
Dregister_allocator_graph_color.h126 static LiveInterval* TrySplit(LiveInterval* interval, size_t position);
/art/compiler/utils/
Dintrusive_forward_list.h195 iterator insert_after(const_iterator position, value_type& value) { in insert_after() argument
197 new_hook->next_hook = position.hook_->next_hook; in insert_after()
198 position.hook_->next_hook = new_hook; in insert_after()
202 iterator insert_after(const_iterator position, InputIterator first, InputIterator last) { in insert_after() argument
204 position = insert_after(position, *first++); in insert_after()
206 return iterator(position.hook_); in insert_after()
208 iterator erase_after(const_iterator position) { in erase_after() argument
209 const_iterator last = position; in erase_after()
211 return erase_after(position, last); in erase_after()
213 iterator erase_after(const_iterator position, const_iterator last) { in erase_after() argument
[all …]
Dlabel.h105 void BindTo(int position) { in BindTo() argument
107 position_ = -position - sizeof(void*); in BindTo()
111 void LinkTo(int position) { in LinkTo() argument
113 position_ = position + sizeof(void*); in LinkTo()
Dassembler.h51 virtual void Process(const MemoryRegion& region, int position) = 0;
61 int position() const { return position_; } in position() function
107 template<typename T> T Load(size_t position) { in Load() argument
108 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); in Load()
109 return *reinterpret_cast<T*>(contents_ + position); in Load()
112 template<typename T> void Store(size_t position, T value) { in Store() argument
113 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); in Store()
114 *reinterpret_cast<T*>(contents_ + position) = value; in Store()
Dassembler.cc57 fixup->Process(region, fixup->position()); in ProcessFixups()
/art/test/070-nio-buffer/src/
DMain.java54 ((Buffer) shortBuf).position(0); in basicShortTest()
56 ((Buffer) shortBuf).position(0); in basicShortTest()
68 ((Buffer) shortBuf).position(0); in basicShortTest()
76 ((Buffer) shortBuf).position(16); in basicShortTest()
99 ((Buffer) int1).position(0); in intFloatTest()
103 ((Buffer) int1).position(0); in intFloatTest()
123 ((Buffer) directBuf).position(0); in storeValues()
161 ((Buffer) directBuf).position(0); in storeValues()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DParser.java635 hprof.seek(data.position); in parseInternal()
661 hprof.seek(data.position); in parseInternal()
688 public int position; field in Parser.ClassInstData
690 public ClassInstData(int position) { in ClassInstData() argument
691 this.position = position; in ClassInstData()
697 public int position; // Position in hprof file containing element data. field in Parser.ObjArrayData
699 public ObjArrayData(int length, int position) { in ObjArrayData() argument
701 this.position = position; in ObjArrayData()
934 return mBuffer.position(); in tell()
940 public void seek(int position) { in seek() argument
[all …]
/art/test/646-checker-arraycopy-large-cst-pos/
Dinfo.txt3 constant destination position, on ARM64, with read barriers
/art/dexlayout/
Ddex_writer.h85 void Seek(size_t position) { in Seek() argument
86 position_ = position; in Seek()
108 ALWAYS_INLINE size_t Clear(size_t position, size_t length) { in Clear() argument
110 memset(&data_[position], 0, length); in Clear()
/art/test/530-regression-lse/src/
DMain.java34 assertEquals(1, b.position()); in testRelativePositions()
/art/test/580-crc32/src/
DMain.java349 buf.position(off); in CRC32ByteBuffer()
417 buf.position(off); in CRC32DirectByteBuffer()
425 buf.position(0); in CRC32ByteAndDirectByteBuffer()
434 buf.position(0); in CRC32DirectByteBufferAndByte()
/art/tools/bisection_search/
DREADME.md26 Extra dalvikvm arguments will be placed on second position in the command
27 by default. {ARGS} tag can be used to specify a custom position.
/art/runtime/gc/space/
Dbump_pointer_space.cc101 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); in GetNextObject() local
102 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment)); in GetNextObject()

12