Home
last modified time | relevance | path

Searched refs:encoded (Results 1 - 21 of 21) sorted by relevance

/foundation/multimedia/av_session/services/session/server/migrate/
H A Dbase64_utils.h36 std::string encoded; in Base64Encode() local
50 encoded += kBase64Chars[byte4[i]]; in Base64Encode()
65 encoded += kBase64Chars[byte4[k]]; in Base64Encode()
68 encoded += '='; in Base64Encode()
71 return encoded; in Base64Encode()
/foundation/CastEngine/castengine_wifi_display/services/codec/src/
H A Daudio_g711_codec.cpp56 int32_t AudioG711Encoder::Encode(int16_t *decoded, int32_t nSamples, uint8_t *encoded) in Encode() argument
59 RETURN_INVALID_IF_NULL(encoded); in Encode()
106 int32_t AudioG711Decoder::Decode(uint8_t *encoded, int32_t nSamples, int16_t *decoded) in Decode() argument
109 RETURN_INVALID_IF_NULL(encoded); in Decode()
/foundation/CastEngine/castengine_wifi_display/services/codec/include/
H A Daudio_g711_codec.h36 int Encode(int16_t *decoded, int nSamples, uint8_t *encoded);
53 int Decode(uint8_t *encoded, int nSamples, int16_t *decoded);
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/src/
H A Dutils.cpp28 bool Utils::Base64Encode(const std::string &source, std::string &encoded) in Base64Encode() argument
35 encoded = std::string(out, out_len); in Base64Encode()
40 bool Utils::Base64Decode(const std::string &encoded, std::string &decoded) in Base64Decode() argument
43 guchar *decodeData = g_base64_decode(encoded.c_str(), &out_len); in Base64Decode()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/src/
H A Dutils.cpp28 bool Utils::Base64Encode(const std::string &source, std::string &encoded) in Base64Encode() argument
35 encoded = std::string(out, out_len); in Base64Encode()
40 bool Utils::Base64Decode(const std::string &encoded, std::string &decoded) in Base64Decode() argument
43 guchar *decodeData = g_base64_decode(encoded.c_str(), &out_len); in Base64Decode()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/src/
H A Da2dp_encoder_sbc.cpp479 size_t encoded = 0; in A2dpSbcEncodeFrames() local
496 blocksXsubbands * channelMode, outputBuf, sizeof(outputBuf), &encoded); in A2dpSbcEncodeFrames()
497 LOG_INFO("[SbcEncoder] %{public}s encoded %{public}zu, pcmOffset%{public}u\n", in A2dpSbcEncodeFrames()
498 __func__, encoded, pcmOffset); in A2dpSbcEncodeFrames()
503 Buffer *encBuf = BufferMalloc(encoded); in A2dpSbcEncodeFrames()
504 if (memcpy_s(BufferPtr(encBuf), encoded, outputBuf, encoded) != EOK) { in A2dpSbcEncodeFrames()
527 EnqueuePacket(pkt, frameIter, encodePacketSize, pktTimeStamp, (uint16_t)encoded); // Enqueue Packet. in A2dpSbcEncodeFrames()
591 size_t encoded = pktLen; in EnqueuePacketFragment() local
594 Buffer *encBuf = BufferMalloc(encoded); in EnqueuePacketFragment()
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/include/
H A Dutils.h69 static bool Base64Encode(const std::string &source, std::string &encoded);
70 static bool Base64Decode(const std::string &encoded, std::string &decoded);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/include/
H A Dutils.h69 static bool Base64Encode(const std::string &source, std::string &encoded);
70 static bool Base64Decode(const std::string &encoded, std::string &decoded);
/foundation/communication/netmanager_base/utils/common_utils/src/
H A Dbase64_utils.cpp137 std::string Decode(const std::string &encoded) in Decode() argument
139 auto it = encoded.begin(); in Decode()
145 while (it != encoded.end() && IsBase64Char(*it)) { in Decode()
/foundation/communication/netstack/frameworks/js/napi/http/cache/base64/src/
H A Dbase64_utils.cpp143 std::string Decode(const std::string &encoded) in Decode() argument
146 auto it = encoded.begin(); in Decode()
152 while (it != encoded.end() && IsBase64Char(*it)) { in Decode()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dbase64_utils.cpp137 std::vector<uint8_t> Decode(const std::string &encoded) in Decode() argument
139 auto it = encoded.begin(); in Decode()
145 while (it != encoded.end() && IsBase64Char(*it)) { in Decode()
H A Dbase64_utils.h24 std::vector<uint8_t> Decode(const std::string &encoded);
/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dbase64_utils.h23 std::string Decode(const std::string &encoded);
/foundation/communication/netstack/frameworks/js/napi/http/cache/base64/include/
H A Dbase64_utils.h23 std::string Decode(const std::string &encoded);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_base64_utils.h26 static std::vector<uint8_t> Decode(const std::string &encoded);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Ddb_base64_utils.cpp157 std::vector<uint8_t> DBBase64Utils::Decode(const std::string &encoded) in Decode() argument
159 auto it = encoded.begin(); in Decode()
165 while (it != encoded.end() && IsBase64Char(*it)) { in Decode()
/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/src/
H A Dfetch_exec.cpp196 char encoded[4]; in EncodeUrlParam() local
203 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in EncodeUrlParam()
206 encodeOut += encoded; in EncodeUrlParam()
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_utils.h71 std::string Decode(const std::string &encoded);
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_utils.cpp258 std::string Decode(const std::string &encoded) in GetNowTimeGMT() argument
261 auto it = encoded.begin(); in GetNowTimeGMT()
267 while (it != encoded.end() && IsBase64Char(*it)) { in GetNowTimeGMT()
H A Dnet_http_client_exec.cpp316 char encoded[4]; in EncodeUrlParam() local
324 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in EncodeUrlParam()
327 encodeOut += encoded; in EncodeUrlParam()
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp688 char encoded[4]; in AddCurlHandle() local
696 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in AddCurlHandle()
699 encodeOut += encoded; in AddCurlHandle()

Completed in 13 milliseconds