/aosp12/system/libbase/ |
H A D | strings.cpp | 56 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 D | bit_vector-inl.h | 51 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 D | rangeset.cpp | 187 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 D | orientationplot.py | 396 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 D | method_type.cc | 77 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 D | method_type.h | 49 int32_t start_index)
|
/aosp12/system/logging/logd/ |
H A D | LogAudit.cpp | 136 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 D | basic-inl.h | 29 int start_index, in SearchIndex() argument 31 int start = start_index; in SearchIndex()
|
H A D | basic.h | 39 int start_index,
|
/aosp12/frameworks/base/tools/aapt2/optimize/ |
H A D | ResourcePathShortener_test.cpp | 152 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 D | library_namespaces.cpp | 420 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 D | velocityplot.py | 248 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 D | goog_sensor_environment.cc | 106 int start_index = in GetLatestNSensorEvents() local 109 std::advance(event, start_index); in GetLatestNSensorEvents()
|
H A D | goog_sensor_motion.cc | 125 int start_index = in GetLatestNSensorEvents() local 128 std::advance(event, start_index); in GetLatestNSensorEvents()
|
H A D | goog_sensor_sync.cc | 114 int start_index = in GetLatestNSamples() local 117 std::advance(event, start_index); in GetLatestNSamples()
|
/aosp12/art/runtime/gc/accounting/ |
H A D | space_bitmap.cc | 137 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 D | method_handles-inl.h | 171 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 D | method_handles.h | 127 int32_t start_index,
|
/aosp12/system/incremental_delivery/incfs/util/ |
H A D | map_ptr.cpp | 95 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 D | StringPool.cpp | 437 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 D | String8_fuzz.cpp | 66 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 D | rangeset.h | 57 std::optional<RangeSet> GetSubRanges(size_t start_index, size_t num_of_blocks) const;
|
/aosp12/art/runtime/gc/space/ |
H A D | image_space.cc | 1396 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 D | incrementalfs.h | 131 __u32 start_index; member
|
/aosp12/system/incremental_delivery/incfs/kernel-headers/linux/ |
H A D | incrementalfs.h | 412 __u32 start_index; member
|