Home
last modified time | relevance | path

Searched defs:encoding (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_ArrayBuffer.cpp64 PandaString encoding = in ConvertEtsStringToBytes() local
83 PandaString encoding = in EtsStringBytesLength() local
212 PandaString encoding = in EtsArrayBufferToString() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
Darray_buffer_helper.cpp183 namespace encoding { namespace
271 PandaString ConvertBase64Encoding(const PandaVector<uint8_t> &bytes, std::string_view encoding) in ConvertBase64Encoding()
336 …ult<PandaVector<uint8_t>> ConvertBase64ToBytes(const PandaString &input, std::string_view encoding) in ConvertBase64ToBytes()
424 …ult<PandaVector<uint8_t>> ConvertStringToBytes(const PandaString &input, std::string_view encoding) in ConvertStringToBytes()
447 Result<int32_t> CalculateStringBytesLength(std::string_view input, std::string_view encoding) in CalculateStringBytesLength()
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/native/api/
Dani_textencoder.h37 const char *encoding; member
Dani_textencoder.cpp199const std::string &encoding, char *dest, size_t destSizeBytes) in WriteEncodedData()
304 std::string encoding = stdlib::ConvertFromAniString(env, encodingObj); in DoEncodeIntoUint8Array() local
Dani_stringdecoder.cpp56 StringDecoder::StringDecoder(const std::string &encoding) in StringDecoder()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_buffer.cpp296 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 2); // 2 means the third arg in IndexOf() local
335 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 2); // 2 means the third arg in Includes() local
375 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 2); // 2 means the third arg in LastIndexOf() local
448 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 3); // 3 means the fourth arg in Fill() local
513 JSHandle<JSTaggedValue> encoding = GetCallArg(argv, 3); // 3 means the fourth arg in Write() local
/arkcompiler/ets_runtime/test/fuzztest/containersfastbufferindexof_fuzzer/
Dcontainersfastbufferindexof_fuzzer.cpp105 std::string encoding = fdp.ConsumeRandomLengthString(STRING_MAX_LENGTH); in ContainersFastBufferLastIndexOfFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/containersfastbufferlastindexof_fuzzer/
Dcontainersfastbufferlastindexof_fuzzer.cpp104 std::string encoding = fdp.ConsumeRandomLengthString(STRING_MAX_LENGTH); in ContainersFastBufferLastIndexOfFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/containersfastbufferfill_fuzzer/
Dcontainersfastbufferfill_fuzzer.cpp106 std::string encoding = fdp.ConsumeRandomLengthString(STRING_MAX_LENGTH); in ContainersFastBufferFillFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_buffer.cpp441 JSHandle<JSTaggedValue> encoding) in GetString()
449 … const JSHandle<JSTaggedValue> &str, const JSHandle<JSTaggedValue> &encoding) in FromString()
459 const JSHandle<JSTaggedValue> &str, EncodingType encoding) in FromString()
552 EncodingType encoding) in WriteString()
690 … JSHandle<JSTaggedValue> &valueHandle, EncodingType encoding, uint32_t start, in FillString()
701 … JSHandle<JSTaggedValue> &valueHandle, EncodingType encoding, uint32_t start, in Fill()
768 … JSHandle<JSTaggedValue> valueHandle, uint32_t start, EncodingType encoding) in Includes()
804 … JSHandle<JSTaggedValue> valueHandle, uint32_t start, EncodingType encoding, in IndexOf()