/system/incremental_delivery/incfs/ |
D | split.h | 33 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/ |
D | apex_classpath.cpp | 101 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()
|
D | apex_database.cpp | 42 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/ |
D | system_links.cc | 71 ns->AddRequires(base::Split(Var("LLNDK_LIBRARIES_PRODUCT", ""), ":")); in AddLlndkLibraries() 73 ns->AddRequires(base::Split(Var("LLNDK_LIBRARIES_VENDOR", ""), ":")); in AddLlndkLibraries()
|
/system/core/init/ |
D | property_type.cpp | 26 using android::base::Split; 37 auto type_strings = Split(type_string, " "); in CheckType()
|
D | host_init_verifier.cpp | 58 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/ |
D | test_util.cpp | 26 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/ |
D | test_service.cpp | 49 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/ |
D | strings_test.cpp | 27 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/ |
D | property_info_file.cpp | 24 using android::base::Split; 113 for (const auto& line : Split(file_contents, "\n")) { in ParsePropertyInfoFile()
|
D | trie_builder.cpp | 21 using android::base::Split; 45 auto name_pieces = Split(name, "."); in AddToTrie()
|
/system/linkerconfig/modules/tests/ |
D | namespace_test.cc | 148 for (auto line : Split(writer.ToString(), "\n")) { in TEST() 150 actual_links = Split(line, " ").back(); in TEST()
|
/system/tools/hidl/build/ |
D | fqName.go | 44 packageComponents: strings.Split(matches[0][1], "."), 53 components := strings.Split(pkg, ".")
|
/system/linkerconfig/contents/namespace/ |
D | vendordefault.cc | 53 ns.AddRequires(base::Split(Var("LLNDK_LIBRARIES_VENDOR", ""), ":")); in BuildVendorNamespace() 80 ns.AddRequires(base::Split(Var("LLNDK_LIBRARIES_VENDOR", ""), ":")); in BuildVendorSubdirNamespace()
|
/system/core/fastboot/ |
D | task_test.cpp | 27 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/ |
D | fstab.cpp | 47 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/ |
D | debuggerd_client_test.cpp | 44 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/ |
D | TypeChecker.cpp | 46 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/ |
D | test_utils.cpp | 39 using android::base::Split; 85 const std::vector<std::string> args = Split(command, " "); in runBinderCommand()
|
/system/tools/hidl/utils/ |
D | FQName.cpp | 276 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/ |
D | ProbeEvents.cpp | 41 using android::base::Split; 52 std::vector<std::string> args = Split(kprobe_cmd, " "); in ParseKprobeEventName()
|
D | cmd_boot_record.cpp | 129 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/ |
D | vts_fs_test.cpp | 166 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/ |
D | server_configurable_flags_test.cc | 106 std::vector<std::string> properties = Split(content, ";"); in TEST() 139 std::vector<std::string> properties = Split(content, ";"); in TEST()
|
/system/tools/hidl/lint/lints/ |
D | enumMaxAndAll.cpp | 46 base::Split(StringHelper::Uppercase(ev->name()), "_"); in enumValueNames()
|