Home
last modified time | relevance | path

Searched refs:INDEX_TWO (Results 1 - 25 of 38) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launchermgr/
H A Djs_launcher_unsupported.cpp33 constexpr int32_t INDEX_TWO = 2; member
55 napi_value result[INDEX_TWO] = { 0 }; in JsLauncherCommon()
85 size_t argc = INDEX_TWO; in JSLauncherServiceOff()
86 napi_value argv[INDEX_TWO] = { 0 }; in JSLauncherServiceOff()
96 size_t argc = INDEX_TWO; in JSGetAllLauncherAbilityInfos()
97 napi_value argv[INDEX_TWO] = { 0 }; in JSGetAllLauncherAbilityInfos()
118 size_t argc = INDEX_TWO; in JSGetShortcutInfos()
119 napi_value argv[INDEX_TWO] = { 0 }; in JSGetShortcutInfos()
H A Djs_launcher.cpp42 constexpr int32_t INDEX_TWO = 2; member
525 } else if ((i == INDEX_TWO) && (valueType == napi_function)) { in JSLauncherServiceOn()
622 napi_value result[INDEX_TWO] = { 0 }; in LauncherServiceOffComplete()
651 size_t argc = INDEX_TWO; in JSLauncherServiceOff()
652 napi_value argv[INDEX_TWO] = { 0 }; in JSLauncherServiceOff()
819 size_t requireArgc = INDEX_TWO; in JSGetLauncherAbilityInfos()
840 } else if ((i == INDEX_TWO) && (valueType == napi_function)) { in JSGetLauncherAbilityInfos()
871 napi_value result[INDEX_TWO] = { 0 }; in JSGetLauncherAbilityInfos()
926 size_t argc = INDEX_TWO; in JSGetShortcutInfos()
927 napi_value argv[INDEX_TWO] in JSGetShortcutInfos()
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/Mock/
H A Dmock_wifi_global_func.cpp31 const int INDEX_TWO = 2; member
48 value[INDEX_TWO] = 'c'; in GetParamValue()
63 value[INDEX_TWO] = '0'; in GetParamValue()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hdr/
H A Dhdr_helper.cpp72 constexpr uint8_t INDEX_TWO = 2; member
270 if (isoTag && offsetArray.size() == INDEX_TWO) { in GetISOJpegGainMapOffset()
425 infoMain.gainMapMin[INDEX_TWO] = ImageUtils::BytesToFloat(data, offset); in ParseExtendInfoMain()
426 infoMain.gainMapMax[INDEX_TWO] = ImageUtils::BytesToFloat(data, offset); in ParseExtendInfoMain()
427 infoMain.gamma[INDEX_TWO] = ImageUtils::BytesToFloat(data, offset); in ParseExtendInfoMain()
428 infoMain.baseSdrImageOffset[INDEX_TWO] = ImageUtils::BytesToFloat(data, offset); in ParseExtendInfoMain()
429 infoMain.altHdrImageOffset[INDEX_TWO] = ImageUtils::BytesToFloat(data, offset); in ParseExtendInfoMain()
436 infoMain.gainMapMin[INDEX_TWO] = infoMain.gainMapMin[INDEX_ZERO]; in ParseExtendInfoMain()
437 infoMain.gainMapMax[INDEX_TWO] = infoMain.gainMapMax[INDEX_ZERO]; in ParseExtendInfoMain()
438 infoMain.gamma[INDEX_TWO] in ParseExtendInfoMain()
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/
H A Dpixelmap_native.cpp710 constexpr uint8_t INDEX_TWO = 2; variable
736 staticMetadata.smpte2086.displayPrimaryBlue.x = metadata.displayPrimariesX[INDEX_TWO]; in ConvertStaticMetadata()
737 staticMetadata.smpte2086.displayPrimaryBlue.y = metadata.displayPrimariesY[INDEX_TWO]; in ConvertStaticMetadata()
763 extendMetadata.metaISO.enhanceClippedThreholdMaxGainmap[INDEX_TWO] = metadata.gainmapMax[INDEX_TWO]; in ConvertGainmapMetadata()
767 extendMetadata.metaISO.enhanceClippedThreholdMinGainmap[INDEX_TWO] = metadata.gainmapMin[INDEX_TWO]; in ConvertGainmapMetadata()
771 extendMetadata.metaISO.enhanceMappingGamma[INDEX_TWO] = metadata.gamma[INDEX_TWO]; in ConvertGainmapMetadata()
775 extendMetadata.metaISO.enhanceMappingBaselineOffset[INDEX_TWO] in ConvertGainmapMetadata()
[all...]
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dutf.cpp222 if (i == 0 && data.size() >= INDEX_TWO && data[INDEX_ONE] == UTF16LE_ZERO_BYTE && in IsUTF8()
239 } else if ((c & UTF8_THREE_BYTE_MASK) == UTF8_THREE_BYTE_PATTERN && i + INDEX_TWO < data.size() && in IsUTF8()
241 (data[i + INDEX_TWO] & UTF8_HIGH_BIT) == UTF8_MULTIBYTE_FOLLOWER) { in IsUTF8()
244 i += INDEX_TWO; // Skip the next two bytes in IsUTF8()
247 (data[i + INDEX_TWO] & UTF8_HIGH_BIT) == UTF8_MULTIBYTE_FOLLOWER && in IsUTF8()
H A Dutf.h128 INDEX_TWO = 2, enumerator
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_tabs_feature.cpp36 const auto INDEX_TWO = 2; member
331 if (info.Length() <= INDEX_TWO) { in BindTabsToNestedScrollable()
334 if (!info[INDEX_ZERO]->IsObject() || !info[INDEX_ONE]->IsObject() || !info[INDEX_TWO]->IsObject()) { in BindTabsToNestedScrollable()
339 HandleBindTabsToScrollable(info[INDEX_ZERO], info[INDEX_TWO], info[INDEX_ONE]); in BindTabsToNestedScrollable()
344 if (info.Length() <= INDEX_TWO) { in UnbindTabsFromNestedScrollable()
347 if (!info[INDEX_ZERO]->IsObject() || !info[INDEX_ONE]->IsObject() || !info[INDEX_TWO]->IsObject()) { in UnbindTabsFromNestedScrollable()
351 HandleUnbindTabsFromScrollable(info[INDEX_ZERO], info[INDEX_TWO], info[INDEX_ONE]); in UnbindTabsFromNestedScrollable()
H A Djs_view_context.cpp79 constexpr int32_t INDEX_TWO = 2; member
826 if (!info[INDEX_TWO]->IsNumber()) { in JSOpenBindSheet()
830 targetId = info[INDEX_TWO]->ToNumber<int32_t>(); in JSOpenBindSheet()
865 if (!info[INDEX_TWO]->IsBoolean()) { in JSUpdateBindSheet()
869 isPartialUpdate = info[INDEX_TWO]->ToBoolean(); in JSUpdateBindSheet()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dvpe_utils.cpp45 constexpr uint8_t INDEX_TWO = 2; member
323 extendMetadata.metaISO.enhanceClippedThreholdMaxGainmap[INDEX_TWO] = gainmapMax; in GetDefaultGainmapMetadata()
326 extendMetadata.metaISO.enhanceClippedThreholdMinGainmap[INDEX_TWO] = gainmapMin; in GetDefaultGainmapMetadata()
329 extendMetadata.metaISO.enhanceMappingGamma[INDEX_TWO] = gamma; in GetDefaultGainmapMetadata()
332 extendMetadata.metaISO.enhanceMappingBaselineOffset[INDEX_TWO] = baseOffset; in GetDefaultGainmapMetadata()
335 extendMetadata.metaISO.enhanceMappingAlternateOffset[INDEX_TWO] = alternateOffset; in GetDefaultGainmapMetadata()
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/
H A Dimage_compress.cpp51 constexpr int32_t INDEX_TWO = 2; member
88 && data[INDEX_TWO] == JPEG_DATA_TWO) { in GetImageType()
91 data[INDEX_TWO] == PNG_DATA_TWO && data[INDEX_THREE] == PNG_DATA_THREE) { in GetImageType()
/foundation/ability/ability_runtime/frameworks/native/ability/native/photo_editor_extension_ability/
H A Djs_photo_editor_extension_context.cpp35 constexpr int32_t INDEX_TWO = 2; member
175 if (AppExecFwk::IsTypeForNapiValue(env, info.argv[INDEX_TWO], napi_function)) { in OnSaveEditedContentWithImage()
176 lastParam = info.argv[INDEX_TWO]; in OnSaveEditedContentWithImage()
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/
H A Djpeg_encoder.cpp55 constexpr uint8_t INDEX_TWO = 2; member
266 encodeInfo_.comp_info[INDEX_TWO].h_samp_factor = SAMPLE_FACTOR_ONE; in SetYuv420spExtraConfig()
267 encodeInfo_.comp_info[INDEX_TWO].v_samp_factor = SAMPLE_FACTOR_ONE; in SetYuv420spExtraConfig()
331 uv += INDEX_TWO; in Deinterweave()
/foundation/ability/ability_runtime/frameworks/js/napi/app/error_manager/
H A Djs_error_manager.cpp42 constexpr int32_t INDEX_TWO = 2; member
108 return AddRejection(env, argv[INDEX_ONE], argv[INDEX_TWO]); // 2 array index in OnUnhandledRejection()
378 napi_value lastParam = (argc <= ARGC_TWO) ? nullptr : argv[INDEX_TWO]; in OnOffOld()
506 if (!CheckTypeForNapiValue(env, argv[INDEX_TWO], napi_object)) { in OnSetLoopWatch()
528 napi_create_reference(env, argv[INDEX_TWO], INITITAL_REFCOUNT_ONE, &ref); in OnSetLoopWatch()
/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Drect_pattern_test_ng.cpp42 constexpr int32_t INDEX_TWO = 2; member
114 paintProperty->GetBottomRightRadiusValue().GetX().ConvertToPx(), RADIUS.at(INDEX_TWO).at(INDEX_ZERO)); in CheckRadius()
116 paintProperty->GetBottomRightRadiusValue().GetY().ConvertToPx(), RADIUS.at(INDEX_TWO).at(INDEX_ONE)); in CheckRadius()
/foundation/multimodalinput/input/intention/services/test/unittest/src/
H A Ddevice_test.cpp36 constexpr int32_t INDEX_TWO { 2 };
304 dev.keyBitmask_[INDEX_TWO] = NUM_ONE; in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/
H A Djs_app_manager.cpp54 constexpr int32_t INDEX_TWO = 2; member
290 AppExecFwk::UnwrapArrayStringFromJS(env, argv[INDEX_TWO], bundleNameList); in OnOnOld()
325 AppExecFwk::UnwrapArrayStringFromJS(env, argv[INDEX_TWO], bundleNameList); in OnOnNew()
431 if (!IsParasNullOrUndefined(env, argv[INDEX_TWO]) && in OnOnAbilityFirstFrameState()
432 (!ConvertFromJsValue(env, argv[INDEX_TWO], bundleName) || bundleName.empty())) { in OnOnAbilityFirstFrameState()
540 napi_value lastParam = (argc > ARGC_TWO) ? argv[INDEX_TWO] : nullptr; in OnOffOld()
853 if (hasClearPageStack && argc == ARGC_THREE && !ConvertFromJsValue(env, argv[INDEX_TWO], appIndex)) { in OnKillProcessesByBundleName()
1032 napi_value lastParam = (argc == ARGC_THREE) ? argv[INDEX_TWO] : nullptr; in OnIsSharedBundleRunning()
1078 if (argc > ARGC_TWO && ConvertFromJsValue(env, argv[INDEX_TWO], clearPageStack)) { in OnKillProcessWithAccount()
1089 napi_value lastParam = (argc == ARGC_THREE && !hasClearPageStack) ? argv[INDEX_TWO] in OnKillProcessWithAccount()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Dtransform_component.h30 inline constexpr int32_t INDEX_TWO = 2; member
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/
H A Dsource_map.cpp36 constexpr int32_t INDEX_TWO = 2; member
282 curMapData->nowPos_.beforeRow += ans[INDEX_TWO]; in ExtractSourceMapData()
353 if (cnt == INDEX_TWO) { in ExtractKeyInfo()
/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/
H A Djs_ability_delegator.cpp46 constexpr size_t INDEX_TWO = 2; member
543 lastParam = opt.hasTimeoutPara ? info.argv[INDEX_TWO] : info.argv[INDEX_ONE]; in OnWaitAbilityMonitor()
597 lastParam = opt.hasTimeoutPara ? info.argv[INDEX_TWO] : info.argv[INDEX_ONE]; in OnWaitAbilityStageMonitor()
703 lastParam = opt.hasTimeoutPara ? info.argv[INDEX_TWO] : info.argv[INDEX_ONE]; in OnExecuteShellCommand()
924 napi_value lastParam = (info.argc > ARGC_TWO) ? info.argv[INDEX_TWO] : nullptr; in OnFinishTest()
1247 if (!AppExecFwk::IsTypeForNapiValue(env, info.argv[INDEX_TWO], napi_function)) { in ParseTimeoutCallbackPara()
1248 if (info.argv[INDEX_TWO] == nullptr) { in ParseTimeoutCallbackPara()
1368 if (!AppExecFwk::IsTypeForNapiValue(env, info.argv[INDEX_TWO], napi_function)) { in ParseFinishTestPara()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dservice_collaboration_menu_ace_helper.h84 static constexpr uint32_t INDEX_TWO = 2; member in OHOS::Ace::NG::ServiceCollaborationMenuAceHelper
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_search_system_test/
H A Dbms_search_system_test.cpp47 static constexpr int INDEX_TWO = 2; member
752 for (int i = INDEX_TWO; i <= INDEX_THREE; i++) { in HWTEST_F()
846 for (int i = INDEX_TWO; i <= INDEX_THREE; i++) { in HWTEST_F()
1176 for (int32_t i = INDEX_TWO; i <= INDEX_THREE; i++) { in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Djs_ability_context.cpp61 constexpr int32_t INDEX_TWO = 2; member
827 if (CheckTypeForNapiValue(env, info.argv[INDEX_TWO], napi_function)) { in OnOpenLink()
829 CreateOpenLinkTask(env, info.argv[INDEX_TWO], want, requestCode); in OnOpenLink()
956 if (info.argc > ARGC_TWO && CheckTypeForNapiValue(env, info.argv[INDEX_TWO], napi_object)) { in OnStartAbilityWithAccount()
958 AppExecFwk::UnwrapStartOptions(env, info.argv[INDEX_TWO], startOptions); in OnStartAbilityWithAccount()
979 *innerErrCode = (unwrapArgc == INDEX_TWO) ? in OnStartAbilityWithAccount()
1048 if (info.argc > ARGC_TWO && CheckTypeForNapiValue(env, info.argv[INDEX_TWO], napi_function)) { in CheckStartAbilityByCallParams()
1049 lastParam = info.argv[INDEX_TWO]; in CheckStartAbilityByCallParams()
1209 if (info.argc > ARGC_TWO && CheckTypeForNapiValue(env, info.argv[INDEX_TWO], napi_object)) { in OnStartAbilityForResultWithAccount()
1211 AppExecFwk::UnwrapStartOptions(env, info.argv[INDEX_TWO], startOption in OnStartAbilityForResultWithAccount()
[all...]
/foundation/communication/netmanager_ext/services/ethernetmanager/src/
H A Dethernet_management.cpp37 constexpr uint32_t INDEX_TWO = 2; member
239 hwaddr[INDEX_TWO], hwaddr[INDEX_THREE], hwaddr[INDEX_FOUR], in HwAddrToStr()
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Djs_service_extension_context.cpp46 constexpr int32_t INDEX_TWO = 2; member
632 if (info.argc > ARGC_TWO && CheckTypeForNapiValue(env, info.argv[INDEX_TWO], napi_object)) { in OnStartAbilityWithAccount()
634 AppExecFwk::UnwrapStartOptions(env, info.argv[INDEX_TWO], startOptions); in OnStartAbilityWithAccount()
775 if (!CheckConnectionParam(env, info.argv[INDEX_TWO], connection, want, accountId)) { in OnConnectAbilityWithAccount()
1187 abilityName = args[INDEX_TWO]; in ParsePreStartMissionArgs()

Completed in 224 milliseconds

12