Home
last modified time | relevance | path

Searched refs:resGetSecondArg (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dtruncate.cpp43 bool resGetSecondArg = false; in Sync() local
44 tie(resGetSecondArg, len) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(len); in Sync()
45 if (!resGetSecondArg) { in Sync()
74 bool resGetSecondArg = false; in Async() local
75 tie(resGetSecondArg, len) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(len); in Async()
76 if (!resGetSecondArg) { in Async()
H A Drename.cpp45 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Sync()
46 if (!resGetSecondArg) { in Sync()
73 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Async()
74 if (!resGetSecondArg) { in Async()
H A Dftruncate.cpp79 bool resGetSecondArg = false; in Async() local
80 tie(resGetSecondArg, len) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt64(len); in Async()
81 if (!resGetSecondArg) { in Async()
H A Dlink.cpp39 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in GetLinkArg()
40 if (!resGetSecondArg) { in GetLinkArg()
H A Dsymlink.cpp38 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in GetSymlinkArg()
39 if (!resGetSecondArg) { in GetSymlinkArg()
H A Dlseek.cpp36 auto [resGetSecondArg, offset] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in GetLseekArg()
37 if (!resGetSecondArg) { in GetLseekArg()
H A Dposix_fallocate.cpp38 auto [resGetSecondArg, offset] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in GetPosixFallocateArg()
39 if (!resGetSecondArg) { in GetPosixFallocateArg()
H A Dfdopen_stream.cpp60 auto [resGetSecondArg, mode, unused] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetFdopenStreamArgs()
61 if (!resGetSecondArg) { in GetFdopenStreamArgs()
H A Dcreate_stream.cpp62 auto [resGetSecondArg, mode, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetCreateStreamArgs()
63 if (!resGetSecondArg) { in GetCreateStreamArgs()
H A Dhash.cpp58 auto [resGetSecondArg, alg, algLen] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetHashArgs()
59 if (!resGetSecondArg) { in GetHashArgs()
H A Dread_text.cpp182 …auto [resGetSecondArg, position, hasLen, len, encoding] = GetReadTextArg(env, funcArg[NARG_POS::SE… in Async()
183 if (!resGetSecondArg) { in Async()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Drename.cpp47 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Sync()
48 if (!resGetSecondArg) { in Sync()
87 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in Async()
88 if (!resGetSecondArg) { in Async()
H A Dcreate_stream.cpp40 auto [resGetSecondArg, mode, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetCreateStreamArgs()
41 if (!resGetSecondArg) { in GetCreateStreamArgs()
H A Dfdopen_stream.cpp40 auto [resGetSecondArg, mode, unused] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetFdopenStreamArgs()
41 if (!resGetSecondArg) { in GetFdopenStreamArgs()
H A Dsymlink.cpp39 auto [resGetSecondArg, dest, useless] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in GetSymlinkArg()
40 if (!resGetSecondArg) { in GetSymlinkArg()
H A Dmove.cpp71 auto [resGetSecondArg, dest, unused] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in ParseJsOperand()
72 if (!resGetSecondArg || CheckDir(string(dest.get()))) { in ParseJsOperand()
H A Dread_text.cpp220 …auto [resGetSecondArg, offset, hasLen, len, encoding] = GetReadTextArg(env, funcArg[NARG_POS::SECO… in Async()
221 if (!resGetSecondArg) { in Async()
H A Dcopydir.cpp55 auto [resGetSecondArg, dest, unused] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in ParseAndCheckJsOperand()
56 if (!resGetSecondArg || !filesystem::is_directory(filesystem::status(dest.get()))) { in ParseAndCheckJsOperand()
H A Dmovedir.cpp88 auto [resGetSecondArg, dest, unused] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8StringPath(); in ParseJsOperand()
89 if (!resGetSecondArg || !filesystem::is_directory(filesystem::status(dest.get()))) { in ParseJsOperand()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_hash/
H A Dhash.cpp47 auto [resGetSecondArg, alg, ignore] = NVal(env, funcArg[NARG_POS::SECOND]).ToUTF8String(); in GetHashArgs()
48 if (!resGetSecondArg) { in GetHashArgs()