/ohos5.0/foundation/multimedia/av_session/services/session/server/migrate/ |
H A D | base64_utils.h | 28 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 D | render_service_client_transition_demo.cpp | 46 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 D | switch_pattern.cpp | 37 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 D | basic_tdd_test.cpp | 45 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 D | mock_data_stream.h | 24 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 D | js_pip_controller.cpp | 28 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 D | boot_compile_progress.cpp | 223 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 D | boot_picture_player.cpp | 83 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 D | js_path_effect.cpp | 107 …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 D | net_sys_client_netdiag_fuzzer.cpp | 38 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 D | js_pip_manager.cpp | 27 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 D | util.h | 34 static const int NUMBER_TWO = 2; variable
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/ |
H A D | ability_command.h | 195 const int NUMBER_TWO = 2; variable
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_def.h | 29 #define NUMBER_TWO 2 macro
|
H A D | dhcp_client_state_machine.h | 126 int m_sigSockFds[NUMBER_TWO];
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/crasher_cpp/ |
H A D | dfx_crasher.cpp | 71 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 D | audio_adapter_manager.h | 54 static constexpr uint32_t NUMBER_TWO = 2; variable
|
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_ipv6_client.cpp | 310 if (first == NUMBER_TWO || first == NUMBER_THREE) { // begin '2' '3' in AddIpv6Address()
|
H A D | dhcp_client_service_impl.cpp | 696 if (first == NUMBER_TWO || first == NUMBER_THREE) { in IsGlobalIPv6Address()
|
H A D | dhcp_client_state_machine.cpp | 123 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 D | input_method_panel.cpp | 39 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 D | js_drawing_utils.h | 191 constexpr int NUMBER_TWO = 2; variable
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/ |
H A D | audio_adapter_manager.cpp | 1715 int32_t midPos = leftPos + (rightPos - leftPos)/NUMBER_TWO; in GetPositionInVolumePoints()
|
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | ability_command.cpp | 1238 } else if (argList_.size() == NUMBER_TWO) { in RunForceTimeoutForTest()
|