Searched refs:AdjustExternalMemory (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-jsvm-memory-management.md | 34 static JSVM_Value AdjustExternalMemory(JSVM_Env env, JSVM_CallbackInfo info) 50 // AdjustExternalMemory注册回调 52 {.data = nullptr, .callback = AdjustExternalMemory}, 55 // AdjustExternalMemory方法别名,供JS调用
|
H A D | use-jsvm-create-snapshot.md | 191 static JSVM_Value AdjustExternalMemory(JSVM_Env env, JSVM_CallbackInfo info) { 203 {.data = nullptr, .callback = AdjustExternalMemory}, 206 // AdjustExternalMemory方法别名,供JS调用
|
H A D | jsvm-data-types-interfaces.md | 2028 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 D | use-jsvm-memory-management.md | 34 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 D | use-jsvm-create-snapshot.md | 191 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 D | jsvm-data-types-interfaces.md | 2028 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 D | ark_native_engine.h | 217 bool AdjustExternalMemory(int64_t ChangeInBytes, int64_t* AdjustedValue) override;
|
H A D | ark_native_engine.cpp | 1895 bool ArkNativeEngine::AdjustExternalMemory(int64_t ChangeInBytes, int64_t* AdjustedValue) in AdjustExternalMemory() function in ArkNativeEngine
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_engine.h | 226 virtual bool AdjustExternalMemory(int64_t ChangeInBytes, int64_t* AdjustedValue) = 0;
|
H A D | native_api.cpp | 3006 engine->AdjustExternalMemory(change_in_bytes, adjusted_value); in napi_adjust_external_memory()
|