Home
last modified time | relevance | path

Searched refs:Trim (Results 1 – 14 of 14) sorted by relevance

/system/core/base/
Dstrings_test.cpp79 ASSERT_EQ("", android::base::Trim("")); in TEST()
83 ASSERT_EQ("foo", android::base::Trim("foo")); in TEST()
87 ASSERT_EQ("foo", android::base::Trim(" foo")); in TEST()
91 ASSERT_EQ("foo", android::base::Trim("foo ")); in TEST()
95 ASSERT_EQ("foo", android::base::Trim(" foo ")); in TEST()
99 ASSERT_EQ("foo bar", android::base::Trim("foo bar")); in TEST()
103 ASSERT_EQ("foo", android::base::Trim("\v\tfoo\n\f")); in TEST()
Derrors_windows.cpp57 msg = android::base::Trim(msg); in SystemErrorCodeToString()
Dstrings.cpp48 std::string Trim(const std::string& s) { in Trim() function
/system/tools/aidl/
Dtype_namespace.h225 using android::base::Trim; in Find()
227 string name = Trim(aidl_type.GetName()); in Find()
245 using android::base::Trim; in FindTypeByCanonicalName()
247 std::string name = Trim(raw_name); in FindTypeByCanonicalName()
320 using android::base::Trim; in CanonicalizeContainerType()
323 std::string name = Trim(aidl_type.GetName()); in CanonicalizeContainerType()
339 std::string container = Trim(name.substr(0, opening_brace)); in CanonicalizeContainerType()
Dtype_namespace.cpp28 using android::base::Trim;
Dtype_java.cpp29 using android::base::Trim;
/system/core/base/include/android-base/
Dstrings.h36 std::string Trim(const std::string& s);
/system/core/adb/
Dbugreport.cpp195 std::string bugz_version = android::base::Trim(bugz_stderr); in DoIt()
196 std::string bugz_output = android::base::Trim(bugz_stdout); in DoIt()
Dusb_linux.cpp563 serial = android::base::Trim(serial); in register_device()
/system/core/libnativeloader/
Dnative_loader.cpp182 auto trimmed_line = base::Trim(line); in ReadConfig()
/system/extras/simpleperf/
Dcmd_report_test.cpp56 std::string s = android::base::Trim(line); in ReportRaw()
Denvironment.cpp432 s = android::base::Trim(s); in ReadPerfEventParanoid()
/system/core/init/
Dutil.cpp433 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { in import_kernel_cmdline()
/system/core/fastboot/
Dfastboot.cpp751 max_download_size = android::base::Trim(max_download_size); in get_target_sparse_limit()
1345 partition_size = android::base::Trim(partition_size); in fb_perform_format()