Lines Matching refs:substr
259 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseUintOption()
273 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseBoolOption()
299 std::string option_name(option_prefix.substr(option_prefix.size() - 1u)); in ParseOutputProfileType()
354 create_profile_from_file_ = std::string(option.substr(strlen("--create-profile-from="))); in ParseArgs()
387 std::string(option.substr(strlen("--preloaded-classes-denylist="))); in ParseArgs()
400 Split(std::string(option.substr(strlen("--special-package="))), ':', &values); in ParseArgs()
412 boot_profile_out_path_ = std::string(option.substr(strlen("--out-profile-path="))); in ParseArgs()
415 option.substr(strlen("--out-preloaded-classes-path="))); in ParseArgs()
417 profile_files_.push_back(std::string(option.substr(strlen("--profile-file=")))); in ParseArgs()
421 reference_profile_file_ = std::string(option.substr(strlen("--reference-profile-file="))); in ParseArgs()
425 dex_locations_.push_back(std::string(option.substr(strlen("--dex-location=")))); in ParseArgs()
429 apk_files_.push_back(std::string(option.substr(strlen("--apk=")))); in ParseArgs()
431 test_profile_ = std::string(option.substr(strlen("--generate-test-profile="))); in ParseArgs()
1084 const std::string_view name = method_spec.substr(0u, signature_start); in FindMethodIndex()
1085 const std::string_view signature = method_spec.substr(signature_start); in FindMethodIndex()
1206 SplitString(ic_line.substr(1), kProfileParsingInlineChacheTargetSep)) { in SplitInlineCacheSegment()
1210 out.receiver_ = t.substr(0, recv_end + 1); in SplitInlineCacheSegment()
1211 Split(t.substr(recv_end + 1), kProfileParsingTypeSep, &out.inline_caches_); in SplitInlineCacheSegment()
1356 annotation_string = maybe_annotated_line.substr(1, end_pos - 1); in ProcessLine()
1358 line = maybe_annotated_line.substr(end_pos + 1); in ProcessLine()
1391 klass = line.substr(start_index, method_sep_index - start_index); in ProcessLine()
1392 method_str = line.substr(method_sep_index + kMethodSep.size()); in ProcessLine()
1410 if (FindClassDef(dex_files, klass.substr(array_dim), &class_ref) == nullptr) { in ProcessLine()
1411 LOG(WARNING) << "Could not find class definition: " << klass.substr(array_dim); in ProcessLine()
1612 std::string_view klass_str = line.substr(0, method_sep_index); in ProcessBootLine()
1613 std::string_view method_str = line.substr(method_sep_index + kMethodSep.size()); in ProcessBootLine()