/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | common_func.cpp | 201 tie(succ, availableIn) = zstreamNVal.GetProp("availableIn").ToInt32(); in GetZStreamInValue() 231 tie(succ, dataType) = zstreamNVal.GetProp("dataType").ToInt32(); in GetZStreamOtherValue() 289 tie(succ, availableOut) = zstreamNVal.GetProp("availableOut").ToInt32(); in GetZstreamArg() 347 tie(succ, xflags) = gzHeaderNVal.GetProp("xflags").ToInt32(); in GetGZHeadValue() 358 tie(succ, os) = gzHeaderNVal.GetProp("os").ToInt32(); in GetGZHeadValue() 428 tie(succ, extraLen) = gzHeaderNVal.GetProp("extraLen").ToInt32(); in GetGZHeaderArg() 485 tie(succ, windowBits) = bufNVal.ToInt32(); in GetInflateInitArg() 510 tie(succ, level) = levelNVal.ToInt32(); in GetDeflateInitArg() 536 tie(succ, level) = levelNVal.ToInt32(); in GetDeflateInit2Arg() 545 tie(succ, method) = methodNVal.ToInt32(); in GetDeflateInit2Arg() [all...] |
H A D | napi_value.h | 52 std::tuple<bool, int32_t> ToInt32() const; 53 std::tuple<bool, int32_t> ToInt32(int32_t defaultValue) const;
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | posix_fallocate.cpp | 32 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in GetPosixFallocateArg() 38 auto [resGetSecondArg, offset] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in GetPosixFallocateArg() 44 auto [resGetThirdArg, len] = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in GetPosixFallocateArg()
|
H A D | lseek.cpp | 30 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in GetLseekArg() 36 auto [resGetSecondArg, offset] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in GetLseekArg() 42 auto [resGetThirdArg, whence] = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in GetLseekArg()
|
H A D | open.cpp | 51 auto [succGetFlags, authFlags] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(O_RDONLY); in Sync() 73 tie(succ, mode) = NVal(env, funcArg.GetArg(NARG_POS::THIRD)).ToInt32(mode); in Sync() 109 auto [succ, authFlags] = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(O_RDONLY); in ParseFlags() 140 tie(succ, mode) = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(mode); in Async()
|
H A D | prop_n_exporter.cpp | 80 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() 203 tie(succGetMode, mode) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(mode); in Mkdir() 252 tie(succ, mode) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(mode); in MkdirSync() 277 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in FchmodSync() 284 tie(succ, mode) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in FchmodSync() 310 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in FchownSync() 317 tie(succ, owner) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in FchownSync() 324 tie(succ, group) = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in FchownSync() 349 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in ReadSync() [all...] |
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 | 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 | truncate_v9.cpp | 41 auto [isFd, fd] = NVal(env, pathOrFdFromJsArg).ToInt32(); in ParseJsFile() 67 tie(succ, truncateLen) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in Sync() 100 tie(succ, truncateLen) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in Async()
|
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/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | lseek.cpp | 37 auto [succGetFd, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 53 auto [succGetWhence, pos] = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(SeekPos::START); in Sync()
|
H A D | fdatasync.cpp | 40 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 73 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Async()
|
H A D | fsync.cpp | 38 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync() 70 auto [resGetFirstArg, fd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Async()
|
H A D | dup.cpp | 38 auto [succ, srcFd] = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Sync()
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/ |
H A D | incremental_backup_data.h | 55 auto [succ, tmp] = fd.ToInt32(); in FileManifestData() 83 auto [succ, tmp] = pr.ToInt32(); in BackupPriority()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/ |
H A D | n_val.h | 50 std::tuple<bool, int32_t> ToInt32() const; 51 std::tuple<bool, int32_t> ToInt32(int32_t defaultValue) const;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_app_module.cpp | 91 int32_t size = argv[0]->ToInt32(runtime); in AppSetImageCacheCount() 130 int32_t size = argv[0]->ToInt32(runtime); in AppSetImageRawDataCacheSize() 159 int32_t size = argv[0]->ToInt32(runtime); in AppSetImageFileCacheSize()
|
H A D | jsi_matrix4_module.cpp | 255 int32_t x = xJsValue->ToInt32(runtime); in ParsePoint() 256 int32_t y = yJsValue->ToInt32(runtime); in ParsePoint() 275 int32_t srcIndex = argv[0]->GetProperty(runtime, "srcIndex")->ToInt32(runtime); in SetPolyToPoly() 276 int32_t dstIndex = argv[0]->GetProperty(runtime, "dstIndex")->ToInt32(runtime); in SetPolyToPoly() 279 pointCount = pointCountJSValue->ToInt32(runtime); in SetPolyToPoly()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 164 id = nodeId->ToInt32(runtime); in GetCurrentNodeId() 587 id = nodeId->ToInt32(runtime); in JsAddColorStop() 601 id = nodeId->ToInt32(runtime); in GetGradient() 1199 id = nodeId->ToInt32(runtime); in JsPath2DAddPath() 1235 id = nodeId->ToInt32(runtime); in JsPath2DSetTransform() 1262 id = nodeId->ToInt32(runtime); in JsPath2DMoveTo() 1287 id = nodeId->ToInt32(runtime); in JsPath2DLineTo() 1312 id = nodeId->ToInt32(runtime); in JsPath2DArc() 1344 id = nodeId->ToInt32(runtime); in JsPath2DArcTo() 1370 id = nodeId->ToInt32(runtim in JsPath2DQuadraticCurveTo() [all...] |
H A D | jsi_offscreen_canvas_bridge.cpp | 108 id = bridgeId->ToInt32(runtime); in GetCurrentBridgeId() 375 id = nodeId->ToInt32(runtime); in JsAddColorStop() 389 id = nodeId->ToInt32(runtime); in GetGradient() 1000 id = nodeId->ToInt32(runtime); in JsPath2DAddPath() 1036 id = nodeId->ToInt32(runtime); in JsPath2DSetTransform() 1063 id = nodeId->ToInt32(runtime); in JsPath2DMoveTo() 1088 id = nodeId->ToInt32(runtime); in JsPath2DLineTo() 1113 id = nodeId->ToInt32(runtime); in JsPath2DArc() 1145 id = nodeId->ToInt32(runtime); in JsPath2DArcTo() 1171 id = nodeId->ToInt32(runtim in JsPath2DQuadraticCurveTo() [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl2_rendering_context_base.cpp | 74 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() 177 tie(succ, stencil) = NVal(env, funcArg[NARG_POS::FOURTH]).ToInt32(); in ClearBufferfi() 364 tie(succ, param) = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in SamplerParameteri() 624 tie(succ, args.levels) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in TexStorage3D() 666 tie(succ, imgArg.level) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in TexImage3D() 686 tie(succ, imgArg.border) = NVal(env, funcArg[NARG_POS::SEVENTH]).ToInt32(); in TexImage3D() 736 tie(succ, imgArg.level) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in TexSubImage3D() [all...] |
H A D | webgl_rendering_context_overloads.cpp | 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() 221 tie(succ, imgArg.xOffset) = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in CompressedTexSubImage2D() 225 tie(succ, imgArg.yOffset) = NVal(env, funcArg[NARG_POS::FOURTH]).ToInt32(); in CompressedTexSubImage2D() 280 tie(succ, arg.x) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in ReadPixels() 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() 349 tie(succ, imgArg.internalFormat) = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in TexImage2D() 371 tie(succ, imgArg.border) = NVal(env, funcArg[NARG_POS::SIXTH]).ToInt32(); in TexImage2D() 421 tie(succ, imgArg.level) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in TexSubImage2D() [all...] |
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/ |
H A D | n_val.h | 53 std::tuple<bool, int32_t> ToInt32() const; 54 std::tuple<bool, int32_t> ToInt32(int32_t defaultValue) const;
|