Home
last modified time | relevance | path

Searched refs:size (Results 76 – 100 of 3757) sorted by relevance

12345678910>>...151

/dragonfly/crypto/openssh/
H A Dxmalloc.c34 xmalloc(size_t size) in xmalloc() argument
38 if (size == 0) in xmalloc()
40 ptr = malloc(size); in xmalloc()
47 xcalloc(size_t nmemb, size_t size) in xcalloc() argument
51 if (size == 0 || nmemb == 0) in xcalloc()
53 if (SIZE_MAX / nmemb < size) in xcalloc()
55 ptr = calloc(nmemb, size); in xcalloc()
58 size * nmemb); in xcalloc()
67 new_ptr = reallocarray(ptr, nmemb, size); in xreallocarray()
70 nmemb, size); in xreallocarray()
[all …]
/dragonfly/contrib/binutils-2.27/gold/
H A Dreloc.h46 template<int size>
49 template<int size, bool big_endian>
52 template<int size>
330 template<int size, bool big_endian>
365 if (size == 32) in check_overflow()
374 if (size == 32) in check_overflow()
383 if (size == 32) in check_overflow()
527 const Symbol_value<size>* psymval, in pcrel()
610 const Symbol_value<size>* psymval, in rela8()
692 const Symbol_value<size>* psymval) in rel16()
[all …]
H A Dtarget-reloc.h49 Sized_relobj_file<size, big_endian>* object, in scan_relocs() argument
263 const Relocate_info<size, big_endian>* relinfo, in relocate_section() argument
302 const Sized_symbol<size>* sym; in relocate_section()
304 Symbol_value<size> symval; in relocate_section()
305 const Symbol_value<size> *psymval; in relocate_section()
360 Symbol_value<size> symval2; in relocate_section()
452 const Sized_symbol<size>* sym = static_cast<const Sized_symbol<size>*>(gsym); in apply_relocation()
453 Symbol_value<size> symval; in apply_relocation()
477 template<int sh_type_, int size, bool big_endian>
661 Sized_relobj_file<size, big_endian>* object, in scan_relocatable_relocs() argument
[all …]
/dragonfly/contrib/binutils-2.34/gold/
H A Dreloc.h46 template<int size>
49 template<int size, bool big_endian>
52 template<int size>
330 template<int size, bool big_endian>
365 if (size == 32) in check_overflow()
374 if (size == 32) in check_overflow()
383 if (size == 32) in check_overflow()
527 const Symbol_value<size>* psymval, in pcrel()
610 const Symbol_value<size>* psymval, in rela8()
692 const Symbol_value<size>* psymval) in rel16()
[all …]
H A Dtarget-reloc.h49 Sized_relobj_file<size, big_endian>* object, in scan_relocs() argument
227 template<int size, bool big_endian>
230 const Relocate_info<size, big_endian>* relinfo, in issue_discarded_error() argument
348 const Sized_symbol<size>* sym; in relocate_section()
350 Symbol_value<size> symval; in relocate_section()
351 const Symbol_value<size> *psymval; in relocate_section()
406 Symbol_value<size> symval2; in relocate_section()
496 const Sized_symbol<size>* sym = static_cast<const Sized_symbol<size>*>(gsym); in apply_relocation()
497 Symbol_value<size> symval; in apply_relocation()
705 Sized_relobj_file<size, big_endian>* object, in scan_relocatable_relocs() argument
[all …]
/dragonfly/sys/libprop/
H A Dprop_array_util.c77 #define TEMPLATE(size) \ argument
81 int ## size ## _t *valp) \
92 (size) == 16 ? INT16_MAX : \
97 if (prop_number_size(num) > (size)) \
108 uint ## size ## _t *valp) \
121 if (prop_number_size(num) > (size)) \
124 *valp = (uint ## size ## _t) \
133 int ## size ## _t val) \
150 uint ## size ## _t val) \
166 int ## size ## _t val) \
[all …]
/dragonfly/test/stress/stress2/testcases/link/
H A Dlink.c42 static unsigned long size; variable
57 size = in / op->incarnations; in setup()
62 size = size / 100 * pct + 1; in setup()
64 if (size > 20000 && op->hog == 0) in setup()
66 if (size > LINK_MAX) in setup()
67 size = LINK_MAX; in setup()
74 size = bl / 26 * op->incarnations; in setup()
76 size = reserve_in = reserve_bl = 0; in setup()
82 putval(size); in setup()
84 size = getval(); in setup()
[all …]
/dragonfly/usr.sbin/lpr/lpd/
H A Drecvjob.c133 int size; in readjob() local
170 size = 0; in readjob()
173 size = size * 10 + (*cp++ - '0'); in readjob()
211 size = 0; in readjob()
213 size = size * 10 + (*cp++ - '0'); in readjob()
259 if (i + amt > size) in readfile()
260 amt = size - i; in readfile()
271 if (i + amt > size) in readfile()
272 amt = size - i; in readfile()
311 chksize(int size) in chksize() argument
[all …]
/dragonfly/test/stress/stress2/testcases/symlink/
H A Dsymlink.c41 static unsigned long size; variable
55 size = in / op->incarnations; in setup()
60 size = size / 100 * pct + 1; in setup()
62 if (size > 20000) in setup()
66 while (size > 0) { in setup()
67 reserve_in = 1 * size * op->incarnations; in setup()
68 reserve_bl = 36 * size * op->incarnations; in setup()
72 size--; in setup()
74 if (size == 0) in setup()
81 putval(size); in setup()
[all …]
/dragonfly/sys/opencrypto/
H A Ddeflate.c77 buf[i].size = size; in deflate_global()
90 buf[i].size = size * 4; in deflate_global()
96 zbuf.avail_out = buf[0].size; in deflate_global()
113 buf[i].out = kmalloc((u_long) size, in deflate_global()
116 buf[i].size = size; in deflate_global()
118 zbuf.avail_out = buf[i].size; in deflate_global()
134 if (count > buf[j].size) { in deflate_global()
135 bcopy(buf[j].out, *out, buf[j].size); in deflate_global()
136 *out += buf[j].size; in deflate_global()
138 count -= buf[j].size; in deflate_global()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dexplow.c244 tree size; in expr_size() local
264 tree size; in int_expr_size() local
274 if (size == 0 || !host_integerp (size, 0)) in int_expr_size()
962 return size; in round_push()
1214 size = convert_to_mode (Pmode, size, 1); in allocate_dynamic_stack_space()
1273 size = plus_constant (size, extra); in allocate_dynamic_stack_space()
1274 size = force_operand (size, NULL_RTX); in allocate_dynamic_stack_space()
1298 size = round_push (size); in allocate_dynamic_stack_space()
1353 ask = size; in allocate_dynamic_stack_space()
1556 size = convert_to_mode (Pmode, size, 1); in probe_stack_range()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A Delf-strtab.c51 size_t size; member
112 table->size = 1; in _bfd_elf_strtab_init()
222 size_t size; member
230 size_t idx, size; in _bfd_elf_strtab_save() local
232 size = sizeof (*save) + (tab->size - 1) * sizeof (save->refcount[0]); in _bfd_elf_strtab_save()
237 save->size = tab->size; in _bfd_elf_strtab_save()
253 tab->size = save->size; in _bfd_elf_strtab_restore()
363 size_t size, i; in _bfd_elf_strtab_finalize() local
366 amt = tab->size; in _bfd_elf_strtab_finalize()
385 size = a - array; in _bfd_elf_strtab_finalize()
[all …]
/dragonfly/contrib/gmp/mpz/
H A Dn_pow_ui.c82 #define MPN_SQR(dst, alloc, src, size) \ argument
84 ASSERT (2*(size) <= (alloc)); \
85 mpn_sqr (dst, src, size); \
86 (size) *= 2; \
87 (size) -= ((dst)[(size)-1] == 0); \
98 #define MPN_MUL_2(ptr, size, alloc, mult) \ argument
101 ASSERT ((size)+2 <= (alloc)); \
102 cy = mpn_mul_2 (ptr, ptr, size, mult); \
103 (size)++; \
104 (ptr)[(size)] = cy; \
[all …]
/dragonfly/contrib/cvs-1.12/lib/
H A Dgetndelim2.c70 size_t size = *linesize; in getndelim2() local
75 ptr = malloc (size); in getndelim2()
80 if (size < offset) in getndelim2()
83 nbytes_avail = size - offset; in getndelim2()
86 if (nbytes_avail == 0 && nmax <= size) in getndelim2()
99 if (nbytes_avail < 2 && size < nmax) in getndelim2()
101 size_t newsize = size < MIN_CHUNK ? size + MIN_CHUNK : 2 * size; in getndelim2()
110 if (size == newsizemax) in getndelim2()
120 size = newsize; in getndelim2()
121 read_pos = size - nbytes_avail + ptr; in getndelim2()
[all …]
/dragonfly/test/stress/stress2/testcases/rename/
H A Drename.c40 static unsigned long size; variable
54 size = in / op->incarnations; in setup()
56 if (size > 100) in setup()
60 while (size > 0) { in setup()
66 size--; in setup()
68 if (size == 0) in setup()
75 putval(size); in setup()
77 size = getval(); in setup()
108 for (i = 0; i < size; i++) { in test_rename()
115 for (i = 0; i < size; i++) { in test_rename()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dxmalloc.c119 xmalloc_failed (size_t size) in xmalloc_failed() argument
136 (unsigned long) size); in xmalloc_failed()
142 xmalloc (size_t size) in xmalloc() argument
146 if (size == 0) in xmalloc()
147 size = 1; in xmalloc()
148 newmem = malloc (size); in xmalloc()
150 xmalloc_failed (size); in xmalloc()
175 if (size == 0) in xrealloc()
176 size = 1; in xrealloc()
178 newmem = malloc (size); in xrealloc()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dxmalloc.c118 xmalloc_failed (size_t size) in xmalloc_failed() argument
135 (unsigned long) size); in xmalloc_failed()
141 xmalloc (size_t size) in xmalloc() argument
145 if (size == 0) in xmalloc()
146 size = 1; in xmalloc()
147 newmem = malloc (size); in xmalloc()
149 xmalloc_failed (size); in xmalloc()
174 if (size == 0) in xrealloc()
175 size = 1; in xrealloc()
177 newmem = malloc (size); in xrealloc()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dxmalloc.c117 xmalloc_failed (size_t size) in xmalloc_failed() argument
135 (unsigned long) size); in xmalloc_failed()
141 xmalloc (size_t size) in xmalloc() argument
145 if (size == 0) in xmalloc()
146 size = 1; in xmalloc()
147 newmem = malloc (size); in xmalloc()
149 xmalloc_failed (size); in xmalloc()
174 if (size == 0) in xrealloc()
175 size = 1; in xrealloc()
177 newmem = malloc (size); in xrealloc()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dxmalloc.c118 xmalloc_failed (size_t size) in xmalloc_failed() argument
135 (unsigned long) size); in xmalloc_failed()
141 xmalloc (size_t size) in xmalloc() argument
145 if (size == 0) in xmalloc()
146 size = 1; in xmalloc()
147 newmem = malloc (size); in xmalloc()
149 xmalloc_failed (size); in xmalloc()
174 if (size == 0) in xrealloc()
175 size = 1; in xrealloc()
177 newmem = malloc (size); in xrealloc()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/pb_ds/detail/hash_fn/
H A Dranged_hash_fn.hpp99 ranged_hash_fn(size_type size) in ranged_hash_fn() argument
100 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
106 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
127 notify_resized(size_type size) in notify_resized() argument
185 ranged_hash_fn(size_type size) in ranged_hash_fn() argument
186 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
192 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
213 notify_resized(size_type size) in notify_resized() argument
274 ranged_hash_fn(size_type size) in ranged_hash_fn() argument
275 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
[all …]
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/pb_ds/detail/hash_fn/
H A Dranged_hash_fn.hpp99 ranged_hash_fn(size_type size) in ranged_hash_fn() argument
100 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
106 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
127 notify_resized(size_type size) in notify_resized() argument
185 ranged_hash_fn(size_type size) in ranged_hash_fn() argument
186 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
192 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
213 notify_resized(size_type size) in notify_resized() argument
274 ranged_hash_fn(size_type size) in ranged_hash_fn() argument
275 { Comb_Hash_Fn::notify_resized(size); } in ranged_hash_fn()
[all …]
/dragonfly/sbin/hammer2/
H A Dsubs.c264 sizetostr(hammer2_off_t size) in sizetostr() argument
268 if (size < 1024 / 2) { in sizetostr()
272 (double)size / 1024); in sizetostr()
287 counttostr(hammer2_off_t size) in counttostr() argument
291 if (size < 1024 / 2) { in counttostr()
293 (intmax_t)size); in counttostr()
296 (intmax_t)size); in counttostr()
315 hammer2_off_t size; in check_volume() local
328 size = st.st_size; in check_volume()
345 size = pinfo.media_size; in check_volume()
[all …]
/dragonfly/contrib/gmp/mpn/generic/
H A Dget_d.c136 ASSERT (size >= 0); in mpn_get_d()
138 ASSERT (size == 0 || up[size-1] != 0); in mpn_get_d()
140 if (size == 0) in mpn_get_d()
168 up += size; in mpn_get_d()
198 up += size; in mpn_get_d()
199 x = *--up, size--; in mpn_get_d()
215 if (size != 0) in mpn_get_d()
219 x = *--up, size--; in mpn_get_d()
317 m1 = (size >= 2 ? up[size-2] : 0); /* second highest limb */ in mpn_get_d()
336 m2 = (size >= 3 ? up[size-3] : 0); /* third highest limb */ in mpn_get_d()
[all …]
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_acpi.c203 size_t size; in radeon_atif_verify_interface() local
213 if (size < 12) { in radeon_atif_verify_interface()
218 size = min(sizeof(output), size); in radeon_atif_verify_interface()
250 size_t size; in radeon_atif_get_notification_params() local
266 size = min(sizeof(params), size); in radeon_atif_get_notification_params()
311 size_t size; in radeon_atif_get_sbios_requests() local
325 size = min(sizeof(*req), size); in radeon_atif_get_sbios_requests()
485 size_t size; in radeon_atcs_verify_interface() local
500 size = min(sizeof(output), size); in radeon_atcs_verify_interface()
590 size_t size; in radeon_acpi_pcie_performance_request() local
[all …]
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_disk_entry_from_file.c453 ssize_t size; in setup_xattr() local
489 if (size > 0 && (value = malloc(size)) == NULL) { in setup_xattr()
497 size = fgetxattr(fd, name, value, size); in setup_xattr()
499 size = fgetxattr(fd, name, value, size, 0, 0); in setup_xattr()
501 size = fgetea(fd, name, value, size); in setup_xattr()
505 size = lgetxattr(accpath, name, value, size); in setup_xattr()
509 size = lgetea(accpath, name, value, size); in setup_xattr()
513 size = getxattr(accpath, name, value, size); in setup_xattr()
515 size = getxattr(accpath, name, value, size, 0, 0); in setup_xattr()
517 size = getea(accpath, name, value, size); in setup_xattr()
[all …]

12345678910>>...151