/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_utils.cpp | 126 void ObexUtils::ObexHeaderItemDebug(const ObexOptionalHeader &hi) in ObexHeaderItemDebug() argument 128 OBEX_LOG_INFO("HeaderId:0x%02X", hi.GetHeaderId()); in ObexHeaderItemDebug() 130 int(hi.GetHeaderDataSize()), int(hi.GetHeaderTotalSize())); in ObexHeaderItemDebug() 132 hi.GetHeaderClassType(), hi.GetHeaderClassTypeName().c_str()); in ObexHeaderItemDebug() 133 switch (hi.GetHeaderClassType()) { in ObexHeaderItemDebug() 135 auto bytes = hi.GetBytes(); in ObexHeaderItemDebug() 137 OBEX_LOG_INFO("BYTES:%{public}s", ToDebugString(bytes.get(), hi.GetHeaderDataSize(), false).c_str()); in ObexHeaderItemDebug() 144 OBEX_LOG_INFO("BYTE:0x%02X", static_cast<const ObexOptionalByteHeader *>(&hi) in ObexHeaderItemDebug() [all...] |
H A D | obex_utils.h | 55 static void ObexHeaderItemDebug(const ObexOptionalHeader &hi);
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | compile_time_hashes.h | 34 constexpr uint64_t hi(uint64_t x) in hi() function 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 | 51 int32_t hi = size - 1; in FindBestIndex() local 52 while (lo <= hi) { in FindBestIndex() 53 int32_t mid = (hi - lo) / 2 + lo; in FindBestIndex() 56 hi = mid - 1; in FindBestIndex()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | track_animation_state.cpp | 180 auto hi = size - 1; in UpdateIndex() local 182 auto endTs = timestamps->GetValueAt(hi); in UpdateIndex() 186 while (lo <= hi) { in UpdateIndex() 187 const auto mid = lo + (hi - lo) / 2; in UpdateIndex() 197 hi = 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/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_paint_mem.h | 92 auto hi = [](uint64_t x) { return x >> INT32SIZE; }; in Mul64() local 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/include/meta/interface/ |
H A D | interface_helpers.h | 102 int32_t hi = static_cast<int32_t>(size); variable 104 while (lo <= hi) { 105 const auto mid = lo + (hi - lo) / 2; 115 hi = mid - 1;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | basic_transformer.cpp | 451 uint32_t hi = ((aroundPixels.color00 >> SHIFT_8_BIT) & mask) * scale; 455 hi += ((aroundPixels.color01 >> SHIFT_8_BIT) & mask) * scale; 459 hi += ((aroundPixels.color10 >> SHIFT_8_BIT) & mask) * scale; 462 hi += ((aroundPixels.color11 >> SHIFT_8_BIT) & mask) * xy; 464 return ((lo >> SHIFT_8_BIT) & mask) | (hi & ~mask);
|
/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/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()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/json/ |
H A D | json.h | 1180 const auto hi = (code >> 10U) + 0xD800U; 1183 escaped += BASE_NS::to_hex(hi);
|