Home
last modified time | relevance | path

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

/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dutils.cpp126 } else if (srcLen % ArrayLen::LEN_THREE == ArrayIndex::INDEX_TWO) { in EncodeBase64()
186 outValue[ArrayIndex::INDEX_TWO] = (encodeScript & 0x0000FF00) >> BitOperatorNum::BIT_EIGHT; in DecodeScript()
287 ((uint8_t)script[ArrayIndex::INDEX_TWO] << BitOperatorNum::BIT_EIGHT) | in EncodeScript()
314 if (str[ArrayIndex::INDEX_TWO] == 0 || str[ArrayIndex::INDEX_TWO] == '-' || str[ArrayIndex::INDEX_TWO] == '_') { in EncodeLanguageOrRegion()
320 uint8_t third = ((uint8_t)(str[ArrayIndex::INDEX_TWO] - base)) & 0x7f; in EncodeLanguageOrRegion()
350 color |= ParseHex(s[ArrayIndex::INDEX_TWO], parseState) << BitOperatorNum::BIT_TWELVE; in ConvertColorRgbToUInt32()
351 color |= ParseHex(s[ArrayIndex::INDEX_TWO], parseState) << BitOperatorNum::BIT_EIGHT; in ConvertColorRgbToUInt32()
360 color |= ParseHex(s[ArrayIndex::INDEX_TWO], parseStat in ConvertColorArgbToUInt32()
[all...]
H A Dhap_parser.cpp520 || id->tag_[ArrayIndex::INDEX_TWO] != 'S' || id->tag_[ArrayIndex::INDEX_THREE] != 'S') { in ParseId()
560 || key->tag_[ArrayIndex::INDEX_TWO] != 'Y' || key->tag_[ArrayIndex::INDEX_THREE] != 'S') { in ParseKey()
/base/time/time_service/services/time/src/
H A Dsntp_client.cpp46 constexpr int32_t INDEX_TWO = 2; member
239 _sntpMsg._pollInterval = buffer[INDEX_TWO]; in ReceivedMessage()
247 _sntpMsg._referenceIdentifier[INDEX_TWO] = _refId[INDEX_TWO]; in ReceivedMessage()
261 int64_t _clockOffset = (((_receiveServer - _originClient) + (_transmitServer - _receiveClient)) / INDEX_TWO); in ReceivedMessage()
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_push.cpp33 constexpr int32_t INDEX_TWO = 2; member
110 jsPushCallBack_->SetJsPushCallBackObject(outSlotType, argv[INDEX_TWO]); in OnRegisterPushCallback()
/base/global/resource_management/frameworks/resmgr/include/utils/
H A Dutils.h46 INDEX_TWO = 2, enumerator
/base/msdp/device_status/test/unittest/intention/services/src/
H A Ddevice_test.cpp33 constexpr int32_t INDEX_TWO { 2 };
301 dev.keyBitmask_[INDEX_TWO] = NUM_ONE; in HWTEST_F()
/base/print/print_fwk/frameworks/helper/print_helper/include/
H A Dnapi_print_utils.h40 static constexpr uint32_t INDEX_TWO = 2; member in OHOS::Print::NapiPrintUtils
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dnapi_print_ext.cpp243 PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_TWO], &valuetype), napi_invalid_arg); in UpdatePrintJobStateOnlyForSystemApp()
252 uint32_t jobSubState = NapiPrintUtils::GetUint32FromValue(env, argv[NapiPrintUtils::INDEX_TWO]); in UpdatePrintJobStateOnlyForSystemApp()
349 PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_TWO], &valuetype), napi_invalid_arg); in AddPrinterToCups()
351 std::string printerMake = NapiPrintUtils::GetStringFromValueUtf8(env, argv[NapiPrintUtils::INDEX_TWO]); in AddPrinterToCups()
443 PRINT_CALL_BASE(env, napi_typeof(env, argv[NapiPrintUtils::INDEX_TWO], &valuetype), napi_invalid_arg); in DeletePrinterFromCups()
454 std::string printerMake = NapiPrintUtils::GetStringFromValueUtf8(env, argv[NapiPrintUtils::INDEX_TWO]); in DeletePrinterFromCups()
H A Dprint_task.cpp166 size_t callBackIndex = isPrintByAdapter ? NapiPrintUtils::INDEX_FOUR : NapiPrintUtils::INDEX_TWO; in CallSpooler()
H A Dnapi_inner_print.cpp629 if (static_cast<uint32_t>(argc) > NapiPrintUtils::INDEX_TWO) { in StartGetPrintFile()
630 uint32_t fd = NapiPrintUtils::GetUint32FromValue(env, argv[NapiPrintUtils::INDEX_TWO]); in StartGetPrintFile()
/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dnapi_scan_utils.h42 static constexpr uint32_t INDEX_TWO = 2; member in OHOS::Scan::NapiScanUtils
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
H A Dgetparam.cpp31 const int INDEX_TWO = 2; member
414 case INDEX_TWO: in GetParamOsAccountType()
/base/print/print_fwk/frameworks/kits/extension/src/
H A Djs_print_extension_context.cpp186 if (static_cast<uint32_t>(argc) > NapiPrintUtils::INDEX_TWO && in OnStartAbilityWithAccount()
187 GetNapiValueType(engine, argv[NapiPrintUtils::INDEX_TWO]) == napi_object) { in OnStartAbilityWithAccount()
188 AppExecFwk::UnwrapStartOptions(engine, argv[NapiPrintUtils::INDEX_TWO], startOptions); in OnStartAbilityWithAccount()
/base/global/resource_management/frameworks/resmgr/src/
H A Dres_desc.cpp235 if (index == std::string::npos || index < ArrayIndex::INDEX_TWO) { in IsRef()
/base/print/print_fwk/interfaces/kits/napi/scan_napi/src/
H A Dnapi_inner_scan.cpp264 auto optionValue = ScanOptionValueHelper::BuildFromJs(env, argv[NapiScanUtils::INDEX_TWO]); in SetScanOption()
352 SCAN_CALL_BASE(env, napi_typeof(env, argv[NapiScanUtils::INDEX_TWO], &valuetype), napi_invalid_arg); in GetScanOption()
354 uint32_t valueType = NapiScanUtils::GetUint32FromValue(env, argv[NapiScanUtils::INDEX_TWO]); in GetScanOption()
819 SCAN_CALL_BASE(env, napi_typeof(env, argv[NapiScanUtils::INDEX_TWO], &valuetype), napi_invalid_arg); in UpdateScannerName()
821 std::string deviceName = NapiScanUtils::GetStringFromValueUtf8(env, argv[NapiScanUtils::INDEX_TWO]); in UpdateScannerName()
/base/inputmethod/imf/frameworks/kits/extension/src/
H A Djs_inputmethod_extension_context.cpp41 constexpr int32_t INDEX_TWO = 2; member
176 AppExecFwk::UnwrapStartOptions(env, argv[INDEX_TWO], startOptions); in OnStartAbilityWithAccount()
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
H A Djs_wallpaper_extension_context.cpp38 constexpr int32_t INDEX_TWO = 2; member
178 AppExecFwk::UnwrapStartOptions(env, argv[INDEX_TWO], startOptions); in OnStartAbilityWithAccount()
/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_client.cpp60 const uint32_t INDEX_TWO = 2; member
380 if (access(array[i][INDEX_TWO].c_str(), F_OK) != -1) { in InitCupsResources()
1066 sleep(INDEX_TWO); in CheckPrinterMakeModel()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
H A Daccesstoken_kit_test.cpp41 static const int32_t INDEX_TWO = 2; member
146 perms[INDEX_TWO] = "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"; in NativeTokenGet()
/base/customization/enterprise_device_management/test/unittest/services/edm/src/
H A Denterprise_device_mgr_ability_test.cpp57 constexpr int32_t INDEX_TWO = 2; member
215 EXPECT_CALL(*bundleMgrMock_, GetBundleInfo).WillOnce(DoAll(SetArgReferee<INDEX_TWO>(bundleInfo), Return(ret))); in GetBundleInfoMock()

Completed in 29 milliseconds