/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | string_helper.cpp | 57 bool StringHelper::EndWith(const std::string &value, char suffix) in EndWith() argument 62 return value.back() == suffix; in EndWith() 65 bool StringHelper::EndWith(const std::string &value, const std::string &suffix) in EndWith() argument 67 size_t index = value.rfind(suffix); in EndWith() 72 return index + suffix.size() == value.size(); in EndWith() 110 std::string suffix = value.substr(position); in Replace() local 111 return prefix + Replace(suffix, substr, newstr); in Replace() 121 std::string suffix = value.substr(position); in Replace() local 122 return prefix + newStr + suffix; in Replace()
|
D | string_helper.h | 26 static bool EndWith(const std::string &value, char suffix); 28 static bool EndWith(const std::string &value, const std::string &suffix);
|
/drivers/peripheral/partitionslot/hal/src/ |
D | partitionslot_manager.cpp | 49 int32_t PartitionSlotManager::GetSlotSuffix(int32_t slot, std::string& suffix) in GetSlotSuffix() argument 53 suffix = "_b"; in GetSlotSuffix() 55 suffix = "_a"; in GetSlotSuffix() 57 HILOG_INFO(LOG_CORE, "suffix is %{public}s", suffix.c_str()); in GetSlotSuffix()
|
/drivers/peripheral/partitionslot/hdi_service/src/ |
D | partitionslot_impl.cpp | 39 int32_t PartitionSlotImpl::GetSlotSuffix(int32_t slot, std::string& suffix) in GetSlotSuffix() argument 42 return PartitionSlotManager::GetInstance()->GetSlotSuffix(slot, suffix); in GetSlotSuffix()
|
/drivers/peripheral/partitionslot/test/unittest/ |
D | hdf_partitionslot_test.cpp | 67 std::string suffix = ""; variable 71 ASSERT_TRUE(partitionslot->GetSlotSuffix(slot, suffix) == 0);
|
/drivers/interface/partitionslot/v1_0/ |
D | IPartitionSlot.idl | 60 * @brief Obtains slot suffix string from slot id 63 * @param suffix slot suffix string. 69 GetSlotSuffix([in] int slot, [out] String suffix);
|
/drivers/peripheral/partitionslot/hdi_service/include/ |
D | partitionslot_impl.h | 29 int32_t GetSlotSuffix(int32_t slot, std::string& suffix) override;
|
/drivers/peripheral/partitionslot/hal/include/ |
D | partitionslot_manager.h | 31 int32_t GetSlotSuffix(int32_t slot, std::string& suffix);
|
/drivers/peripheral/pin_auth/hdi_service/database/src/ |
D | pin_db.c | 55 static ResultCode GenerateFileName(uint64_t templateId, const char *prefix, const char *suffix, in GenerateFileName() argument 76 …if (CopyDataToBuf((uint8_t *)suffix, strlen(suffix), (uint8_t **)&buf, &bufLen) != RESULT_SUCCESS)… in GenerateFileName() 90 …ic ResultCode ReadPinFile(uint8_t *data, uint32_t dataLen, uint64_t templateId, const char *suffix) in ReadPinFile() argument 99 …ResultCode ret = GenerateFileName(templateId, DEFAULT_FILE_HEAD, suffix, fileName, MAX_FILE_NAME_L… in ReadPinFile() 114 …ltCode WritePinFile(const uint8_t *data, uint32_t dataLen, uint64_t templateId, const char *suffix) in WritePinFile() argument 123 …ResultCode ret = GenerateFileName(templateId, DEFAULT_FILE_HEAD, suffix, fileName, MAX_FILE_NAME_L… in WritePinFile() 309 static ResultCode RemovePinFile(const uint64_t templateId, const char *suffix, bool needCover) in RemovePinFile() argument 317 …ResultCode ret = GenerateFileName(templateId, DEFAULT_FILE_HEAD, suffix, fileName, MAX_FILE_NAME_L… in RemovePinFile()
|
/drivers/peripheral/camera/test/hdi/v1_0/include/ |
D | ut_common.h | 67 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
|
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/ |
D | benchmark_common.cpp | 31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument 49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
|
/drivers/peripheral/camera/test/hdi/v1_0/src/ |
D | ut_common.cpp | 31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument 49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
|
/drivers/peripheral/camera/test/benchmarktest/v1_1/src/ |
D | benchmark_common.cpp | 31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument 49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
|
/drivers/peripheral/camera/test/hdi/v1_1/include/ |
D | hdi_common_v1_1.h | 74 int32_t DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size);
|
/drivers/peripheral/camera/test/hdi/v1_1/src/ |
D | hdi_common_v1_1.cpp | 31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile() argument 49 streamId, GetCurrentLocalTimeStamp(), suffix.c_str()); in DumpImageFile()
|