Home
last modified time | relevance | path

Searched refs:Split (Results 1 – 25 of 159) sorted by relevance

1234567

/system/incremental_delivery/incfs/
Dsplit.h33 void Split(std::string_view s, Separator delimiters, Callback&& onSplitCb) { in Split() function
52 void Split(std::string_view s, Separator delimiters, std::vector<std::string_view>* out) { in Split() function
54 Split(s, delimiters, [out](std::string_view split) { out->emplace_back(split); }); in Split()
58 std::vector<std::string_view> Split(std::string_view s, Separator delimiters) { in Split() function
60 Split(s, delimiters, &result); in Split()
/system/apex/apexd/
Dapex_classpath.cpp101 for (const auto& line : android::base::Split(contents, "\n")) { in ParseFromFile()
105 auto tokens = android::base::Split(line, " "); in ParseFromFile()
110 for (const auto& jar_path : android::base::Split(jars_list, ":")) { in ParseFromFile()
Dapex_database.cpp42 using android::base::Split;
105 const auto& tokens = Split(mount_info, " "); in ParseMountInfo()
114 auto split = Split(package_id, "@"); in ParseMountPoint()
/system/linkerconfig/contents/common/
Dsystem_links.cc71 ns->AddRequires(base::Split(Var("LLNDK_LIBRARIES_PRODUCT", ""), ":")); in AddLlndkLibraries()
73 ns->AddRequires(base::Split(Var("LLNDK_LIBRARIES_VENDOR", ""), ":")); in AddLlndkLibraries()
/system/core/init/
Dproperty_type.cpp26 using android::base::Split;
37 auto type_strings = Split(type_string, " "); in CheckType()
Dhost_init_verifier.cpp58 using android::base::Split;
75 auto passwd_lines = Split(passwd, "\n"); in GetVendorPasswd()
77 auto split_line = Split(line, ":"); in GetVendorPasswd()
/system/tools/aidl/tests/
Dtest_util.cpp26 using android::base::Split;
63 auto a_lines = Split(a, "\n"); in PrintDiff()
64 auto b_lines = Split(b, "\n"); in PrintDiff()
/system/core/init/test_service/
Dtest_service.cpp49 std::vector<std::string> lines = android::base::Split(status, "\n"); in main()
51 std::vector<std::string> tokens = android::base::Split(line, ":"); in main()
/system/libbase/
Dstrings_test.cpp27 std::vector<std::string> parts = android::base::Split("", ","); in TEST()
33 std::vector<std::string> parts = android::base::Split("foo", ","); in TEST()
39 std::vector<std::string> parts = android::base::Split("foo,bar,baz", ","); in TEST()
47 std::vector<std::string> parts = android::base::Split("foo,,bar", ","); in TEST()
55 std::vector<std::string> parts = android::base::Split("foo,bar,", ","); in TEST()
64 android::base::Split(std::string("foo\0bar", 7), std::string("\0", 1)); in TEST()
71 std::vector<std::string> parts = android::base::Split("foo:bar,baz", ",:"); in TEST()
79 std::vector<std::string> parts = android::base::Split("foo:,bar", ",:"); in TEST()
358 android::base::Split("/dev/null", ":"); in TEST()
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_file.cpp24 using android::base::Split;
113 for (const auto& line : Split(file_contents, "\n")) { in ParsePropertyInfoFile()
Dtrie_builder.cpp21 using android::base::Split;
45 auto name_pieces = Split(name, "."); in AddToTrie()
/system/linkerconfig/modules/tests/
Dnamespace_test.cc148 for (auto line : Split(writer.ToString(), "\n")) { in TEST()
150 actual_links = Split(line, " ").back(); in TEST()
/system/tools/hidl/build/
DfqName.go44 packageComponents: strings.Split(matches[0][1], "."),
53 components := strings.Split(pkg, ".")
/system/linkerconfig/contents/namespace/
Dvendordefault.cc53 ns.AddRequires(base::Split(Var("LLNDK_LIBRARIES_VENDOR", ""), ":")); in BuildVendorNamespace()
80 ns.AddRequires(base::Split(Var("LLNDK_LIBRARIES_VENDOR", ""), ":")); in BuildVendorSubdirNamespace()
/system/core/fastboot/
Dtask_test.cpp27 using android::base::Split;
49 vec_commands.emplace_back(android::base::Split(command, " ")); in collectTasks()
59 std::vector<std::string> vec_command = android::base::Split(command, " "); in ParseCommand()
127 ASSERT_TRUE(CheckFastbootInfoRequirements(android::base::Split(version, " "), 26)) in TEST_F()
133 ASSERT_FALSE(CheckFastbootInfoRequirements(android::base::Split(version, " "), 0)) in TEST_F()
138 ASSERT_FALSE(CheckFastbootInfoRequirements(android::base::Split(version, " "), 100)) in TEST_F()
/system/core/fs_mgr/libfstab/
Dfstab.cpp47 using android::base::Split;
123 for (const auto& flag : Split(flags, ",")) { in ParseMountFlags()
151 auto param = Split(arg, ":"); in ParseUserDevices()
164 auto options = Split(entry->fs_options, ","); in ParseUserDevices()
174 for (const auto& flag : Split(flags, ",")) { in ParseFsMgrFlags()
230 auto parts = Split(arg, ":"); in ParseFsMgrFlags()
559 for (const auto& line : android::base::Split(fstab_str, "\n")) { in ParseFstabFromString()
749 TransformFstabForDsu(fstab, dsu_slot, Split(lp_names, ",")); in ReadFstabFromFile()
817 for (const auto& line : Split(skip_mount_config, "\n")) { in SkipMountWithConfig()
897 for (std::string_view device : android::base::Split(value, " ")) { in GetBootDevices()
[all …]
/system/core/debuggerd/client/
Ddebuggerd_client_test.cpp44 android::base::Split(android::base::GetProperty("ro.build.characteristics", ""), ","); in getThreadCount()
107 std::vector<std::string> lines = android::base::Split(result, "\n"); in TEST()
/system/tools/sysprop/
DTypeChecker.cpp46 auto prop_values = android::base::Split(prop.enum_values(), "|"); in SyspropTypeToContextType()
63 auto ctx_values = android::base::Split(ctx_type, " "); in IsCompatible()
/system/netd/tests/
Dtest_utils.cpp39 using android::base::Split;
85 const std::vector<std::string> args = Split(command, " "); in runBinderCommand()
/system/tools/hidl/utils/
DFQName.cpp276 std::vector<std::string> vs = base::Split(v, "."); in parseVersion()
423 std::vector<std::string> nameComponents = base::Split(mName, "."); in tokenName()
437 std::vector<std::string> components = base::Split(mName, "."); in cppLocalName()
446 std::vector<std::string> components = base::Split(name(), "."); in cppName()
467 return base::Split(package(), "."); in getPackageComponents()
547 std::vector<std::string> inComponents = base::Split(package, "."); in inPackage()
/system/extras/simpleperf/
DProbeEvents.cpp41 using android::base::Split;
52 std::vector<std::string> args = Split(kprobe_cmd, " "); in ParseKprobeEventName()
Dcmd_boot_record.cpp129 std::vector<std::string> args = android::base::Split(record_options, " "); in CheckRecordOptions()
167 std::vector<std::string> args = android::base::Split(record_options_, " "); in Record()
/system/core/fs_mgr/tests/
Dvts_fs_test.cpp166 for (const auto& line : android::base::Split(fstab_str, "\n")) { in TEST()
175 EXPECT_THAT(android::base::Split(fields[4], ","), Not(Contains("verify"))) in TEST()
/system/server_configurable_flags/libflags/
Dserver_configurable_flags_test.cc106 std::vector<std::string> properties = Split(content, ";"); in TEST()
139 std::vector<std::string> properties = Split(content, ";"); in TEST()
/system/tools/hidl/lint/lints/
DenumMaxAndAll.cpp46 base::Split(StringHelper::Uppercase(ev->name()), "_"); in enumValueNames()

1234567