Home
last modified time | relevance | path

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

/aosp14/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 …]
/aosp14/frameworks/base/libs/androidfw/
H A DUtil.cpp154 const size_t start_index = output.size(); in ModifiedUtf8ToUtf8() local
155 output.resize(start_index + utf8_length); in ModifiedUtf8ToUtf8()
156 char* start = &output[start_index]; in ModifiedUtf8ToUtf8()
H A DStringPool.cpp433 const size_t start_index = out->size(); in Flatten() local
448 header->stringsStart = before_strings_index - start_index; in Flatten()
465 header->stylesStart = util::HostToDevice32(before_styles_index - start_index); in Flatten()
495 header->header.size = util::HostToDevice32(out->size() - start_index); in Flatten()
/aosp14/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]
/aosp14/system/core/libutils/
H A DString8_fuzz.cpp66 int start_index = dataProvider->ConsumeIntegralInRange<int>(0, str1->size()); in __anon14e4abfe0902() local
67 str1->find(str2->c_str(), start_index); in __anon14e4abfe0902()
/aosp14/frameworks/base/tools/aapt2/optimize/
H A DObfuscator_test.cpp200 int start_index = (kNumResources / kNumTries) * i; in TEST() local
201 FillTable(builder2, start_index, kNumResources); in TEST()
202 FillTable(builder2, 0, start_index); in TEST()
/aosp14/frameworks/base/tools/aapt2/
H A DResourceTable.cpp430 const size_t start_index = new_packages.size(); in GetPartitionedView() local
438 std::make_pair(type.named_type, start_index)); in GetPartitionedView()
H A DResources.proto638 uint32 start_index = 2;
646 uint64 start_index = 1;
/aosp14/frameworks/base/tools/aapt2/format/proto/
H A DProtoDeserialize.cpp690 .name = span.name(), .first_char = span.start_index(), .last_char = span.end_index()}); in DeserializeMacroFromPb()
696 UntranslatableSection{.start = static_cast<size_t>(untranslatable_section.start_index()), in DeserializeMacroFromPb()