Home
last modified time | relevance | path

Searched refs:Split (Results 1 – 25 of 154) 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/
Dflattened_apex_test.cpp55 using android::base::Split; in TEST()
59 for (const auto& mount : Split(mounts, "\n")) { in TEST()
60 const std::vector<std::string>& tokens = Split(mount, " "); in TEST()
Dapex_database.cpp41 using android::base::Split;
104 const auto& tokens = Split(mountInfo, " "); in parseMountInfo()
113 auto split = Split(packageId, "@"); in parseMountPoint()
/system/bt/audio_bluetooth_hw/
Dutils.cc35 std::vector<std::string> segments = android::base::Split(params, ";"); in ParseAudioParams()
41 std::vector<std::string> kv = android::base::Split(segment, "="); in ParseAudioParams()
/system/iorap/src/inode2filename/
Dinode.cc36 std::vector<std::string> lst_pair = android::base::Split(str, "@"); in Parse()
56 std::vector<std::string> lst = android::base::Split(str, ":"); in Parse()
/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()
296 android::base::Split("/dev/null", ":"); in TEST()
/system/core/init/
Dproperty_type.cpp26 using android::base::Split;
37 auto type_strings = Split(type_string, " "); in CheckType()
Dfirmware_handler.cpp38 using android::base::Split;
103 auto args = Split(handler, " "); in RunExternalHandler()
136 auto messages = Split(stderr_content, "\n"); in RunExternalHandler()
Dhost_init_verifier.cpp56 using android::base::Split;
71 auto passwd_lines = Split(passwd, "\n"); in GetVendorPasswd()
73 auto split_line = Split(line, ":"); in GetVendorPasswd()
/system/linkerconfig/modules/tests/
Dnamespace_test.cc126 for (auto line : Split(writer.ToString(), "\n")) { in TEST()
128 actual_links = Split(line, " ").back(); in TEST()
/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/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/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/core/debuggerd/client/
Ddebuggerd_client_test.cpp43 android::base::Split(android::base::GetProperty("ro.build.characteristics", ""), ","); in getThreadCount()
97 std::vector<std::string> lines = android::base::Split(result, "\n"); in TEST()
/system/tools/sysprop/
DTypeChecker.cpp43 auto prop_values = android::base::Split(prop.enum_values(), "|"); in SyspropTypeToContextType()
60 auto ctx_values = android::base::Split(ctx_type, " "); in IsCompatible()
/system/bpf/libbpf_android/
DLoaderUtils.h25 std::vector<std::string> spath = android::base::Split(path, "/");
/system/tools/hidl/build/
DfqName.go44 packageComponents: strings.Split(matches[0][1], "."),
53 components := strings.Split(pkg, ".")
/system/core/adb/crypto/tests/
Dx509_generator_test.cpp33 std::vector<std::string> split = android::base::Split(std::string(pub_key_plus_name), " \t"); in TEST()
/system/core/adb/
Dadb_listeners_test.cpp33 for (const std::string& line : android::base::Split(format_listeners(), "\n")) { in listener_is_installed()
34 std::vector<std::string> info = android::base::Split(line, " "); in listener_is_installed()
/system/linkerconfig/contents/common/
Dsystem_links.cc64 return android::base::Split(Var("STUB_LIBRARIES", ""), ":"); in GetSystemStubLibraries()
/system/tools/hidl/lint/lints/
DenumMaxAndAll.cpp46 base::Split(StringHelper::Uppercase(ev->name()), "_"); in enumValueNames()
/system/netd/netutils_wrappers/
DNetUtilsWrapperTest-1.0.cpp62 std::vector<std::string> pieces = android::base::Split(cmd.cmdString, " "); in TEST()
/system/tools/hidl/utils/
DFQName.cpp284 std::vector<std::string> vs = base::Split(v, "."); in parseVersion()
439 std::vector<std::string> nameComponents = base::Split(mName, "."); in tokenName()
453 std::vector<std::string> components = base::Split(mName, "."); in cppLocalName()
462 std::vector<std::string> components = base::Split(name(), "."); in cppName()
483 return base::Split(package(), "."); in getPackageComponents()
563 std::vector<std::string> inComponents = base::Split(package, "."); in inPackage()
/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()

1234567