Home
last modified time | relevance | path

Searched refs:pos (Results 26 – 50 of 57) sorted by relevance

123

/art/openjdkjvmti/
Dti_breakpoint.cc184 auto pos = env->breakpoints.find(/* Breakpoint */ {art_method, location}); in ClearBreakpoint() local
185 if (pos == env->breakpoints.end()) { in ClearBreakpoint()
188 env->breakpoints.erase(pos); in ClearBreakpoint()
/art/runtime/gc/space/
Dregion_space-inl.h261 uint8_t* pos = r->Begin(); in WalkNonLargeRegion() local
279 r->LiveBytes() != static_cast<size_t>(top - pos); in WalkNonLargeRegion()
282 reinterpret_cast<uintptr_t>(pos), in WalkNonLargeRegion()
286 while (pos < top) { in WalkNonLargeRegion()
287 mirror::Object* obj = reinterpret_cast<mirror::Object*>(pos); in WalkNonLargeRegion()
290 pos = reinterpret_cast<uint8_t*>(GetNextObject(obj)); in WalkNonLargeRegion()
Dregion_space.cc852 uint8_t* pos = nullptr; in AllocNewTlab() local
861 pos = r->End() - largest_partial_tlab->first; in AllocNewTlab()
863 DCHECK_GT(r->End(), pos); in AllocNewTlab()
864 DCHECK_LE(r->Begin(), pos); in AllocNewTlab()
865 DCHECK_GE(r->Top(), pos); in AllocNewTlab()
866 *bytes_tl_bulk_allocated -= r->Top() - pos; in AllocNewTlab()
874 uint8_t* start = pos != nullptr ? pos : r->Begin(); in AllocNewTlab()
Dimage_space.cc1036 for (uint32_t pos = sizeof(ImageHeader); pos != objects_end; ) { in RemapInternedStringDuplicates() local
1037 mirror::Object* object = reinterpret_cast<mirror::Object*>(new_space->Begin() + pos); in RemapInternedStringDuplicates()
1041 pos += RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in RemapInternedStringDuplicates()
2949 for (uint32_t pos = sizeof(ImageHeader); pos != objects_end; ) { in DoRelocateSpaces() local
2950 mirror::Object* object = reinterpret_cast<mirror::Object*>(space->Begin() + pos); in DoRelocateSpaces()
2972 pos += RoundUp(object->SizeOf<kVerifyNone>(), kObjectAlignment); in DoRelocateSpaces()
/art/libartbase/base/
Dutils.cc327 size_t pos = line.find_first_not_of(" \t", pattern.size()); in GetProcessStatus() local
328 if (UNLIKELY(pos == std::string::npos)) { in GetProcessStatus()
331 return std::string(line, pos); in GetProcessStatus()
Dfile_utils.cc367 size_t pos = filename->rfind('/'); in InsertIsaDirectory() local
368 CHECK_NE(pos, std::string::npos) << *filename << " " << isa; in InsertIsaDirectory()
369 filename->insert(pos, "/", 1); in InsertIsaDirectory()
370 filename->insert(pos + 1, GetInstructionSetString(isa)); in InsertIsaDirectory()
/art/compiler/optimizing/
Doptimizing_unit_test.h282 std::string::size_type pos = result.find(p.first); in Patch() local
283 DCHECK_NE(pos, std::string::npos) in Patch()
285 result.replace(pos, p.first.size(), p.second); in Patch()
Dregister_allocation_resolver.cc337 [](const UsePosition& pos) { return pos.IsSynthesized(); })); in ConnectSiblings() argument
408 DCHECK(std::all_of(use_it, use_end, [](const UsePosition& pos) { return pos.IsSynthesized(); })); in ConnectSiblings() argument
Dssa_liveness_analysis.h862 auto pos = high_or_low_interval_->uses_.before_begin(); variable
865 pos = high_or_low_interval_->uses_.insert_after(pos, *new_use);
Dintrinsics_arm_vixl.cc77 const Location& pos, in GenSystemArrayCopyBaseAddress() argument
87 if (pos.IsConstant()) { in GenSystemArrayCopyBaseAddress()
88 int32_t constant = Int32ConstantFrom(pos); in GenSystemArrayCopyBaseAddress()
91 __ Add(base, array, Operand(RegisterFrom(pos), vixl32::LSL, element_size_shift)); in GenSystemArrayCopyBaseAddress()
1797 Location pos, in CheckPosition() argument
1806 if (pos.IsConstant()) { in CheckPosition()
1807 int32_t pos_const = Int32ConstantFrom(pos); in CheckPosition()
1835 vixl32::Register pos_reg = RegisterFrom(pos); in CheckPosition()
1839 vixl32::Register pos_reg = RegisterFrom(pos); in CheckPosition()
Dintrinsics_x86.cc812 Location pos, in CheckPosition() argument
821 if (pos.IsConstant()) { in CheckPosition()
822 int32_t pos_const = pos.GetConstant()->AsIntConstant()->GetValue(); in CheckPosition()
850 Register pos_reg = pos.AsRegister<Register>(); in CheckPosition()
855 Register pos_reg = pos.AsRegister<Register>(); in CheckPosition()
2451 const Location& pos, in GenSystemArrayCopyBaseAddress() argument
2461 if (pos.IsConstant()) { in GenSystemArrayCopyBaseAddress()
2462 int32_t constant = pos.GetConstant()->AsIntConstant()->GetValue(); in GenSystemArrayCopyBaseAddress()
2465 __ leal(base, Address(array, pos.AsRegister<Register>(), scale_factor, data_offset)); in GenSystemArrayCopyBaseAddress()
Doptimizing_compiler.cc593 size_t pos = pass_name.find(kPassNameSeparator); in ConvertPassNameToOptimizationName() local
594 return pos == std::string::npos ? pass_name : pass_name.substr(0, pos); in ConvertPassNameToOptimizationName()
/art/libnativeloader/
Dpublic_libraries.cpp109 size_t pos = file_name->find("{}"); in InsertVndkVersionStr() local
110 while (pos != std::string::npos) { in InsertVndkVersionStr()
111 file_name->replace(pos, 2, version); in InsertVndkVersionStr()
112 pos = file_name->find("{}", pos + version.size()); in InsertVndkVersionStr()
/art/runtime/
Dhidden_api.cc212 size_t pos = 0; in DoesPrefixMatch() local
214 size_t count = std::min(prefix.length() - pos, strlen(part)); in DoesPrefixMatch()
215 if (prefix.compare(pos, count, part, 0, count) == 0) { in DoesPrefixMatch()
216 pos += count; in DoesPrefixMatch()
223 return pos == prefix.length(); in DoesPrefixMatch()
Dreference_table_test.cc266 size_t pos = haystack.find(needle, start); in FindAll() local
267 if (pos == std::string::npos) { in FindAll()
270 res.push_back(pos); in FindAll()
271 start = pos + 1; in FindAll()
Dclass_loader_context_test.cc1561 size_t pos = dex_location.rfind('/'); in TEST_F() local
1562 ASSERT_NE(std::string::npos, pos); in TEST_F()
1563 std::string parent = dex_location.substr(0, pos); in TEST_F()
1584 size_t pos = dex_location.rfind('/'); in TEST_F() local
1585 ASSERT_NE(std::string::npos, pos); in TEST_F()
1586 std::string parent = dex_location.substr(0, pos); in TEST_F()
1604 size_t pos = dex_location.rfind('/'); in TEST_F() local
1605 ASSERT_NE(std::string::npos, pos); in TEST_F()
1606 std::string parent = dex_location.substr(0, pos); in TEST_F()
/art/dex2oat/linker/
Dimage_test.h186 size_t pos = image_filename.rfind('/'); in DoCompile() local
187 CHECK_NE(pos, std::string::npos) << image_filename; in DoCompile()
189 out_helper.image_dir = image_filename.substr(0, pos); in DoCompile()
/art/cmdline/
Dcmdline_types.h436 const char* pos = args.c_str();
441 int64_t value = strtol(pos, &end, 10);
442 if (pos == end || errno == EINVAL) {
455 pos = end + 1;
/art/oatdump/
Doatdump_test.h270 size_t pos = error_buf.size();
271 if (pos < MB) {
/art/tools/ahat/etc/
Dhprofdump.py146 pos = hprof.tell() variable
153 print "%d: STRING %x %s" % (pos, id, repr(string))
/art/profman/
Dprofile_assistant_test.cc1252 const size_t pos = output.find(std::to_string(m) + "[],", hot_offset); in TEST_F() local
1253 ASSERT_NE(pos, std::string::npos) << output; in TEST_F()
1254 EXPECT_LT(pos, startup_offset) << output; in TEST_F()
1257 const size_t pos = output.find(std::to_string(m) + ",", startup_offset); in TEST_F() local
1258 ASSERT_NE(pos, std::string::npos) << output; in TEST_F()
1259 EXPECT_LT(pos, post_startup_offset) << output; in TEST_F()
1262 const size_t pos = output.find(std::to_string(m) + ",", post_startup_offset); in TEST_F() local
1263 ASSERT_NE(pos, std::string::npos) << output; in TEST_F()
1264 EXPECT_LT(pos, classes_offset) << output; in TEST_F()
/art/libprofile/profile/
Dprofile_compilation_info.cc187 size_t pos = profile_key.rfind(kSampleMetadataSeparator); in GetBaseKeyFromAugmentedKey() local
188 return (pos == std::string::npos) ? profile_key : profile_key.substr(0, pos); in GetBaseKeyFromAugmentedKey()
194 size_t pos = augmented_key.rfind(kSampleMetadataSeparator); in MigrateAnnotationInfo() local
195 return (pos == std::string::npos) in MigrateAnnotationInfo()
197 : base_key + augmented_key.substr(pos); in MigrateAnnotationInfo()
202 size_t pos = augmented_key.rfind(kSampleMetadataSeparator); in GetAnnotationFromKey() local
203 return (pos == std::string::npos) in GetAnnotationFromKey()
205 : ProfileSampleAnnotation(augmented_key.substr(pos + 1)); in GetAnnotationFromKey()
/art/runtime/gc/allocator/
Drosalloc.cc791 std::set<Run*>::iterator pos = non_full_runs->find(run); in FreeFromRun() local
792 if (pos != non_full_runs->end()) { in FreeFromRun()
793 non_full_runs->erase(pos); in FreeFromRun()
815 auto pos = non_full_runs->find(run); in FreeFromRun() local
816 if (pos == non_full_runs->end()) { in FreeFromRun()
1143 std::unordered_set<Run*, hash_run, eq_run>::iterator pos = full_runs->find(run); in BulkFree() local
1144 DCHECK(pos != full_runs->end()); in BulkFree()
1145 full_runs->erase(pos); in BulkFree()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc76 void InsertInsn(std::vector<uint8_t>* code, size_t pos, uint32_t insn) { in InsertInsn() argument
77 CHECK_LE(pos, code->size()); in InsertInsn()
84 code->insert(code->begin() + pos, insn_code, insn_code + sizeof(insn_code)); in InsertInsn()
93 code->insert(code->begin() + pos, insn_code, insn_code + sizeof(insn_code)); in InsertInsn()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc85 void InsertInsn(std::vector<uint8_t>* code, size_t pos, uint32_t insn) { in InsertInsn() argument
86 CHECK_LE(pos, code->size()); in InsertInsn()
94 code->insert(code->begin() + pos, insn_code, insn_code + sizeof(insn_code)); in InsertInsn()

123