/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager_uri.c | 247 encoded[off] = '?'; in EncodeQueryComp() 284 if (encoded == NULL) { in CertManagerUriEncode() 297 if (memcpy_s(encoded, avail, SCHEME, strlen(SCHEME)) != EOK) { in CertManagerUriEncode() 303 int32_t ret = EncodePathComp(encoded, &off, &avail, uri); in CertManagerUriEncode() 308 ret = EncodeQueryComp(encoded, &off, &avail, uri); in CertManagerUriEncode() 493 int32_t CertManagerUriDecode(struct CMUri *uri, const char *encoded) in CertManagerUriDecode() argument 495 if (uri == NULL || encoded == NULL) { in CertManagerUriDecode() 503 uint32_t len = strlen(encoded); in CertManagerUriDecode() 517 uint32_t pathEnd = IndexOf('?', encoded, off, len); in CertManagerUriDecode() 521 int32_t ret = DecodePath(uri, encoded, pathStart, pathEnd); in CertManagerUriDecode() [all …]
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/migrate/ |
H A D | base64_utils.h | 36 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()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.42/ |
H A D | changelogs-arkts.md | 11 When TextEncoder uses the utf-16le or utf-16be encoding format, the encoded data obtained is incorr… 13 The utf-16le encoding format uses little-endian. However, the encoded data is in big-endian format. 15 The utf-16be encoding format uses big-endian. However, the encoded data is in little-endian format. 25 The utf-16le encoding format uses little-endian. However, the encoded data is in big-endian format. 27 The utf-16be encoding format uses big-endian. However, the encoded data is in little-endian format. 31 The utf-16le encoding format uses little-endian, and the encoded data is in little-endian format. 33 The utf-16be encoding format uses big-endian, and the encoded data is in big-endian format.
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | _o_h___drawing___run_buffer.md | 22 | char \* [utf8text](#utf8text) | Storage for UTF-8 encoded text units in the run. | 23 | uint32_t \* [clusters](#clusters) | Storage for glyph clusters (index of the UTF-8 encoded text u… 36 Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run. 66 Storage for UTF-8 encoded text units in the run.
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/ |
H A D | percent_encoding.rs | 272 let encoded = percent_hex(byte); in percent_encoding_char() localVariable 274 self.url.push_str(encoded); in percent_encoding_char() 352 let encoded = PercentEncoder::parse($url).err(); localVariable 353 assert_eq!(encoded, $err); 358 ($url:expr, $encoded:expr) => {{ 359 let encoded = PercentEncoder::parse($url).unwrap(); localVariable 360 assert_eq!(encoded, $encoded);
|
/ohos5.0/docs/en/application-dev/reference/apis-crypto-architecture-kit/ |
H A D | js-apis-system-cipher.md | 36 …ytes (1024/8 - 66 = 62). The text to be decrypted must be a binary value encoded in Base64. The de… 52 …ted must be common text. The text to be decrypted must be a binary value encoded in Base64. The de… 53 … | Yes | Key used for encryption or decryption. It is a Base64 encoded string.| 55 …ctor (IV) for AES-based encryption and decryption. The value is a string encoded in Base64. The de… 86 // Base64-encoded public key used for encryption. 105 … // Text to be decrypted, which is binary text encoded in Base64. The decrypted text is "hello". 110 // Base64-encoded private key used for decryption. 164 // Base64-encoded key. 182 // Text to be decrypted, which is binary text encoded in Base64. 184 // Base64-encoded key.
|
/ohos5.0/base/hiviewdfx/hiview/base/event_raw/ |
H A D | BUILD.gn | 79 "encoded/encoded_param.cpp", 80 "encoded/raw_data_builder.cpp", 81 "encoded/raw_data_builder_json_parser.cpp", 82 "encoded/raw_data_encoder.cpp",
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-napi-about-string.md | 22 | napi_get_value_string_utf8 | Obtains a UTF8-encoded string from an ArkTS value.| 23 | napi_create_string_utf8 | Creates an ArkTS string from a UTF8-encoded C string.| 24 | napi_get_value_string_utf16 | Obtains a UTF16-encoded string from an ArkTS value.| 25 | napi_create_string_utf16 | Creates an ArkTS string from a UTF16-encoded C string.| 26 | napi_get_value_string_latin1 | Obtains an ISO-8859-1-encoded string from an ArkTS value.| 27 | napi_create_string_latin1 | Creates an ArkTS string from an ISO-8859-1-encoded tring.| 35 Use **napi_get_value_string_utf8** to convert an ArkTS string to a UTF-8-encoded string. 88 Use **napi_create_string_utf8** to create an ArkTS string from a UTF8-encoded C string. 128 Use **napi_get_value_string_utf16** to convert an ArkTS string to a UTF-16-encoded string. 178 Use **napi_create_string_utf16** to create an ArkTS string from a UTF16-encoded C string. [all …]
|
H A D | use-jsvm-about-string.md | 20 | OH_JSVM_GetValueStringUtf8 | Obtains the UTF8-encoded string from a JS string.| 21 | OH_JSVM_CreateStringUtf8 | Creates a JS string object from a UTF8-encoded C string.| 22 | OH_JSVM_GetValueStringUtf16 | Obtains the UTF16-encoded string from a JS string.| 23 | OH_JSVM_CreateStringUtf16 | Creates a JS string from a UTF16-encoded C string.| 24 | OH_JSVM_GetValueStringLatin1 | Obtains the ISO-8859-1-encoded string from a JS string.| 33 Use **OH_JSVM_GetValueStringUtf8** to convert a JS string into a UTF-8-encoded string. 90 Use **OH_JSVM_CreateStringUtf8** to create a JS string from a UTF8-encoded C string. 140 Use **OH_JSVM_GetValueStringUtf16** to convert a JS string into a UTF-16-encoded string. 207 Use **OH_JSVM_GetValueStringUtf16** to create a JS string from a UTF16-encoded C string. 263 Use **OH_JSVM_GetValueStringLatin1** to convert a JS string into an ISO-8859-1-encoded string. [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.1.1/ |
H A D | changelogs-arkts.md | 86 When TextEncoder uses the utf-16le or utf-16be encoding format, the encoded data obtained is incorr… 88 The utf-16le encoding format uses little-endian. However, the encoded data is in big-endian format. 90 The utf-16be encoding format uses big-endian. However, the encoded data is in little-endian format. 100 - The utf-16le encoding format uses little-endian. However, the encoded data is in big-endian forma… 101 - The utf-16be encoding format uses big-endian. However, the encoded data is in little-endian forma… 105 - The utf-16le encoding format uses little-endian, and the encoded data is in little-endian format. 106 - The utf-16be encoding format uses big-endian, and the encoded data is in big-endian format.
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbccodecctrl/src/ |
H A D | a2dp_encoder_sbc.cpp | 479 size_t encoded = 0; in A2dpSbcEncodeFrames() local 496 blocksXsubbands * channelMode, outputBuf, sizeof(outputBuf), &encoded); 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 Pack… in A2dpSbcEncodeFrames() 591 size_t encoded = pktLen; in EnqueuePacketFragment() local 594 Buffer *encBuf = BufferMalloc(encoded); in EnqueuePacketFragment() 595 if (memcpy_s(BufferPtr(encBuf), encoded, bufferFra, encoded) != EOK) { in EnqueuePacketFragment()
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | start-email-apps.md | 22 …ype displayed in the vertical domain panel of email applications must be encoded using **encodeURI… 24 …al domain panel of email applications, all elements in the array must be encoded using **encodeURI… 37 …t. Multiple values are separated by commas (,). The array content is URL encoded using encodeURI(). 38 …t. Multiple values are separated by commas (,). The array content is URL encoded using encodeURI(). 39 …t. Multiple values are separated by commas (,). The array content is URL encoded using encodeURI(). 40 …'subject': encodeURI('Email subject'), // Email subject. The content is URL encoded using encodeUR… 41 'body': encodeURI('Email body'), // Email body. The content is URL encoded using encodeURI(). 42 …s. Multiple values are separated by commas (,). The array content is URL encoded using encodeURI().
|
/ohos5.0/docs/en/application-dev/media/image/ |
H A D | image-encoding.md | 3 …t processing, such as storage and transmission. Currently, images can be encoded only into the JPE… 26 …n.format** must be set to **image/jpeg**. The file name extension of the encoded image file can be… 39 4. Encode the image and save the encoded image. 65 During encoding, you can pass in a file path so that the encoded memory data is directly written to… 103 You can save the encoded image to the application sandbox, and use the media file management APIs t…
|
H A D | image-picture-encoding.md | 26 …n.format** must be set to **image/jpeg**. The file name extension of the encoded image file can be… 38 3. Encode the image and save the encoded image. 51 During encoding, you can pass in a file path so that the encoded memory data is directly written to…
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
H A D | cert_manager_uri.h | 63 int32_t CertManagerUriEncode(char *encoded, uint32_t *encodedLen, const struct CMUri *uri); 68 int32_t CertManagerUriDecode(struct CMUri *uri, const char *encoded);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/base64/src/ |
H A D | base64_utils.cpp | 143 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()
|
/ohos5.0/drivers/peripheral/clearplay/hdi_service/common/ |
H A D | base64_utils.cpp | 145 std::string Decode(const std::string &encoded) in Decode() argument 148 auto it = encoded.begin(); in Decode() 154 while (it != encoded.end() && IsBase64Char(*it)) { in Decode()
|
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/src/ |
H A D | base64_utils.cpp | 137 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()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | base64_utils.cpp | 137 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 D | base64_utils.h | 24 std::vector<uint8_t> Decode(const std::string &encoded);
|
/ohos5.0/docs/en/application-dev/reference/common/ |
H A D | _j_s_v_m___extended_error_info.md | 20 | const char \* [errorMessage](#errormessage) | Character string encoded in UTF8 format, including … 62 Character string encoded in UTF8 format, including the error description.
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | db_base64_utils.cpp | 157 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()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/src/ |
H A D | fetch_exec.cpp | 196 char encoded[4]; in EncodeUrlParam() local 203 if (sprintf_s(encoded, sizeof(encoded), "%%%02X", c) < 0) { in EncodeUrlParam() 206 encodeOut += encoded; in EncodeUrlParam()
|
/ohos5.0/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | base64_utils.h | 23 std::string Decode(const std::string &encoded);
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/base64/include/ |
H A D | base64_utils.h | 23 std::string Decode(const std::string &encoded);
|