Home
last modified time | relevance | path

Searched refs:ToInt32 (Results 1 – 25 of 78) sorted by relevance

1234

/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dcommon_func.cpp510 tie(succ, level) = levelNVal.ToInt32(); in GetDeflateInitArg()
536 tie(succ, level) = levelNVal.ToInt32(); in GetDeflateInit2Arg()
592 tie(succ, flush) = flushNVal.ToInt32(); in GetDeflateArg()
660 tie(succ, level) = levelNVal.ToInt32(); in GetCompress2Arg()
759 tie(succ, flush) = flushNVal.ToInt32(); in GetInflateArg()
778 tie(succ, flush) = flushNVal.ToInt32(); in GetInflateReset2Arg()
826 tie(succ, bits) = bitsNVal.ToInt32(); in GetInflatePrimeArg()
835 tie(succ, value) = valueNVal.ToInt32(); in GetInflatePrimeArg()
1050 tie(succ, fd) = fdNVal.ToInt32(); in GetGZDOpenArg()
1219 tie(succ, c) = cNVal.ToInt32(); in GetGZPutCArg()
[all …]
H A Dnapi_value.h52 std::tuple<bool, int32_t> ToInt32() const;
53 std::tuple<bool, int32_t> ToInt32(int32_t defaultValue) const;
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
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()
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()
427 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Read()
489 tie(succ, fd) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in Write()
[all …]
H A Dopen.cpp51 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 Dlseek.cpp30 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 Dposix_fallocate.cpp32 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 Dtruncate_v9.cpp41 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 Dfdatasync.cpp39 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 Dfsync.cpp39 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 Dclose.cpp38 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 Dfstat.cpp43 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 Dftruncate.cpp39 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()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/
H A Dlseek.cpp37 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 Dfdatasync.cpp40 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 Dfsync.cpp38 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()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_overloads.cpp150 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()
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()
425 tie(succ, imgArg.xOffset) = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in TexSubImage2D()
[all …]
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()
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()
828 tie(succ, imgArg.x) = NVal(env, funcArg[NARG_POS::SIXTH]).ToInt32(); in CopyTexSubImage3D()
832 tie(succ, imgArg.y) = NVal(env, funcArg[NARG_POS::SEVENTH]).ToInt32(); in CopyTexSubImage3D()
1196 tie(succ, index) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in VertexAttribDivisor()
1224 tie(succ, first) = NVal(env, funcArg[NARG_POS::SECOND]).ToInt32(); in DrawArraysInstanced()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_offscreen_canvas_bridge.cpp108 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(runtime); in JsPath2DQuadraticCurveTo()
[all …]
H A Djsi_canvas_bridge.cpp164 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(runtime); in JsPath2DQuadraticCurveTo()
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/
H A Dincremental_backup_data.h55 auto [succ, tmp] = fd.ToInt32(); in FileManifestData()
83 auto [succ, tmp] = pr.ToInt32(); in BackupPriority()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_app_module.cpp91 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 Djsi_matrix4_module.cpp255 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()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/
H A Dn_val.h50 std::tuple<bool, int32_t> ToInt32() const;
51 std::tuple<bool, int32_t> ToInt32(int32_t defaultValue) const;
/ohos5.0/foundation/filemanagement/file_api/utils/filemgmt_libn/include/
H A Dn_val.h53 std::tuple<bool, int32_t> ToInt32() const;
54 std::tuple<bool, int32_t> ToInt32(int32_t defaultValue) const;
/ohos5.0/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/hilog/src/
H A Dhilog_napi_base.cpp128 tie(succ, domain) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in IsLoggable()
136 tie(succ, level) = NVal(env, funcArg[NARG_POS::THIRD]).ToInt32(); in IsLoggable()
243 tie(succ, domain) = NVal(env, funcArg[NARG_POS::FIRST]).ToInt32(); in HilogImpl()

1234