Home
last modified time | relevance | path

Searched refs:PTR (Results 1 – 25 of 255) sorted by relevance

1234567891011

/dragonfly/contrib/gcc-8.0/gcc/ginclude/
H A Dstdatomic.h129 #define atomic_store(PTR, VAL) \ argument
142 #define atomic_load(PTR) atomic_load_explicit (PTR, __ATOMIC_SEQ_CST) argument
156 #define atomic_exchange(PTR, VAL) \ argument
192 #define atomic_fetch_add(PTR, VAL) __atomic_fetch_add ((PTR), (VAL), \ argument
197 #define atomic_fetch_sub(PTR, VAL) __atomic_fetch_sub ((PTR), (VAL), \ argument
202 #define atomic_fetch_or(PTR, VAL) __atomic_fetch_or ((PTR), (VAL), \ argument
207 #define atomic_fetch_xor(PTR, VAL) __atomic_fetch_xor ((PTR), (VAL), \ argument
212 #define atomic_fetch_and(PTR, VAL) __atomic_fetch_and ((PTR), (VAL), \ argument
236 __atomic_test_and_set ((PTR), (MO))
239 #define atomic_flag_clear(PTR) __atomic_clear ((PTR), __ATOMIC_SEQ_CST) argument
[all …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dhashtab.c208 eq_pointer (const PTR p1, const PTR p2) in eq_pointer()
489 static PTR *
530 PTR *p; in htab_expand()
593 PTR
598 PTR entry; in htab_find_with_hash()
627 PTR
641 PTR *
648 PTR entry; in htab_find_slot_with_hash()
709 PTR *
734 PTR *slot; in htab_remove_elt_with_hash()
[all …]
H A Dobjalloc.c40 extern PTR malloc (size_t);
41 extern void free (PTR);
95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
114 PTR
135 return (PTR) (o->current_ptr - len); in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
153 return (PTR) (ret + CHUNK_HEADER_SIZE); in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
198 objalloc_free_block (struct objalloc *o, PTR block) in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dhashtab.c208 eq_pointer (const PTR p1, const PTR p2) in eq_pointer()
489 static PTR *
530 PTR *p; in htab_expand()
593 PTR
598 PTR entry; in htab_find_with_hash()
627 PTR
641 PTR *
648 PTR entry; in htab_find_slot_with_hash()
709 PTR *
734 PTR *slot; in htab_remove_elt_with_hash()
[all …]
H A Dobjalloc.c40 extern PTR malloc (size_t);
41 extern void free (PTR);
95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
114 PTR
128 return (PTR) (o->current_ptr - len); in _objalloc_alloc()
144 o->chunks = (PTR) chunk; in _objalloc_alloc()
146 return (PTR) (ret + CHUNK_HEADER_SIZE); in _objalloc_alloc()
161 o->chunks = (PTR) chunk; in _objalloc_alloc()
191 objalloc_free_block (struct objalloc *o, PTR block) in objalloc_free_block()
253 o->chunks = (PTR) first; in objalloc_free_block()
[all …]
H A Dxmalloc.c140 PTR
143 PTR newmem; in xmalloc()
154 PTR
157 PTR newmem; in xcalloc()
169 PTR
170 xrealloc (PTR oldmem, size_t size) in xrealloc()
172 PTR newmem; in xrealloc()
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dhashtab.c199 eq_pointer (const PTR p1, const PTR p2) in eq_pointer()
480 static PTR *
521 PTR *p; in htab_expand()
584 PTR
589 PTR entry; in htab_find_with_hash()
618 PTR
632 PTR *
639 PTR entry; in htab_find_slot_with_hash()
700 PTR *
725 PTR *slot; in htab_remove_elt_with_hash()
[all …]
H A Dobjalloc.c40 extern PTR malloc (size_t);
41 extern void free (PTR);
95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
114 PTR
135 return (PTR) (o->current_ptr - len); in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
153 return (PTR) (ret + CHUNK_HEADER_SIZE); in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
198 objalloc_free_block (struct objalloc *o, PTR block) in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
[all …]
H A Dxmalloc.c140 PTR
143 PTR newmem; in xmalloc()
154 PTR
157 PTR newmem; in xcalloc()
169 PTR
170 xrealloc (PTR oldmem, size_t size) in xrealloc()
172 PTR newmem; in xrealloc()
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dhashtab.c200 eq_pointer (const PTR p1, const PTR p2) in eq_pointer()
481 static PTR *
522 PTR *p; in htab_expand()
585 PTR
590 PTR entry; in htab_find_with_hash()
619 PTR
633 PTR *
640 PTR entry; in htab_find_slot_with_hash()
701 PTR *
726 PTR *slot; in htab_remove_elt_with_hash()
[all …]
H A Dobjalloc.c40 extern PTR malloc (size_t);
41 extern void free (PTR);
95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
114 PTR
135 return (PTR) (o->current_ptr - len); in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
153 return (PTR) (ret + CHUNK_HEADER_SIZE); in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
198 objalloc_free_block (struct objalloc *o, PTR block) in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
[all …]
H A Dmempcpy.c36 extern PTR memcpy (PTR, const PTR, size_t);
38 PTR
39 mempcpy (PTR dst, const PTR src, size_t len) in mempcpy()
H A Dxmalloc.c141 PTR
144 PTR newmem; in xmalloc()
155 PTR
158 PTR newmem; in xcalloc()
170 PTR
171 xrealloc (PTR oldmem, size_t size) in xrealloc()
173 PTR newmem; in xrealloc()
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dhashtab.c199 eq_pointer (const PTR p1, const PTR p2) in eq_pointer()
480 static PTR *
521 PTR *p; in htab_expand()
584 PTR
589 PTR entry; in htab_find_with_hash()
618 PTR
632 PTR *
639 PTR entry; in htab_find_slot_with_hash()
700 PTR *
725 PTR *slot; in htab_remove_elt_with_hash()
[all …]
H A Dobjalloc.c40 extern PTR malloc (size_t);
41 extern void free (PTR);
95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
114 PTR
135 return (PTR) (o->current_ptr - len); in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
153 return (PTR) (ret + CHUNK_HEADER_SIZE); in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
198 objalloc_free_block (struct objalloc *o, PTR block) in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
[all …]
H A Dxmalloc.c140 PTR
143 PTR newmem; in xmalloc()
154 PTR
157 PTR newmem; in xcalloc()
169 PTR
170 xrealloc (PTR oldmem, size_t size) in xrealloc()
172 PTR newmem; in xrealloc()
/dragonfly/contrib/gmp/mpz/
H A Dmul.c69 wp = PTR(w); in mpz_mul()
71 cy_limb = mpn_mul_1 (wp, PTR(u), usize, PTR(v)[0]); in mpz_mul()
74 cy_limb = mpn_mul_2 (wp, PTR(u), usize, PTR(v)); in mpz_mul()
86 wp = PTR(w); in mpz_mul()
87 cy_limb = mpn_mul_1 (wp, PTR(u), usize, PTR(v)[0]); in mpz_mul()
97 up = PTR(u); in mpz_mul()
98 vp = PTR(v); in mpz_mul()
99 wp = PTR(w); in mpz_mul()
115 PTR(w) = wp; in mpz_mul()
H A Dxor.c38 op1_ptr = PTR(op1); in mpz_xor()
39 op2_ptr = PTR(op2); in mpz_xor()
40 res_ptr = PTR(res); in mpz_xor()
52 op2_ptr = PTR(op2); in mpz_xor()
53 res_ptr = PTR(res); in mpz_xor()
68 op1_ptr = PTR(op1); in mpz_xor()
70 res_ptr = PTR(res); in mpz_xor()
118 res_ptr = PTR(res); in mpz_xor()
172 op1_ptr = PTR(op1); in mpz_xor()
174 res_ptr = PTR(res); in mpz_xor()
H A Dior.c38 op1_ptr = PTR(op1); in mpz_ior()
39 op2_ptr = PTR(op2); in mpz_ior()
40 res_ptr = PTR(res); in mpz_ior()
52 op2_ptr = PTR(op2); in mpz_ior()
53 res_ptr = PTR(res); in mpz_ior()
68 op1_ptr = PTR(op1); in mpz_ior()
70 res_ptr = PTR(res); in mpz_ior()
120 res_ptr = PTR(res); in mpz_ior()
184 op1_ptr = PTR(op1); in mpz_ior()
186 res_ptr = PTR(res); in mpz_ior()
H A Daorsmul_i.c79 wp = PTR (w); in mpz_aorsmul_1()
80 cy = mpn_mul_1 (wp, PTR(x), xsize, y); in mpz_aorsmul_1()
92 wp = PTR (w); in mpz_aorsmul_1()
93 xp = PTR (x); in mpz_aorsmul_1()
188 ASSERT (new_wsize == 0 || PTR(w)[new_wsize-1] != 0); in mpz_aorsmul_1()
205 tp = PTR (t); in mpz_addmul_ui()
207 MPN_COPY (tp + 1, PTR(x), ABS (xn)); in mpz_addmul_ui()
210 PTR(t) = tp + 1; in mpz_addmul_ui()
233 tp = PTR (t); in mpz_submul_ui()
235 MPN_COPY (tp + 1, PTR(x), ABS (xn)); in mpz_submul_ui()
[all …]
H A Dgcd_ui.c38 PTR(vz) = vlimbs; in mpz_gcd_ui()
58 MPN_COPY (PTR(w), PTR(u), un); in mpz_gcd_ui()
63 res = PTR(u)[0]; in mpz_gcd_ui()
67 res = mpn_gcd_1 (PTR(u), un, (mp_limb_t) v); in mpz_gcd_ui()
71 PTR(w)[0] = res; in mpz_gcd_ui()
H A Dpowm_sec.c41 mp = PTR(m); in mpz_powm_sec()
55 PTR(r)[0] = 1; in mpz_powm_sec()
69 bp = PTR(b); in mpz_powm_sec()
70 ep = PTR(e); in mpz_powm_sec()
80 mpn_sub (rp, PTR(m), n, rp, rn); in mpz_powm_sec()
87 MPN_COPY (PTR(r), rp, rn); in mpz_powm_sec()
H A Dtdiv_qr.c56 np = PTR (num); in mpz_tdiv_qr()
57 rp = PTR (rem); in mpz_tdiv_qr()
70 qp = PTR (quot); in mpz_tdiv_qr()
71 rp = PTR (rem); in mpz_tdiv_qr()
72 np = PTR (num); in mpz_tdiv_qr()
73 dp = PTR (den); in mpz_tdiv_qr()
H A Dpprime_p.c55 PTR(n2) = PTR(n); in mpz_probab_prime_p()
67 r = MPN_MOD_OR_PREINV_MOD_1 (PTR(n), (mp_size_t) SIZ(n), (mp_limb_t) PP, in mpz_probab_prime_p()
70 r = mpn_mod_1 (PTR(n), (mp_size_t) SIZ(n), (mp_limb_t) PP); in mpz_probab_prime_p()
115 r = MPN_MOD_OR_MODEXACT_1_ODD (PTR(n), (mp_size_t) SIZ(n), p); in mpz_probab_prime_p()
119 ASSERT_ALWAYS (mpn_mod_1 (PTR(n), (mp_size_t) SIZ(n), (mp_limb_t) primes[nprimes]) == 0); in mpz_probab_prime_p()
/dragonfly/contrib/gmp/
H A Ddumbmp.c159 PTR(r) = (mp_limb_t *) realloc (PTR(r), n * sizeof (mp_limb_t)); in mpz_realloc()
197 PTR(r)[0] = 0; in mpz_init()
204 free (PTR (r)); in mpz_clear()
259 mpn_copyi (PTR(r), PTR(a), ABSIZ (a)); in mpz_set()
302 rp = PTR(r); in mpz_setbit()
368 ap = PTR (a); bp = PTR (b); rp = PTR (r); in mpz_add()
421 ap = PTR (a); bp = PTR (b); rp = PTR (r); in mpz_sub()
477 mp_limb_t *scratch, *tmp, *ap = PTR (a), *bp = PTR (b); in mpz_mul()
628 ap = PTR (a); in mpz_cmp()
629 bp = PTR (b); in mpz_cmp()
[all …]

1234567891011