Home
last modified time | relevance | path

Searched refs:cbinfo (Results 1 – 25 of 37) sorted by relevance

12

/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stat/
Dstat_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value IsBlockDevice(napi_env env, napi_callback_info cbinfo);
34 static napi_value IsCharacterDevice(napi_env env, napi_callback_info cbinfo);
35 static napi_value IsDirectory(napi_env env, napi_callback_info cbinfo);
36 static napi_value IsFIFO(napi_env env, napi_callback_info cbinfo);
37 static napi_value IsFile(napi_env env, napi_callback_info cbinfo);
38 static napi_value IsSocket(napi_env env, napi_callback_info cbinfo);
39 static napi_value IsSymbolicLink(napi_env env, napi_callback_info cbinfo);
41 static napi_value GetDev(napi_env env, napi_callback_info cbinfo);
42 static napi_value GetIno(napi_env env, napi_callback_info cbinfo);
[all …]
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_fileio/class_stat/
Dstat_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value IsBlockDevice(napi_env env, napi_callback_info cbinfo);
34 static napi_value IsCharacterDevice(napi_env env, napi_callback_info cbinfo);
35 static napi_value IsDirectory(napi_env env, napi_callback_info cbinfo);
36 static napi_value IsFIFO(napi_env env, napi_callback_info cbinfo);
37 static napi_value IsFile(napi_env env, napi_callback_info cbinfo);
38 static napi_value IsSocket(napi_env env, napi_callback_info cbinfo);
39 static napi_value IsSymbolicLink(napi_env env, napi_callback_info cbinfo);
41 static napi_value GetDev(napi_env env, napi_callback_info cbinfo);
42 static napi_value GetIno(napi_env env, napi_callback_info cbinfo);
[all …]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stat_v9/
Dstat_n_exporter_v9.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value IsBlockDevice(napi_env env, napi_callback_info cbinfo);
34 static napi_value IsCharacterDevice(napi_env env, napi_callback_info cbinfo);
35 static napi_value IsDirectory(napi_env env, napi_callback_info cbinfo);
36 static napi_value IsFIFO(napi_env env, napi_callback_info cbinfo);
37 static napi_value IsFile(napi_env env, napi_callback_info cbinfo);
38 static napi_value IsSocket(napi_env env, napi_callback_info cbinfo);
39 static napi_value IsSymbolicLink(napi_env env, napi_callback_info cbinfo);
41 static napi_value GetIno(napi_env env, napi_callback_info cbinfo);
42 static napi_value GetMode(napi_env env, napi_callback_info cbinfo);
[all …]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_dirent/
Ddirent_n_exporter.cpp37 static DirentEntity *GetDirentEntity(napi_env env, napi_callback_info cbinfo) in GetDirentEntity() argument
39 NFuncArg funcArg(env, cbinfo); in GetDirentEntity()
53 static napi_value CheckDirentDType(napi_env env, napi_callback_info cbinfo, unsigned char dType) in CheckDirentDType() argument
55 DirentEntity *direntEntity = GetDirentEntity(env, cbinfo); in CheckDirentDType()
63 napi_value DirentNExporter::isBlockDevice(napi_env env, napi_callback_info cbinfo) in isBlockDevice() argument
65 return CheckDirentDType(env, cbinfo, DT_BLK); in isBlockDevice()
68 napi_value DirentNExporter::isCharacterDevice(napi_env env, napi_callback_info cbinfo) in isCharacterDevice() argument
70 return CheckDirentDType(env, cbinfo, DT_CHR); in isCharacterDevice()
73 napi_value DirentNExporter::isDirectory(napi_env env, napi_callback_info cbinfo) in isDirectory() argument
75 return CheckDirentDType(env, cbinfo, DT_DIR); in isDirectory()
[all …]
Ddirent_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value isBlockDevice(napi_env env, napi_callback_info cbinfo);
34 static napi_value isCharacterDevice(napi_env env, napi_callback_info cbinfo);
35 static napi_value isDirectory(napi_env env, napi_callback_info cbinfo);
36 static napi_value isFIFO(napi_env env, napi_callback_info cbinfo);
37 static napi_value isFile(napi_env env, napi_callback_info cbinfo);
38 static napi_value isSocket(napi_env env, napi_callback_info cbinfo);
39 static napi_value isSymbolicLink(napi_env env, napi_callback_info cbinfo);
41 static napi_value GetName(napi_env env, napi_callback_info cbinfo);
/foundation/communication/dsoftbus/core/connection/p2p/common/src/
Dp2plink_loop.c91 P2pCallbackInfo *cbinfo = SoftBusCalloc(sizeof(P2pCallbackInfo)); in P2pLoopProc() local
92 if (cbinfo == NULL) { in P2pLoopProc()
95 cbinfo->callback = callback; in P2pLoopProc()
96 cbinfo->cbPara = para; in P2pLoopProc()
97 SoftBusMessage *msg = P2pCreateLoopMsg(msgType, (char *)cbinfo); in P2pLoopProc()
99 SoftBusFree(cbinfo); in P2pLoopProc()
109 P2pCallbackInfo *cbinfo = SoftBusCalloc(sizeof(P2pCallbackInfo)); in P2pLoopProcDelay() local
110 if (cbinfo == NULL) { in P2pLoopProcDelay()
113 cbinfo->callback = callback; in P2pLoopProcDelay()
114 cbinfo->cbPara = para; in P2pLoopProcDelay()
[all …]
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_fileio/class_dirent/
Ddirent_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value isBlockDevice(napi_env env, napi_callback_info cbinfo);
34 static napi_value isCharacterDevice(napi_env env, napi_callback_info cbinfo);
35 static napi_value isDirectory(napi_env env, napi_callback_info cbinfo);
36 static napi_value isFIFO(napi_env env, napi_callback_info cbinfo);
37 static napi_value isFile(napi_env env, napi_callback_info cbinfo);
38 static napi_value isSocket(napi_env env, napi_callback_info cbinfo);
39 static napi_value isSymbolicLink(napi_env env, napi_callback_info cbinfo);
41 static napi_value GetName(napi_env env, napi_callback_info cbinfo);
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_randomaccessfile/
Drandomaccessfile_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value SetFilePointerSync(napi_env env, napi_callback_info cbinfo);
34 static napi_value WriteSync(napi_env env, napi_callback_info cbinfo);
35 static napi_value ReadSync(napi_env env, napi_callback_info cbinfo);
36 static napi_value CloseSync(napi_env env, napi_callback_info cbinfo);
38 static napi_value Write(napi_env env, napi_callback_info cbinfo);
39 static napi_value Read(napi_env env, napi_callback_info cbinfo);
41 static napi_value GetFD(napi_env env, napi_callback_info cbinfo);
42 static napi_value GetFPointer(napi_env env, napi_callback_info cbinfo);
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_fileio/class_randomaccessfile/
Drandomaccessfile_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value SetFilePointerSync(napi_env env, napi_callback_info cbinfo);
34 static napi_value WriteSync(napi_env env, napi_callback_info cbinfo);
35 static napi_value ReadSync(napi_env env, napi_callback_info cbinfo);
36 static napi_value CloseSync(napi_env env, napi_callback_info cbinfo);
38 static napi_value Write(napi_env env, napi_callback_info cbinfo);
39 static napi_value Read(napi_env env, napi_callback_info cbinfo);
41 static napi_value GetFD(napi_env env, napi_callback_info cbinfo);
42 static napi_value GetFPointer(napi_env env, napi_callback_info cbinfo);
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_fileio/class_stream/
Dstream_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value WriteSync(napi_env env, napi_callback_info cbinfo);
34 static napi_value FlushSync(napi_env env, napi_callback_info cbinfo);
35 static napi_value ReadSync(napi_env env, napi_callback_info cbinfo);
36 static napi_value CloseSync(napi_env env, napi_callback_info cbinfo);
38 static napi_value Write(napi_env env, napi_callback_info cbinfo);
39 static napi_value Read(napi_env env, napi_callback_info cbinfo);
40 static napi_value Close(napi_env env, napi_callback_info cbinfo);
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stream/
Dstream_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
33 static napi_value WriteSync(napi_env env, napi_callback_info cbinfo);
34 static napi_value FlushSync(napi_env env, napi_callback_info cbinfo);
35 static napi_value ReadSync(napi_env env, napi_callback_info cbinfo);
36 static napi_value CloseSync(napi_env env, napi_callback_info cbinfo);
38 static napi_value Write(napi_env env, napi_callback_info cbinfo);
39 static napi_value Read(napi_env env, napi_callback_info cbinfo);
40 static napi_value Close(napi_env env, napi_callback_info cbinfo);
/foundation/arkui/napi/sample/native_module_netserver/
Dnet_server.h52 static napi_value JS_Constructor(napi_env env, napi_callback_info cbinfo);
53 static napi_value JS_Start(napi_env env, napi_callback_info cbinfo);
54 static napi_value JS_Stop(napi_env env, napi_callback_info cbinfo);
55 static napi_value JS_On(napi_env env, napi_callback_info cbinfo);
56 static napi_value JS_Once(napi_env env, napi_callback_info cbinfo);
57 static napi_value JS_Off(napi_env env, napi_callback_info cbinfo);
Djs_netserver.cpp21 napi_value NetServer::JS_Constructor(napi_env env, napi_callback_info cbinfo) in JS_Constructor() argument
25 napi_get_cb_info(env, cbinfo, nullptr, nullptr, &thisVar, &data); in JS_Constructor()
40 napi_value NetServer::JS_Start(napi_env env, napi_callback_info cbinfo) in JS_Start() argument
47 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_Start()
68 napi_value NetServer::JS_Stop(napi_env env, napi_callback_info cbinfo) in JS_Stop() argument
74 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_Stop()
86 napi_value NetServer::JS_On(napi_env env, napi_callback_info cbinfo) in JS_On() argument
93 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_On()
120 napi_value NetServer::JS_Once(napi_env env, napi_callback_info cbinfo) in JS_Once() argument
127 napi_get_cb_info(env, cbinfo, &argc, argv, &thisVar, &data); in JS_Once()
[all …]
Dnetserver.h93 static napi_value JS_Constructor(napi_env env, napi_callback_info cbinfo);
94 static napi_value JS_Start(napi_env env, napi_callback_info cbinfo);
95 static napi_value JS_Stop(napi_env env, napi_callback_info cbinfo);
96 static napi_value JS_On(napi_env env, napi_callback_info cbinfo);
97 static napi_value JS_Once(napi_env env, napi_callback_info cbinfo);
98 static napi_value JS_Off(napi_env env, napi_callback_info cbinfo);
/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/
Dsession_restore_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
32 static napi_value AppendBundles(napi_env env, napi_callback_info cbinfo);
33 static napi_value PublishFile(napi_env env, napi_callback_info cbinfo);
34 static napi_value GetFileHandle(napi_env env, napi_callback_info cbinfo);
Dsession_backup_n_exporter.h28 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
29 static napi_value AppendBundles(napi_env env, napi_callback_info cbinfo);
Dsession_restore_n_exporter.cpp163 napi_value SessionRestoreNExporter::Constructor(napi_env env, napi_callback_info cbinfo) in Constructor() argument
166 NFuncArg funcArg(env, cbinfo); in Constructor()
203 napi_value SessionRestoreNExporter::AppendBundles(napi_env env, napi_callback_info cbinfo) in AppendBundles() argument
206 NFuncArg funcArg(env, cbinfo); in AppendBundles()
278 napi_value SessionRestoreNExporter::PublishFile(napi_env env, napi_callback_info cbinfo) in PublishFile() argument
281 NFuncArg funcArg(env, cbinfo); in PublishFile()
332 napi_value SessionRestoreNExporter::GetFileHandle(napi_env env, napi_callback_info cbinfo) in GetFileHandle() argument
335 NFuncArg funcArg(env, cbinfo); in GetFileHandle()
/foundation/arkui/napi/native_engine/impl/ark/native_value/
Dark_native_array_buffer.cpp47 NativeObjectInfo* cbinfo = NativeObjectInfo::CreateNewInstance(); in ArkNativeArrayBuffer() local
48 if (cbinfo == nullptr) { in ArkNativeArrayBuffer()
52 cbinfo->engine = engine_; in ArkNativeArrayBuffer()
53 cbinfo->callback = cb; in ArkNativeArrayBuffer()
54 cbinfo->hint = hint; in ArkNativeArrayBuffer()
67 cbinfo); in ArkNativeArrayBuffer()
Dark_native_buffer.cpp106 std::unique_ptr<NativeObjectInfo> cbinfo(NativeObjectInfo::CreateNewInstance()); in ArkNativeBuffer() local
107 if (!cbinfo) { in ArkNativeBuffer()
111 cbinfo->engine = engine_; in ArkNativeBuffer()
112 cbinfo->callback = cb; in ArkNativeBuffer()
113 cbinfo->hint = hint; in ArkNativeBuffer()
126 cbinfo.get()); in ArkNativeBuffer()
129 cbinfo.release(); in ArkNativeBuffer()
/foundation/filemanagement/user_file_service/interfaces/kits/native/recent/
Drecent_n_exporter.h37 static napi_value AddRecentFile(napi_env env, napi_callback_info cbinfo);
38 static napi_value RemoveRecentFile(napi_env env, napi_callback_info cbinfo);
39 static napi_value ListRecentFile(napi_env env, napi_callback_info cbinfo);
Drecent_n_exporter.cpp57 napi_value RecentNExporter::AddRecentFile(napi_env env, napi_callback_info cbinfo) in AddRecentFile() argument
64 NFuncArg funcArg(env, cbinfo); in AddRecentFile()
105 napi_value RecentNExporter::RemoveRecentFile(napi_env env, napi_callback_info cbinfo) in RemoveRecentFile() argument
112 NFuncArg funcArg(env, cbinfo); in RemoveRecentFile()
285 napi_value RecentNExporter::ListRecentFile(napi_env env, napi_callback_info cbinfo) in ListRecentFile() argument
292 NFuncArg funcArg(env, cbinfo); in ListRecentFile()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_file/
Dfile_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
32 static napi_value GetFD(napi_env env, napi_callback_info cbinfo);
/foundation/communication/nfc/frameworks/js/napi/controller/
Dnfc_napi_controller_event.h94 napi_value On(napi_env env, napi_callback_info cbinfo);
95 napi_value Off(napi_env env, napi_callback_info cbinfo);
/foundation/communication/bluetooth/frameworks/js/napi/include/
Dnapi_bluetooth_event.h53 static napi_value OnEvent(napi_env env, napi_callback_info cbinfo,
55 static napi_value OffEvent(napi_env env, napi_callback_info cbinfo,
/foundation/communication/nfc/frameworks/js/napi/tag/
Dnfc_napi_foreground_dispatch.h89 napi_value RegisterForegroundDispatch(napi_env env, napi_callback_info cbinfo);
90 napi_value UnregisterForegroundDispatch(napi_env env, napi_callback_info cbinfo);

12