/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stat/ |
D | stat_n_exporter.h | 31 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/ |
D | stat_n_exporter.h | 31 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/ |
D | stat_n_exporter_v9.h | 31 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/ |
D | dirent_n_exporter.cpp | 37 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 …]
|
D | dirent_n_exporter.h | 31 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/ |
D | p2plink_loop.c | 91 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/ |
D | dirent_n_exporter.h | 31 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/ |
D | randomaccessfile_n_exporter.h | 31 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/ |
D | randomaccessfile_n_exporter.h | 31 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/ |
D | stream_n_exporter.h | 31 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/ |
D | stream_n_exporter.h | 31 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/ |
D | net_server.h | 52 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);
|
D | js_netserver.cpp | 21 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 …]
|
D | netserver.h | 93 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/ |
D | session_restore_n_exporter.h | 31 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);
|
D | session_backup_n_exporter.h | 28 static napi_value Constructor(napi_env env, napi_callback_info cbinfo); 29 static napi_value AppendBundles(napi_env env, napi_callback_info cbinfo);
|
D | session_restore_n_exporter.cpp | 163 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/ |
D | ark_native_array_buffer.cpp | 47 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()
|
D | ark_native_buffer.cpp | 106 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/ |
D | recent_n_exporter.h | 37 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);
|
D | recent_n_exporter.cpp | 57 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/ |
D | file_n_exporter.h | 31 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/ |
D | nfc_napi_controller_event.h | 94 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/ |
D | napi_bluetooth_event.h | 53 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/ |
D | nfc_napi_foreground_dispatch.h | 89 napi_value RegisterForegroundDispatch(napi_env env, napi_callback_info cbinfo); 90 napi_value UnregisterForegroundDispatch(napi_env env, napi_callback_info cbinfo);
|