Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 17 of 17) sorted by relevance

/base/update/updater/interfaces/kits/slot_info/
Dslot_info.cpp25 void GetPartitionSuffix(std::string &suffix) in GetPartitionSuffix() argument
27 suffix = ""; in GetPartitionSuffix()
33 void GetPartitionSuffix(std::string &suffix)
41 suffix = "";
46 ret = psMgr.GetSlotSuffix(updateSlot, suffix);
48 LOG(ERROR) << "Get slot suffix error, partitionPath: " << suffix;
49 suffix = "";
/base/hiviewdfx/faultloggerd/common/dfxutil/
Dstring_util.h36 inline bool EndsWith(const std::string& s, const std::string& suffix) in EndsWith() argument
38 return s.size() >= suffix.size() && in EndsWith()
39 s.substr(s.size() - suffix.size(), suffix.size()) == suffix; in EndsWith()
/base/startup/init/test/moduletest/
Dtest_utils.cpp66 bool EndsWith(const std::string &str, const std::string &suffix) in EndsWith() argument
68 …return ((str.size() > suffix.size()) && (str.substr(str.size() - suffix.size(), suffix.size()) == in EndsWith()
/base/startup/init/services/begetctl/
Dpartitionslot.cpp75 std::string suffix = ""; in GetSuffix() local
76 partitionslot->GetSlotSuffix(slot, suffix); in GetSuffix()
77 std::cout << "The slot " << slot << " matches with suffix: " << suffix << std::endl; in GetSuffix()
/base/update/updater/interfaces/kits/include/slot_info/
Dslot_info.h24 void GetPartitionSuffix(std::string &suffix);
/base/hiviewdfx/hilog/frameworks/libhilog/param/
Dproperties.cpp190 …(DataConverter converter, const T& defaultValue, PropType propType, const std::string& suffix = "") in CacheData() argument
193 m_key = GetPropertyName(m_propType) + suffix; in CacheData()
419 string suffix; in GetBufferSizePropName() local
422 suffix = "global"; in GetBufferSizePropName()
424 suffix = LogType2Str(type); in GetBufferSizePropName()
427 return name + GetPropertyName(PropType::PROP_BUFFER_SIZE) + suffix; in GetBufferSizePropName()
498 static int SetLevel(PropType type, const string& suffix, uint16_t lvl) in SetLevel() argument
500 string key = GetPropertyName(type) + suffix; in SetLevel()
/base/hiviewdfx/hiview/base/running_status_logger/include/
Drunning_status_logger.h37 std::string GenerateNewestFileName(const std::string& suffix);
/base/hiviewdfx/hiview/base/running_status_logger/
Drunning_status_logger.cpp65 std::string RunningStatusLogger::GenerateNewestFileName(const std::string& suffix) in GenerateNewestFileName() argument
67 std::string newFileName = GetLogDir() + "runningstatus_" + FormatTimeStamp(true) + suffix; in GenerateNewestFileName()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file_kits.cpp98 static std::string GetMimeTypeBySuffix(const std::string& suffix) in GetMimeTypeBySuffix() argument
100 auto iter = SUFFIX_MIMETYPE_MAP.find(suffix); in GetMimeTypeBySuffix()
/base/update/sys_installer/services/module_update/util/src/
Dmodule_utils.cpp74 bool CheckFileSuffix(const std::string &file, const std::string &suffix) in CheckFileSuffix() argument
82 return fileSuffix == suffix; in CheckFileSuffix()
/base/update/sys_installer/services/module_update/util/include/
Dmodule_utils.h29 bool CheckFileSuffix(const std::string &file, const std::string &suffix);
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_persister_rotator.h47 …erRotator(const std::string& path, uint32_t id, uint32_t maxFiles, const std::string& suffix = "");
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager.c63 char *suffix, uint32_t *suffixLen) in GetFilePath() argument
67 if (suffix == NULL || suffixLen == NULL) { in GetFilePath()
88 retVal = sprintf_s(suffix, MAX_SUFFIX_LEN, "%u", context->uid); in GetFilePath()
104 *suffixLen = (uint32_t)strlen(suffix); in GetFilePath()
/base/update/updater/services/flow_update/update_bin/
Dcomponent_processor.cpp247 std::string suffix = ""; in GetWritePathAndOffset()
248 GetPartitionSuffix(suffix); in GetWritePathAndOffset()
249 writePath += suffix; in GetWritePathAndOffset()
/base/update/updater/services/updater_binary/
Dupdate_processor.cpp429 std::string suffix = ""; in GetWritePathAndOffset()
430 GetPartitionSuffix(suffix); in GetWritePathAndOffset()
431 writePath += suffix; in GetWritePathAndOffset()
/base/startup/init/services/modules/seccomp/scripts/tools/
Dcollect_elf_syscall.py41 def create_needed_file(elf_path, locate_path, cmd, suffix): argument
44 elf_file_name = elf_path.split('/')[-1].split('.')[0] + suffix
/base/hiviewdfx/hiview/plugins/faultlogger/service/sanitizer_collector/
Dasan_collector.cpp274 record = captured.suffix().str(); in ReadRecordToString()