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()
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 …]
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.cc204 LiveInterval* RegisterAllocator::Split(LiveInterval* interval, size_t position) { in Split() argument
205 DCHECK_GE(position, interval->GetStart()); in Split()
206 DCHECK(!interval->IsDeadAt(position)); in Split()
207 if (position == interval->GetStart()) { in Split()
217 LiveInterval* new_interval = interval->SplitAt(position); in Split()
219 LiveInterval* high = interval->GetHighInterval()->SplitAt(position); in Split()
223 LiveInterval* low = interval->GetLowInterval()->SplitAt(position); in Split()
265 size_t position = dominated->GetLifetimeStart(); in SplitBetween() local
266 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.h81 static LiveInterval* Split(LiveInterval* interval, size_t position);
Dregister_allocation_resolver.h80 void InsertParallelMoveAt(size_t position,
/art/tools/class2greylist/src/com/android/class2greylist/
DSignatureSyntaxError.java21 public final int position; field in SignatureSyntaxError
24 super(expected + " at position " + sc.position() + " in " + sc.getOriginalString()); in SignatureSyntaxError()
26 this.position = sc.position(); in SignatureSyntaxError()
DJavadocLinkSyntaxError.java21 public final int position; field in JavadocLinkSyntaxError
25 super(expected + " at position " + sc.position() + " in " + sc.getOriginalString()); in JavadocLinkSyntaxError()
27 this.position = sc.position(); in JavadocLinkSyntaxError()
DStringCursor.java37 public int position() { in position() method in StringCursor
/art/test/070-nio-buffer/src/
DMain.java53 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/
Dlabel.h97 void BindTo(int position) { in BindTo() argument
99 position_ = -position - sizeof(void*); in BindTo()
103 void LinkTo(int position) { in LinkTo() argument
105 position_ = position + sizeof(void*); in LinkTo()
Dassembler.h50 virtual void Process(const MemoryRegion& region, int position) = 0;
60 int position() const { return position_; } in position() function
106 template<typename T> T Load(size_t position) { in Load() argument
107 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); in Load()
108 return *reinterpret_cast<T*>(contents_ + position); in Load()
111 template<typename T> void Store(size_t position, T value) { in Store() argument
112 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); in Store()
113 *reinterpret_cast<T*>(contents_ + position) = value; in Store()
/art/runtime/mirror/
Dfield.cc37 auto position = std::find_if( in VisitTarget() local
39 DCHECK(position != new_range.end()); in VisitTarget()
40 SetArtFieldIndex<false>(std::distance(new_range.begin(), position)); in VisitTarget()
Dfield-inl.h94 auto position = std::find_if( in CreateFromArtField() local
96 DCHECK(position != iter_range.end()); in CreateFromArtField()
97 ret->SetArtFieldIndex<kTransactionActive>(std::distance(iter_range.begin(), position)); in CreateFromArtField()
/art/test/646-checker-arraycopy-large-cst-pos/
Dinfo.txt3 constant destination position, on ARM64, with read barriers
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DParser.java637 hprof.seek(data.position); in parseInternal()
663 hprof.seek(data.position); in parseInternal()
690 public int position; field in Parser.ClassInstData
692 public ClassInstData(int position) { in ClassInstData() argument
693 this.position = position; in ClassInstData()
699 public int position; // Position in hprof file containing element data. field in Parser.ObjArrayData
701 public ObjArrayData(int length, int position) { in ObjArrayData() argument
703 this.position = position; in ObjArrayData()
940 return mBuffer.position(); in tell()
946 public void seek(int position) { in seek() argument
[all …]
/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()

12