Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Djs_base64.cpp742 auto stdDecodeInfo = reinterpret_cast<DecodeInfo*>(data); in ReadStdDecode() local
743 unsigned char *rets = DecodeAchieves(env, stdDecodeInfo); in ReadStdDecode()
744 stdDecodeInfo->sinputDecoding = rets; in ReadStdDecode()
748 auto stdDecodeInfo = reinterpret_cast<DecodeInfo*>(buffer); in EndStdDecode() local
756 size_t bufferSize = stdDecodeInfo->decodeOutLen; in EndStdDecode()
759 reinterpret_cast<const void*>(stdDecodeInfo->sinputDecoding), bufferSize) != EOK) { in EndStdDecode()
761 napi_delete_async_work(env, stdDecodeInfo->worker); in EndStdDecode()
767 napi_resolve_deferred(env, stdDecodeInfo->deferred, result); in EndStdDecode()
768 napi_delete_async_work(env, stdDecodeInfo->worker); in EndStdDecode()
770 delete[] stdDecodeInfo->sinputDecoding; in EndStdDecode()
[all …]