Searched refs:size (Results 101 - 125 of 3555) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/stand/lib/sa/
H A Dstandalloc.c58 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)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dstrftime.c66 int size; local
75 size = 0;
81 if (++size >= maxsize)
89 if (++size >= maxsize)
98 if (++size >= maxsize)
108 if (++size >= maxsize)
117 if (++size >= maxsize)
124 i = strftime(cp, maxsize - size, "%x %X", tm);
128 size += i;
132 i = strftime(cp, maxsize - size,
[all...]
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dheap.h34 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup)
46 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size)
47 # define sm_malloc_tagged_x(size, file, line, grp) sm_malloc_x(size)
49 # define sm_heap_register(ptr, size, file, line, grp) (true)
89 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0)
90 # define sm_pmalloc_x(size) sm_malloc_tagged_
[all...]
/illumos-gate/usr/src/tools/codesign/
H A Dsignit.pl139 # signing operation, return the size of the output data.
175 my ($res, $size);
184 $size = check_response($res);
185 if ($size > 0) {
186 recvfile("$Tmpdir/out.zip", $size) || return;
205 my ($size, $bytes);
207 $size = -s $file;
208 print SRV_IN "SIGN $size $args\n";
213 read(F, $bytes, $size);
215 if (!syswrite(SRV_IN, $bytes, $size)) {
[all...]
/illumos-gate/usr/src/cmd/audio/utilities/
H A DResample.cc129 int size)
132 Fir::updateState(in, size);
133 else if (size >= num_state)
134 memcpy(state, in + size - num_state,
137 int old = num_state - size;
138 BCOPY((char *)(state + size), (char *)state,
140 memcpy(state + old, in, size * sizeof (double));
177 int size,
182 if (size <= 0)
185 return (Fir::filter_noadjust(in, size, ou
127 updateState( double *in, int size) argument
176 decimate_noadjust(short *in, int size, short *out) argument
213 decimate(short *in, int size, short *out) argument
247 interpolate_noadjust(short *in, int size, short *out) argument
308 interpolate(short *in, int size, short *out) argument
332 filter_noadjust(short *in, int size, short *out) argument
416 filter( short *in, int size, short *out) argument
[all...]
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn_size.c23 fprintf(stderr, "dyn: size: returning size %d.\n", obj->num_el);
32 fprintf(stderr, "dyn: capacity: returning cap of %d.\n", obj->size);
34 return obj->size;
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dread.c43 read(int fd, char *buf, int size) argument
45 return (bc_read(fd, buf, size));
49 bc_read(int fd, char *buf, int size) argument
55 size = getmodsize(size, sizeof (struct compat_utmp),
58 if ((nbuf = (void *)malloc(size)) == NULL) {
63 if ((ret = _read(fd, nbuf, size)) == -1) {
77 if ((ret = _read(fd, buf, size)) == -1) {
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dread.c43 read(int fd, char *buf, int size) argument
45 return (bc_read(fd, buf, size));
49 bc_read(int fd, char *buf, int size) argument
55 size = getmodsize(size, sizeof (struct compat_utmp),
58 if ((nbuf = (void *)malloc(size)) == NULL) {
63 if ((ret = _read(fd, nbuf, size)) == -1) {
76 return (_read(fd, buf, size));
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dgetline.c47 size_t size; local
65 size = *n;
77 if (++cnt == size) { /* must reallocate */
78 if ((ptr = realloc(*lineptr, 2 * size)) == NULL) {
80 ptr = *lineptr + size - 1;
86 ptr += size;
87 *n = size = 2 * size;
/illumos-gate/usr/src/lib/libmail/common/
H A Dgetdomain.c67 static char *look4domain(char *file, char *buf, int size) argument
75 while (fgets(buf, size, fp))
92 static char *readdomain(char *buf, int size) argument
97 (void) strncpy(buf, ret, size);
101 if (((ret = look4domain("/etc/resolv.conf", buf, size)) != 0) ||
102 ((ret = look4domain("/etc/inet/named.boot", buf, size)) != 0) ||
103 ((ret = look4domain("/etc/named.boot", buf, size)) != 0))
107 if (sysinfo(SI_SRPC_DOMAIN, buf, size) >= 0)
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dllib-lmapmalloc34 void cfree(void *p, size_t num, size_t size);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/
H A Dmemcfg_impl.h53 #define OBP_PROP_SIZE_CELLS "#size-cells"
55 #define SUPPORTED_NUM_CELL_SIZE 2 /* #size-cells */
62 uint64_t size; /* in bytes */ member in struct:memmod_info
71 uint64_t size; member in struct:regspec
/illumos-gate/usr/src/cmd/csh/
H A Dsh.local.h26 * BUFSIZ The i/o buffering size; also limits word size
32 #define BUFSIZ 1024 /* default buffer size */
54 #define copy(to, from, size) bcopy(from, to, size)
/illumos-gate/usr/src/cmd/dis/
H A Ddis_util.c83 safe_malloc(size_t size) argument
87 if ((ret = calloc(1, size)) == NULL)
108 static int size = BUFSIZE; local
124 demangled_name = safe_malloc(size);
135 * The function returns -1 when the buffer size is not sufficient.
137 while ((ret = (*demangle_func)(name, demangled_name, size)) == -1) {
139 size = size + BUFSIZE;
140 demangled_name = safe_malloc(size);
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.conf39 #The segment-hashtable-size property defines the size of hashtable
43 segment-hashtable-size=128;
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dswprintf.c27 swprintf(wchar_t* s, size_t size, const wchar_t* fmt, ...) argument
33 v = vswprintf(s, size, fmt, args);
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_aux.c50 mandoc_calloc(size_t num, size_t size) argument
54 ptr = calloc(num, size);
61 mandoc_malloc(size_t size) argument
65 ptr = malloc(size);
72 mandoc_realloc(void *ptr, size_t size) argument
75 ptr = realloc(ptr, size);
82 mandoc_reallocarray(void *ptr, size_t num, size_t size) argument
85 ptr = reallocarray(ptr, num, size);
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dolimex-a20-som-evb.dts36 #size-cells = <1>;
H A Dolinuxino-lime.dts36 #size-cells = <1>;
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfexcept.c39 reg ssize_t size; local
78 { if(f->size >= 0 && !(f->flags&SF_MALLOC))
81 if((size = f->size) < 0)
82 size = 0;
83 if((io -= size) <= 0)
85 size = ((size+io+SF_GRAIN-1)/SF_GRAIN)*SF_GRAIN;
86 if(f->size > 0)
87 data = (uchar*)realloc((char*)f->data,size);
[all...]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dprom_plat.h77 * Page size of Prom mappings are typically 8k, "modify" cannot change
128 unsigned long long physaddr, uint_t size);
135 extern caddr_t prom_malloc(caddr_t virt, size_t size, uint_t align);
137 extern caddr_t prom_allocate_virt(uint_t align, size_t size);
138 extern caddr_t prom_claim_virt(size_t size, caddr_t virt);
139 extern void prom_free_virt(size_t size, caddr_t virt);
141 extern int prom_allocate_phys(size_t size, uint_t align,
143 extern int prom_claim_phys(size_t size,
145 extern void prom_free_phys(size_t size,
148 extern int prom_map_phys(int mode, size_t size, caddr_
[all...]
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllplug.c33 * if path!=0 then library path up to size chars copied to path with trailing 0
38 dllplug(const char* lib, const char* name, const char* ver, int flags, char* path, size_t size) argument
55 if (path && size)
56 strncopy(path, dle->path, size);
70 if ((dll = dllopen(name, flags)) && dll && path && size)
71 strncopy(path, name, size);
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_neta.c43 * inet_neta(src, dst, size)
53 inet_neta(src, dst, size)
56 size_t size;
66 if (size < sizeof "255.")
74 size -= (size_t)(dst - tp);
78 if (size < sizeof "0.0.0.0")
/illumos-gate/usr/src/lib/libbc/libc/compat/common/
H A Dlockf.c47 lockf(int fildes, int function, long size) argument
55 if (size < 0) {
56 ld.l_start = size;
57 ld.l_len = -size;
60 ld.l_len = size;
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfread.c47 fread(char *ptr, int size, int count, FILE *iop) argument
52 if (size <= 0 || count <= 0) return 0;
53 nleft = count * size;
61 return (count - (nleft + size - 1)/size);

Completed in 112 milliseconds

1234567891011>>