Lines Matching refs:QNum
24 QNum *qnum_from_int(int64_t value) in qnum_from_int()
26 QNum *qn = g_new(QNum, 1); in qnum_from_int()
40 QNum *qnum_from_uint(uint64_t value) in qnum_from_uint()
42 QNum *qn = g_new(QNum, 1); in qnum_from_uint()
56 QNum *qnum_from_double(double value) in qnum_from_double()
58 QNum *qn = g_new(QNum, 1); in qnum_from_double()
72 bool qnum_get_try_int(const QNum *qn, int64_t *val) in qnum_get_try_int()
96 int64_t qnum_get_int(const QNum *qn) in qnum_get_int()
109 bool qnum_get_try_uint(const QNum *qn, uint64_t *val) in qnum_get_try_uint()
133 uint64_t qnum_get_uint(const QNum *qn) in qnum_get_uint()
146 double qnum_get_double(QNum *qn) in qnum_get_double()
160 char *qnum_to_string(QNum *qn) in qnum_to_string()
186 QNum *num_x = qobject_to(QNum, x); in qnum_is_equal()
187 QNum *num_y = qobject_to(QNum, y); in qnum_is_equal()
236 g_free(qobject_to(QNum, obj)); in qnum_destroy_obj()
239 void qnum_unref(QNum *q) in qnum_unref()