Home
last modified time | relevance | path

Searched refs:napi_get_value_uint32 (Results 1 - 25 of 87) sorted by relevance

1234

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.cpp108 if (tempValueChild != nullptr && napi_get_value_uint32(env, tempValueChild, &textDecoration) == napi_ok) { in GetDecorationFromJS()
116 if (tempValueChild != nullptr && napi_get_value_uint32(env, tempValueChild, &decorationStyle) == napi_ok) { in GetDecorationFromJS()
128 if (tempValue != nullptr && napi_get_value_uint32(env, tempValue, &fontWeight) == napi_ok) { in ParsePartTextStyle()
133 if (tempValue != nullptr && napi_get_value_uint32(env, tempValue, &fontStyle) == napi_ok) { in ParsePartTextStyle()
143 if (tempValue != nullptr && napi_get_value_uint32(env, tempValue, &baseline) == napi_ok) { in ParsePartTextStyle()
164 if (tempValue != nullptr && napi_get_value_uint32(env, tempValue, &ellipsisModal)== napi_ok) { in ParsePartTextStyle()
348 if (tempValue != nullptr && napi_get_value_uint32(env, tempValue, &ellipsisModal) == napi_ok) {
368 if (tempValue != nullptr && napi_get_value_uint32(env, tempValue, &textDirection) == napi_ok) {
374 if (tempValue != nullptr && napi_get_value_uint32(env, tempValue, &align) == napi_ok) {
380 if (tempValue != nullptr && napi_get_value_uint32(en
[all...]
/foundation/arkui/napi/sample/native_module_systemtest/
H A Djs_test_object_napi.cpp38 NAPI_CALL(env, napi_get_value_uint32(env, whichType, &typeIndex)); in ObjectTypeTaggedInstance()
55 NAPI_CALL(env, napi_get_value_uint32(env, argv[0], &typeIndex)); in ObjectCheckTypeTag()
H A Djs_test_threadsafe_napi.cpp202 NAPI_CALL(env, napi_get_value_uint32(env, argv[THREAD_ARG_THREE], &tsinfo.maxQueueSize)); in StartThreadInternal()
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/
H A Dnapi_common_fileaccess.cpp35 if (napi_get_value_uint32(env, param, &value) == napi_ok) { in UnwrapUint32FromJS()
45 if (napi_get_value_uint32(env, param, &value) == napi_ok) { in UnwrapUint32FromJS2()
/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/
H A Djs_component_test.cpp88 COMPONENT_TEST_NAPI_ASSERT_CUSTOM(env, napi_get_value_uint32(env, size, &testCaseSize) == napi_ok, in JSDefineTestGetCaseSize()
111 COMPONENT_TEST_NAPI_ASSERT_CUSTOM(env, napi_get_value_uint32(env, type, &testCaseType) == napi_ok, in JSDefineTestGetCaseType()
135 COMPONENT_TEST_NAPI_ASSERT_CUSTOM(env, napi_get_value_uint32(env, level, &testCaseLevel) == napi_ok, in JSDefineTestGetCaseLevel()
178 NAPI_CALL(env, napi_get_value_uint32(env, argv[ARG_COUNT_THREE], &asyncContext->delayMs)); in JSDefineTest()
H A Djs_component_test_utils.cpp147 napi_get_value_uint32(env, arg, &recv); in CheckAndParseUInt32()
H A Djs_component_test_component.cpp174 NAPI_CALL(env, napi_get_value_uint32(env, argv, &delayMs)); in JSPress()
328 NAPI_CALL(env, napi_get_value_uint32(env, argv, &speed)); in JSScrollToTop()
365 NAPI_CALL(env, napi_get_value_uint32(env, argv, &speed)); in JSScrollToBottom()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.cpp62 napi_get_value_uint32(env, type, &resultValue); in ConvertFromJsTextEncoding()
111 if (napi_get_value_uint32(env, jsValue, &tempColorValue) != napi_ok) { in ConvertFromJsColorWithNumber()
H A Djs_drawing_utils.h86 if (napi_get_value_uint32(env, argv[argc], &value) != napi_ok) { \
305 return napi_get_value_uint32(env, jsValue, &value) == napi_ok; in ConvertFromJsNumber()
/foundation/arkui/ace_engine/interfaces/napi/kits/atomic_service_bar/
H A Djs_atomic_service_bar.cpp96 napi_get_value_uint32(env, argv[0], &num); in JSSetTitleFontStyle()
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/kits/js/napi/include/
H A Djs_napi_utils.h108 NAPI_CALL_NO_THROW(napi_get_value_uint32(env, jsValue, &value), false); in ConvertFromJsNumber()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Djs_timer.cpp171 napi_get_value_uint32(env, argv[0], &callbackId); in StopTimeoutOrInterval()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtest_common.cpp188 return napi_get_value_uint32(env, jsValue, &value) == napi_ok; in ConvertIntFromJsValue()
/foundation/communication/netstack/frameworks/js/napi/net_ssl/async_context/src/
H A Dcert_context.cpp111 napi_get_value_uint32(env, typeValue, &type); in ParseCertBlobFromData()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dpicture_napi.cpp421 status = napi_get_value_uint32(env, argValue[NUM_0], &auxiType); in GetAuxiliaryPicture()
472 status = napi_get_value_uint32(env, argValue[NUM_0], &auxiType); in SetAuxiliaryPicture()
819 status = napi_get_value_uint32(env, argValue[NUM_0], &metadataType); in GetMetadata()
874 status = napi_get_value_uint32(env, argValue[NUM_0], &metadataType); in SetMetadata()
H A Dimage_napi_utils.cpp51 IMG_NAPI_CHECK_RET(IMG_IS_OK(napi_get_value_uint32(env, tempValue, res)), false); in GetUint32ByName()
H A Dauxiliary_picture_napi.cpp288 status = napi_get_value_uint32(env, argValue[NUM_2], &auxiType); in CreateAuxiliaryPicture()
426 status = napi_get_value_uint32(env, argValue[NUM_0], &metadataType); in GetMetadata()
490 status = napi_get_value_uint32(env, argValue[NUM_0], &metadataType); in SetMetadata()
H A Dimage_packer_napi.cpp560 napi_get_value_uint32(env, tmpValue, &Count); in parsePackOptionOfdelayTimes()
581 if (napi_get_value_uint32(env, item, &num) != napi_ok) { in parsePackOptionOfdelayTimes()
610 if (napi_get_value_uint32(env, item, &num) != napi_ok) { in parsePackOptionOfdisposalTypes()
/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/
H A Dnapi_net_policy.cpp641 NAPI_CALL(env, napi_get_value_uint32(env, argv[ARGV_INDEX_0], &context->uid)); in SetPolicyByUid()
642 NAPI_CALL(env, napi_get_value_uint32(env, argv[ARGV_INDEX_1], &context->policy)); in SetPolicyByUid()
676 NAPI_CALL(env, napi_get_value_uint32(env, argv[ARGV_INDEX_0], &context->uid)); in GetPolicyByUid()
708 NAPI_CALL(env, napi_get_value_uint32(env, argv[ARGV_INDEX_0], &context->policy)); in GetUidsByPolicy()
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_message_parcel_write.cpp251 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &value); in JS_writeChar()
627 napi_get_value_uint32(env, element, &value); in JS_writeCharArray()
929 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &value); in JS_setSize()
955 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &value); in JS_setCapacity()
1032 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &pos); in JS_rewindRead()
1074 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &pos); in JS_rewindWrite()
H A Dnapi_ashmem.cpp291 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &mapType); in MapAshmem()
319 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &mapType); in MapTypedAshmem()
531 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &protectionType); in SetProtection()
559 napi_get_value_uint32(env, argv[ARGV_INDEX_0], &protectionType); in SetProtectionType()
949 napi_get_value_uint32(env, argv[ARGV_INDEX_1], &ashmemSize); in Ashmem_JS_Constructor()
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/common/
H A Djs_backend_timer_module.cpp215 napi_get_value_uint32(env, argv[0], &callbackId); in StopTimeoutOrInterval()
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dnight_session_napi.cpp185 napi_get_value_uint32(env, argv[PARAM0], &exposureValue); in SetExposure()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/animation/window_animation_manager/
H A Drs_window_animation_manager.cpp229 napi_get_value_uint32(env, value, &missionId); in GetMissionIds()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_arg.cpp235 status = GetArrayElement<uint32_t, uint8_t>(data, 0, napi_get_value_uint32); in GetArrayData()
239 status = GetArrayElement<uint32_t, uint16_t>(data, 0, napi_get_value_uint32); in GetArrayData()
243 status = GetArrayElement<uint32_t, uint32_t>(data, 0, napi_get_value_uint32); in GetArrayData()

Completed in 26 milliseconds

1234