/opensolaris-onvv-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | demangle.c | 40 * size for fear of a C++ error sending us into an infinit loop. 63 static size_t size = SYM_MAX; local 88 if ((error = (*fptr)(name, str, size)) == 0) 93 size_t _size = size; 97 * present buffer size. Use malloc() rather than realloc() so 105 if (size != SYM_MAX) { 109 size = _size; 111 if ((error = (*fptr)(name, str, size)) == 0)
|
H A D | tokens.c | 47 long size; local 57 if ((size = sysinfo(SI_ISALIST, info, SYS_NMLN)) == -1) 59 desc->isa_listsz = (size_t)size; 69 * Determine the number of instruction sets and use this to size the 112 size_t size; local 126 size = strlen(utsname.sysname); 127 if ((desc->uts_osname = malloc(size + 1)) == 0) 129 desc->uts_osnamesz = size; 130 (void) strncpy(desc->uts_osname, utsname.sysname, size); 132 size [all...] |
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fgets.c | 47 fgets(ptr, size, iop) 49 register int size; 60 for (size--; size > 0; size -= n) { 70 n = MIN(size, iop->_cnt);
|
/opensolaris-onvv-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_wr.c | 46 * wr_list - Address of array[size] of work requests. 47 * size - Number of work requests. 56 ibt_post_send(ibt_channel_hdl_t chan, ibt_send_wr_t *wr_list, uint_t size, argument 60 chan, wr_list, size); 63 chan->ch_qp.qp_ibc_qp_hdl, wr_list, size, posted)); 71 * wr_list - Address of array[size] of work requests. 72 * size - Number of work requests. 81 ibt_post_recv(ibt_channel_hdl_t chan, ibt_recv_wr_t *wr_list, uint_t size, argument 85 chan, wr_list, size); 88 chan->ch_qp.qp_ibc_qp_hdl, wr_list, size, poste [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_mem.c | 217 ((char *)_nsc_rmhdr_ptr + _nsc_rmhdr_ptr->size); 345 size_t size; local 353 size = sizeof (nsc_rmhdr_t) + 356 size = (size + _NSC_GLALIGN) & ~_NSC_GLALIGN; 357 bzero(_nsc_rm_base, size); 361 hdr->size = size; 374 size, nsc_cm_errhdlr) < 0) 397 _nsc_rm_size - hdr->size, hd 425 int size = sizeof (nsc_rmhdr_t) + local 450 nsc_kmem_alloc(size_t size, int flag, nsc_mem_t *mem) argument 497 size_t size = *sizep; local 533 nsc_kmem_free(void *addr, size_t size) argument 564 _nsc_mem_free(void *addr, size_t size) argument 607 nsc_kmem_zalloc(size_t size, int flag, nsc_mem_t *mem) argument 694 _nsc_global_zero(ulong_t offset, size_t size) argument 740 size_t avail, size = (*sizep); local 818 _nsc_rm_free(void *addr, size_t size) argument 868 size_t size; local 913 size_t size; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_alloc.c | 51 smb_mem_alloc(size_t size) argument 53 return (smb_alloc(NULL, size, B_FALSE)); 60 smb_mem_zalloc(size_t size) argument 62 return (smb_alloc(NULL, size, B_TRUE)); 71 smb_mem_realloc(void *ptr, size_t size) argument 73 return (smb_realloc(NULL, ptr, size, B_FALSE)); 77 * Allocate or resize memory previously allocated. If the new size is greater 78 * than the current size, the extra space is zeroed out. If the new size is less 79 * then the current size th 84 smb_mem_rezalloc(void *ptr, size_t size) argument 117 size_t size; local 155 smb_srm_alloc(smb_request_t *sr, size_t size) argument 166 smb_srm_zalloc(smb_request_t *sr, size_t size) argument 177 smb_srm_realloc(smb_request_t *sr, void *p, size_t size) argument 191 smb_srm_rezalloc(smb_request_t *sr, void *p, size_t size) argument 200 size_t size; local 218 smb_alloc(smb_request_t *sr, size_t size, boolean_t zero) argument 281 smb_realloc(smb_request_t *sr, void *ptr, size_t size, boolean_t zero) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/audio/utilities/ |
H A D | zmalloc.c | 60 insert_bm(char *buf, size_t size) argument 66 bm->bm_size = size; 77 size_t size; local 89 size = p_curr->bm_size; 91 return (size); 101 zmalloc(size_t size) argument 107 if (size == 0) 115 mbuf = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0); 123 (void) insert_bm(mbuf, size); 131 size_t size; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | putmessage.c | 45 int size; local 55 size = _putmessage(buf, type, arg); 57 return(size);
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/string/ |
H A D | swapop.c | 35 * if size<0 then (-size) used and (-size==4)&&(op==3) => op=7 40 swapop(const void* internal, const void* external, int size) argument 46 if ((z = size) < 0) 54 if (size < 0 && z == 4 && op == 3)
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | compat.h | 82 #define getmodsize(size, ftype, ttype) \ 83 (((size / ftype) * ttype) + (size % ftype))
|
/opensolaris-onvv-gate/usr/src/lib/libdll/common/ |
H A D | dllfind.c | 33 * if path!=0 then library path up to size chars copied to path with trailing 0 38 dllfind(const char* lib, const char* ver, int flags, char* path, size_t size) argument 43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size))) 45 return dllplug(NiL, lib, ver, flags, path, size);
|
/opensolaris-onvv-gate/usr/src/lib/libnvpair/ |
H A D | nvpair_alloc_system.c | 34 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument 36 return (malloc(size)); 41 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument
|
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_debug.h | 23 # define DprintQ(cond, args, query, size) /*empty*/ 28 # define DprintQ(cond, args, query, size) if (cond) {\ 30 res_pquery(statp, query, size, stdout);\
|
/opensolaris-onvv-gate/usr/src/stand/lib/nvpair/ |
H A D | nvpair_alloc_system.c | 35 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument 37 return (malloc(size)); 42 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument
|
/opensolaris-onvv-gate/usr/src/cmd/audio/include/ |
H A D | Fir.h | 60 virtual void updateState(double *data, int size); 61 virtual void update_short(short *data, int size); 72 // filter "size" input samples for "size" output samples 73 virtual int filter_noadjust(short *in, int size, short *out); 75 * filter "size" input samples. Output sample sequence is offset by 77 * the first call of this routine returns "size - group_delay" 78 * output samples. Call this routine with size = 0 82 virtual int getFlushSize(void); // size of out[] for the last call 83 virtual int filter(short *in, int size, shor [all...] |
H A D | zmalloc.h | 38 EXTERN_FUNCTION(void* zmalloc, (size_t size));
|
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_compare.c | 93 * routine had better not be looking at fields other than data/size. 103 pg_dbt.size = bk->len; 122 pg_dbt.size = bi->len; 164 len = a->size > b->size ? b->size : a->size; 168 return ((long)a->size - (long)b->size); 185 len = a->size > [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ssh/include/ |
H A D | inet_ntop.h | 16 inet_ntop(int af, const void *src, char *dst, size_t size);
|
/opensolaris-onvv-gate/usr/src/cmd/zfs/ |
H A D | zfs_util.h | 34 void * safe_malloc(size_t size);
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | cfree.c | 42 cfree(void *p, size_t num, size_t size) argument
|
/opensolaris-onvv-gate/usr/src/lib/libtnfprobe/ |
H A D | probe_mem.c | 58 __tnf_probe_alloc(size_t size) argument 67 memseg_p->i_reqsz = size; 69 if ((memseg_p->min_p + size) <= memseg_p->max_p) { 71 memseg_p->min_p += size;
|
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | nvpair_alloc_system.c | 33 nv_alloc_sys(nv_alloc_t *nva, size_t size) argument 35 return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg)); 40 nv_free_sys(nv_alloc_t *nva, void *buf, size_t size) argument 42 kmem_free(buf, size);
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/ |
H A D | xmalloc.c | 24 xmalloc(size_t size) argument 28 if (size == 0) 29 fatal("xmalloc: zero size"); 30 ptr = malloc(size); 32 fatal("xmalloc: out of memory (allocating %lu bytes)", (u_long) size); 37 xcalloc(size_t nmemb, size_t size) argument 41 if (size == 0 || nmemb == 0) 42 fatal("xcalloc: zero size"); 43 if (SIZE_T_MAX / nmemb < size) 44 fatal("xcalloc: nmemb * size > SIZE_T_MA [all...] |
/opensolaris-onvv-gate/usr/src/lib/libumem/common/ |
H A D | malloc.c | 41 * See umem_impl.h for the various magic numbers used, and the size 44 * The 'size' of the buffer includes the tags. That is, we encode the 59 size_t size; local 62 size = size_arg + sizeof (malloc_data_t); 65 if (size > UMEM_SECOND_ALIGN) { 66 size += sizeof (malloc_data_t); 67 high_size = (size >> 32); 70 if (size < size_arg) { 74 ret = (malloc_data_t *)_umem_alloc(size, UMEM_DEFAULT); 76 if (size < 118 size_t size = nelem * elsize; local 144 size_t size; local 222 valloc(size_t size) argument 247 size_t size; local [all...] |
/opensolaris-onvv-gate/usr/src/stand/lib/sa/ |
H A D | standalloc.c | 58 kern_resalloc(caddr_t virthint, size_t size, int align) argument 61 return (resalloc(RES_CHILDVIRT, size, virthint, align)); 63 return (resalloc(RES_BOOTSCRATCH, size, NULL, NULL)); 72 kern_resfree(caddr_t virtaddr, size_t size) argument 74 resfree(RES_BOOTSCRATCH, virtaddr, size); 78 get_progmemory(caddr_t vaddr, size_t size, int align) argument 90 size += n; 93 dprintf("get_progmemory: requesting %lx bytes at %p\n", size, 95 if (resalloc(RES_CHILDVIRT, size, vaddr, align) != vaddr)
|