Home
last modified time | relevance | path

Searched refs:SECOND (Results 1 - 25 of 101) sorted by relevance

12345

/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dftruncate.cpp48 tie(succ, len) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(len); in Sync()
80 tie(resGetSecondArg, len) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(len); in Async()
107 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Async()
110 NVal cb(env, funcArg[((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD)]); in Async()
H A Dtruncate_v9.cpp67 tie(succ, truncateLen) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in Sync()
99 if (funcArg.GetArgc() > NARG_CNT::ONE && NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_number)) { in Async()
100 tie(succ, truncateLen) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in Async()
127 funcArg[NARG_POS::SECOND]).TypeIs(napi_number))) { in Async()
H A Dprop_n_exporter.cpp80 tie(succ, mode) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(mode); in AccessSync()
111 tie(succ, mode) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(mode); in Access()
138 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Access()
141 int cbInd = ((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD); in Access()
181 NVal cb(env, funcArg[NARG_POS::SECOND]); in Unlink()
203 tie(succGetMode, mode) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(mode); in Mkdir()
226 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Mkdir()
229 int cbIdx = ((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD); in Mkdir()
252 tie(succ, mode) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(mode); in MkdirSync()
284 tie(succ, mode) = NVal(env, funcArg[NARG_POS::SECOND]) in FchmodSync()
[all...]
H A Dtruncate.cpp44 tie(resGetSecondArg, len) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(len); in Sync()
75 tie(resGetSecondArg, len) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(len); in Async()
102 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Async()
H A Dhash.cpp58 auto [resGetSecondArg, alg, algLen] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetHashArgs()
70 if (funcArg.GetArgc() == NARG_CNT::THREE && !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function)) { in GetHashArgs()
H A Drename.cpp45 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Sync()
73 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Async()
H A Dopen.cpp51 auto [succGetFlags, authFlags] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(O_RDONLY); in Sync()
109 auto [succ, authFlags] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(O_RDONLY); in ParseFlags()
161 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function)) || (argc == NARG_CNT::THREE && in Async()
H A Dread_text.cpp83 auto [resGetReadTextArg, position, hasLen, len, encoding] = GetReadTextArg(env, funcArg[NARG_POS::SECOND]); in Sync()
182 auto [resGetSecondArg, position, hasLen, len, encoding] = GetReadTextArg(env, funcArg[NARG_POS::SECOND]); in Async()
208 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Async()
211 NVal cb(env, funcArg[((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD)]); in Async()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl2_rendering_context_base.cpp74 tie(succ, drawbuffer) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in ClearBufferfv()
105 tie(succ, drawbuffer) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in ClearBufferiv()
136 tie(succ, drawbuffer) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in ClearBufferuiv()
167 tie(succ, drawbuffer) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in ClearBufferfi()
236 context->GetWebGL2RenderingContextImpl().BeginQuery(env, target, funcArg[NARG_POS::SECOND]); in BeginQuery()
270 tie(succ, pName) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in GetQuery()
288 tie(succ, pName) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in GetQueryParameter()
347 context->GetWebGL2RenderingContextImpl().BindSampler(env, unit, funcArg[NARG_POS::SECOND]); in BindSampler()
359 tie(succ, pName) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in SamplerParameteri()
383 tie(succ, pName) = NVal(env, funcArg[NARG_POS::SECOND]) in SamplerParameterf()
[all...]
H A Dwebgl_rendering_context_overloads.cpp81 bool usageSucc = NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_number); in BufferData()
84 tie(succ, size) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(); in BufferData()
93 return context->GetWebGLRenderingContextImpl().BufferData(env, target, funcArg[NARG_POS::SECOND], usage, ext); in BufferData()
100 return context->GetWebGLRenderingContextImpl().BufferData(env, target, funcArg[NARG_POS::SECOND], usage, ext); in BufferData()
121 tie(succ, offset) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(); in BufferSubData()
150 tie(succ, imgArg.level) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in CompressedTexImage2D()
217 tie(succ, imgArg.level) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in CompressedTexSubImage2D()
284 tie(succ, arg.y) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in ReadPixels()
345 tie(succ, imgArg.level) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in TexImage2D()
421 tie(succ, imgArg.level) = NVal(env, funcArg[NARG_POS::SECOND]) in TexSubImage2D()
[all...]
H A Dwebgl_rendering_context_base.cpp182 env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in AttachShader()
198 tie(succ, index) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(); in BindAttribLocation()
229 context->GetWebGLRenderingContextImpl().BindBuffer(env, target, funcArg[NARG_POS::SECOND]); in BindBuffer()
248 context->GetWebGLRenderingContextImpl().BindFrameBuffer(env, target, funcArg[NARG_POS::SECOND]); in BindFramebuffer()
267 context->GetWebGLRenderingContextImpl().BindRenderBuffer(env, target, funcArg[NARG_POS::SECOND]); in BindRenderbuffer()
284 context->GetWebGLRenderingContextImpl().BindTexture(env, target, funcArg[NARG_POS::SECOND]); in BindTexture()
301 tie(succ, green) = NVal(env, funcArg[NARG_POS::SECOND]).ToDouble(); in BlendColor()
375 tie(succ, modeAlpha) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in BlendEquationSeparate()
446 tie(succ, dFactor) = NVal(env, funcArg[NARG_POS::SECOND]).ToGLenum(); in BlendFunc()
477 tie(succ, dstRGB) = NVal(env, funcArg[NARG_POS::SECOND]) in BlendFuncSeparate()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dcommon_func.cpp58 NapiValue bufNVal(env, funcArg[ArgumentPosition::SECOND]); in GetAdler32Arg()
84 NapiValue bufNVal(env, funcArg[ArgumentPosition::SECOND]); in GetCrc64Arg()
111 NapiValue adler2NVal(env, funcArg[ArgumentPosition::SECOND]); in GetAdler32CombineArg()
483 NapiValue bufNVal(env, funcArg[ArgumentPosition::SECOND]); in GetInflateInitArg()
508 NapiValue levelNVal(env, funcArg[ArgumentPosition::SECOND]); in GetDeflateInitArg()
534 NapiValue levelNVal(env, funcArg[ArgumentPosition::SECOND]); in GetDeflateInit2Arg()
590 NapiValue flushNVal(env, funcArg[ArgumentPosition::SECOND]); in GetDeflateArg()
615 NapiValue sourceNVal(env, funcArg[ArgumentPosition::SECOND]); in GetCompressArg()
651 NapiValue sourceNVal(env, funcArg[ArgumentPosition::SECOND]); in GetCompress2Arg()
694 NapiValue sourceNVal(env, funcArg[ArgumentPosition::SECOND]); in GetUnCompressArg()
[all...]
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stream/
H A Dstream_n_exporter.cpp64 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()
201 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Write()
204 int cbIdx = ((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD); in Write()
244 CommonFunc::GetReadArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in Read()
280 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Read()
283 NVal cb(env, funcArg[((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD)]); in Read()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dread_lines.cpp130 int ret = CheckOptionArg(env, funcArg[NARG_POS::SECOND]); in Async()
157 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Async()
160 NVal cb(env, funcArg[((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD)]); in Async()
182 int ret = CheckOptionArg(env, funcArg[NARG_POS::SECOND]); in Sync()
H A Dtruncate.cpp107 tie(succ, truncateLen) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(truncateLen); in Sync()
137 tie(succ, truncateLen) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(truncateLen); in Async()
156 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Async()
159 NVal cb(env, funcArg[((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD)]); in Async()
H A Dconnectdfs.cpp80 napi_get_undefined(env, &result[NARG_POS::SECOND]); in cbCompl()
83 napi_resolve_deferred(env, connectDfsCB->cbBase.deferred, result[NARG_POS::SECOND]); in cbCompl()
96 NVal op(env, funcArg[NARG_POS::SECOND]); in GetListenerFromOptionArg()
264 result[NARG_POS::SECOND] = WrapInt32(connectDfsCB->cbBase.cbInfo.env, connectDfsCB->status, "status"); in UvWorkAfterOnStaus()
278 napi_get_undefined(connectDfsCB->cbBase.cbInfo.env, &res[NARG_POS::SECOND]); in UvWorkAfterOnStaus()
281 connectDfsCB->cbBase.deferred, res[NARG_POS::SECOND]); in UvWorkAfterOnStaus()
H A Drename.cpp47 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Sync()
87 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Async()
H A Dxattr.cpp83 tie(succ, key, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::SECOND)]).ToUTF8String(); in SetSync()
121 tie(succ, key, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::SECOND)]).ToUTF8String(); in GetSync()
154 tie(succ, key, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::SECOND)]).ToUTF8String(); in GetAsync()
199 tie(succ, key, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::SECOND)]).ToUTF8String(); in SetAsync()
H A Dread_text.cpp164 auto [resGetReadTextArg, offset, hasLen, len, encoding] = GetReadTextArg(env, funcArg[NARG_POS::SECOND]); in Sync()
220 auto [resGetSecondArg, offset, hasLen, len, encoding] = GetReadTextArg(env, funcArg[NARG_POS::SECOND]); in Async()
245 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in Async()
248 NVal cb(env, funcArg[((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD)]); in Async()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_stream/
H A Dstream_n_exporter.cpp139 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()
270 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in WriteExec()
273 int cbIdx = ((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD); in WriteExec()
301 CommonFunc::GetReadArg(env, funcArg[NARG_POS::FIRST], funcArg[NARG_POS::SECOND]); in ReadExec()
344 !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function))) { in ReadExec()
347 int cbIdx = ((funcArg.GetArgc() == NARG_CNT::TWO) ? NARG_POS::SECOND : NARG_POS::THIRD); in ReadExec()
441 auto [succGetWhence, pos] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(SEEK_SET); in Seek()
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dcloud_file_cache_napi.cpp195 NVal option(env, funcArg[NARG_POS::SECOND]); in StopFileCache()
291 NVal option(env, funcArg[NARG_POS::SECOND]); in StopBatchFileCache()
341 if (!NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function)) { in On()
357 arg->callback = make_shared<CloudDownloadCallbackImpl>(env, NVal(env, funcArg[(int)NARG_POS::SECOND]).val_); in On()
360 make_shared<CloudDownloadCallbackImpl>(env, NVal(env, funcArg[(int)NARG_POS::SECOND]).val_, true); in On()
396 if (funcArg.GetArgc() == (uint)NARG_CNT::TWO && !NVal(env, funcArg[NARG_POS::SECOND]).TypeIs(napi_function)) { in Off()
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/
H A Dcloud_sync_manager_n_exporter.cpp51 tie(succ, bundleName, std::ignore) = NVal(env, funcArg[(int)NARG_POS::SECOND]).ToUTF8String(); in ChangeAppCloudSwitch()
100 tie(succ, bundleName, std::ignore) = NVal(env, funcArg[(int)NARG_POS::SECOND]).ToUTF8String(); in NotifyDataChangeInner()
131 auto options = NVal(env, funcArg[NARG_POS::SECOND]); in IsNotifyEventChange()
149 auto argv = NVal(env, funcArg[NARG_POS::SECOND]); in NotifyEventChange()
302 if (!ParseSwitches(env, funcArg[(int)NARG_POS::SECOND], switchData)) { in EnableCloud()
380 if (!ParseAppActions(env, funcArg[(int)NARG_POS::SECOND], cleanOptions)) { in Clean()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_securitylabel/
H A Dsecuritylabel_n_exporter.cpp48 tie(succ, dataLevel, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::SECOND)]).ToUTF8String(); in SetSecurityLabel()
102 tie(succ, dataLevel, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::SECOND)]).ToUTF8String(); in SetSecurityLabelSync()
159 NVal cb(env, funcArg[static_cast<int>(NARG_POS::SECOND)]); in GetSecurityLabel()
/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_statistics_n_exporter.cpp82 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetTotalSizeOfVolume()
130 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetFreeSizeOfVolume()
153 } else if (NVal(env, funcArg[(int)NARG_POS::SECOND]).TypeIs(napi_number)) { in ExtractNameAndIndex()
154 std::tie(succ, index) = NVal(env, funcArg[(int)NARG_POS::SECOND]).ToInt32(); in ExtractNameAndIndex()
201 if (funcArg.GetArgc() == (uint)NARG_CNT::ONE || NVal(env, funcArg[(int)NARG_POS::SECOND]).TypeIs(napi_number)) { in GetBundleStats()
204 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetBundleStats()
343 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetUserStorageStats()
H A Dvolumemanager_n_exporter.cpp151 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in Mount()
191 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in Unmount()
243 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetVolumeByUuid()
296 NVal cb(env, funcArg[(int)NARG_POS::SECOND]); in GetVolumeById()
322 tie(succ, description, std::ignore) = NVal(env, funcArg[(int)NARG_POS::SECOND]).ToUTF8String(); in SetVolumeDescription()
376 tie(succ, fsType, std::ignore) = NVal(env, funcArg[(int)NARG_POS::SECOND]).ToUTF8String(); in Format()
429 std::tie(succ, type) = NVal(env, funcArg[(int)NARG_POS::SECOND]).ToInt32(); in Partition()

Completed in 18 milliseconds

12345