/foundation/distributeddatamgr/preferences/test/native/unittest/ |
H A D | base64_helper_test.cpp | 92 EXPECT_TRUE(Base64Helper::Decode(Base64Helper::Encode(oneArray), result)); in HWTEST_F() 95 EXPECT_TRUE(Base64Helper::Decode(Base64Helper::Encode(twoArray), result)); in HWTEST_F() 98 EXPECT_TRUE(Base64Helper::Decode(Base64Helper::Encode(threeArray), result)); in HWTEST_F() 111 EXPECT_FALSE(Base64Helper::Decode(wrongText, result)); in HWTEST_F() 114 EXPECT_FALSE(Base64Helper::Decode(wrongText, result)); in HWTEST_F() 117 EXPECT_FALSE(Base64Helper::Decode(wrongText, result)); in HWTEST_F() 120 EXPECT_FALSE(Base64Helper::Decode(wrongText, result)); in HWTEST_F() 123 EXPECT_FALSE(Base64Helper::Decode(wrongText, result)); in HWTEST_F() 139 EXPECT_TRUE(Base64Helper::Decode(encodeStr, decodeArray)); in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/test/ |
H A D | netlink_data_test.cpp | 40 * @tc.desc: Verify the Decode function when msg is incorrect. 48 netlinkData.Decode(ERROR_MESSAGE); in HWTEST_F() 60 * @tc.desc: Verify the Decode function of ACTION. 83 netlinkData.Decode(action.first.c_str()); in HWTEST_F() 92 * @tc.desc: Verify the Decode function of Devpath and Syspath. 100 netlinkData.Decode(DEVPATH_TEST); in HWTEST_F() 109 * @tc.desc: Verify the Decode function of Subsystem. 117 netlinkData.Decode(SUBSYSTEM_TEST); in HWTEST_F() 133 netlinkData.Decode(PARAM_TEST); in HWTEST_F() 150 netlinkData.Decode(PARAM_TES in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/base/base64/ |
H A D | base64_util.cpp | 23 bool Base64Util::Decode(const std::string& src, std::string& dst) in Decode() function in OHOS::Ace::Base64Util 26 SkBase64::Error error = SkBase64::Decode(src.data(), src.size(), nullptr, &outputLen); in Decode() 33 error = SkBase64::Decode(src.data(), src.size(), output, &outputLen); in Decode()
|
H A D | base64_util.h | 28 static bool Decode(const std::string& src, std::string& dst);
|
/foundation/filemanagement/storage_service/services/storage_daemon/disk/test/ |
H A D | disk_manager_test.cpp | 148 data->Decode(msg); in HWTEST_F() 174 data->Decode(msg); in HWTEST_F() 201 nlData->Decode(msg); in HWTEST_F() 229 data->Decode(msg); in HWTEST_F() 258 data->Decode(msg); in HWTEST_F() 290 data.get()->Decode(msg); in HWTEST_F() 315 data.get()->Decode(msg); in HWTEST_F() 340 data.get()->Decode(msg); in HWTEST_F() 404 data->Decode(msg); in HWTEST_F() 429 data.get()->Decode(ms in HWTEST_F() [all...] |
H A D | disk_info_test.cpp | 57 data->Decode(msg); in HWTEST_F() 90 data->Decode(msg); in HWTEST_F() 123 data->Decode(msg); in HWTEST_F() 156 data->Decode(msg); in HWTEST_F() 189 data->Decode(msg); in HWTEST_F() 222 data->Decode(msg); in HWTEST_F() 255 data->Decode(msg); in HWTEST_F() 288 data->Decode(msg); in HWTEST_F() 321 data->Decode(msg); in HWTEST_F() 354 data->Decode(ms in HWTEST_F() [all...] |
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_cache_proxy.cpp | 67 cachedResponse.SetRawHeader(Decode(responseFromCache[RESPONSE_KEY_HEADER])); in ReadResponseFromCache() 68 cachedResponse.SetResult(Decode(responseFromCache[RESPONSE_KEY_RESULT])); in ReadResponseFromCache() 69 cachedResponse.SetCookies(Decode(responseFromCache[RESPONSE_KEY_COOKIES])); in ReadResponseFromCache() 70 cachedResponse.SetResponseTime(Decode(responseFromCache[RESPONSE_TIME])); in ReadResponseFromCache() 71 cachedResponse.SetRequestTime(Decode(responseFromCache[REQUEST_TIME])); in ReadResponseFromCache()
|
/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | l2tp_vpn_ctl.cpp | 59 std::string strongswanCfg = Base64::Decode(l2tpVpnConfig_->strongswanConf_); in InitConfigFile() 65 std::string xl2tpdConf = Base64::Decode(l2tpVpnConfig_->xl2tpdConf_); in InitConfigFile() 71 std::string ipsecConf = Base64::Decode(l2tpVpnConfig_->ipsecConf_); in InitConfigFile() 77 std::string ipsecSecrets = Base64::Decode(l2tpVpnConfig_->ipsecSecrets_); in InitConfigFile() 83 std::string optionsL2tpdClient = Base64::Decode(l2tpVpnConfig_->optionsL2tpdClient_); in InitConfigFile()
|
H A D | ipsec_vpn_ctl.cpp | 75 std::string swanctlCfg = Base64::Decode(ipsecVpnConfig_->swanctlConf_); in InitConfigFile() 81 std::string strongswanCfg = Base64::Decode(ipsecVpnConfig_->strongswanConf_); in InitConfigFile()
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_proxy/src/ |
H A D | cache_proxy.cpp | 78 cachedResponse.SetRawHeader(Base64::Decode(responseFromCache[HttpConstant::RESPONSE_KEY_HEADER])); in ReadResponseFromCache() 79 cachedResponse.SetResult(Base64::Decode(responseFromCache[HttpConstant::RESPONSE_KEY_RESULT])); in ReadResponseFromCache() 80 cachedResponse.SetCookies(Base64::Decode(responseFromCache[HttpConstant::RESPONSE_KEY_COOKIES])); in ReadResponseFromCache() 81 cachedResponse.SetResponseTime(Base64::Decode(responseFromCache[HttpConstant::RESPONSE_TIME])); in ReadResponseFromCache() 82 cachedResponse.SetRequestTime(Base64::Decode(responseFromCache[HttpConstant::REQUEST_TIME])); in ReadResponseFromCache()
|
/foundation/communication/netstack/test/unittest/http/cache/ |
H A D | Base64Test.cpp | 57 EXPECT_EQ(Decode(Encode(str)), str); in HWTEST_F() 62 EXPECT_EQ(Decode(test.second), test.first); in HWTEST_F()
|
/foundation/filemanagement/app_file_service/interfaces/kits/cj/src/ |
H A D | file_uri.cpp | 36 string sandboxPath = AppFileService::SandboxHelper::Decode(uri_.GetPath()); in GetName() 51 string sandboxPath = AppFileService::SandboxHelper::Decode(uri_.GetPath()); in GetPath()
|
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_uri/src/ |
H A D | file_uri.cpp | 56 string sandboxPath = SandboxHelper::Decode(uri_.GetPath()); in GetName() 71 string sandboxPath = SandboxHelper::Decode(uri_.GetPath()); in GetPath() 86 string sandboxPath = SandboxHelper::Decode(uri_.GetPath()); in GetRealPath() 107 string sandboxPath = SandboxHelper::Decode(uri_.GetPath()); in GetRealPathBySA()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/ |
H A D | tmessenger.h | 40 static std::shared_ptr<Request> Decode(const std::string &data); 49 static std::shared_ptr<Response> Decode(const std::string &data); 65 static std::shared_ptr<Message> Decode(const std::string &data);
|
H A D | tmessenger.cpp | 32 std::shared_ptr<Request> Request::Decode(const std::string &data) in Decode() function in OHOS::Request 53 std::shared_ptr<Response> Response::Decode(const std::string &data) in Decode() function in OHOS::Response 97 std::shared_ptr<Message> Message::Decode(const std::string &data) in Decode() function in OHOS::Message 107 std::shared_ptr<Request> req = Request::Decode(data.substr(pos + 1)); in Decode() 114 std::shared_ptr<Response> rsp = Response::Decode(data.substr(pos + 1)); in Decode() 269 std::shared_ptr<Message> msg = Message::Decode(result); in OnMessageRecv()
|
/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | base64_utils.h | 23 std::string Decode(const std::string &encoded);
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/base64/include/ |
H A D | base64_utils.h | 23 std::string Decode(const std::string &encoded);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | base64_utils.h | 24 std::vector<uint8_t> Decode(const std::string &encoded);
|
/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | base64_helper.h | 27 static bool Decode(const std::string &input, std::vector<uint8_t> &output);
|
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | base32_utils.h | 25 static std::string Decode(const std::string& input);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | db_base64_utils.h | 26 static std::vector<uint8_t> Decode(const std::string &encoded);
|
/foundation/CastEngine/castengine_wifi_display/services/codec/src/ |
H A D | audio_g711_codec.cpp | 98 Decode((uint8_t *)payload, length, (int16_t *)outBuffer_.data()); in OnFrame() 106 int32_t AudioG711Decoder::Decode(uint8_t *encoded, int32_t nSamples, int16_t *decoded) in Decode() function in OHOS::Sharing::AudioG711Decoder
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | tiff_parser_test.cpp | 83 parser.Decode(buf + 6, len - 6, &exifData_); in HWTEST_F() 99 parser.Decode(buf + 6, len - 6, &exifData_); in HWTEST_F()
|
/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/ |
H A D | paste_data_entry.h | 30 bool Decode(const std::vector<std::uint8_t> &buffer) override; 60 bool Decode(const std::vector<std::uint8_t> &buffer) override;
|
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | tlv_object_test.cpp | 79 ret = pasteData2.Decode(buffer); in HWTEST_F() 114 ret = pasteData2.Decode(buffer); in HWTEST_F() 149 ret = pasteData2.Decode(buffer); in HWTEST_F()
|