Home
last modified time | relevance | path

Searched refs:thisVal (Results 1 - 8 of 8) sorted by relevance

/commonlibrary/utils_lite/js/builtin/kvstorekit/src/
H A Dnativeapi_kv.cpp59 void GetDefault(const JSIValue thisVal, const JSIValue args) in GetDefault() argument
69 NativeapiCommon::SuccessCallBack(thisVal, args, result); in GetDefault()
100 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork() argument
111 params->thisVal = JSI::AcquireValue(thisVal); in ExecuteAsyncWork()
125 JSIValue thisVal = params->thisVal; in ExecuteGet() local
132 NativeapiCommon::FailCallBack(thisVal, args, ret); in ExecuteGet()
137 NativeapiCommon::FailCallBack(thisVal, args, ret); in ExecuteGet()
142 GetDefault(thisVal, arg in ExecuteGet()
165 JSIValue thisVal = params->thisVal; ExecuteSet() local
203 JSIValue thisVal = params->thisVal; ExecuteDelete() local
233 JSIValue thisVal = params->thisVal; ExecuteClear() local
263 Get(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) Get() argument
268 Set(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) Set() argument
273 Delete(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) Delete() argument
278 Clear(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) Clear() argument
[all...]
/commonlibrary/utils_lite/js/builtin/filekit/include/
H A Dnativeapi_fs.h29 static JSIValue MoveFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
30 static JSIValue CopyFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
31 static JSIValue DeleteFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
32 static JSIValue GetFileList(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
33 static JSIValue GetFileInfo(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
34 static JSIValue WriteTextFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
35 static JSIValue ReadTextFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
36 static JSIValue Access(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
37 static JSIValue CreateDir(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
38 static JSIValue RemoveDir(const JSIValue thisVal, cons
[all...]
/commonlibrary/utils_lite/js/builtin/filekit/src/
H A Dnativeapi_fs.cpp70 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork() argument
81 params->thisVal = JSI::AcquireValue(thisVal); in ExecuteAsyncWork()
95 JSIValue thisVal = params->thisVal; in ExecuteCopyFile() local
103 NativeapiCommon::FailCallBack(thisVal, args, ret); in ExecuteCopyFile()
108 NativeapiCommon::FailCallBack(thisVal, args, ERROR_CODE_GENERAL); in ExecuteCopyFile()
113 NativeapiCommon::FailCallBack(thisVal, args, ret); in ExecuteCopyFile()
118 NativeapiCommon::FailCallBack(thisVal, args, ret); in ExecuteCopyFile()
125 NativeapiCommon::FailCallBack(thisVal, arg in ExecuteCopyFile()
144 JSIValue thisVal = params->thisVal; ExecuteDeleteAccess() local
212 JSIValue thisVal = params->thisVal; ExecuteGetFileList() local
243 JSIValue thisVal = params->thisVal; ExecuteGetFileInfo() local
284 JSIValue thisVal = params->thisVal; ExecuteWriteTextFile() local
350 JSIValue thisVal = params->thisVal; ExecuteReadTextFile() local
373 JSIValue thisVal = params->thisVal; ExecuteDirFunc() local
440 JSIValue thisVal = params->thisVal; ExecuteReadArrayFile() local
475 JSIValue thisVal = params->thisVal; ExecuteWriteArrayFile() local
532 MoveFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) MoveFile() argument
537 CopyFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) CopyFile() argument
542 DeleteFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) DeleteFile() argument
547 GetFileList(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) GetFileList() argument
552 GetFileInfo(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) GetFileInfo() argument
557 WriteTextFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) WriteTextFile() argument
562 ReadTextFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) ReadTextFile() argument
567 Access(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) Access() argument
572 CreateDir(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) CreateDir() argument
577 RemoveDir(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) RemoveDir() argument
583 ReadArrayFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) ReadArrayFile() argument
588 WriteArrayFile(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) WriteArrayFile() argument
[all...]
/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/
H A Dnativeapi_deviceinfo.cpp29 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork() argument
40 params->thisVal = JSI::AcquireValue(thisVal); in ExecuteAsyncWork()
54 JSIValue thisVal = params->thisVal; in ExecuteGetInfo() local
57 NativeapiCommon::FailCallBack(thisVal, args, ERROR_CODE_GENERAL); in ExecuteGetInfo()
59 NativeapiCommon::SuccessCallBack(thisVal, args, result); in ExecuteGetInfo()
61 JSI::ReleaseValueList(args, thisVal, result, ARGS_END); in ExecuteGetInfo()
82 JSIValue NativeapiDeviceInfo::GetDeviceInfo(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in GetDeviceInfo() argument
84 return ExecuteAsyncWork(thisVal, arg in GetDeviceInfo()
[all...]
/commonlibrary/utils_lite/js/builtin/kvstorekit/include/
H A Dnativeapi_kv.h28 static JSIValue Get(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
29 static JSIValue Set(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
30 static JSIValue Delete(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
31 static JSIValue Clear(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);
/commonlibrary/utils_lite/js/builtin/common/src/
H A Dnativeapi_common.cpp22 void NativeapiCommon::FailCallBack(const JSIValue thisVal, const JSIValue args, int ret) in FailCallBack() argument
49 JSI::CallFunction(fail, thisVal, argv, ARGC_TWO); in FailCallBack()
52 JSI::CallFunction(complete, thisVal, nullptr, 0); in FailCallBack()
57 void NativeapiCommon::SuccessCallBack(const JSIValue thisVal, const JSIValue args, JSIValue jsiValue) in SuccessCallBack() argument
66 JSI::CallFunction(success, thisVal, nullptr, 0); in SuccessCallBack()
68 JSI::CallFunction(success, thisVal, &jsiValue, ARGC_ONE); in SuccessCallBack()
72 JSI::CallFunction(complete, thisVal, nullptr, 0); in SuccessCallBack()
/commonlibrary/utils_lite/js/builtin/common/include/
H A Dnativeapi_common.h25 JSIValue thisVal = JSI::CreateUndefined(); member
31 static void FailCallBack(const JSIValue thisVal, const JSIValue args, int ret);
32 static void SuccessCallBack(const JSIValue thisVal, const JSIValue args, JSIValue jsiValue);
/commonlibrary/utils_lite/js/builtin/deviceinfokit/include/
H A Dnativeapi_deviceinfo.h28 static JSIValue GetDeviceInfo(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum);

Completed in 3 milliseconds