/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/include/ |
H A D | image_packer_impl.h | 56 uint8_t* resultBuffer = static_cast<uint8_t*>(malloc(sizeof(uint8_t) * bufferSize)); in CommonPacking() local 57 if (resultBuffer == nullptr) { in CommonPacking() 62 uint32_t packingRet = real_->StartPacking(resultBuffer, bufferSize, option); in CommonPacking() 65 free(resultBuffer); in CommonPacking() 72 free(resultBuffer); in CommonPacking() 80 free(resultBuffer); in CommonPacking() 85 return std::make_tuple(SUCCESS_CODE, resultBuffer, packedSize); in CommonPacking()
|
/ohos5.0/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/ |
H A D | image_compress.cpp | 178 uint8_t *resultBuffer = reinterpret_cast<uint8_t *>(malloc(BUFFER_SIZE)); in CompressImageByContent() local 179 if (resultBuffer == nullptr) { in CompressImageByContent() 183 imagePacker.StartPacking(resultBuffer, BUFFER_SIZE, packOption); in CompressImageByContent() 189 if (memcpy_s(result, compressedSize, resultBuffer, compressedSize) != EOK) { in CompressImageByContent() 190 free(resultBuffer); in CompressImageByContent() 194 free(resultBuffer); in CompressImageByContent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/codec/ |
H A D | standard_function_codec.cpp | 22 …tionCodec::EncodeFunctionCall(const FunctionCall& functionCall, std::vector<uint8_t>& resultBuffer) in EncodeFunctionCall() argument 29 StandardCodecBufferWriter bufferWriter(resultBuffer); in EncodeFunctionCall()
|
H A D | function_codec.h | 33 … bool EncodeFunctionCall(const FunctionCall& functionCall, std::vector<uint8_t>& resultBuffer) = 0;
|
H A D | standard_function_codec.h | 35 …bool EncodeFunctionCall(const FunctionCall& functionCall, std::vector<uint8_t>& resultBuffer) over…
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_util.cpp | 84 uint8_t *resultBuffer = reinterpret_cast<uint8_t *>(malloc(bufferSize)); in PackImage() local 85 if (resultBuffer == nullptr) { in PackImage() 89 imagePacker.StartPacking(resultBuffer, bufferSize, option); in PackImage()
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/ |
H A D | js_types.cpp | 62 napi_value resultBuffer = nullptr; in IsArrayBufferView() local 64 &resultData, &resultBuffer, &byteOffset); in IsArrayBufferView() 211 napi_value resultBuffer = nullptr; in GetTypeArrayInfo() local 213 &resultData, &resultBuffer, &byteOffset); in GetTypeArrayInfo() 280 napi_value resultBuffer = nullptr; in IsInt8Array() local 282 &resultData, &resultBuffer, &byteOffset); in IsInt8Array()
|
H A D | js_textencoder.cpp | 73 napi_value resultBuffer = nullptr; in EncodeInto() local 74 …env, napi_get_typedarray_info(env, dest, &type, &length, &resultData, &resultBuffer, &byteOffset)); in EncodeInto()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-styled-string-sys.md | 126 let resultBuffer = StyledString.marshalling(this.styledString) 127 this.buff = new Uint8Array(resultBuffer)
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_packer_napi.cpp | 102 std::unique_ptr<uint8_t[]> resultBuffer; member 262 context->resultBuffer = std::make_unique<uint8_t[]>( in STATIC_EXEC_FUNC() 266 if (context->resultBuffer == nullptr) { in STATIC_EXEC_FUNC() 270 auto startRes = context->rImagePacker->StartPacking(context->resultBuffer.get(), in STATIC_EXEC_FUNC() 339 if (!ImageNapiUtils::CreateArrayBuffer(env, context->resultBuffer.get(), in STATIC_COMPLETE_FUNC() 347 context->resultBuffer = nullptr; in STATIC_COMPLETE_FUNC()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-styled-string-sys.md | 126 let resultBuffer = StyledString.marshalling(this.styledString) 127 this.buff = new Uint8Array(resultBuffer)
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/test/ |
H A D | test_util.cpp | 77 napi_value resultBuffer = nullptr; variable 78 napi_get_typedarray_info(env, arr, &type, &length, &resultData, &resultBuffer, &byteOffset); 94 napi_value resultBuffer = nullptr; variable 95 napi_get_typedarray_info(env, arr, &type, &length, &resultData, &resultBuffer, &byteOffset); 113 napi_value resultBuffer = nullptr; variable 114 napi_get_typedarray_info(env, arr, &type, &length, &resultData, &resultBuffer, &byteOffset); 133 napi_value resultBuffer = nullptr; variable 134 napi_get_typedarray_info(env, arr, &type, &length, &resultData, &resultBuffer, &byteOffset); 153 napi_value resultBuffer = nullptr; variable 154 napi_get_typedarray_info(env, arr, &type, &length, &resultData, &resultBuffer, &byteOffset);
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/ |
H A D | native_module_buffer.cpp | 385 napi_value resultBuffer = nullptr; in BufferConstructorInner() local 386 …if (napi_get_typedarray_info(env, argv[1], &type, &aryLen, &resultData, &resultBuffer, &offset) !=… in BufferConstructorInner()
|