Home
last modified time | relevance | path

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

123

/system/tools/aidl/
Doptions.cpp33 using android::base::Trim;
234 string lang = Trim(optarg); in Options()
270 import_dirs_.emplace(Trim(optarg)); in Options()
274 import_files_.emplace(Trim(optarg)); in Options()
278 preprocessed_files_.emplace_back(Trim(optarg)); in Options()
281 dependency_file_ = Trim(optarg); in Options()
284 output_dir_ = Trim(optarg); in Options()
290 output_header_dir_ = Trim(optarg); in Options()
302 const string stability_str = Trim(optarg); in Options()
323 const string ver_str = Trim(optarg); in Options()
[all …]
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_file.cpp26 using android::base::Trim;
114 auto trimmed_line = Trim(line); in ParsePropertyInfoFile()
/system/libbase/
Dstrings_test.cpp87 ASSERT_EQ("", android::base::Trim("")); 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", android::base::Trim("foo ")); in TEST()
103 ASSERT_EQ("foo", android::base::Trim(" foo ")); in TEST()
107 ASSERT_EQ("foo bar", android::base::Trim("foo bar")); in TEST()
111 ASSERT_EQ("foo", android::base::Trim("\v\tfoo\n\f")); in TEST()
Derrors_windows.cpp57 msg = android::base::Trim(msg); in SystemErrorCodeToString()
Dstrings.cpp49 std::string Trim(const std::string& s) { in Trim() function
/system/nfc/utils/
Dconfig.cc127 line = Trim(line); in parseFromString()
135 string key(Trim(line.substr(0, search))); in parseFromString()
136 string value_string(Trim(line.substr(search + 1, string::npos))); in parseFromString()
/system/connectivity/wificond/tests/integration/
Dprocess_utils.cpp34 using android::base::Trim;
48 output = Trim(output); in IsProcessRunning()
/system/vold/
DIdleMaint.h25 void Trim(const android::sp<android::os::IVoldTaskListener>& listener);
DIdleMaint.cpp147 void Trim(const android::sp<android::os::IVoldTaskListener>& listener) { in Trim() function
281 require = android::base::Trim(require); in runDevGcFstab()
391 Trim(nullptr); in RunIdleMaint()
/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp44 using android::base::Trim;
80 wakeup_count = Trim(wakeup_count); in suspend_thread_func()
/system/core/debuggerd/
Dutil.cpp40 return android::base::Trim(result); in get_thread_name()
/system/extras/simpleperf/
Dcmd_debug_unwind.cpp66 stat->vm_peak = android::base::Trim(line.substr(strlen("VmPeak:"))); in GetMemStat()
68 stat->vm_size = android::base::Trim(line.substr(strlen("VmSize:"))); in GetMemStat()
70 stat->vm_hwm = android::base::Trim(line.substr(strlen("VmHWM:"))); in GetMemStat()
72 stat->vm_rss = android::base::Trim(line.substr(strlen("VmRSS:"))); in GetMemStat()
Denvironment.cpp293 s = android::base::Trim(s); in ReadPerfEventAllowStatus()
434 s = android::base::Trim(s); in ReadUintFromProcFile()
481 s = android::base::Trim(s); in CheckKernelSymbolAddresses()
912 std::string key = android::base::Trim(line.substr(0, pos)); in GetHardwareFromCpuInfo()
914 return android::base::Trim(line.substr(pos + 1)); in GetHardwareFromCpuInfo()
/system/core/init/test_service/
Dtest_service.cpp54 std::string value = android::base::Trim(tokens[1]); in main()
/system/core/adb/client/
Dbugreport.cpp208 std::string bugz_version = android::base::Trim(bugz_stderr); in DoIt()
209 std::string bugz_output = android::base::Trim(bugz_stdout); in DoIt()
/system/core/init/
Ddevices.cpp50 using android::base::Trim;
121 *name = android::base::Trim(*name); in FindDmDevice()
122 *uuid = android::base::Trim(*uuid); in FindDmDevice()
453 boot_id = Trim(boot_id); in HandleAshmemUevent()
Dfirmware_handler.cpp40 using android::base::Trim;
148 return Trim(stdout_content); in RunExternalHandler()
Dreboot_utils.cpp43 cmdline = android::base::Trim(cmdline); in SetFatalRebootTarget()
/system/apex/apexd/
Dapex_database.cpp43 using android::base::Trim;
84 return Trim(propertyValue); in GetProperty()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp68 *exporter = ::android::base::Trim(c); in ReadDmaBufFdInfo()
74 *name = ::android::base::Trim(std::string(c)); in ReadDmaBufFdInfo()
/system/tools/hidl/
DDocComment.cpp32 std::vector<std::string> lines = base::Split(base::Trim(comment), "\n"); in DocComment()
/system/libbase/include/android-base/
Dstrings.h36 std::string Trim(const std::string& s);
/system/extras/libperfmgr/
DFileNode.cc103 node_value = android::base::Trim(node_value); in DumpToFd()
/system/linkerconfig/generator/
Dlibrarylistloader.cc52 library_name = android::base::Trim(library_name); in GetLibrariesFromFile()
/system/core/fs_mgr/libfiemap/
Dutility.cpp118 contents = android::base::Trim(contents); in F2fsPinBeforeAllocate()

123