/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | strftime.c | 66 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...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | heap.h | 34 # 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...] |
/opensolaris-onvv-gate/usr/src/tools/codesign/ |
H A D | signit.pl | 139 # 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...] |
/opensolaris-onvv-gate/usr/src/cmd/audio/utilities/ |
H A D | Resample.cc | 129 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...] |
/opensolaris-onvv-gate/usr/src/cmd/csh/ |
H A D | sh.local.h | 26 * 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)
|
/opensolaris-onvv-gate/usr/src/cmd/dis/ |
H A D | dis_util.c | 83 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);
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Net/FTP/ |
H A D | I.pm | 18 my $size = shift || croak 'read($buf,$size,[$timeout])'; 23 if ($size > length ${*$data} and !${*$data}{'net_ftp_eof'}) { 28 $blksize = $size if $size > $blksize; 36 $buf = substr(${*$data},0,$size); 50 my $size = shift || croak 'write($buf,$size,[$timeout])'; 57 my $sent = $size; 71 $size; [all...] |
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/ |
H A D | memcfg_impl.h | 53 #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
|
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/ui/ |
H A D | ui_compat.c | 64 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) argument 66 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);
|
/opensolaris-onvv-gate/usr/src/lib/krb5/dyn/ |
H A D | dyn_size.c | 23 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;
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/stdio/ |
H A D | swprintf.c | 27 swprintf(wchar_t* s, size_t size, const wchar_t* fmt, ...) argument 33 v = vswprintf(s, size, fmt, args);
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | read.c | 43 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) {
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | read.c | 43 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));
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/stdio/ |
H A D | getline.c | 47 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;
|
/opensolaris-onvv-gate/usr/src/lib/libmail/common/ |
H A D | getdomain.c | 67 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)
|
/opensolaris-onvv-gate/usr/src/lib/libmapmalloc/common/ |
H A D | llib-lmapmalloc | 34 void cfree(void *p, size_t num, size_t size);
|
/opensolaris-onvv-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.conf | 39 #The segment-hashtable-size property defines the size of hashtable 43 segment-hashtable-size=128;
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfexcept.c | 39 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...] |
/opensolaris-onvv-gate/usr/src/uts/sun4v/sys/ |
H A D | prom_plat.h | 77 * 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...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/libsm/ |
H A D | fwrite.c | 32 ** size -- number of bytes to be written 41 sm_io_write(fp, timeout, buf, size) 45 size_t size; 59 uio.uio_resid = iov.iov_len = size; 65 return size; 68 return size - uio.uio_resid;
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | xmmap.c | 31 void *xmmap(size_t size) argument 37 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, 40 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, 54 ftruncate(tmpfd, size); 55 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED,
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/compat/common/ |
H A D | lockf.c | 47 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;
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fread.c | 47 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);
|
/opensolaris-onvv-gate/usr/src/lib/libdll/common/ |
H A D | dllplug.c | 33 * 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);
|
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_neta.c | 43 * 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")
|