Home
last modified time | relevance | path

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

/ohos5.0/docs/zh-cn/application-dev/napi/
H A Duse-jsvm-memory-management.md34 static JSVM_Value AdjustExternalMemory(JSVM_Env env, JSVM_CallbackInfo info)
50 // AdjustExternalMemory注册回调
52 {.data = nullptr, .callback = AdjustExternalMemory},
55 // AdjustExternalMemory方法别名,供JS调用
H A Duse-jsvm-create-snapshot.md191 static JSVM_Value AdjustExternalMemory(JSVM_Env env, JSVM_CallbackInfo info) {
203 {.data = nullptr, .callback = AdjustExternalMemory},
206 // AdjustExternalMemory方法别名,供JS调用
H A Djsvm-data-types-interfaces.md2028 OH_LOG_INFO(LOG_APP, "Before AdjustExternalMemory: %{public}lld\n", result); // 得到调整前的数值
2032 OH_LOG_INFO(LOG_APP, "After AdjustExternalMemory: %{public}lld\n", result); // 得到调整后的数值
/ohos5.0/docs/en/application-dev/napi/
H A Duse-jsvm-memory-management.md34 static JSVM_Value AdjustExternalMemory(JSVM_Env env, JSVM_CallbackInfo info)
50 // Register the AdjustExternalMemory callback.
52 {.data = nullptr, .callback = AdjustExternalMemory},
55 …tExternalMemory and associate it with a callback. This allows the AdjustExternalMemory callback to…
H A Duse-jsvm-create-snapshot.md191 static JSVM_Value AdjustExternalMemory(JSVM_Env env, JSVM_CallbackInfo info) {
203 {.data = nullptr, .callback = AdjustExternalMemory},
206 …tExternalMemory and associate it with a callback. This allows the AdjustExternalMemory callback to…
H A Djsvm-data-types-interfaces.md2028 OH_LOG_INFO(LOG_APP, "Before AdjustExternalMemory: %{public}lld\n", result); // Obtain the memory v…
2032 OH_LOG_INFO(LOG_APP, "After AdjustExternalMemory: %{public}lld\n", result); // Obtain the memory va…
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.h217 bool AdjustExternalMemory(int64_t ChangeInBytes, int64_t* AdjustedValue) override;
H A Dark_native_engine.cpp1895 bool ArkNativeEngine::AdjustExternalMemory(int64_t ChangeInBytes, int64_t* AdjustedValue) in AdjustExternalMemory() function in ArkNativeEngine
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_engine.h226 virtual bool AdjustExternalMemory(int64_t ChangeInBytes, int64_t* AdjustedValue) = 0;
H A Dnative_api.cpp3006 engine->AdjustExternalMemory(change_in_bytes, adjusted_value); in napi_adjust_external_memory()