/system/tools/aidl/ |
D | options.cpp | 33 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 …]
|
D | comments.cpp | 34 using android::base::Trim; 100 while (!lines.empty() && Trim(lines.back()).empty()) { in TrimmedLines()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | property_info_file.cpp | 26 using android::base::Trim; 114 auto trimmed_line = Trim(line); in ParsePropertyInfoFile()
|
/system/libbase/ |
D | strings_test.cpp | 87 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()
|
D | errors_windows.cpp | 57 msg = android::base::Trim(msg); in SystemErrorCodeToString()
|
/system/nfc/utils/ |
D | config.cc | 127 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/ |
D | process_utils.cpp | 34 using android::base::Trim; 48 output = Trim(output); in IsProcessRunning()
|
/system/vold/ |
D | IdleMaint.h | 25 void Trim(const android::sp<android::os::IVoldTaskListener>& listener);
|
D | IdleMaint.cpp | 156 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/ |
D | dmabuf_sysfs_stats.cpp | 41 if (!android::base::ParseUint(android::base::Trim(temp), val)) { in ReadUintFromFile() 90 info.exp_name = android::base::Trim(exporter_name); in GetDmabufSysfsStats()
|
D | dmabufinfo.cpp | 80 *exporter = ::android::base::Trim(c); in ReadDmaBufFdInfo() 87 *name = ::android::base::Trim(std::string(c)); in ReadDmaBufFdInfo()
|
/system/core/libsuspend/ |
D | autosuspend_wakeup_count.cpp | 44 using android::base::Trim; 80 wakeup_count = Trim(wakeup_count); in suspend_thread_func()
|
/system/core/fs_mgr/ |
D | fs_mgr_boot_config.cpp | 77 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/ |
D | test_service.cpp | 54 std::string value = android::base::Trim(tokens[1]); in main()
|
/system/extras/simpleperf/ |
D | environment.cpp | 220 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()
|
D | cmd_debug_unwind.cpp | 67 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/ |
D | util.cpp | 59 return android::base::Trim(result); in get_thread_name()
|
/system/core/init/ |
D | devices.cpp | 51 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()
|
D | firmware_handler.cpp | 43 using android::base::Trim; 181 return Trim(stdout_content); in RunExternalHandler()
|
/system/tools/hidl/ |
D | DocComment.cpp | 32 std::vector<std::string> lines = base::Split(base::Trim(comment), "\n"); in DocComment()
|
/system/libbase/include/android-base/ |
D | strings.h | 36 std::string Trim(const std::string& s);
|
/system/apex/apexd/ |
D | apex_database.cpp | 46 using android::base::Trim; 87 return Trim(property_value); in GetProperty()
|
/system/linkerconfig/generator/ |
D | librarylistloader.cc | 52 library_name = android::base::Trim(library_name); in GetLibrariesFromFile()
|
/system/update_engine/stable/ |
D | update_engine_stable_client.cc | 155 auto header = android::base::Trim(line); in ParseHeaders()
|
/system/core/fs_mgr/libfiemap/ |
D | utility.cpp | 118 contents = android::base::Trim(contents); in F2fsPinBeforeAllocate()
|