Home
last modified time | relevance | path

Searched refs:uint64_t (Results 1 – 25 of 38) sorted by relevance

12

/lvgl-latest/src/libs/thorvg/rapidjson/internal/
Ddiyfp.h51 DiyFp(uint64_t fp, int exp) : f(fp), e(exp) {} in DiyFp()
56 uint64_t u64; in DiyFp()
60 uint64_t significand = (u.u64 & kDpSignificandMask); in DiyFp()
77 uint64_t h;
78 uint64_t l = _umul128(f, rhs.f, &h);
79 if (l & (uint64_t(1) << 63)) // rounding
85 uint64_t h = static_cast<uint64_t>(p >> 64);
86 uint64_t l = static_cast<uint64_t>(p);
87 if (l & (uint64_t(1) << 63)) // rounding
91 const uint64_t M32 = 0xFFFFFFFF;
[all …]
Dbiginteger.h34 typedef uint64_t Type;
40 explicit BigInteger(uint64_t u) : count_(1) { in BigInteger()
69 BigInteger& operator=(uint64_t u) {
75 BigInteger& operator+=(uint64_t u) {
92 BigInteger& operator*=(uint64_t u) {
97 uint64_t k = 0;
99 uint64_t hi;
115 uint64_t k = 0;
117 const uint64_t c = digits_[i] >> 32;
118 const uint64_t d = digits_[i] & 0xFFFFFFFF;
[all …]
Dieee754.h27 Double(uint64_t u) : u_(u) {} in Double()
30 uint64_t Uint64Value() const { return u_; } in Uint64Value()
38 uint64_t Significand() const { return u_ & kSignificandMask; } in Significand()
47uint64_t IntegerSignificand() const { return IsNormal() ? Significand() | kHiddenBit : Significand… in IntegerSignificand()
49 uint64_t ToBias() const { return (u_ & kSignMask) ? ~u_ + 1 : u_ | kSignMask; } in ToBias()
64 static const uint64_t kSignMask = RAPIDJSON_UINT64_C2(0x80000000, 0x00000000);
65 static const uint64_t kExponentMask = RAPIDJSON_UINT64_C2(0x7FF00000, 0x00000000);
66 static const uint64_t kSignificandMask = RAPIDJSON_UINT64_C2(0x000FFFFF, 0xFFFFFFFF);
67 static const uint64_t kHiddenBit = RAPIDJSON_UINT64_C2(0x00100000, 0x00000000);
71 uint64_t u_;
Ddtoa.h35 inline void GrisuRound(char* buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa, ui… in GrisuRound()
60 inline void DigitGen(const DiyFp& W, const DiyFp& Mp, uint64_t delta, char* buffer, int* len, int* … in DigitGen()
61 …static const uint64_t kPow10[] = { 1ULL, 10ULL, 100ULL, 1000ULL, 10000ULL, 100000ULL, 1000000ULL, … in DigitGen()
66 const DiyFp one(uint64_t(1) << -Mp.e, Mp.e); in DigitGen()
69 uint64_t p2 = Mp.f & (one.f - 1); in DigitGen()
90 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2; in DigitGen()
Ditoa.h126 inline char* u64toa(uint64_t value, char* buffer) { in u64toa()
129 const uint64_t kTen8 = 100000000; in u64toa()
130 const uint64_t kTen9 = kTen8 * 10; in u64toa()
131 const uint64_t kTen10 = kTen8 * 100; in u64toa()
132 const uint64_t kTen11 = kTen8 * 1000; in u64toa()
133 const uint64_t kTen12 = kTen8 * 10000; in u64toa()
134 const uint64_t kTen13 = kTen8 * 100000; in u64toa()
135 const uint64_t kTen14 = kTen8 * 1000000; in u64toa()
136 const uint64_t kTen15 = kTen8 * 10000000; in u64toa()
137 const uint64_t kTen16 = kTen8 * kTen8; in u64toa()
[all …]
Dclzll.h32 inline uint32_t clzll(uint64_t x) { in clzll()
57 while (!(x & (static_cast<uint64_t>(1) << 63))) { in clzll()
Dstrtod.h58 const uint64_t bInt = db.IntegerSignificand(); in CheckWithinHalfULP()
133 uint64_t significand = 0; in StrtodDiyFp()
194 const uint64_t precisionBits = (v.f & ((uint64_t(1) << precisionSize) - 1)) * kUlp; in StrtodDiyFp()
195 const uint64_t halfWay = (uint64_t(1) << (precisionSize - 1)) * kUlp; in StrtodDiyFp()
/lvgl-latest/src/libs/expat/
Dsiphash.h112 #define SIP_ULL(high, low) ((((uint64_t)high) << 32) | (low))
114 #define SIP_ROTL(x, b) (uint64_t)(((x) << (b)) | ((x) >> (64 - (b))))
127 (((uint64_t)((p)[0]) << 0) | ((uint64_t)((p)[1]) << 8) \
128 | ((uint64_t)((p)[2]) << 16) | ((uint64_t)((p)[3]) << 24) \
129 | ((uint64_t)((p)[4]) << 32) | ((uint64_t)((p)[5]) << 40) \
130 | ((uint64_t)((p)[6]) << 48) | ((uint64_t)((p)[7]) << 56))
135 uint64_t v0, v1, v2, v3;
138 uint64_t c;
144 uint64_t k[2];
161 sip_tobin(void *dst, uint64_t u64) { in sip_tobin()
[all …]
/lvgl-latest/src/drivers/nuttx/
Dlv_nuttx_profiler.c38 static uint64_t tick_get_cb(void);
70 static uint64_t tick_get_cb(void) in tick_get_cb()
73 static uint64_t cur_tick_ns = 0; in tick_get_cb()
/lvgl-latest/src/libs/thorvg/
DtvgSwRasterC.h45 auto val64 = (uint64_t(val) << 32) | uint64_t(val); in cRasterPixels()
47 *reinterpret_cast<uint64_t*>(dst) = val64; in cRasterPixels()
53 auto val64 = (uint64_t(val32) << 32) | val32; in cRasterPixels()
55 *reinterpret_cast<uint64_t*>(dst) = val64; in cRasterPixels()
137 auto buffer = reinterpret_cast<uint64_t*>(surface->buf32); in cRasterABGRtoARGB()
DtvgCompressor.cpp173 void appendBitsU64(const uint64_t num, const int bitCount) in appendBitsU64()
176 const uint64_t mask = uint64_t(1) << b; in appendBitsU64()
232 uint64_t readBitsU64(const int bitCount) in readBitsU64()
234 uint64_t num = 0; in readBitsU64()
240 const uint64_t mask = uint64_t(1) << b; in readBitsU64()
/lvgl-latest/src/libs/thorvg/rapidjson/msinttypes/
Dstdint.h136 typedef unsigned __int64 uint64_t; typedef
147 typedef uint64_t uint_least64_t;
157 typedef uint64_t uint_fast64_t;
170 typedef uint64_t uintmax_t;
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_easter_egg.c30 static void get_random_position(lv_coord_t * x, lv_coord_t * y, uint64_t * a);
31 static void set_obj_pos_angle(lv_obj_t * obj, lv_coord_t x, lv_coord_t y, uint64_t a);
94 static void get_random_position(lv_coord_t * x, lv_coord_t * y, uint64_t * a) in get_random_position()
102 static void set_obj_pos_angle(lv_obj_t * obj, lv_coord_t x, lv_coord_t y, uint64_t a) in set_obj_pos_angle()
121 uint64_t a_target; in animate_drift()
Dlv_demo_smartwatch.h52 typedef void (*lv_smartwatch_settings_change_cb_t)(uint16_t, uint64_t);
/lvgl-latest/src/misc/
Dlv_profiler_builtin.c45 uint64_t tick; /**< The tick value of the profiler item */
72 static uint64_t default_tick_get_cb(void);
212 static uint64_t default_tick_get_cb(void) in default_tick_get_cb()
Dlv_profiler_builtin_private.h35 uint64_t (*tick_get_cb)(void); /**< Callback function to get the current tick count */
Dlv_lru.h44 uint64_t access_count;
/lvgl-latest/src/stdlib/builtin/
Dlv_mem_core_builtin.c33 #define MEM_UNIT uint64_t
208 mon_p->used_pct = 100 - (uint64_t)100U * mon_p->free_size / mon_p->total_size; in lv_mem_monitor_core()
210 mon_p->frag_pct = (uint64_t)mon_p->free_biggest_size * 100U / mon_p->free_size; in lv_mem_monitor_core()
/lvgl-latest/tests/makefile_uefi/
Defi.h63 typedef UINT64 uint64_t; typedef
155 _Static_assert(sizeof(uint64_t) == 8, "Size check for 'uint64_t' failed.");
/lvgl-latest/src/drivers/display/drm/
Dlv_linux_drm.c84 static int drm_add_plane_property(drm_dev_t * drm_dev, const char * name, uint64_t value);
85 static int drm_add_crtc_property(drm_dev_t * drm_dev, const char * name, uint64_t value);
86 static int drm_add_conn_property(drm_dev_t * drm_dev, const char * name, uint64_t value);
305 static int drm_add_plane_property(drm_dev_t * drm_dev, const char * name, uint64_t value) in drm_add_plane_property()
324 static int drm_add_crtc_property(drm_dev_t * drm_dev, const char * name, uint64_t value) in drm_add_crtc_property()
343 static int drm_add_conn_property(drm_dev_t * drm_dev, const char * name, uint64_t value) in drm_add_conn_property()
618 uint64_t has_dumb; in drm_open()
850 uint64_t time_ms = t.tv_sec * 1000 + (t.tv_nsec / 1000000); in tick_get_cb()
/lvgl-latest/src/libs/thorvg/rapidjson/
Dschema.h121 inline void PrintMethodData(const char* method, uint64_t u) { in PrintMethodData()
266 virtual uint64_t GetHashCode(void* hasher) = 0;
284 virtual void NotMultipleOf(uint64_t actual, const SValue& expected) = 0;
287 virtual void AboveMaximum(uint64_t actual, const SValue& expected, bool exclusive) = 0;
290 virtual void BelowMinimum(uint64_t actual, const SValue& expected, bool exclusive) = 0;
347 …bool Uint64(uint64_t u) { Number n; n.u.u = u; n.d = static_cast<double>(u); return WriteNumber(n)… in Uint64()
351 else n.u.u = static_cast<uint64_t>(d); in Double()
369 uint64_t h = Hash(0, kObjectType); in EndObject()
370 uint64_t* kv = stack_.template Pop<uint64_t>(memberCount * 2); in EndObject()
373 *stack_.template Push<uint64_t>() = h; in EndObject()
[all …]
Dwriter.h187 bool Uint64(uint64_t u64) { Prefix(kNumberType); return EndValue(WriteUint64(u64)); } in Uint64()
340 bool WriteUint64(uint64_t u64) { in WriteUint64()
538 inline bool Writer<StringBuffer>::WriteUint64(uint64_t u) { in WriteUint64()
672 uint64_t low = vgetq_lane_u64(vreinterpretq_u64_u8(x), 0); // extract in ScanWriteUnescapedString()
673 uint64_t high = vgetq_lane_u64(vreinterpretq_u64_u8(x), 1); // extract in ScanWriteUnescapedString()
/lvgl-latest/tests/src/test_cases/
Dtest_profiler.c15 static uint64_t get_tick_cb(void) in get_tick_cb()
/lvgl-latest/src/drivers/uefi/
Dlv_uefi_std_wrapper.h19 typedef UINT64 uint64_t; typedef
/lvgl-latest/src/drivers/qnx/
Dlv_qnx.c218 uint64_t timeout_ns = 0; in lv_qnx_event_loop()
255 timeout_ns = (uint64_t)timeout_ms * 1000000UL; in lv_qnx_event_loop()
268 uint64_t const ns = clock_gettime_mon_ns(); in get_ticks()

12