Home
last modified time | relevance | path

Searched refs:NUMBER_TWO (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/multimedia/av_session/services/session/server/migrate/
H A Dbase64_utils.h28 static constexpr int NUMBER_TWO = 2; variable
43 byte4[NUMBER_ZERO] = (byte3[NUMBER_ZERO] & 0xfc) >> NUMBER_TWO; in Base64Encode()
46 byte4[NUMBER_TWO] = ((byte3[NUMBER_ONE] & 0x0f) << NUMBER_TWO) | in Base64Encode()
47 ((byte3[NUMBER_TWO] & 0xc0) >> NUMBER_SIX); in Base64Encode()
48 byte4[NUMBER_THREE] = byte3[NUMBER_TWO] & 0x3f; in Base64Encode()
59 byte4[NUMBER_ZERO] = (byte3[NUMBER_ZERO] & 0xfc) >> NUMBER_TWO; in Base64Encode()
62 byte4[NUMBER_TWO] = ((byte3[NUMBER_ONE] & 0x0f) << NUMBER_TWO) | in Base64Encode()
63 ((byte3[NUMBER_TWO] & 0xc0) >> NUMBER_SIX); in Base64Encode()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_transition_demo.cpp46 constexpr int NUMBER_TWO = 2; variable
71 pow(context.height / NUMBER_HALF, NUMBER_TWO))); in Draw()
143 …path.addCircle(0, 0, radius * sqrt(pow(context.width, NUMBER_TWO) + pow(context.height, NUMBER_TWO in Draw()
439 nodes[NUMBER_TWO]->AddModifier(transitionModifier4); in Transition3()
440 nodes[NUMBER_TWO]->AddModifier(transitionModifier5); in Transition3()
457 rootNode->AddChild(nodes[NUMBER_TWO]); in Transition3()
481 rootNode->RemoveChild(nodes[NUMBER_TWO]); in Transition4()
535 sleep(NUMBER_TWO); in main()
538 sleep(NUMBER_TWO); in main()
541 sleep(NUMBER_TWO); in main()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_pattern.cpp37 constexpr double NUMBER_TWO = 2.0; variable
451 if (pointRadius * NUMBER_TWO > height_) { in GetInnerFocusPaintRect()
452 width = width_ - height_ + pointRadius * NUMBER_TWO + focusPaintPadding * NUMBER_TWO; in GetInnerFocusPaintRect()
453 height = pointRadius * NUMBER_TWO + focusPaintPadding * NUMBER_TWO; in GetInnerFocusPaintRect()
455 offsetX = offset_.GetX() - focusPaintPadding - (pointRadius - height_ / NUMBER_TWO); in GetInnerFocusPaintRect()
456 offsetY = offset_.GetY() - focusPaintPadding - (pointRadius - height_ / NUMBER_TWO); in GetInnerFocusPaintRect()
458 width = width_ + (pointRadius - trackRadius + focusPaintPadding) * NUMBER_TWO; in GetInnerFocusPaintRect()
466 width = width_ + (pointRadius - trackRadius + focusPaintPadding) * NUMBER_TWO; in GetInnerFocusPaintRect()
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/
H A Dbasic_tdd_test.cpp45 constexpr uint8_t NUMBER_TWO = 2; variable
212 int16_t x = rect.GetLeft() + rect.GetWidth() / NUMBER_TWO; in Click()
213 int16_t y = rect.GetTop() + rect.GetHeight() / NUMBER_TWO; in Click()
224 int16_t x = rect.GetLeft() + rect.GetWidth() / NUMBER_TWO; in LongPress()
225 int16_t y = rect.GetTop() + rect.GetHeight() / NUMBER_TWO; in LongPress()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/mock/
H A Dmock_data_stream.h24 static constexpr size_t NUMBER_TWO = 2; variable
40 } else if (streamSize == NUMBER_TWO) { in Read()
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
H A Djs_pip_controller.cpp28 constexpr int32_t NUMBER_TWO = 2; variable
201 if (argc != NUMBER_TWO) { in OnUpdateContentSize()
239 if (argc != NUMBER_TWO) { in OnUpdatePiPControlStatus()
277 if (argc != NUMBER_TWO) { in OnSetPiPControlEnabled()
316 if (argc < NUMBER_TWO) { in OnRegisterCallback()
461 if (argc == NUMBER_ZERO || argc > NUMBER_TWO) { in OnUnregisterCallback()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_compile_progress.cpp223 float scalarX = windowWidth_ / NUMBER_TWO - textWidth / NUMBER_TWO; in DrawCompileProgress()
224 float scalarY = TEXT_BLOB_OFFSET + textBlob->Bounds()->GetHeight() / NUMBER_TWO; in DrawCompileProgress()
H A Dboot_picture_player.cpp83 pointX_ = (windowWidth_ - realWidth_) / NUMBER_TWO; in InitPicCoordinates()
87 pointY_ = (windowHeight_ - realHeight_) / NUMBER_TWO; in InitPicCoordinates()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/path_effect_napi/
H A Djs_path_effect.cpp107 …if (arrayLength % NUMBER_TWO || arrayLength < NUMBER_TWO) { // arrayLength must be an even number … in CreateDashPathEffect()
/ohos5.0/foundation/communication/netmanager_base/test/fuzztest/netsysclientnetdiag_fuzzer/
H A Dnet_sys_client_netdiag_fuzzer.cpp38 constexpr int32_t NUMBER_TWO = 2; variable
141 bool isAdd = (NetDiagGetData<int32_t>() % NUMBER_TWO == NUMBER_ONE) ? true : false; in NetDiagUpdateInterfaceConfigFuzzTest()
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/inner/
H A Djs_pip_manager.cpp27 constexpr int32_t NUMBER_TWO = 2; variable
201 if (argc < NUMBER_TWO) { in OnRegisterCallback()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/include/
H A Dutil.h34 static const int NUMBER_TWO = 2; variable
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/
H A Dability_command.h195 const int NUMBER_TWO = 2; variable
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/
H A Ddhcp_client_def.h29 #define NUMBER_TWO 2 macro
H A Ddhcp_client_state_machine.h126 int m_sigSockFds[NUMBER_TWO];
/ohos5.0/base/hiviewdfx/faultloggerd/tools/crasher_cpp/
H A Ddfx_crasher.cpp71 static const int NUMBER_TWO = 2; variable
430 SleepThread(NUMBER_TWO); in MultiThreadCrash()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/
H A Daudio_adapter_manager.h54 static constexpr uint32_t NUMBER_TWO = 2; variable
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_ipv6_client.cpp310 if (first == NUMBER_TWO || first == NUMBER_THREE) { // begin '2' '3' in AddIpv6Address()
H A Ddhcp_client_service_impl.cpp696 if (first == NUMBER_TWO || first == NUMBER_THREE) { in IsGlobalIPv6Address()
H A Ddhcp_client_state_machine.cpp123 for (int i = 0; i < NUMBER_TWO; i++) { in CloseSignalHandle()
640 if (m_sentPacketNum >= NUMBER_TWO) { in SendReboot()
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_panel.cpp39 constexpr int32_t NUMBER_TWO = 2; variable
555 static_cast<uint32_t>((CUTOUTINFO - lanIterValue.left) * NUMBER_TWO * densityDpi); in CalculateLandscapeRect()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/
H A Djs_drawing_utils.h191 constexpr int NUMBER_TWO = 2; variable
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Daudio_adapter_manager.cpp1715 int32_t midPos = leftPos + (rightPos - leftPos)/NUMBER_TWO; in GetPositionInVolumePoints()
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp1238 } else if (argList_.size() == NUMBER_TWO) { in RunForceTimeoutForTest()