| /dragonfly/contrib/gmp/mpn/generic/ |
| HD | fib2_ui.c | 58 mp_size_t size; in mpn_fib2_ui() local 73 size = 1; in mpn_fib2_ui() 97 mask, size, alloc); in mpn_fib2_ui() 98 mpn_trace ("fp ", fp, size); in mpn_fib2_ui() 99 mpn_trace ("f1p", f1p, size)); in mpn_fib2_ui() 102 ASSERT (fp[size-1] != 0); in mpn_fib2_ui() 103 ASSERT (f1p[size-1] != 0 || f1p[size-2] != 0); in mpn_fib2_ui() 107 ASSERT (alloc >= 2*size); in mpn_fib2_ui() 108 mpn_sqr (xp, fp, size); in mpn_fib2_ui() 109 mpn_sqr (fp, f1p, size); in mpn_fib2_ui() [all …]
|
| /dragonfly/contrib/gcc-8.0/libbacktrace/ |
| HD | mmap.c | 64 size_t size; member 70 backtrace_free_locked (struct backtrace_state *state, void *addr, size_t size) in backtrace_free_locked() argument 77 if (size >= sizeof (struct backtrace_freelist_struct)) in backtrace_free_locked() 88 if (ppsmall == NULL || (*pp)->size < (*ppsmall)->size) in backtrace_free_locked() 94 if (size <= (*ppsmall)->size) in backtrace_free_locked() 101 p->size = size; in backtrace_free_locked() 111 size_t size, backtrace_error_callback error_callback, in backtrace_alloc() argument 137 if ((*pp)->size >= size) in backtrace_alloc() 146 size = (size + 7) & ~ (size_t) 7; in backtrace_alloc() 147 if (size < p->size) in backtrace_alloc() [all …]
|
| /dragonfly/contrib/gmp/mpz/ |
| HD | fib_ui.c | 50 mp_size_t size, xalloc; in mpz_fib_ui() local 69 size = mpn_fib2_ui (xp, yp, n2); in mpz_fib_ui() 72 n >> 1, size, n&1); in mpz_fib_ui() 73 mpn_trace ("xp", xp, size); in mpz_fib_ui() 74 mpn_trace ("yp", yp, size)); in mpz_fib_ui() 82 xp[size] = mpn_lshift (xp, xp, size, 1); in mpz_fib_ui() 83 yp[size] = 0; in mpz_fib_ui() 84 ASSERT_NOCARRY (mpn_add_n_sub_n (xp, yp, xp, yp, size+1)); in mpz_fib_ui() 85 xsize = size + (xp[size] != 0); in mpz_fib_ui() 86 ysize = size + (yp[size] != 0); in mpz_fib_ui() [all …]
|
| /dragonfly/contrib/binutils-2.27/gold/ |
| HD | x86_64.cc | 87 template<int size> 91 typedef Output_data_reloc<elfcpp::SHT_RELA, true, size, false> Reloc_section; 132 Sized_relobj_file<size, false>* relobj, 222 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_first_plt_entry() 223 typename elfcpp::Elf_types<size>::Elf_Addr plt_address) in fill_first_plt_entry() 230 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_plt_entry() 231 typename elfcpp::Elf_types<size>::Elf_Addr plt_address, in fill_plt_entry() 243 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_tlsdesc_entry() 244 typename elfcpp::Elf_types<size>::Elf_Addr plt_address, in fill_tlsdesc_entry() 245 typename elfcpp::Elf_types<size>::Elf_Addr got_base, in fill_tlsdesc_entry() [all …]
|
| HD | sparc.cc | 50 template<int size, bool big_endian> 53 template<int size, bool big_endian> 54 class Target_sparc : public Sized_target<size, big_endian> 57 typedef Output_data_reloc<elfcpp::SHT_RELA, true, size, big_endian> Reloc_section; 60 : Sized_target<size, big_endian>(&sparc_info), in Target_sparc() 70 Sized_symbol<size>* 78 Sized_relobj_file<size, big_endian>* object, 92 Sized_relobj_file<size, big_endian>* object, 112 relocate_section(const Relocate_info<size, big_endian>*, 119 typename elfcpp::Elf_types<size>::Elf_Addr view_address, [all …]
|
| HD | aarch64.cc | 58 template<int size, bool big_endian> 61 template<int size, bool big_endian> 64 template<int size, bool big_endian> 67 template<int size, bool big_endian> 425 template<int size, bool big_endian> 426 class Output_data_got_aarch64 : public Output_data_got<size, big_endian> 429 typedef typename elfcpp::Elf_types<size>::Elf_Addr Valtype; 431 : Output_data_got<size, big_endian>(), in Output_data_got_aarch64() 448 Sized_relobj_file<size, big_endian>* relobj, in add_static_reloc() argument 461 gold_assert(this->data_size() >= size / 8); in do_write() [all …]
|
| HD | mips.cc | 54 template<int size, bool big_endian> 57 template<int size, bool big_endian> 60 template<int size, bool big_endian> 63 template<int size, bool big_endian> 66 template<int size, bool big_endian> 69 template<int size, bool big_endian> 72 template<int size> 75 template<int size, bool big_endian> 78 template<int size, bool big_endian> 83 template<int size, bool big_endian> [all …]
|
| HD | tilegx.cc | 64 template<int size, bool big_endian> 68 typedef Output_data_reloc<elfcpp::SHT_RELA, true,size, big_endian> 72 Output_data_got<size, big_endian>* got, in Output_data_plt_tilegx() argument 82 Output_data_got<size, big_endian>* got, in Output_data_plt_tilegx() argument 110 Sized_relobj_file<size, big_endian>*, unsigned int); 171 typename elfcpp::Elf_types<size>::Elf_Addr, 173 typename elfcpp::Elf_types<size>::Elf_Addr, 202 Output_data_got<size, big_endian>* got_; 229 template<int size, bool big_endian> 230 class Target_tilegx : public Sized_target<size, big_endian> [all …]
|
| HD | powerpc.cc | 50 template<int size, bool big_endian> 53 template<int size, bool big_endian> 56 template<int size, bool big_endian> 59 template<int size, bool big_endian> 62 template<int size, bool big_endian> 65 template<int size, bool big_endian> 68 template<int size, bool big_endian> 80 template<int size, bool big_endian> 81 class Powerpc_relobj : public Sized_relobj_file<size, big_endian> 84 typedef typename elfcpp::Elf_types<size>::Elf_Addr Address; [all …]
|
| /dragonfly/contrib/binutils-2.34/gold/ |
| HD | x86_64.cc | 87 template<int size> 91 typedef Output_data_reloc<elfcpp::SHT_RELA, true, size, false> Reloc_section; 132 Sized_relobj_file<size, false>* relobj, 241 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_first_plt_entry() 242 typename elfcpp::Elf_types<size>::Elf_Addr plt_address) in fill_first_plt_entry() 249 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_plt_entry() 250 typename elfcpp::Elf_types<size>::Elf_Addr plt_address, in fill_plt_entry() 262 typename elfcpp::Elf_types<size>::Elf_Addr got_address, in fill_tlsdesc_entry() 263 typename elfcpp::Elf_types<size>::Elf_Addr plt_address, in fill_tlsdesc_entry() 264 typename elfcpp::Elf_types<size>::Elf_Addr got_base, in fill_tlsdesc_entry() [all …]
|
| /dragonfly/sys/dev/drm/include/linux/ |
| HD | bitops.h | 95 find_first_bit(unsigned long *addr, unsigned long size) in find_first_bit() argument 100 for (bit = 0; size >= BITS_PER_LONG; in find_first_bit() 101 size -= BITS_PER_LONG, bit += BITS_PER_LONG, addr++) { in find_first_bit() 106 if (size) { in find_first_bit() 107 mask = (*addr) & BIT_MASK(size); in find_first_bit() 111 bit += size; in find_first_bit() 117 find_first_zero_bit(unsigned long *addr, unsigned long size) in find_first_zero_bit() argument 122 for (bit = 0; size >= BITS_PER_LONG; in find_first_zero_bit() 123 size -= BITS_PER_LONG, bit += BITS_PER_LONG, addr++) { in find_first_zero_bit() 128 if (size) { in find_first_zero_bit() [all …]
|
| HD | kfifo.h | 117 _kfifo_out_peek(struct kfifo_meta *meta, void *buf, void *ptr, size_t size) in _kfifo_out_peek() argument 128 if (size <= tail - head) { in _kfifo_out_peek() 129 memcpy(dst, src + head, size); in _kfifo_out_peek() 130 copied = size; in _kfifo_out_peek() 133 if (size <= nbytes - head) { in _kfifo_out_peek() 134 memcpy(dst, src + head, size); in _kfifo_out_peek() 135 copied = size; in _kfifo_out_peek() 136 } else if (size <= nbytes + tail - head) { in _kfifo_out_peek() 139 size - (nbytes - head)); in _kfifo_out_peek() 140 copied = size; in _kfifo_out_peek() [all …]
|
| /dragonfly/lib/libc/stdlib/ |
| HD | heapsort.c | 48 #define SWAP(a, b, count, size, tmp) { \ argument 49 count = size; \ 58 #define COPY(a, b, count, size, tmp1, tmp2) { \ argument 59 count = size; \ 74 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \ argument 77 child = base + child_i * size; \ 78 if (child_i < nmemb && compar(child, child + size) < 0) { \ 79 child += size; \ 82 par = base + par_i * size; \ 85 SWAP(par, child, count, size, tmp); \ [all …]
|
| HD | merge.c | 95 mergesort(void *base, size_t nmemb, size_t size, in mergesort() argument 104 if (size < PSIZE / 2) { /* Pointers must fit into 2 * size. */ in mergesort() 117 if (!(size % ISIZE) && !(((char *)base - (char *)0) % ISIZE)) in mergesort() 120 if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) in mergesort() 124 setup(list1, list2, nmemb, size, cmp); in mergesort() 125 last = list2 + nmemb * size; in mergesort() 148 while ((b += size) < t && cmp(q, b) >sense) in mergesort() 154 EXPONENTIAL: for (i = size; ; i <<= 1) in mergesort() 156 if ((p = t - size) > b && in mergesort() 164 if (i == size) in mergesort() [all …]
|
| /dragonfly/contrib/gmp/mpf/ |
| HD | sub.c | 202 mp_size_t size, i; in mpf_sub() local 203 size = usize; in mpf_sub() 204 for (i = 0; i < size; i++) in mpf_sub() 206 tp[size] = 1; in mpf_sub() 207 rsize = size + 1; in mpf_sub() 213 mp_size_t size, i; in mpf_sub() local 214 size = vsize; in mpf_sub() 215 for (i = 0; i < size; i++) in mpf_sub() 231 mp_size_t size; in mpf_sub() local 232 size = usize - vsize; in mpf_sub() [all …]
|
| HD | ui_sub.c | 200 mp_size_t size; in mpf_ui_sub() local 201 size = usize - vsize; in mpf_ui_sub() 202 MPN_COPY (tp, up, size); in mpf_ui_sub() 203 mpn_sub_n (tp + size, up + size, vp, vsize); in mpf_ui_sub() 210 mp_size_t size, i; in mpf_ui_sub() local 211 size = usize - vsize; in mpf_ui_sub() 213 for (i = 1; i < size; i++) in mpf_ui_sub() 215 mpn_sub_n (tp + size, vp, up + size, vsize); in mpf_ui_sub() 216 mpn_sub_1 (tp + size, tp + size, vsize, (mp_limb_t) 1); in mpf_ui_sub() 229 mp_size_t size, i; in mpf_ui_sub() local [all …]
|
| /dragonfly/contrib/binutils-2.34/elfcpp/ |
| HD | elfcpp.h | 57 template<int size> 628 template<int size> 630 elf_r_sym(typename Elf_types<size>::Elf_WXword); 646 template<int size> 648 elf_r_type(typename Elf_types<size>::Elf_WXword); 664 template<int size> 665 typename Elf_types<size>::Elf_WXword 1033 template<int size> 1037 static const int ehdr_size = sizeof(internal::Ehdr_data<size>); 1039 static const int phdr_size = sizeof(internal::Phdr_data<size>); [all …]
|
| /dragonfly/contrib/binutils-2.27/elfcpp/ |
| HD | elfcpp.h | 57 template<int size> 625 template<int size> 627 elf_r_sym(typename Elf_types<size>::Elf_WXword); 643 template<int size> 645 elf_r_type(typename Elf_types<size>::Elf_WXword); 661 template<int size> 662 typename Elf_types<size>::Elf_WXword 1007 template<int size> 1011 static const int ehdr_size = sizeof(internal::Ehdr_data<size>); 1013 static const int phdr_size = sizeof(internal::Phdr_data<size>); [all …]
|
| /dragonfly/test/stress/fsx/ |
| HD | fsx.c | 81 static void check_buffers(unsigned offset, unsigned size); 84 static void doread(unsigned offset, unsigned size); 85 static void check_eofpage(const char *s, unsigned offset, char *p, int size); 86 static void domapread(unsigned offset, unsigned size); 88 unsigned offset, unsigned size); 89 static void dowrite(unsigned offset, unsigned size); 90 static void domapwrite(unsigned offset, unsigned size); 91 static void dotruncate(unsigned size); 369 check_buffers(unsigned offset, unsigned size) in check_buffers() argument 377 if (memcmp(good_buf + offset, temp_buf, size) != 0) { in check_buffers() [all …]
|
| /dragonfly/usr.sbin/pfctl/ |
| HD | pfctl_radix.c | 74 pfr_add_tables(struct pfr_table *tbl, int size, int *nadd, int flags) in pfr_add_tables() argument 78 if (size < 0 || (size && tbl == NULL)) { in pfr_add_tables() 86 io.pfrio_size = size; in pfr_add_tables() 95 pfr_del_tables(struct pfr_table *tbl, int size, int *ndel, int flags) in pfr_del_tables() argument 99 if (size < 0 || (size && tbl == NULL)) { in pfr_del_tables() 107 io.pfrio_size = size; in pfr_del_tables() 116 pfr_get_tables(struct pfr_table *filter, struct pfr_table *tbl, int *size, in pfr_get_tables() argument 121 if (size == NULL || *size < 0 || (*size && tbl == NULL)) { in pfr_get_tables() 131 io.pfrio_size = *size; in pfr_get_tables() 134 *size = io.pfrio_size; in pfr_get_tables() [all …]
|
| /dragonfly/contrib/gcc-8.0/libgcc/ |
| HD | emutls.c | 38 word size; member 49 pointer size; member 69 pointer size = arr->size; in emutls_destroy() local 72 for (i = 0; i < size; ++i) in emutls_destroy() 102 ptr = malloc (obj->size + sizeof (void *)); in emutls_alloc() 110 ptr = malloc (obj->size + sizeof (void *) + obj->align - 1); in emutls_alloc() 119 memcpy (ret, obj->templ, obj->size); in emutls_alloc() 121 memset (ret, 0, obj->size); in emutls_alloc() 158 pointer size = offset + 32; in __emutls_get_address() local 159 arr = calloc (size + 1, sizeof (void *)); in __emutls_get_address() [all …]
|
| /dragonfly/contrib/gcc-4.7/libgcc/ |
| HD | emutls.c | 38 word size; member 49 pointer size; member 69 pointer size = arr->size; in emutls_destroy() local 72 for (i = 0; i < size; ++i) in emutls_destroy() 102 ptr = malloc (obj->size + sizeof (void *)); in emutls_alloc() 110 ptr = malloc (obj->size + sizeof (void *) + obj->align - 1); in emutls_alloc() 119 memcpy (ret, obj->templ, obj->size); in emutls_alloc() 121 memset (ret, 0, obj->size); in emutls_alloc() 158 pointer size = offset + 32; in __emutls_get_address() local 159 arr = calloc (size + 1, sizeof (void *)); in __emutls_get_address() [all …]
|
| /dragonfly/sys/ddb/ |
| HD | db_examine.c | 77 int size; in db_examine() local 84 size = 4; in db_examine() 89 size = 1; in db_examine() 93 size = 2; in db_examine() 97 size = 4; in db_examine() 101 size = 8; in db_examine() 114 size = sizeof(void *); in db_examine() 115 value = db_get_value(addr, size, TRUE); in db_examine() 116 addr += size; in db_examine() 120 size = sizeof(void *); in db_examine() [all …]
|
| /dragonfly/test/stress/stress2/testcases/rw/ |
| HD | rw.c | 42 static unsigned long size; variable 57 size = bl / op->incarnations / 1024; in setup() 62 size = size / 100 * pct + 1; in setup() 64 if (size > MAXSIZE) in setup() 65 size = MAXSIZE; /* arbitrary limit size pr. incarnation */ in setup() 68 while (size > 0) { in setup() 70 reserve_bl = size * 1024 * op->incarnations + in setup() 76 size = size - 1024; in setup() 78 if (size == 0) in setup() 83 … size, op->incarnations, bl/1024, in, reserve_bl/1024, reserve_in); in setup() [all …]
|
| /dragonfly/usr.sbin/ypserv/ |
| HD | yp_dblookup.c | 75 int size; member 200 key.size = inter_sz; in yp_setflags() 206 key.size = secure_sz; in yp_setflags() 252 yp_cache_db(DB *dbp, char *name, int size) in yp_cache_db() argument 273 qptr->dbptr->size = size; in yp_cache_db() 311 yp_find_db(const char *name, const char *key, const int size) in yp_find_db() argument 317 if (size) { in yp_find_db() 318 if (size != qptr->dbptr->size || in yp_find_db() 319 strncmp(qptr->dbptr->key, key, size)) in yp_find_db() 322 if (qptr->dbptr->size) in yp_find_db() [all …]
|