Home
last modified time | relevance | path

Searched refs:start_index (Results 1 – 25 of 39) sorted by relevance

12

/aosp12/system/libbase/
H A Dstrings.cpp56 size_t start_index = 0; in Trim() local
60 while (start_index < s.size()) { in Trim()
61 if (!isspace(s[start_index])) { in Trim()
64 start_index++; in Trim()
68 while (end_index >= start_index) { in Trim()
76 if (end_index < start_index) { in Trim()
80 return s.substr(start_index, end_index - start_index + 1); in Trim()
/aosp12/art/libartbase/base/
H A Dbit_vector-inl.h51 inline uint32_t BitVector::IndexIterator::FindIndex(uint32_t start_index) const { in FindIndex() argument
52 DCHECK_LE(start_index, BitSize()); in FindIndex()
53 uint32_t word_index = start_index / kWordBits; in FindIndex()
55 return start_index; in FindIndex()
59 word &= static_cast<uint32_t>(-1) << (start_index & 0x1f); in FindIndex()
/aosp12/bootable/recovery/otautil/
H A Drangeset.cpp187 std::optional<RangeSet> RangeSet::GetSubRanges(size_t start_index, size_t num_of_blocks) const { in GetSubRanges() argument
188 size_t end_index = start_index + num_of_blocks; // The index of final block to read plus one in GetSubRanges()
189 if (start_index > end_index || end_index > blocks_) { in GetSubRanges()
190 LOG(ERROR) << "Failed to get the sub ranges for start_index " << start_index in GetSubRanges()
207 if (current_index + blocks_in_range <= start_index) { in GetSubRanges()
214 if (current_index < start_index) { in GetSubRanges()
215 trimmed_range_start += start_index - current_index; in GetSubRanges()
234 LOG(ERROR) << "Failed to construct byte ranges to read, start_block: " << start_index in GetSubRanges()
/aosp12/frameworks/base/tools/orientationplot/
H A Dorientationplot.py396 start_index = prefix_index + len(prefix)
397 delim_index = line.find(',', start_index)
399 return line[start_index:]
401 return line[start_index:delim_index]
415 start_index = prefix_index + len(prefix) + 1
416 delim_index = line.find(']', start_index)
421 while start_index < delim_index:
422 comma_index = line.find(', ', start_index, delim_index)
424 result.append(float(line[start_index:delim_index]))
426 result.append(float(line[start_index:comma_index]))
[all …]
/aosp12/art/runtime/mirror/
H A Dmethod_type.cc77 int32_t start_index) { in CollectTrailingArguments() argument
79 if (start_index > ptypes_length) { in CollectTrailingArguments()
87 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, start_index + 1)); in CollectTrailingArguments()
91 for (int32_t i = 0; i < start_index; ++i) { in CollectTrailingArguments()
94 dst_ptypes->Set(start_index, collector_class.Get()); in CollectTrailingArguments()
H A Dmethod_type.h49 int32_t start_index)
/aosp12/system/logging/logd/
H A DLogAudit.cpp136 size_t start_index = denial.find(search_term); in denialParse() local
137 if (start_index != std::string::npos) { in denialParse()
138 start_index += search_term.length(); in denialParse()
140 start_index, denial.find(terminator, start_index) - start_index); in denialParse()
/aosp12/frameworks/av/media/libeffects/loudness/dsp/core/
H A Dbasic-inl.h29 int start_index, in SearchIndex() argument
31 int start = start_index; in SearchIndex()
H A Dbasic.h39 int start_index,
/aosp12/frameworks/base/tools/aapt2/optimize/
H A DResourcePathShortener_test.cpp152 int start_index = (kNumResources/kNumTries)*i; in TEST() local
153 FillTable(builder2, start_index, kNumResources); in TEST()
154 FillTable(builder2, 0, start_index); in TEST()
/aosp12/art/libnativeloader/
H A Dlibrary_namespaces.cpp420 size_t start_index = strlen(kApexPath); in FindApexNamespaceName() local
421 size_t slash_index = location.find_first_of('/', start_index); in FindApexNamespaceName()
424 std::string name = location.substr(start_index, slash_index - start_index); in FindApexNamespaceName()
/aosp12/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py248 start_index = prefix_index + len(prefix)
249 delim_index = line.find(',', start_index)
251 return line[start_index:]
253 return line[start_index:delim_index]
/aosp12/hardware/google/camera/common/sensor_listener/
H A Dgoog_sensor_environment.cc106 int start_index = in GetLatestNSensorEvents() local
109 std::advance(event, start_index); in GetLatestNSensorEvents()
H A Dgoog_sensor_motion.cc125 int start_index = in GetLatestNSensorEvents() local
128 std::advance(event, start_index); in GetLatestNSensorEvents()
H A Dgoog_sensor_sync.cc114 int start_index = in GetLatestNSamples() local
117 std::advance(event, start_index); in GetLatestNSamples()
/aosp12/art/runtime/gc/accounting/
H A Dspace_bitmap.cc137 const uintptr_t start_index = OffsetToIndex(begin_offset); in ClearRange() local
139 ZeroAndReleasePages(reinterpret_cast<uint8_t*>(&bitmap_begin_[start_index]), in ClearRange()
140 (end_index - start_index) * sizeof(*bitmap_begin_)); in ClearRange()
/aosp12/art/runtime/
H A Dmethod_handles-inl.h171 int32_t start_index, in PerformConversions() argument
177 for (int32_t i = start_index; i < end_index; ++i) { in PerformConversions()
179 ObjPtr<mirror::Class> to(to_types->GetWithoutChecks(i - start_index)); in PerformConversions()
H A Dmethod_handles.h127 int32_t start_index,
/aosp12/system/incremental_delivery/incfs/util/
H A Dmap_ptr.cpp95 const data_block_index_t start_index = get_block_index(data_start, start_block_ptr_); in Verify() local
101 for (data_block_index_t curr_index = start_index; curr_index <= end_index; ++curr_index) { in Verify()
/aosp12/frameworks/base/tools/aapt2/
H A DStringPool.cpp437 const size_t start_index = out->size(); in Flatten() local
452 header->stringsStart = before_strings_index - start_index; in Flatten()
469 header->stylesStart = util::HostToDevice32(before_styles_index - start_index); in Flatten()
499 header->header.size = util::HostToDevice32(out->size() - start_index); in Flatten()
/aosp12/system/core/libutils/
H A DString8_fuzz.cpp66 int start_index = dataProvider->ConsumeIntegralInRange<int>(0, str1->size()); in __anon90faaa7c0902() local
67 str1->find(str2->c_str(), start_index); in __anon90faaa7c0902()
/aosp12/bootable/recovery/otautil/include/otautil/
H A Drangeset.h57 std::optional<RangeSet> GetSubRanges(size_t start_index, size_t num_of_blocks) const;
/aosp12/art/runtime/gc/space/
H A Dimage_space.cc1396 size_t start_index; member
1740 if (chunk.start_index != component_count) { in ValidateBootImageChecksum()
1837 chunk.start_index = bcp_index; in ReadHeader()
2022 chunk.start_index = bcp_index; in CompileExtension()
2350 if (max_image_space_dependencies == chunk.start_index && in LoadImage()
2351 spaces.size() == chunk.start_index + chunk.component_count) { in LoadImage()
2973 bool is_extension = (chunk.start_index != 0u); in LoadComponents()
2985 chunk.start_index, chunk.image_space_count); in LoadComponents()
3644 size_t start_index = 0u; in ExpandMultiImageLocations() local
3646 start_index = 1u; in ExpandMultiImageLocations()
[all …]
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dincrementalfs.h131 __u32 start_index; member
/aosp12/system/incremental_delivery/incfs/kernel-headers/linux/
H A Dincrementalfs.h412 __u32 start_index; member

12