Home
last modified time | relevance | path

Searched defs:args (Results 1 – 19 of 19) sorted by relevance

/commonlibrary/utils_lite/js/builtin/filekit/src/
Dnativeapi_fs.cpp70 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork()
94 JSIValue args = params->args; in ExecuteCopyFile() local
143 JSIValue args = params->args; in ExecuteDeleteAccess() local
211 JSIValue args = params->args; in ExecuteGetFileList() local
242 JSIValue args = params->args; in ExecuteGetFileInfo() local
283 JSIValue args = params->args; in ExecuteWriteTextFile() local
349 JSIValue args = params->args; in ExecuteReadTextFile() local
372 JSIValue args = params->args; in ExecuteDirFunc() local
439 JSIValue args = params->args; in ExecuteReadArrayFile() local
474 JSIValue args = params->args; in ExecuteWriteArrayFile() local
[all …]
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/
Dnativeapi_kv.cpp59 void GetDefault(const JSIValue thisVal, const JSIValue args) in GetDefault()
100 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork()
124 JSIValue args = params->args; in ExecuteGet() local
164 JSIValue args = params->args; in ExecuteSet() local
202 JSIValue args = params->args; in ExecuteDelete() local
232 JSIValue args = params->args; in ExecuteClear() local
263 JSIValue NativeapiKv::Get(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Get()
268 JSIValue NativeapiKv::Set(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Set()
273 JSIValue NativeapiKv::Delete(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Delete()
278 JSIValue NativeapiKv::Clear(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Clear()
/commonlibrary/ets_utils/js_util_module/util/
Dnative_module_util.cpp233 napi_value args[1] = { 0 }; in RandomUUID() local
250 napi_value args[1] = { 0 }; in RandomBinaryUUID() local
264 napi_value args[1] = { nullptr }; in ParseUUID() local
581 napi_value args = nullptr; in Encode() local
603 napi_value args = nullptr; in EncodeIntoOne() local
621 napi_value args[2] = { nullptr }; // 2:The number of parameters is 2 in EncodeIntoTwo() local
651 napi_value args[2] = { nullptr }; // 2:The number of parameters is 2 in EncodeIntoUint8Array() local
677 napi_value args[2] = { nullptr }; // 2:The number of parameters is 2 in EncodeIntoArgs() local
752 napi_value args[1] = { nullptr }; in EncodeBase64() local
773 napi_value args[1] = { nullptr }; in EncodeToString() local
[all …]
/commonlibrary/utils_lite/js/builtin/common/src/
Dnativeapi_common.cpp22 void NativeapiCommon::FailCallBack(const JSIValue thisVal, const JSIValue args, int ret) in FailCallBack()
57 void NativeapiCommon::SuccessCallBack(const JSIValue thisVal, const JSIValue args, JSIValue jsiValu… in SuccessCallBack()
77 bool NativeapiCommon::IsValidJSIValue(const JSIValue* args, uint8_t argsNum) in IsValidJSIValue()
/commonlibrary/ets_utils/js_sys_module/process/
Dnative_module_process.cpp27 static napi_value DealType(napi_env env, napi_value args[], size_t argsSize) in DealType()
84 napi_value args[2] = { nullptr }; // 2:The number of parameters is 2 in ChildProcessConstructor() local
164 napi_value args = nullptr; in Kill() local
236 napi_value args[2] = { nullptr }; // 2:The number of parameters is 2 in RunCommand() local
311 napi_value args = nullptr; in Chdir() local
343 napi_value args = nullptr; in Exit() local
361 napi_value args[2] = { nullptr }; in On() local
383 napi_value args = nullptr; in Off() local
424 napi_value args = nullptr; in IsAppUid() local
443 napi_value args = nullptr; in GetUidForName() local
[all …]
Djs_process.cpp497 napi_value args[] = {reason, promise}; in UnHandleRejection() local
/commonlibrary/ets_utils/js_api_module/xml/
Dnative_module_xml.cpp31 napi_value args[2] = { 0 }; // 2:The number of parameters is 2 in XmlSerializerConstructor() local
82 napi_value args[2] = { 0 }; // 2:two args in XmlPullParserConstructor() local
132 napi_value args[2] = { 0 }; // 2:two args in SetAttributes() local
159 napi_value args[1] = { 0 }; in AddEmptyElement() local
194 napi_value args[1] = { 0 }; in StartElement() local
226 napi_value args[2] = { 0 }; // 2:two args in SetNamespace() local
253 napi_value args[1] = { 0 }; in SetComment() local
275 napi_value args[1] = { 0 }; in SetCData() local
297 napi_value args[1] = { 0 }; in SetText() local
319 napi_value args[1] = { 0 }; in SetDocType() local
[all …]
/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/
Dnativeapi_deviceinfo.cpp29 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork()
53 JSIValue args = params->args; in ExecuteGetInfo() local
82 JSIValue NativeapiDeviceInfo::GetDeviceInfo(const JSIValue thisVal, const JSIValue* args, uint8_t a… in GetDeviceInfo()
/commonlibrary/ets_utils/js_api_module/buffer/
Dnative_module_buffer.cpp173 napi_value args[3] = { 0 }; in FromString() local
357 napi_value args[2] = { 0 }; in GetValueOffsetAndBuf() local
373 napi_value args[1] = { 0 }; in GetOffsetAndBuf() local
414 napi_value args[1] = { 0 }; in SetArray() local
460 napi_value args[4] = { 0 }; in WriteString() local
494 napi_value args[4] = { 0 }; in FillString() local
524 napi_value args[3] = { 0 }; in FillNumbers() local
550 napi_value args[3] = { 0 }; in FillBuffer() local
577 napi_value args[1] = { 0 }; in Utf8ByteLength() local
613 napi_value args[1] = { 0 }; in Get() local
[all …]
/commonlibrary/ets_utils/js_api_module/url/
Dnative_module_url.cpp554 napi_value args = nullptr; in Get() local
570 napi_value args = nullptr; in GetAll() local
586 napi_value args[2] = { 0 }; // 2:The number of parameters is 2 in Append() local
603 napi_value args = nullptr; in Delete() local
619 napi_value args = nullptr; in Entries() local
631 napi_value args = nullptr; in IsHas() local
643 napi_value args[2] = { 0 }; // 2:The number of parameters is 2 in Set() local
655 napi_value args = nullptr; in Sort() local
667 napi_value args = nullptr; in ToString() local
679 napi_value args = nullptr; in IterByKeys() local
[all …]
/commonlibrary/c_utils/base/src/
Dthread_ex.cpp28 void* args; member
194 int Thread::ThreadStart(void* args) in ThreadStart()
/commonlibrary/ets_utils/js_concurrent_module/taskpool/
Dtaskpool.cpp83 napi_value* args = new napi_value[argc]; in Execute() local
180 napi_value* args = new napi_value[argc]; in Cancel() local
Dtask.cpp38 napi_value* args = new napi_value[argc]; in TaskConstructor() local
Dworker.cpp218 napi_value args; in PerformTask() local
/commonlibrary/ets_utils/js_concurrent_module/worker/
Dworker.cpp736 napi_value* args = new napi_value[argc]; in WorkerConstructor() local
847 napi_value* args = new napi_value[argc]; in AddListener() local
957 napi_value* args = new napi_value[argc]; in RemoveListener() local
1014 napi_value* args = new napi_value[argc]; in DispatchEvent() local
1274 napi_value* args = new napi_value[argc]; in ParentPortAddEventListener() local
1348 napi_value* args = new napi_value[argc]; in ParentPortDispatchEvent() local
1406 napi_value* args = new napi_value[argc]; in ParentPortRemoveEventListener() local
Dworker_new.cpp111 napi_value* args = new napi_value[argc]; in WorkerConstructor() local
322 napi_value* args = new napi_value[argc]; in AddListener() local
372 napi_value* args = new napi_value[argc]; in RemoveListener() local
430 napi_value* args = new napi_value[argc]; in DispatchEvent() local
600 napi_value* args = new napi_value[argc]; in WorkerPortAddEventListener() local
649 napi_value* args = new napi_value[argc]; in WorkerPortDispatchEvent() local
701 napi_value* args = new napi_value[argc]; in WorkerPortRemoveEventListener() local
/commonlibrary/ets_utils/js_api_module/convertxml/
Dnative_module_convertxml.cpp51 napi_value args[2] = {nullptr}; in Convert() local
/commonlibrary/ets_utils/js_api_module/test_xml/unittest/
Dtest_xml.cpp42 napi_value args[6] = { 0 }; // 6:six args in Method() local
72 napi_value args[6] = { 0 }; // 6:six args in TokenValueCallbackFunction() local
101 napi_value args[6] = { 0 }; // 6:six args in TokenValueCallbackFunc() local
/commonlibrary/ets_utils/js_sys_module/test/unittest/
Dtest_process.cpp54 napi_value args[6] = { 0 }; // 6:six args in Method() local