Home
last modified time | relevance | path

Searched refs:encodedStr (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/base/tee/tee_client/services/authentication/
H A Dtee_auth_system.cpp31 static int32_t Base64Decode(string& encodedStr, unsigned char *decodedStr, uint32_t *decodedLen) in Base64Decode() argument
33 size_t encodedLen = encodedStr.length(); in Base64Decode()
43 …int32_t ret = EVP_DecodeBlock(decodedStr, (const unsigned char*)encodedStr.c_str(), (int)encodedLe… in Base64Decode()
51 if (encodedStr.at(encodedLen - i) == '=') { in Base64Decode()
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/
H A Dconverter.cpp224 string Base64Decode(string const& encodedStr, EncodingType type) in Base64Decode() argument
226 size_t len = encodedStr.size(); in Base64Decode()
237 while ((encodedStr[cursor] != '=') && IsBase64Char(encodedStr[cursor])) { in Base64Decode()
239 charArray4[index] = encodedStr[cursor]; in Base64Decode()
H A Dconverter.h79 std::string Base64Decode(std::string const& encodedStr, EncodingType type);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/command/
H A Dsend_command_v10.cpp119 std::string encodedStr = ""; in EncodeDisplayName() local
122 encodedStr += MediaFileUtils::Encode(string(1, c)); in EncodeDisplayName()
124 encodedStr += c; in EncodeDisplayName()
127 return encodedStr; in EncodeDisplayName()
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/src/
H A Djs_url.ts137 let encodedStr = '';
139 encodedStr = encodeURI(str);
141 encodedStr = encodeURI(UrlInterface.fixUSVstring(str));
144 encodedStr = encodedStr.replaceAll(`${key}`, keepCharacters[key]);
146 return encodedStr;
/ohos5.0/base/hiviewdfx/hiview/core/param_update/src/
H A Dlog_sign_tools.cpp118 void LogSignTools::CalcBase64(uint8_t *input, uint32_t inputLen, std::string &encodedStr) in CalcBase64() argument
125 encodedStr = std::string(reinterpret_cast<char*>(base64Str.get()), outLen); in CalcBase64()
/ohos5.0/base/hiviewdfx/hiview/core/param_update/include/
H A Dlog_sign_tools.h45 static void CalcBase64(uint8_t *input, uint32_t inputLen, std::string &encodedStr);
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dsignature_verifier.h43 static void CalcBase64(uint8_t* input, uint32_t inputLen, std::string& encodedStr);
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dsignature_verifier.cpp233 void SignatureVerifier::CalcBase64(uint8_t* input, uint32_t inputLen, std::string& encodedStr) in CalcBase64() argument
240 encodedStr = std::string(reinterpret_cast<char*>(base64Str.get()), outLen); in CalcBase64()