/system/core/base/include/android-base/ |
D | strings.h | 40 std::string Join(const ContainerT& things, SeparatorT separator) { in Join() function 54 extern template std::string Join(const std::vector<std::string>&, char); 55 extern template std::string Join(const std::vector<const char*>&, char); 56 extern template std::string Join(const std::vector<std::string>&, const std::string&); 57 extern template std::string Join(const std::vector<const char*>&, const std::string&);
|
/system/core/base/ |
D | strings_test.cpp | 108 ASSERT_EQ("", android::base::Join(list, ',')); in TEST() 113 ASSERT_EQ("foo", android::base::Join(list, ',')); in TEST() 118 ASSERT_EQ("foo,bar,baz", android::base::Join(list, ',')); in TEST() 123 ASSERT_EQ(",,,", android::base::Join(list, ',')); in TEST() 128 ASSERT_EQ("1,2,3", android::base::Join(list, ',')); in TEST() 133 ASSERT_TRUE("1,2" == android::base::Join(list, ',') || in TEST() 134 "2,1" == android::base::Join(list, ',')); in TEST()
|
D | strings.cpp | 84 template std::string Join(const std::vector<std::string>&, char); 85 template std::string Join(const std::vector<const char*>&, char); 86 template std::string Join(const std::vector<std::string>&, const std::string&); 87 template std::string Join(const std::vector<const char*>&, const std::string&);
|
/system/netd/server/ |
D | StrictControllerTest.cpp | 100 std::string commandsCommon = android::base::Join(common, '\n'); in TEST_F() 101 std::string commands4 = android::base::Join(v4, '\n'); in TEST_F() 102 std::string commands6 = android::base::Join(v6, '\n'); in TEST_F()
|
D | FirewallControllerTest.cpp | 79 { V4, android::base::Join(expectedRestore4, '\n') }, in TEST_F() 80 { V6, android::base::Join(expectedRestore6, '\n') }, in TEST_F() 100 { V4, android::base::Join(expectedRestore, '\n') }, in TEST_F() 101 { V6, android::base::Join(expectedRestore, '\n') }, in TEST_F()
|
D | StrictController.cpp | 132 res |= execIptablesRestore(V4, android::base::Join(v4, '\n')); in enableStrict() 133 res |= execIptablesRestore(V6, android::base::Join(v6, '\n')); in enableStrict() 154 const std::string commands = android::base::Join(commandList, '\n'); in disableStrict()
|
D | Network.cpp | 80 repr << kSeparator << android::base::Join(mInterfaces, ","); in toString()
|
D | ResolverController.cpp | 236 std::string domains_str = android::base::Join(domains, ", "); in dump()
|
D | SockDiag.cpp | 373 android::base::Join(skipUidStrings, " ").c_str(), s.timeTaken()); in destroySockets()
|
D | BandwidthController.cpp | 272 std::string commands = android::base::Join(IPT_FLUSH_COMMANDS, '\n'); in flushCleanTables() 299 std::string commands = android::base::Join(IPT_BASIC_ACCOUNTING_COMMANDS, '\n'); in enableBandwidthControl()
|
/system/tools/aidl/ |
D | type_namespace.h | 224 using android::base::Join; in Find() 235 name = Join(container_class, '.') + in Find() 236 "<" + Join(contained_type_names, ',') + ">"; in Find() 268 using android::base::Join; in MaybeAddContainerType() 282 const std::string canonical_name = Join(container_class, ".") + in MaybeAddContainerType() 283 "<" + Join(contained_type_names, ",") + ">"; in MaybeAddContainerType()
|
D | type_cpp.cpp | 36 using android::base::Join; 206 return Join(name, '/') + ".h"; in GetCppHeader() 227 Join(parcelable.GetSplitPackage(), "::") + "::" + in GetCppName() 247 return "::std::vector<" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName() 267 return "::std::unique_ptr<::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName() 288 return "::" + Join(parcelable.GetSplitPackage(), "::") + in GetCppName()
|
D | aidl_language.cpp | 22 using android::base::Join; 138 return Join(package_, '.'); in GetPackage() 175 return Join(package_, '.'); in GetPackage()
|
D | aidl.cpp | 52 using android::base::Join; 247 writer->Write(" %s", Join(aidl_sources, " \\\n ").c_str()); in write_common_dep_file() 319 writer->Write("%s : \\\n %s\n", Join(headers, " \\\n ").c_str(), in write_cpp_dep_file() 320 Join(source_aidl, " \\\n ").c_str()); in write_cpp_dep_file()
|
D | aidl_language.h | 243 std::string GetDotName() const { return android::base::Join(terms_, '.'); } in GetDotName()
|
/system/core/libmemunreachable/ |
D | PtracerThread.cpp | 87 Join(); in ~PtracerThread() 116 int PtracerThread::Join() { in Join() function in PtracerThread
|
D | PtracerThread.h | 38 int Join();
|
D | MemUnreachable.cpp | 378 int ret = thread.Join(); in GetUnreachableMemory()
|
/system/tools/aidl/tests/ |
D | test_util.cpp | 27 using android::base::Join;
|
/system/core/init/ |
D | action.cpp | 31 using android::base::Join; 54 return Join(args_, ' '); in BuildCommandString()
|
/system/extras/simpleperf/ |
D | cmd_dumprecord.cpp | 208 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str()); in DumpFeatureSection()
|
D | cmd_report.cpp | 648 record_cmdline_ = android::base::Join(cmdline, ' '); in ReadFeaturesFromRecordFile()
|
/system/connectivity/apmanager/ |
D | device.cc | 275 brillo::string_utils::Join(" ", ht_capability).c_str()); in GetHTCapability()
|
/system/core/libnativeloader/ |
D | native_loader.cpp | 161 public_libraries_ = base::Join(sonames, ':'); in Initialize()
|
/system/core/adb/ |
D | commandline.cpp | 629 android::base::Join(args, ',').c_str(), in ShellServiceString() 810 command = android::base::Join(std::vector<const char*>(argv, argv + argc), ' '); in adb_shell() 1079 std::string cmd = format_host_command(android::base::Join(components, "-").c_str(), t, serial); in wait_for_device()
|