Home
last modified time | relevance | path

Searched refs:HALF (Results 1 - 3 of 3) sorted by relevance

/base/time/time_service/services/time/src/
H A Dntp_trusted_time.cpp32 constexpr int64_t HALF = 2; member
52 int64_t ntpCertainty = client.getRoundTripTime() / HALF; in ForceRefresh()
/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp59 constexpr int32_t HALF = 2; member
1071 size_t bufLen = (length - DESCRIPTOR_VALUE_START_OFFSET) / HALF; in GetDevStringValFromIdx()
1475 (typeValues[HALF] == -1 || typeValues[HALF] == dev.protocol)) { in ExecuteManageDeviceType()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp65 constexpr double HALF = 2.0; member
356 marginTop = (marginTop >= height / HALF || marginTop <= 0.0) ? 0.0 : marginTop; in ParsePDFMarginConfigArgs()
366 marginBottom = (marginBottom >= height / HALF || marginBottom <= 0.0) ? 0.0 : marginBottom; in ParsePDFMarginConfigArgs()
376 marginRight = (marginRight >= width / HALF || marginRight <= 0.0) ? 0.0 : marginRight; in ParsePDFMarginConfigArgs()
386 marginLeft = (marginLeft >= width / HALF || marginLeft <= 0.0) ? 0.0 : marginLeft; in ParsePDFMarginConfigArgs()

Completed in 14 milliseconds