Home
last modified time | relevance | path

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

123

/system/tools/aidl/
Doptions.cpp33 using android::base::Trim;
254 string lang = Trim(optarg); in Options()
306 import_dirs_.emplace(Trim(optarg)); in Options()
310 import_files_.emplace(Trim(optarg)); in Options()
314 preprocessed_files_.emplace_back(Trim(optarg)); in Options()
317 dependency_file_ = Trim(optarg); in Options()
320 output_dir_ = Trim(optarg); in Options()
326 output_header_dir_ = Trim(optarg); in Options()
338 const string stability_str = Trim(optarg); in Options()
359 const string ver_str = Trim(optarg); in Options()
[all …]
Dcomments.cpp34 using android::base::Trim;
100 while (!lines.empty() && Trim(lines.back()).empty()) { in TrimmedLines()
/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()
/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.cpp156 void Trim(const android::sp<android::os::IVoldTaskListener>& listener) { in Trim() function
290 require = android::base::Trim(require); in runDevGcFstab()
442 Trim(nullptr); in RunIdleMaint()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabuf_sysfs_stats.cpp41 if (!android::base::ParseUint(android::base::Trim(temp), val)) { in ReadUintFromFile()
90 info.exp_name = android::base::Trim(exporter_name); in GetDmabufSysfsStats()
Ddmabufinfo.cpp80 *exporter = ::android::base::Trim(c); in ReadDmaBufFdInfo()
87 *name = ::android::base::Trim(std::string(c)); in ReadDmaBufFdInfo()
/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp44 using android::base::Trim;
80 wakeup_count = Trim(wakeup_count); in suspend_thread_func()
/system/core/fs_mgr/
Dfs_mgr_boot_config.cpp77 result.emplace_back(android::base::Trim(line.substr(0, equal_sign)), in fs_mgr_parse_proc_bootconfig()
78 android::base::Trim(line.substr(equal_sign + 1))); in fs_mgr_parse_proc_bootconfig()
/system/core/init/test_service/
Dtest_service.cpp54 std::string value = android::base::Trim(tokens[1]); in main()
/system/extras/simpleperf/
Denvironment.cpp220 s = android::base::Trim(s); in ReadPerfEventAllowStatus()
374 s = android::base::Trim(s); in ReadUintFromProcFile()
422 arch = GetArchType(android::base::Trim(machine)); in GetMachineArch()
764 if (android::base::ParseInt(android::base::Trim(buf), &user_id, 0)) { in GetCurrentUserId()
781 return android::base::Trim(buf); in GetAppType()
913 std::string key = android::base::Trim(line.substr(0, pos)); in GetHardwareFromCpuInfo()
915 return android::base::Trim(line.substr(pos + 1)); in GetHardwareFromCpuInfo()
Dcmd_debug_unwind.cpp67 stat->vm_peak = android::base::Trim(line.substr(strlen("VmPeak:"))); in GetMemStat()
69 stat->vm_size = android::base::Trim(line.substr(strlen("VmSize:"))); in GetMemStat()
71 stat->vm_hwm = android::base::Trim(line.substr(strlen("VmHWM:"))); in GetMemStat()
73 stat->vm_rss = android::base::Trim(line.substr(strlen("VmRSS:"))); in GetMemStat()
/system/core/debuggerd/
Dutil.cpp59 return android::base::Trim(result); in get_thread_name()
/system/core/init/
Ddevices.cpp51 using android::base::Trim;
122 *name = android::base::Trim(*name); in FindDmDevice()
123 *uuid = android::base::Trim(*uuid); in FindDmDevice()
461 boot_id = Trim(boot_id); in HandleAshmemUevent()
Dfirmware_handler.cpp43 using android::base::Trim;
181 return Trim(stdout_content); in RunExternalHandler()
/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/apex/apexd/
Dapex_database.cpp46 using android::base::Trim;
87 return Trim(property_value); in GetProperty()
/system/linkerconfig/generator/
Dlibrarylistloader.cc52 library_name = android::base::Trim(library_name); in GetLibrariesFromFile()
/system/update_engine/stable/
Dupdate_engine_stable_client.cc155 auto header = android::base::Trim(line); in ParseHeaders()
/system/core/fs_mgr/libfiemap/
Dutility.cpp118 contents = android::base::Trim(contents); in F2fsPinBeforeAllocate()

123