Home
last modified time | relevance | path

Searched refs:begin (Results 76 – 100 of 269) sorted by relevance

1234567891011

/art/libartbase/base/
Darena_allocator.cc109 std::copy_n(other.alloc_stats_.begin(), kNumArenaAllocKinds, alloc_stats_.begin()); in Copy()
126 return std::accumulate(alloc_stats_.begin(), alloc_stats_.end(), init); in BytesAllocated()
Dbit_table.h199 ALWAYS_INLINE const_iterator begin() const { return const_iterator(this, 0); } in begin() function
234 bool empty() const { return this->begin() == this->end(); } in empty()
235 size_t size() const { return this->end() - this->begin(); } in size()
238 const_iterator it = this->begin() + index;
272 std::copy(values.begin(), values.end(), data_); in Entry()
318 rows_.begin() + index,
Dbit_vector_test.cc42 EXPECT_TRUE(bv.Indexes().begin().Done()); in TEST()
43 EXPECT_TRUE(bv.Indexes().begin() == bv.Indexes().end()); in TEST()
58 BitVector::IndexIterator iterator = bv.Indexes().begin(); in TEST()
Dbit_vector-inl.h80 inline BitVector::IndexIterator BitVector::IndexContainer::begin() const { in begin() function
/art/dexdump/
Ddexdump_test.cc45 exec_argv.insert(exec_argv.end(), args.begin(), args.end()); in Exec()
/art/compiler/jni/quick/
Djni_compiler.h44 cfi_(cfi.begin(), cfi.end()) {} in JniCompiledMethod()
/art/dexlist/
Ddexlist_test.cc47 exec_argv.insert(exec_argv.end(), args.begin(), args.end()); in Exec()
/art/compiler/driver/
Dcompiled_method_storage.cc42 std::copy(array.begin(), array.end(), array_copy->begin()); in CopyArray()
261 code.begin(), code.end(), SwapAllocator<uint8_t>(swap_space_.get())); in SetThunkCode()
/art/runtime/interpreter/
Dlock_count_data.cc53 auto it = std::find(monitors_->begin(), monitors_->end(), obj); in RemoveMonitorOrThrow()
/art/cmdline/detail/
Dcmdline_parse_argument_detail.h207 size_t local_blank_count = std::count(s.begin(), s.end(), '_'); in CompleteArgument()
208 size_t local_token_count = std::count(s.begin(), s.end(), ' '); in CompleteArgument()
265 std::accumulate(tokenized_names_.begin(), tokenized_names_.end(), ~(0u), in CompleteArgument()
270 std::accumulate(tokenized_names_.begin(), tokenized_names_.end(), 0u, in CompleteArgument()
/art/runtime/gc/space/
Dregion_space.h406 void Init(size_t idx, uint8_t* begin, uint8_t* end) { in Init() argument
408 begin_ = begin; in Init()
409 top_.store(begin, std::memory_order_relaxed); in Init()
419 DCHECK_LT(begin, end); in Init()
420 DCHECK_EQ(static_cast<size_t>(end - begin), kRegionSize); in Init()
721 mirror::Object* AllocLargeInRange(size_t begin,
Dregion_space.cc415 static void ZeroAndProtectRegion(uint8_t* begin, uint8_t* end) { in ZeroAndProtectRegion() argument
416 ZeroAndReleasePages(begin, end - begin); in ZeroAndProtectRegion()
418 CheckedCall(mprotect, __FUNCTION__, begin, end - begin, PROT_NONE); in ZeroAndProtectRegion()
676 static void PoisonUnevacuatedRange(uint8_t* begin, uint8_t* end) { in PoisonUnevacuatedRange() argument
683 DCHECK_ALIGNED(begin, kPoisonDeadObjectSize); in PoisonUnevacuatedRange()
685 uint32_t* begin_addr = reinterpret_cast<uint32_t*>(begin); in PoisonUnevacuatedRange()
858 auto largest_partial_tlab = partial_tlabs_.begin(); in AllocNewTlab()
/art/libdexfile/dex/
Ddex_file_exception_helpers.cc33 const dex::TryItem* tries = accessor.TryItems().begin(); in CatchHandlerIterator()
Ddex_file_verifier.cc128 std::string GetString(const uint8_t* const begin, in GetString() argument
134 reinterpret_cast<const dex::StringId*>(begin + header->string_ids_off_) + string_idx.index_; in GetString()
138 const uint8_t* ptr = begin + string_id->string_data_off_; in GetString()
143 std::string GetClass(const uint8_t* const begin, in GetClass() argument
150 reinterpret_cast<const dex::TypeId*>(begin + header->type_ids_off_) + class_idx.index_; in GetClass()
155 return GetString(begin, header, type_id->descriptor_idx_); in GetClass()
158 std::string GetFieldDescription(const uint8_t* const begin, in GetFieldDescription() argument
165 reinterpret_cast<const dex::FieldId*>(begin + header->field_ids_off_) + idx; in GetFieldDescription()
168 std::string class_name = GetClass(begin, header, field_id->class_idx_); in GetFieldDescription()
169 std::string field_name = GetString(begin, header, field_id->name_idx_); in GetFieldDescription()
[all …]
/art/openjdkjvmti/
Dti_redefine.cc248 ObsoleteMapIter begin() const { in begin() function in openjdkjvmti::ObsoleteMap
1384 RedefinitionDataIter begin() REQUIRES_SHARED(art::Locks::mutator_lock_);
1604 RedefinitionDataIter RedefinitionDataHolder::begin() { in begin() function in openjdkjvmti::RedefinitionDataHolder
1660 for (auto old_data = cur_data->GetHolder().begin(); old_data != *cur_data; ++old_data) { in AllocateAndRememberNewDexFileCookie()
1690 for (auto old_data = cur_data->GetHolder().begin(); old_data != *cur_data; ++old_data) { in AllocateAndRememberNewDexFileCookie()
1765 for (auto pair : art::ZipCount(art::IterationRange(old_instances.begin(), old_instances.end()))) { in CollectAndCreateNewInstances()
1770 auto it = std::find_if(iterator.begin(), in CollectAndCreateNewInstances()
1928 std::sort(old_types.begin(), in FinishNewClassAllocations()
1960 auto old_super = std::find_if(old_types.begin(), in FinishNewClassAllocations()
1961 old_types.begin() + i, in FinishNewClassAllocations()
[all …]
/art/compiler/dex/
Dinline_method_analyser.cc68 instruction_(code_item->begin()) {} in Matcher()
327 DCHECK_EQ(target_method->DexInstructionData().begin()->Opcode(), Instruction::RETURN_VOID); in DoAnalyseConstructor()
453 Instruction::Code opcode = code_item->begin()->Opcode(); in AnalyseMethodCode()
524 DexInstructionIterator return_instruction = code_item->begin(); in AnalyseReturnMethod()
546 DexInstructionIterator instruction = code_item->begin(); in AnalyseConstMethod()
580 DexInstructionIterator instruction = code_item->begin(); in AnalyseIGetMethod()
644 DexInstructionIterator instruction = code_item->begin(); in AnalyseIPutMethod()
Dverified_method.cc57 return std::binary_search(safe_cast_set_->begin(), safe_cast_set_->end(), pc); in IsSafeCast()
/art/test/137-cfi/
Dcfi.cc113 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { in CheckStack()
126 for (Backtrace::const_iterator it = bt->begin(); it != bt->end(); ++it) { in CheckStack()
/art/runtime/gc/collector/
Dimmune_spaces_test.cc35 FakeOatFile(uint8_t* begin, uint8_t* end) : OatFile("Location", /*executable=*/ false) { in FakeOatFile() argument
36 begin_ = begin; in FakeOatFile()
147 FakeSpace(uint8_t* begin, uint8_t* end) in FakeSpace() argument
150 begin, in FakeSpace()
Dmark_sweep.cc834 uint8_t* begin, in CardScanTask() argument
842 begin_(begin), in CardScanTask()
999 uintptr_t begin, in RecursiveMarkTask() argument
1003 begin_(begin), in RecursiveMarkTask()
1049 uintptr_t begin = reinterpret_cast<uintptr_t>(space->Begin()); in RecursiveMark() local
1055 while (begin != end) { in RecursiveMark()
1056 uintptr_t start = begin; in RecursiveMark()
1057 uintptr_t delta = (end - begin) / n; in RecursiveMark()
1059 if (delta < 16 * KB) delta = end - begin; in RecursiveMark()
1060 begin += delta; in RecursiveMark()
[all …]
/art/compiler/debug/
Delf_debug_writer.cc75 std::stable_sort(it.second.methods.begin(), in WriteDebugInfo()
82 std::sort(compilation_units.begin(), in WriteDebugInfo()
242 DCHECK(std::all_of(removed_symbols.begin(), removed_symbols.end(), is_pc_aligned)); in PackElfFileForJIT()
246 return std::binary_search(removed_symbols.begin(), removed_symbols.end(), code_ptr); in PackElfFileForJIT()
/art/compiler/utils/
Dswap_space.cc116 : free_by_size_.lower_bound(FreeBySizeEntry { size, free_by_start_.begin() }); in Alloc()
186 if (it != free_by_start_.begin()) { in Free()
/art/test/010-instance/
Dexpected.txt1 instance begin
/art/libnativeloader/
Dpublic_libraries.cpp164 sonames->insert(sonames->end(), ret->begin(), ret->end()); in ReadExtensionLibraries()
193 std::copy(vec.begin(), vec.end(), std::back_inserter(*sonames)); in InitDefaultPublicLibraries()
218 auto it = std::find(sonames->begin(), sonames->end(), lib_name); in InitDefaultPublicLibraries()
225 auto it = std::find(sonames->begin(), sonames->end(), kNeuralNetworksApexPublicLibrary); in InitDefaultPublicLibraries()
/art/compiler/optimizing/
Dregister_allocator_linear_scan.cc527 active_.begin(), in LinearScan()
544 auto inactive_to_handle_end = inactive_.begin() + inactive_intervals_to_handle; in LinearScan()
546 inactive_.begin(), in LinearScan()
825 DCHECK(intervals->begin() <= pos && pos < intervals->end()); in RemoveIntervalAndPotentialOtherHalf()
832 DCHECK(intervals->begin() < pos); in RemoveIntervalAndPotentialOtherHalf()
843 for (auto it = active_.begin(), end = active_.end(); it != end; ++it) { in TrySplitNonPairOrUnalignedPairIntervalAt()
998 for (auto it = active_.begin(), end = active_.end(); it != end; ++it) { in AllocateBlockedReg()
1013 for (auto it = inactive_.begin(); it != inactive_.end(); ) { in AllocateBlockedReg()
1069 auto insert_pos = array->begin() + insert_at; in AddSorted()

1234567891011