Searched refs:lo (Results 1 - 11 of 11) sorted by relevance
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | compile_time_hashes.h | 29 constexpr uint64_t lo(uint64_t x) in lo() function 41 return 0 + (lo(a) * lo(b) & uint32_t(-1)) + in mulu64() 42 (((((hi(lo(a) * lo(b)) + lo(a) * hi(b)) & uint32_t(-1)) + hi(a) * lo(b)) & uint32_t(-1)) << 32ull); in mulu64()
|
/foundation/resourceschedule/device_usage_statistics/services/packageusage/src/ |
H A D | bundle_active_event_list.cpp | 50 int32_t lo = 0; in FindBestIndex() local 52 while (lo <= hi) { in FindBestIndex() 53 int32_t mid = (hi - lo) / 2 + lo; in FindBestIndex() 59 lo = mid + 1; in FindBestIndex()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_paint_mem.h | 93 auto lo = [](uint64_t x) { return x & INT32VALUE; }; in Mul64() local 94 uint64_t lx_ly = lo(x) * lo(y); in Mul64() 95 uint64_t hx_ly = hi(x) * lo(y); in Mul64() 96 uint64_t lx_hy = lo(x) * hi(y); in Mul64()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | track_animation_state.cpp | 179 size_t lo = 0; in UpdateIndex() local 181 auto startTs = timestamps->GetValueAt(lo); in UpdateIndex() 186 while (lo <= hi) { in UpdateIndex() 187 const auto mid = lo + (hi - lo) / 2; in UpdateIndex() 199 lo = mid + 1; in UpdateIndex()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/text/ |
H A D | font_style.h | 24 static constexpr const T& TPin(const T& x, const T& lo, const T& hi) in TPin() argument 26 return std::max(lo, std::min(x, hi)); in TPin()
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | interface_helpers.h | 101 int32_t lo = 0; variable 104 while (lo <= hi) { 105 const auto mid = lo + (hi - lo) / 2; 113 lo = mid + 1;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | basic_transformer.cpp | 450 uint32_t lo = (aroundPixels.color00 & mask) * scale; 454 lo += (aroundPixels.color01 & mask) * scale; 458 lo += (aroundPixels.color10 & mask) * scale; 461 lo += (aroundPixels.color11 & mask) * xy; 464 return ((lo >> SHIFT_8_BIT) & mask) | (hi & ~mask);
|
/foundation/communication/netmanager_ext/services/mdnsmanager/include/ |
H A D | mdns_socket_listener.h | 44 void OpenSocketForEachIface(bool ipv6Support, bool lo);
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/ |
H A D | js_drawing_utils.h | 171 #define GET_ENUM_PARAM(argc, value, lo, hi) \ 174 if (value < lo || value > hi) { \ 373 inline bool ConvertFromJsNumber(napi_env env, napi_value jsValue, int32_t& value, int32_t lo, int32_t hi) in ConvertFromJsNumber() argument 375 return napi_get_value_int32(env, jsValue, &value) == napi_ok && value >= lo && value <= hi; in ConvertFromJsNumber()
|
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | mdns_socket_listener.cpp | 253 void MDnsSocketListener::OpenSocketForEachIface(bool ipv6Support, bool lo) in OpenSocketForEachIface() argument 276 if (lo && socks_.size() == 0 && loaddr && loaddr->ifa_addr) { in OpenSocketForEachIface()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.h | 267 inline bool ConvertClampFromJsValue(napi_env env, napi_value jsValue, int32_t& value, int32_t lo, int32_t hi)
in ConvertClampFromJsValue() argument 273 value = std::clamp(value, lo, hi);
in ConvertClampFromJsValue()
|
Completed in 6 milliseconds