Home
last modified time | relevance | path

Searched refs:ScmBits (Results 1 – 12 of 12) sorted by relevance

/dports/lang/gauche/Gauche-0.9.10/src/gauche/
H A Dbits.h52 typedef u_long ScmBits; typedef
55 SCM_EXTERN ScmBits *Scm_MakeBits(int numbits);
82 SCM_EXTERN void Scm_BitsFill(ScmBits *bits, int start, int end, int b);
84 SCM_EXTERN void Scm_BitsCopyX(ScmBits *target, int tstart,
85 ScmBits *src, int sstart, int send);
106 SCM_EXTERN void Scm_BitsOperate(ScmBits *r, ScmBitOp op,
107 const ScmBits *a, const ScmBits *b,
110 SCM_EXTERN int Scm_BitsEqual(const ScmBits *a, const ScmBits *b,
112 SCM_EXTERN int Scm_BitsIncludes(const ScmBits *a, const ScmBits *b,
115 SCM_EXTERN int Scm_BitsCount0(const ScmBits *bits, int start, int end);
[all …]
H A Dcharset.h61 ScmBits small[SCM_BITS_NUM_WORDS(SCM_CHAR_SET_SMALL_CHARS)];
94 SCM_EXTERN ScmObj Scm_MakeImmutableCharSet(const ScmBits *small,
H A Dvector.h396 ScmBits *bits;
/dports/lang/gauche/Gauche-0.9.10/src/
H A Dbits.c42 ScmBits *Scm_MakeBits(int numbits) in Scm_MakeBits()
45 ScmBits *bits = SCM_NEW_ATOMIC_ARRAY(ScmBits, nw); in Scm_MakeBits()
50 void Scm_BitsCopyX(ScmBits *target, int tstart, in Scm_BitsCopyX()
51 ScmBits *src, int sstart, int send) in Scm_BitsCopyX()
71 void Scm_BitsFill(ScmBits *bits, int start, int end, int b) in Scm_BitsFill()
94 void Scm_BitsOperate(ScmBits *r, ScmBitOp op, in Scm_BitsOperate()
95 const ScmBits *a, const ScmBits *b, in Scm_BitsOperate()
134 int Scm_BitsEqual(const ScmBits *a, const ScmBits *b, int s, int e) in Scm_BitsEqual()
155 int Scm_BitsIncludes(const ScmBits *a, const ScmBits *b, int s, int e) in Scm_BitsIncludes()
183 int Scm_BitsCount1(const ScmBits *bits, int start, int end) in Scm_BitsCount1()
[all …]
H A Dbignum.c373 ScmBits *bits = (ScmBits*)b->values; in Scm_BignumToDouble()
374 ScmBits dst[2]; in Scm_BignumToDouble()
1224 ScmBits *bits = (ScmBits*)z->values; in Scm_BignumLogCount()
H A Dnumber.c1322 ScmBits bi = (ScmBits)i; in double_precision()
1328 const ScmBits *bits = (ScmBits*)SCM_BIGNUM(si)->values; in double_precision()
1344 ScmBits *bits = (ScmBits*)SCM_BIGNUM(si)->values; in abs_bittest()
2839 ScmBits *b = (ScmBits*)SCM_BIGNUM(n)->values; in DEFINE_DUAL_API2()
H A Dlibnum.scm769 (let* ([z::ScmBits (cast ScmBits (cast long (SCM_INT_VALUE n)))])
778 (let* ([z::ScmBits (cast ScmBits (cast long (SCM_INT_VALUE n)))])
801 (let* ([z::ScmBits (cast ScmBits (cast long (SCM_INT_VALUE n)))])
H A Dvector.c823 ScmBits *bx = SCM_BITVECTOR_BITS(x); in bitvector_compare()
824 ScmBits *by = SCM_BITVECTOR_BITS(y); in bitvector_compare()
H A Dchar_attr.c17359 static const ScmBits charset_C_small[] = {
19076 static const ScmBits charset_L_small[] = {
25728 static const ScmBits charset_M_small[] = {
27398 static const ScmBits charset_N_small[] = {
28024 static const ScmBits charset_P_small[] = {
30717 static const ScmBits charset_S_small[] = {
31869 static const ScmBits charset_Z_small[] = {
34931 static const ScmBits charset_C_small[] = {
35372 static const ScmBits charset_L_small[] = {
36436 static const ScmBits charset_M_small[] = {
[all …]
H A Dlibnum.c5652 {ScmBits* z=((ScmBits* )((SCM_BIGNUM(x))->values));long scale= in libnum_25log()
6239 {ScmBits z=((ScmBits )(((long )(SCM_INT_VALUE(n))))); in libnumlogcount()
6269 {ScmBits z=((ScmBits )(((long )(SCM_INT_VALUE(n))))); in libnuminteger_length()
6279 {ScmBits* z=((ScmBits* )((SCM_BIGNUM(n))->values));int k= in libnuminteger_length()
6310 {ScmBits z=((ScmBits )(((long )(SCM_INT_VALUE(n))))); in libnumtwos_exponent_factor()
6313 {ScmBits* z=((ScmBits* )((SCM_BIGNUM(n))->values));int k= in libnumtwos_exponent_factor()
H A Dchar.c563 ScmObj Scm_MakeImmutableCharSet(const ScmBits *small, in Scm_MakeImmutableCharSet()
/dports/lang/gauche/Gauche-0.9.10/
H A DChangeLog12691 Implemented logcount natively on top of ScmBits API.
13072 * src/char.c: rewrote ScmCharSet using ScmBits and ScmTreeCore.
13081 * src/gauche/bits.h, src/bits.c: added ScmBits, generic bitarray
13085 * src/char.c: using ScmBits for the small character maps.