Searched refs:inputStr (Results 1 – 6 of 6) sorted by relevance
/base/update/updateservice/services/core/ability/utils/include/ |
D | string_utils.h | 31 static inline void LTrim(std::string &inputStr) in LTrim() argument 33 inputStr.erase(inputStr.begin(), in LTrim() 34 …std::find_if(inputStr.begin(), inputStr.end(), [](unsigned char ch) { return !std::isspace(ch); })… in LTrim() 38 static inline void RTrim(std::string &inputStr) in RTrim() argument 40 inputStr.erase( in RTrim() 41 …std::find_if(inputStr.rbegin(), inputStr.rend(), [](unsigned char ch) { return !std::isspace(ch); … in RTrim() 42 inputStr.end()); in RTrim() 46 static inline void Trim(std::string &inputStr) in Trim() argument 48 LTrim(inputStr); in Trim() 49 RTrim(inputStr); in Trim()
|
D | encrypt_utils.h | 61 static std::string EncryptString(std::string inputStr) in EncryptString() argument 63 if (inputStr.empty()) { in EncryptString() 64 return inputStr; in EncryptString() 67 size_t length = inputStr.length(); in EncryptString() 69 std::string sequence = inputStr.substr(0, ENCRYPT_LENGTH); in EncryptString() 72 std::string sequence = inputStr.substr(0, length - ENCRYPT_LENGTH); in EncryptString()
|
D | sha256_utils.h | 29 static std::string CalculateHashCode(std::string inputStr);
|
/base/update/updateservice/services/core/ability/utils/src/ |
D | sha256_utils.cpp | 33 std::string Sha256Utils::CalculateHashCode(std::string inputStr) in CalculateHashCode() argument 36 …if (!Sha256Calculate((unsigned char *)(inputStr.c_str()), inputStr.length(), result, SHA256_STRING… in CalculateHashCode() 37 ENGINE_LOGE("CalculateHashCode fail, src = %s", inputStr.c_str()); in CalculateHashCode()
|
/base/telephony/core_service/frameworks/js/sim/include/ |
D | napi_sim.h | 41 std::array<char, ARRAY_SIZE> inputStr {};
|
/base/telephony/core_service/frameworks/js/sim/src/ |
D | napi_sim.cpp | 1514 std::u16string name = NapiUtil::ToUtf16(std::data(context->inputStr)); in NativeSetShowName() 1536 std::make_tuple(&asyncContext->asyncContext.slotId, std::data(asyncContext->inputStr), in SetShowName() 1600 context->asyncContext.slotId, NapiUtil::ToUtf16(std::data(context->inputStr))); in NativeSetShowNumber() 1620 …std::make_tuple(&asyncContext->asyncContext.slotId, std::data(asyncContext->inputStr), &context.ca… in SetShowNumber() 2264 context->asyncContext.slotId, std::data(context->inputStr)); in NativeSendEnvelopeCmd() 2284 …std::make_tuple(&asyncContext->asyncContext.slotId, std::data(asyncContext->inputStr), &context.ca… in SendEnvelopeCmd() 2311 context->asyncContext.slotId, std::data(context->inputStr)); in NativeSendTerminalResponseCmd() 2331 …std::make_tuple(&asyncContext->asyncContext.slotId, std::data(asyncContext->inputStr), &context.ca… in SendTerminalResponseCmd()
|