/freebsd-10.3-release/contrib/ntp/lib/isc/ |
H A D | print.c | 52 isc_print_snprintf(char *str, size_t size, const char *format, ...) { argument 57 ret = vsnprintf(str, size, format, ap); 68 isc_print_vsnprintf(char *str, size_t size, const char *format, va_list ap) { argument 104 if (size > 1) { 106 size--; 178 if (size > 1) { 180 size--; 386 while (pad > 0 && size > 1) { 388 size--; 393 while (*cp != '\0' && size > [all...] |
/freebsd-10.3-release/sys/boot/efi/boot1/ |
H A D | ufs_module.c | 49 int size; local 53 size = nblk * DEV_BSIZE; 56 devinfo->dev->Media->MediaId, lba, size, buf); 59 DPRINTF("dskread: failed dev: %p, id: %u, lba: %lu, size: %d, " 61 devinfo->dev->Media->MediaId, lba, size, 100 size_t size; local 116 if (fsread_size(ino, NULL, 0, &size) < 0 || size <= 0) { 117 printf("Failed to read size of '%s' ino: %d\n", filepath, ino); 121 if ((status = bs->AllocatePool(EfiLoaderData, size, [all...] |
/freebsd-10.3-release/usr.bin/make/ |
H A D | buf.c | 88 size_t size; local 90 if (bp->size < len + nb + 1) { 91 size = bp->size + MAX(nb + 1, BUF_ADD_INC); 92 bp->size = size; 93 bp->buf = erealloc(bp->buf, size); 165 * Initialize a buffer. If no initial size is given, a reasonable 175 Buf_Init(size_t size) argument 179 if (size < [all...] |
/freebsd-10.3-release/tools/regression/netinet/udpzerobyte/ |
H A D | udpzerobyte.c | 62 ssize_t size; local 81 size = recv(sock_receive, NULL, 0, 0); 82 if (size > 0) 84 domainstr, size); 85 else if (size < 0) 89 size = send(sock_send, NULL, 0, 0); 90 if (size < 0) 94 size = recv(sock_receive, NULL, 0, 0); 95 if (size < 0) 99 size [all...] |
/freebsd-10.3-release/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 47 format_who(char *str, size_t size, const acl_entry_t entry, int numeric) argument 61 snprintf(str, size, "owner@"); 74 snprintf(str, size, "user:%d", (unsigned int)*id); 76 snprintf(str, size, "user:%s", pwd->pw_name); 80 snprintf(str, size, "group@"); 93 snprintf(str, size, "group:%d", (unsigned int)*id); 95 snprintf(str, size, "group:%s", grp->gr_name); 99 snprintf(str, size, "everyone@"); 110 format_entry_type(char *str, size_t size, const acl_entry_t entry) argument 121 snprintf(str, size, "allo 140 format_additional_id(char *str, size_t size, const acl_entry_t entry) argument 168 format_entry(char *str, size_t size, const acl_entry_t entry, int flags) argument 230 int error, off = 0, size, entry_id = ACL_FIRST_ENTRY; local [all...] |
/freebsd-10.3-release/sys/ddb/ |
H A D | db_examine.c | 72 int size; local 78 size = 4; 82 size = 1; 85 size = 2; 88 size = 4; 91 size = 8; 94 size = sizeof(void *); 110 width = size * 4; 113 value = db_get_value(addr, size, TRUE); 114 addr += size; 252 int size; local 312 db_search(db_addr_t addr, int size, db_expr_t value, db_expr_t mask, unsigned int count) argument [all...] |
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | MultiplexExternalSemaSource.cpp | 46 for(size_t i = 0; i < Sources.size(); ++i) 54 for(size_t i = 0; i < Sources.size(); ++i) { 64 for(size_t i = 0; i < Sources.size(); ++i) 70 for(size_t i = 0; i < Sources.size(); ++i) 78 for(size_t i = 0; i < Sources.size(); ++i) 87 for (size_t i = 0; i < Sources.size(); ++i) 93 for(size_t i = 0; i < Sources.size(); ++i) 101 for(size_t i = 0; i < Sources.size(); ++i) 112 for(size_t i = 0; i < Sources.size(); ++i) 117 for(size_t i = 0; i < Sources.size(); [all...] |
/freebsd-10.3-release/crypto/heimdal/lib/asn1/ |
H A D | der_get.c | 40 * returned and `size' where the number of used bytes is stored. 46 unsigned *ret, size_t *size) 59 if(size) *size = oldlen; 65 int *ret, size_t *size) 79 if(size) *size = oldlen; 85 size_t *val, size_t *size) 95 if(size) *size 45 der_get_unsigned(const unsigned char *p, size_t len, unsigned *ret, size_t *size) argument 64 der_get_integer(const unsigned char *p, size_t len, int *ret, size_t *size) argument 84 der_get_length(const unsigned char *p, size_t len, size_t *val, size_t *size) argument 118 der_get_boolean(const unsigned char *p, size_t len, int *data, size_t *size) argument 131 der_get_general_string(const unsigned char *p, size_t len, heim_general_string *str, size_t *size) argument 163 der_get_utf8string(const unsigned char *p, size_t len, heim_utf8_string *str, size_t *size) argument 170 der_get_printable_string(const unsigned char *p, size_t len, heim_printable_string *str, size_t *size) argument 184 der_get_ia5_string(const unsigned char *p, size_t len, heim_ia5_string *str, size_t *size) argument 191 der_get_bmp_string(const unsigned char *p, size_t len, heim_bmp_string *data, size_t *size) argument 222 der_get_universal_string(const unsigned char *p, size_t len, heim_universal_string *data, size_t *size) argument 252 der_get_visible_string(const unsigned char *p, size_t len, heim_visible_string *str, size_t *size) argument 259 der_get_octet_string(const unsigned char *p, size_t len, heim_octet_string *data, size_t *size) argument 272 der_get_octet_string_ber(const unsigned char *p, size_t len, heim_octet_string *data, size_t *size) argument 341 der_get_heim_integer(const unsigned char *p, size_t len, heim_integer *data, size_t *size) argument 427 der_get_time(const unsigned char *p, size_t len, time_t *data, size_t *size) argument 448 der_get_generalized_time(const unsigned char *p, size_t len, time_t *data, size_t *size) argument 455 der_get_utctime(const unsigned char *p, size_t len, time_t *data, size_t *size) argument 462 der_get_oid(const unsigned char *p, size_t len, heim_oid *data, size_t *size) argument 510 der_get_tag(const unsigned char *p, size_t len, Der_class *class, Der_type *type, unsigned int *tag, size_t *size) argument 542 der_match_tag(const unsigned char *p, size_t len, Der_class class, Der_type type, unsigned int tag, size_t *size) argument 556 der_match_tag2(const unsigned char *p, size_t len, Der_class class, Der_type *type, unsigned int tag, size_t *size) argument 578 der_match_tag_and_length(const unsigned char *p, size_t len, Der_class class, Der_type *type, unsigned int tag, size_t *length_ret, size_t *size) argument 623 der_get_bit_string(const unsigned char *p, size_t len, heim_bit_string *data, size_t *size) argument [all...] |
H A D | der_put.c | 42 * the number of characters written in `size' (if non-NULL). 47 der_put_unsigned (unsigned char *p, size_t len, const unsigned *v, size_t *size) argument 66 *size = base - p; 73 *size = 1; 79 der_put_integer (unsigned char *p, size_t len, const int *v, size_t *size) argument 114 *size = base - p; 120 der_put_length (unsigned char *p, size_t len, size_t val, size_t *size) argument 127 *size = 1; 140 if(size) 141 *size 147 der_put_boolean(unsigned char *p, size_t len, const int *data, size_t *size) argument 160 der_put_general_string(unsigned char *p, size_t len, const heim_general_string *str, size_t *size) argument 174 der_put_utf8string(unsigned char *p, size_t len, const heim_utf8_string *str, size_t *size) argument 181 der_put_printable_string(unsigned char *p, size_t len, const heim_printable_string *str, size_t *size) argument 188 der_put_ia5_string(unsigned char *p, size_t len, const heim_ia5_string *str, size_t *size) argument 195 der_put_bmp_string(unsigned char *p, size_t len, const heim_bmp_string *data, size_t *size) argument 212 der_put_universal_string(unsigned char *p, size_t len, const heim_universal_string *data, size_t *size) argument 231 der_put_visible_string(unsigned char *p, size_t len, const heim_visible_string *str, size_t *size) argument 238 der_put_octet_string(unsigned char *p, size_t len, const heim_octet_string *data, size_t *size) argument 250 der_put_heim_integer(unsigned char *p, size_t len, const heim_integer *data, size_t *size) argument 302 der_put_generalized_time(unsigned char *p, size_t len, const time_t *data, size_t *size) argument 322 der_put_utctime(unsigned char *p, size_t len, const time_t *data, size_t *size) argument 342 der_put_oid(unsigned char *p, size_t len, const heim_oid *data, size_t *size) argument 372 der_put_tag(unsigned char *p, size_t len, Der_class class, Der_type type, unsigned int tag, size_t *size) argument 403 der_put_length_and_tag(unsigned char *p, size_t len, size_t len_val, Der_class class, Der_type type, unsigned int tag, size_t *size) argument 451 der_put_bit_string(unsigned char *p, size_t len, const heim_bit_string *data, size_t *size) argument [all...] |
/freebsd-10.3-release/crypto/heimdal/lib/roken/ |
H A D | test-mem.c | 50 size_t size; member in struct:__anon5300 95 void *buf, size_t size) 102 p = malloc(size + 2); 107 map.size = size + 2; 109 p[map.size-1] = 0xff; 132 map.size = size + pagesize - (size % pagesize) + pagesize * 2; 134 p = (unsigned char *)mmap(0, map.size, PROT_REA 94 rk_test_mem_alloc(enum rk_test_mem_type type, const char *name, void *buf, size_t size) argument [all...] |
H A D | base64.c | 55 base64_encode(const void *data, int size, char **str) argument 62 if (size > INT_MAX/4 || size < 0) { 67 p = s = (char *) malloc(size * 4 / 3 + 4); 74 for (i = 0; i < size;) { 77 if (i < size) 81 if (i < size) 88 if (i > size) 90 if (i > size + 1)
|
/freebsd-10.3-release/contrib/binutils/gas/ |
H A D | sb.c | 50 sb_element *size[sb_max_power_two]; member in struct:__anon362 56 sb_build (sb *ptr, int size) argument 61 assert (size < sb_max_power_two); 63 e = free_list.size[size]; 67 e = (sb_element *) xmalloc (sizeof (sb_element) + (1 << size)); 68 e->next = free_list.size[size]; 69 e->size = 1 << size; [all...] |
/freebsd-10.3-release/sys/vm/ |
H A D | vm_init.c | 108 kva_import(void *unused, vmem_size_t size, int flags, vmem_addr_t *addrp) argument 114 result = vm_map_find(kernel_map, NULL, 0, &addr, size, 0, 173 vm_size_t size = 0; local 196 * Discount the physical memory larger than the size of kernel_map 205 * End of first pass, size has been calculated so allocate memory 208 size = (vm_size_t)v; 209 firstaddr = kmem_malloc(kernel_arena, round_page(size), 219 if ((vm_size_t)((char *)v - firstaddr) != size) 220 panic("startup: table size inconsistency"); 226 size [all...] |
/freebsd-10.3-release/crypto/openssl/crypto/bn/ |
H A D | exp.c | 17 int j, i, size = SIZE, num = NUM, mod = MOD; local 31 while (size <= 1024 * 8) { 32 BN_rand(&a, size, 0, 0); 33 BN_rand(&b, size, 1, 0); 34 BN_rand(&c, size, 0, 1); 52 printf("%5d bit:%6.2f %6d %6.4f %4d m_set(%5.4f)\n", size, 58 size *= 2;
|
/freebsd-10.3-release/sys/dev/drm/ |
H A D | radeon_mem.c | 44 static struct mem_block *split_block(struct mem_block *p, int start, int size, argument 54 newblock->size = p->size - (start - p->start); 60 p->size -= newblock->size; 65 if (size < p->size) { 70 newblock->start = start + size; 71 newblock->size = p->size 86 alloc_block(struct mem_block *heap, int size, int align2, struct drm_file *file_priv) argument 138 init_heap(struct mem_block **heap, int start, int size) argument [all...] |
/freebsd-10.3-release/libexec/rtld-elf/amd64/ |
H A D | rtld_machdep.h | 64 #define round(size, align) \ 65 (((size) + (align) - 1) & ~((align) - 1)) 66 #define calculate_first_tls_offset(size, align) \ 67 round(size, align) 68 #define calculate_tls_offset(prev_offset, prev_size, size, align) \ 69 round((prev_offset) + (size), align) 70 #define calculate_tls_end(off, size) (off)
|
/freebsd-10.3-release/libexec/rtld-elf/i386/ |
H A D | rtld_machdep.h | 64 #define round(size, align) \ 65 (((size) + (align) - 1) & ~((align) - 1)) 66 #define calculate_first_tls_offset(size, align) \ 67 round(size, align) 68 #define calculate_tls_offset(prev_offset, prev_size, size, align) \ 69 round((prev_offset) + (size), align) 70 #define calculate_tls_end(off, size) (off)
|
/freebsd-10.3-release/sys/dev/drm2/radeon/ |
H A D | radeon_mem.c | 43 static struct mem_block *split_block(struct mem_block *p, int start, int size, argument 53 newblock->size = p->size - (start - p->start); 59 p->size -= newblock->size; 64 if (size < p->size) { 69 newblock->start = start + size; 70 newblock->size = p->size 85 alloc_block(struct mem_block *heap, int size, int align2, struct drm_file *file_priv) argument 137 init_heap(struct mem_block **heap, int start, int size) argument [all...] |
/freebsd-10.3-release/sys/dev/virtio/ |
H A D | virtio_ring.h | 129 int size; local 131 size = num * sizeof(struct vring_desc); 132 size += sizeof(struct vring_avail) + (num * sizeof(uint16_t)) + 134 size = (size + align - 1) & ~(align - 1); 135 size += sizeof(struct vring_used) + 137 return (size); 155 * Assuming a given event_idx value from the other size, if we have
|
/freebsd-10.3-release/contrib/sendmail/libsm/ |
H A D | rpool.c | 50 ** size -- size of block. 60 sm_rpool_allocblock_x(rpool, size) 62 size_t size; 66 p = sm_malloc_x(sizeof(SM_POOLHDR_T) + size); 77 ** size -- size of block. 84 sm_rpool_allocblock(rpool, size) 86 size_t size; 90 p = sm_malloc(sizeof(SM_POOLHDR_T) + size); [all...] |
/freebsd-10.3-release/lib/libc/db/recno/ |
H A D | rec_utils.c | 69 if (sizeof(recno_t) > t->bt_rkey.size) { 74 t->bt_rkey.size = sizeof(recno_t); 77 key->size = sizeof(recno_t); 92 &data->size, &t->bt_rdata.data, &t->bt_rdata.size)) 97 if (rl->dsize + 1 > t->bt_rdata.size) { 102 t->bt_rdata.size = rl->dsize + 1; 105 data->size = rl->dsize; 108 data->size = rl->dsize;
|
/freebsd-10.3-release/usr.sbin/IPXrouted/ |
H A D | trace.h | 54 short ift_size; /* size of packet */ 86 #define TRACE_INPUT(ifp, src, size) { \ 91 &packet[sizeof(struct ipx)], size, \ 96 &packet[sizeof(struct ipx)], size); \ 98 #define TRACE_OUTPUT(ifp, dst, size) { \ 104 size, ifp->int_metric); \ 108 &packet[sizeof(struct ipx)], size); \ 111 #define TRACE_SAP_OUTPUT(ifp, dst, size) { \ 117 size, ifp->int_metric); \ 121 &packet[sizeof(struct ipx)], size); \ [all...] |
/freebsd-10.3-release/usr.sbin/fifolog/lib/ |
H A D | fifolog_create.c | 44 fifolog_create(const char *fn, off_t size, ssize_t recsize) argument 86 /* If no configured size, or too large for disk, use device size */ 88 if (i == 0 && (size == 0 || size > ms)) 89 size = ms; 91 if (size == 0 && S_ISREG(st.st_mode)) 92 size = st.st_size; 94 if (size == 0) 95 size [all...] |
/freebsd-10.3-release/contrib/libstdc++/include/ext/pb_ds/detail/hash_fn/ |
H A D | mod_based_range_hashing.hpp | 74 notify_resized(size_type size); 94 notify_resized(size_type size) argument 96 m_size = size;
|
/freebsd-10.3-release/contrib/libstdc++/include/ext/pb_ds/detail/resize_policy/ |
H A D | hash_load_check_resize_trigger_size_base.hpp | 44 * Contains an base holding size for some resize policies. 73 set_size(size_type size) argument 74 { m_size = size; } 95 set_size(size_type size) { } argument
|