/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl2_rendering_context_base.cpp | 57 context->GetWebGL2RenderingContextImpl().DrawBuffers(env, funcArg[NARG_POS::FIRST]); in DrawBuffers() 69 tie(succ, buffer) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ClearBufferfv() 100 tie(succ, buffer) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ClearBufferiv() 131 tie(succ, buffer) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ClearBufferuiv() 162 tie(succ, buffer) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ClearBufferfi() 206 context->GetWebGL2RenderingContextImpl().DeleteQuery(env, funcArg[NARG_POS::FIRST]); in DeleteQuery() 218 context->GetWebGL2RenderingContextImpl().IsQuery(env, funcArg[NARG_POS::FIRST]); in IsQuery() 230 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in BeginQuery() 248 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in EndQuery() 265 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]) in GetQuery() [all...] |
H A D | webgl_rendering_context_base.cpp | 123 tie(succ, name, nameLen) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8String(); in GetExtension() 159 tie(succ, texture) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in ActiveTexture() 182 env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in AttachShader() 212 env, funcArg[NARG_POS::FIRST], static_cast<GLuint>(index), str); in BindAttribLocation() 223 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in BindBuffer() 242 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in BindFramebuffer() 261 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in BindRenderbuffer() 278 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in BindTexture() 296 tie(succ, red) = NVal(env, funcArg[NARG_POS::FIRST]).ToDouble(); in BlendColor() 334 tie(succ, mode) = NVal(env, funcArg[NARG_POS::FIRST]) in BlendEquation() [all...] |
H A D | webgl_rendering_context_overloads.cpp | 72 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in BufferData() 116 tie(succ, target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in BufferSubData() 149 tie(succ, imgArg.target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in CompressedTexImage2D() 216 tie(succ, imgArg.target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in CompressedTexSubImage2D() 280 tie(succ, arg.x) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in ReadPixels() 341 tie(succ, imgArg.target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in TexImage2D() 417 tie(succ, imgArg.target) = NVal(env, funcArg[NARG_POS::FIRST]).ToGLenum(); in TexSubImage2D() 493 funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform1fv() 513 funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND], &extInfo); in Uniform2fv() 533 funcArg[NARG_POS::FIRST], funcAr in Uniform3fv() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_statfs/ |
H A D | statfs_n_exporter.cpp | 36 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFrSizeSync() 63 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFrSize() 108 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetBSizeSync() 133 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetBSize() 177 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetBAvailSync() 202 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetBAvail() 246 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetBlocksSync() 271 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetBlocks() 315 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetBFreeSync() 340 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]) in GetBFree() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | close.cpp | 87 auto [resGetFirstArg, fileStruct] = ParseJsOperand(env, funcArg[NARG_POS::FIRST]); in Sync() 106 auto fp = NClass::RemoveEntityOfFinal<FileEntity>(env, funcArg[NARG_POS::FIRST]); in Sync() 125 auto [resGetFirstArg, fileStruct] = ParseJsOperand(env, funcArg[NARG_POS::FIRST]); in Async() 135 auto fp = NClass::RemoveEntityOfFinal<FileEntity>(env, funcArg[NARG_POS::FIRST]); in Async()
|
H A D | create_streamrw.cpp | 46 napi_value argv[NARG_CNT::ONE] = {funcArg[NARG_POS::FIRST]}; in CreateStream() 49 napi_value argv[NARG_CNT::TWO] = {funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]}; in CreateStream()
|
H A D | connectdfs.cpp | 82 napi_get_undefined(env, &result[NARG_POS::FIRST]); in cbCompl() 85 result[NARG_POS::FIRST] = NError(connectDfsCB->result).GetNapiErr(env); in cbCompl() 86 napi_reject_deferred(env, connectDfsCB->cbBase.deferred, result[NARG_POS::FIRST]); in cbCompl() 125 auto [succNetworkId, networkId] = ParseJsOperand(env, { env, funcArg[NARG_POS::FIRST] }); in ParseJsParam() 263 result[NARG_POS::FIRST] = WrapString(connectDfsCB->cbBase.cbInfo.env, connectDfsCB->networkId.c_str(), "networkId"); in UvWorkAfterOnStaus() 283 res[NARG_POS::FIRST] = NError(connectDfsCB->status).GetNapiErr(connectDfsCB->cbBase.cbInfo.env); in UvWorkAfterOnStaus() 284 napi_reject_deferred(connectDfsCB->cbBase.cbInfo.env, connectDfsCB->cbBase.deferred, res[NARG_POS::FIRST]); in UvWorkAfterOnStaus()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/ |
H A D | file_n_exporter.cpp | 955 asyncCallbackInfo->callback[COMMON_NUM::TWO]) = CommonFunc::GetCallbackHandles(env, funcArg[NARG_POS::FIRST]); in Mkdir() 958 tie(succ, uri, ignore) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("uri").ToUTF8StringPath(); in Mkdir() 961 tie(succ, recursive) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("recursive").ToBool(); in Mkdir() 992 asyncCallbackInfo->callback[COMMON_NUM::TWO]) = CommonFunc::GetCallbackHandles(env, funcArg[NARG_POS::FIRST]); in Rmdir() 995 tie(succ, uri, ignore) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("uri").ToUTF8StringPath(); in Rmdir() 998 tie(succ, recursive) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("recursive").ToBool(); in Rmdir() 1030 asyncCallbackInfo->callback[COMMON_NUM::TWO]) = CommonFunc::GetCallbackHandles(env, funcArg[NARG_POS::FIRST]); in Get() 1032 tie(succ, uri, ignore) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("uri").ToUTF8StringPath(); in Get() 1035 tie(succ, recursive) = NVal(env, funcArg[NARG_POS::FIRST]).GetProp("recursive").ToBool(); in Get() 1067 asyncCallbackInfo->callback[COMMON_NUM::TWO]) = CommonFunc::GetCallbackHandles(env, funcArg[NARG_POS::FIRST]); in List() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_statistics_n_exporter.cpp | 53 tie(succ, uuid, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in GetTotalSizeOfVolume() 102 tie(succ, uuid, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in GetFreeSizeOfVolume() 144 tie(succ, name, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in ExtractNameAndIndex() 240 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetCurrentBundleStats() 277 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetSystemSize() 296 NVal ui(env, NVal(env, funcArg[(int)NARG_POS::FIRST]).val_); in GetUserStorageStats() 299 std::tie(succ, userId) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToInt64(); in GetUserStorageStats() 340 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetUserStorageStats() 380 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetTotalSize() 417 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetFreeSize() [all...] |
H A D | volumemanager_n_exporter.cpp | 97 NVal cb(env, funcArg[(int)NARG_POS::FIRST]); in GetAllVolumes() 125 tie(succ, volumeId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in Mount() 165 tie(succ, volumeId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in Unmount() 206 tie(succ, uuid, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in GetVolumeByUuid() 258 tie(succ, volumeId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in GetVolumeById() 316 tie(succ, uuid, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in SetVolumeDescription() 370 tie(succ, volumeId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in Format() 423 tie(succ, diskId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in Partition()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_securitylabel/ |
H A D | securitylabel_n_exporter.cpp | 42 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath(); in SetSecurityLabel() 95 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath(); in SetSecurityLabelSync() 135 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath(); in GetSecurityLabel() 178 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath(); in GetSecurityLabelSync()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_statvfs/ |
H A D | statvfs_n_exporter.cpp | 37 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFreeSizeSync() 66 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetFreeSize() 113 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetTotalSizeSync() 142 tie(succ, path, std::ignore) = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in GetTotalSize()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | fsync.cpp | 39 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 61 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Async()
|
H A D | fdatasync.cpp | 39 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 63 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Async()
|
H A D | rmdir.cpp | 37 auto [resGetFirstArg, path, unused] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in Sync() 59 auto [resGetFirstArg, path, unused] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in Async()
|
H A D | close.cpp | 38 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 60 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Async()
|
H A D | prop_n_exporter.cpp | 72 auto [succ, path, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in AccessSync() 103 auto [succ, path, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in Access() 155 auto [succ, path, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in Unlink() 194 auto [succ, path, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in Mkdir() 243 auto [succ, path, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8StringPath(); in MkdirSync() 277 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in FchmodSync() 310 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in FchownSync() 349 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in ReadSync() 427 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Read() 489 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]) in Write() [all...] |
H A D | fstat.cpp | 43 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 83 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Async()
|
H A D | ftruncate.cpp | 39 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 71 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Async()
|
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_file_cache_napi.cpp | 111 auto [succ, uri, ignore] = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in CleanCloudFileCache() 149 auto [succUri, uri, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8String(); in StartFileCache() 186 auto [succ, uri, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8String(); in StopFileCache() 242 auto [resGetUris, uriArray, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToStringArray(); in StartBatchFileCache() 281 auto [succ, downloadId] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt64(); in StopBatchFileCache() 333 auto [succProgress, progress, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8String(); in On() 388 auto [succProgress, progress, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8String(); in Off()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | common_func.cpp | 50 NapiValue adlerNVal(env, funcArg[ArgumentPosition::FIRST]); in GetAdler32Arg() 76 NapiValue crc64NVal(env, funcArg[ArgumentPosition::FIRST]); in GetCrc64Arg() 104 NapiValue adler1NVal(env, funcArg[ArgumentPosition::FIRST]); in GetAdler32CombineArg() 158 tie(succ, zs, hasZStreamMember) = CommonFunc::GetZstreamArg(env, funcArg[ArgumentPosition::FIRST]); in SetZStreamValue() 476 tie(succ, zs, hasZStreamMember) = GetZstreamArg(env, funcArg[ArgumentPosition::FIRST]); in GetInflateInitArg() 501 tie(succ, zs, hasZStreamMember) = GetZstreamArg(env, funcArg[ArgumentPosition::FIRST]); in GetDeflateInitArg() 527 tie(succ, zs, hasZStreamMember) = GetZstreamArg(env, funcArg[ArgumentPosition::FIRST]); in GetDeflateInit2Arg() 606 NapiValue destNVal(env, funcArg[ArgumentPosition::FIRST]); in GetCompressArg() 642 NapiValue destNVal(env, funcArg[ArgumentPosition::FIRST]); in GetCompress2Arg() 685 NapiValue destNVal(env, funcArg[ArgumentPosition::FIRST]); in GetUnCompressArg() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_stream/ |
H A D | stream_n_exporter.cpp | 115 NVal cb(env, funcArg[NARG_POS::FIRST]); in Flush() 139 CommonFunc::GetReadArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in ReadSync() 203 CommonFunc::GetWriteArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in WriteSync() 230 CommonFunc::GetWriteArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in WriteExec() 301 CommonFunc::GetReadArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in ReadExec() 308 auto arg = CreateSharedPtr<AsyncReadArg>(NVal(env, funcArg[NARG_POS::FIRST])); in ReadExec() 411 NVal cb(env, funcArg[NARG_POS::FIRST]); in Close() 432 auto [succGetOffset, offset] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt64(); in Seek()
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/ |
H A D | prop_n_operation.cpp | 67 NVal cb(env, funcArg[NARG_POS::FIRST]); in AsyncCallback() 135 auto [succ, bundles] = ParseDataList(env, funcArg[NARG_POS::FIRST]); in AsyncDataList() 190 napi_status status = napi_is_array(env, funcArg[NARG_POS::FIRST], &result); in Async() 219 NVal jsBundle(env, funcArg[NARG_POS::FIRST]); in DoGetBackupInfo() 303 NVal jsBundleStr(env, funcArg[NARG_POS::FIRST]); in DoUpdateTimer() 351 NVal jsBundleStr(env, funcArg[NARG_POS::FIRST]); in DoUpdateSendRate()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stream/ |
H A D | stream_n_exporter.cpp | 64 CommonFunc::GetReadArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in ReadSync() 124 CommonFunc::GetWriteArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in WriteSync() 174 CommonFunc::GetWriteArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in Write() 244 CommonFunc::GetReadArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in Read() 249 auto arg = make_shared<AsyncReadArg>(NVal(env, funcArg[NARG_POS::FIRST])); in Read() 327 NVal cb(env, funcArg[NARG_POS::FIRST]); in Close()
|
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/ |
H A D | cloud_sync_manager_n_exporter.cpp | 45 tie(succ, accoutId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in ChangeAppCloudSwitch() 94 tie(succ, accoutId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in NotifyDataChangeInner() 143 tie(succ, userId) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToInt32(); in NotifyEventChange() 219 tie(succ, accoutId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in DisableCloud() 296 tie(succ, accoutId, std::ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in EnableCloud() 374 tie(succ, accoutId, ignore) = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in Clean()
|