| /dragonfly/contrib/gcc-8.0/gcc/ginclude/ |
| HD | stdatomic.h | 82 #define atomic_init(PTR, VAL) \ argument 83 atomic_store_explicit (PTR, VAL, __ATOMIC_RELAXED) 121 #define atomic_store_explicit(PTR, VAL, MO) \ argument 124 __auto_type __atomic_store_ptr = (PTR); \ 129 #define atomic_store(PTR, VAL) \ argument 130 atomic_store_explicit (PTR, VAL, __ATOMIC_SEQ_CST) 133 #define atomic_load_explicit(PTR, MO) \ argument 136 __auto_type __atomic_load_ptr = (PTR); \ 142 #define atomic_load(PTR) atomic_load_explicit (PTR, __ATOMIC_SEQ_CST) argument 145 #define atomic_exchange_explicit(PTR, VAL, MO) \ argument [all …]
|
| /dragonfly/contrib/gdb-7/libiberty/ |
| HD | hashtab.c | 77 static PTR *find_empty_slot_for_expand (htab_t, hashval_t); 200 hash_pointer (const PTR p) in hash_pointer() 208 eq_pointer (const PTR p1, const PTR p2) in eq_pointer() 316 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR)); in htab_create_alloc_ex() 369 result->entries = (PTR *) (*alloc_f) (size, sizeof (PTR)); in htab_create_typed_alloc() 391 htab_del del_f, PTR alloc_arg, in htab_set_functions_ex() 424 PTR *entries = htab->entries; in htab_delete() 450 PTR *entries = htab->entries; in htab_empty() 459 if (size > 1024*1024 / sizeof (PTR)) in htab_empty() 461 int nindex = higher_prime_index (1024 / sizeof (PTR)); in htab_empty() [all …]
|
| HD | objalloc.c | 40 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/ |
| HD | hashtab.c | 77 static PTR *find_empty_slot_for_expand (htab_t, hashval_t); 200 hash_pointer (const PTR p) in hash_pointer() 208 eq_pointer (const PTR p1, const PTR p2) in eq_pointer() 316 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR)); in htab_create_alloc_ex() 369 result->entries = (PTR *) (*alloc_f) (size, sizeof (PTR)); in htab_create_typed_alloc() 391 htab_del del_f, PTR alloc_arg, in htab_set_functions_ex() 424 PTR *entries = htab->entries; in htab_delete() 450 PTR *entries = htab->entries; in htab_empty() 459 if (size > 1024*1024 / sizeof (PTR)) in htab_empty() 461 int nindex = higher_prime_index (1024 / sizeof (PTR)); in htab_empty() [all …]
|
| HD | objalloc.c | 40 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 …]
|
| HD | xmalloc.c | 140 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/ |
| HD | hashtab.c | 77 static PTR *find_empty_slot_for_expand (htab_t, hashval_t); 200 eq_pointer (const PTR p1, const PTR p2) in eq_pointer() 308 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR)); in htab_create_alloc_ex() 361 result->entries = (PTR *) (*alloc_f) (size, sizeof (PTR)); in htab_create_typed_alloc() 383 htab_del del_f, PTR alloc_arg, in htab_set_functions_ex() 416 PTR *entries = htab->entries; in htab_delete() 442 PTR *entries = htab->entries; in htab_empty() 451 if (size > 1024*1024 / sizeof (PTR)) in htab_empty() 453 int nindex = higher_prime_index (1024 / sizeof (PTR)); in htab_empty() 461 htab->entries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_empty() [all …]
|
| HD | objalloc.c | 40 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 …]
|
| HD | mempcpy.c | 36 extern PTR memcpy (PTR, const PTR, size_t); 38 PTR 39 mempcpy (PTR dst, const PTR src, size_t len) in mempcpy()
|
| HD | xmalloc.c | 141 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/binutils-2.34/libiberty/ |
| HD | hashtab.c | 76 static PTR *find_empty_slot_for_expand (htab_t, hashval_t); 199 eq_pointer (const PTR p1, const PTR p2) in eq_pointer() 307 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR)); in htab_create_alloc_ex() 360 result->entries = (PTR *) (*alloc_f) (size, sizeof (PTR)); in htab_create_typed_alloc() 382 htab_del del_f, PTR alloc_arg, in htab_set_functions_ex() 415 PTR *entries = htab->entries; in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() 450 if (size > 1024*1024 / sizeof (PTR)) in htab_empty() 452 int nindex = higher_prime_index (1024 / sizeof (PTR)); in htab_empty() 460 htab->entries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_empty() [all …]
|
| HD | objalloc.c | 40 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 …]
|
| HD | xmalloc.c | 140 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/gcc-8.0/libiberty/ |
| HD | hashtab.c | 76 static PTR *find_empty_slot_for_expand (htab_t, hashval_t); 199 eq_pointer (const PTR p1, const PTR p2) in eq_pointer() 307 result->entries = (PTR *) (*alloc_f) (alloc_arg, size, sizeof (PTR)); in htab_create_alloc_ex() 360 result->entries = (PTR *) (*alloc_f) (size, sizeof (PTR)); in htab_create_typed_alloc() 382 htab_del del_f, PTR alloc_arg, in htab_set_functions_ex() 415 PTR *entries = htab->entries; in htab_delete() 441 PTR *entries = htab->entries; in htab_empty() 450 if (size > 1024*1024 / sizeof (PTR)) in htab_empty() 452 int nindex = higher_prime_index (1024 / sizeof (PTR)); in htab_empty() 460 htab->entries = (PTR *) (*htab->alloc_with_arg_f) (htab->alloc_arg, nsize, in htab_empty() [all …]
|
| HD | objalloc.c | 40 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 …]
|
| HD | xmalloc.c | 140 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/ |
| HD | mul.c | 69 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()
|
| HD | xor.c | 38 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()
|
| HD | ior.c | 38 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()
|
| HD | aorsmul_i.c | 79 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 …]
|
| HD | gcd_ui.c | 38 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()
|
| HD | powm_sec.c | 41 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()
|
| HD | tdiv_qr.c | 56 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()
|
| HD | pprime_p.c | 55 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/ |
| HD | dumbmp.c | 60 #define PTR(x) ((x)->_mp_d) macro 159 PTR(r) = (mp_limb_t *) realloc (PTR(r), n * sizeof (mp_limb_t)); in mpz_realloc() 160 if (PTR(r) == NULL) in mpz_realloc() 196 PTR(r) = xmalloc_limbs (ALLOC(r)); in mpz_init() 197 PTR(r)[0] = 0; in mpz_init() 204 free (PTR (r)); in mpz_clear() 207 PTR (r) = (mp_limb_t *) 0xdeadbeefL; in mpz_clear() 222 return (PTR(a)[0] & 1) != 0; in mpz_odd_p() 231 return (PTR(a)[0] & 1) == 0; in mpz_even_p() 238 mp_limb_t *ap = PTR (a); in mpz_sizeinbase() [all …]
|