Home
last modified time | relevance | path

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

/arkcompiler/jsvm/test/unittest/
Djsvm_utils.h98 JSVM_Script Compile(JSVM_Value js_str, const uint8_t* cache = nullptr, size_t size = JSVM_AUTO_LENG…
99 JSVM_Script CompileWithName(JSVM_Value js_str, const char* name);
100 JSVM_Script Compile(const char* s, const uint8_t* cache = nullptr, size_t size = JSVM_AUTO_LENGTH);
101 JSVM_Script CompileWithName(const char* s, const char* name);
102 JSVM_Value Run(JSVM_Script script);
Djsvm_utils.cpp95 JSVM_Script Compile(JSVM_Value js_str, const uint8_t* cache, size_t size) in Compile()
97 JSVM_Script script; in Compile()
102 JSVM_Script CompileWithName(JSVM_Value js_str, const char* name) in CompileWithName()
104 JSVM_Script script; in CompileWithName()
114 JSVM_Script Compile(const char* s, const uint8_t* cache, size_t size) in Compile()
119 JSVM_Script CompileWithName(const char* s, const char* name) in CompileWithName()
124 JSVM_Value Run(JSVM_Script script) in Run()
Dtest_jsvm.cpp224 JSVM_Script script = nullptr;
410 JSVM_Script script;
427 JSVM_Script script;
1623 JSVM_Script script = nullptr;
/arkcompiler/jsvm/interface/kits/
Djsvm.h504 JSVM_Script* result);
528 JSVM_Script* result);
546 JSVM_Script* result);
558 JSVM_EXTERN JSVM_Status OH_JSVM_CreateCodeCache(JSVM_Env env, JSVM_Script script, const uint8_t** d…
573 JSVM_EXTERN JSVM_Status OH_JSVM_RunScript(JSVM_Env env, JSVM_Script script, JSVM_Value* result);
3006 JSVM_EXTERN JSVM_Status OH_JSVM_RetainScript(JSVM_Env env, JSVM_Script script);
3018 JSVM_EXTERN JSVM_Status OH_JSVM_ReleaseScript(JSVM_Env env, JSVM_Script script);
Djsvm_types.h87 typedef struct JSVM_Script__* JSVM_Script; typedef
/arkcompiler/jsvm/src/
Djs_native_api_v8.cpp1280 JSVM_Script* result) in OH_JSVM_CompileScript()
1307 *result = reinterpret_cast<JSVM_Script>(env->NewJsvmData(compiledScript)); in OH_JSVM_CompileScript()
1368 JSVM_Script* result) in OH_JSVM_CompileScriptWithOrigin()
1407 *result = reinterpret_cast<JSVM_Script>(env->NewJsvmData(compiledScript)); in OH_JSVM_CompileScriptWithOrigin()
1502 JSVM_Script* result) in OH_JSVM_CompileScriptWithOptions()
1523 *result = reinterpret_cast<JSVM_Script>(env->NewJsvmData(compiledScript)); in OH_JSVM_CompileScriptWithOptions()
1528 JSVM_Status OH_JSVM_CreateCodeCache(JSVM_Env env, JSVM_Script script, const uint8_t** data, size_t*… in OH_JSVM_CreateCodeCache()
1550 JSVM_Status OH_JSVM_RunScript(JSVM_Env env, JSVM_Script script, JSVM_Value* result) in OH_JSVM_RunScript()
4813 JSVM_Status OH_JSVM_RetainScript(JSVM_Env env, JSVM_Script script) in OH_JSVM_RetainScript()
4827 JSVM_Status OH_JSVM_ReleaseScript(JSVM_Env env, JSVM_Script script) in OH_JSVM_ReleaseScript()