/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | export_sec_context.c | 43 size_t bufsize, blen; local 65 bufsize = 0; 67 &bufsize))) 71 if ((obuffer = (krb5_octet *) xmalloc(bufsize)) == NULL) { 77 blen = bufsize; 84 interprocess_token->length = bufsize - blen; 99 if (obuffer && bufsize) { 100 memset(obuffer, 0, bufsize);
|
H A D | lucid_context.c | 199 unsigned int bufsize = sizeof(gss_krb5_lucid_context_v1_t); local 203 if ((lctx = xmalloc(bufsize)) == NULL) { 208 memset(lctx, 0, bufsize);
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | readlink.c | 32 readlinkat(int fd, const char *path, char *buf, size_t bufsize) argument 37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize); 45 readlink(const char *path, char *buf, size_t bufsize) argument 47 return (readlinkat(AT_FDCWD, path, buf, bufsize));
|
H A D | exacctsys.c | 39 getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize) argument 45 0, idtype, id, buf, bufsize, 0); 52 putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, int flags) argument 54 return (syscall(SYS_exacctsys, 1, idtype, id, buf, bufsize, flags));
|
H A D | corectl.c | 58 core_set_global_path(const char *buf, size_t bufsize) argument 60 return (syscall(SYS_corectl, CC_SET_GLOBAL_PATH, buf, bufsize)); 64 core_get_global_path(char *buf, size_t bufsize) argument 66 return (syscall(SYS_corectl, CC_GET_GLOBAL_PATH, buf, bufsize)); 82 core_set_default_path(const char *buf, size_t bufsize) argument 84 return (syscall(SYS_corectl, CC_SET_DEFAULT_PATH, buf, bufsize)); 88 core_get_default_path(char *buf, size_t bufsize) argument 90 return (syscall(SYS_corectl, CC_GET_DEFAULT_PATH, buf, bufsize)); 106 core_set_process_path(const char *buf, size_t bufsize, pid_t pid) argument 108 return (syscall(SYS_corectl, CC_SET_PROCESS_PATH, buf, bufsize, pi 112 core_get_process_path(char *buf, size_t bufsize, pid_t pid) argument [all...] |
H A D | ppriv.c | 69 getprivinfo(priv_impl_info_t *buf, size_t bufsize) argument 72 bufsize));
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | mbtranslate.c | 69 static int bufsize; local 77 if (!byte && (n*CSMAX+1) > bufsize) { 80 bufsize = n * CSMAX + 1; 81 if ((buf = malloc(bufsize * sizeof (char))) == NULL) 82 bufsize = 0; 112 static int bufsize; local 118 if (!code && (n + 1) > bufsize) { 121 bufsize = n + 1; 122 if ((buf = (wchar_t *)malloc(bufsize * sizeof (wchar_t))) == 124 bufsize [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-macho2img.c | 40 int bufsize; local 69 bufsize = ftell (in); 71 buf = malloc (bufsize); 79 fread (buf, 1, bufsize, in);
|
H A D | grub-menulst2cfg.c | 35 size_t bufsize = 0; local 77 if (getline (&buf, &bufsize, in) < 0)
|
/osnet-11/usr/src/cmd/hal/utils/ |
H A D | adt_data.c | 29 int count, bufsize; local 75 bufsize = 256; 76 buf = (uchar_t *)malloc (bufsize); 79 if (count == bufsize) { 80 bufsize += 256; 81 buf = realloc (buf, bufsize);
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | realpath.c | 45 krealpath_impl(int fd, const char *path, char *buf, size_t bufsize) argument 49 size_t mysize = bufsize; 53 if (bufsize <= sizeof (sbuf)) { 55 if (bufsize == 0) 58 kbuf = malloc(bufsize); 68 if (ret == 0 || buf != NULL || bufsize != 0 || errno != ERANGE) 128 frealpath(int fd, char *resolved_name, size_t bufsize) argument 130 return (krealpath_impl(fd, NULL, resolved_name, bufsize));
|
/osnet-11/usr/src/lib/libresolv/ |
H A D | res_init.c | 111 unsigned bufsize; local 123 bufsize = numifs * sizeof (struct ifreq); 124 buf = (char *)malloc(bufsize); 130 ifc.ifc_len = bufsize;
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_sendsigned.c | 36 int newmsglen, bufsize, siglen; local 52 bufsize = msglen + 1024; 53 newmsg = (u_char *) malloc(bufsize); 78 ret = ns_sign(newmsg, &newmsglen, bufsize, NOERROR, dstkey, NULL, 0,
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | bitmap.c | 63 s64 bufsize, br, left = count; local 79 bufsize = ((count - (bit ? 8 - bit : 0) + 7) >> 3) + firstbyte; 80 if (bufsize > 8192) 81 bufsize = 8192; 83 buf = (u8*)ntfs_malloc(bufsize); 88 memset(buf, value ? 0xff : 0, bufsize); 126 if (lastbyte_pos <= bufsize) { 157 br = ntfs_attr_pwrite(na, tmp, bufsize, buf); 158 if (br != bufsize) { 167 tmp = (bufsize [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/file/ |
H A D | ktfile.h | 62 size_t bufsize; /* total size of data buffer */ member in struct:_krb5_ktfile_data
|
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | setflabel.c | 80 size_t bufsize = sizeof (labeld_data_t); local 111 if (datasize > bufsize) { 115 bufsize = datasize; 123 if (__call_labeld(&callp, &bufsize, &datasize) == SUCCESS) { 127 (void) munmap((void *)callp, bufsize); 147 (void) munmap((void *)callp, bufsize);
|
H A D | stob.c | 104 size_t bufsize = sizeof (labeld_data_t); local 127 if (datasize > bufsize) { 133 bufsize = datasize; 141 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == SUCCESS) { 145 (void) munmap((void *)callp, bufsize); 163 (void) munmap((void *)callp, bufsize); 177 (void) munmap((void *)callp, bufsize); 228 size_t bufsize = sizeof (labeld_data_t); local 242 if (datasize > bufsize) { 248 bufsize [all...] |
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_config.c | 53 static int super_fgets(char **buf, size_t *bufsize, FILE *fp) { argument 58 real_bufsize = *bufsize; 70 *bufsize *= 2; 71 if (!(*buf = realloc(*buf, *bufsize))) { 76 real_bufsize = *bufsize - readlen;
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getifaddrs.c | 228 size_t bufsize; local 246 bufsize = (lifn.lifn_count + 4) * sizeof (struct lifreq); 248 if ((tmp = realloc(*buf, bufsize)) == NULL) 254 lifc.lifc_len = bufsize;
|
H A D | interface_id.c | 118 size_t bufsize; local 160 bufsize = numifs * sizeof (struct lifreq); 161 buf = malloc(bufsize); 170 lifc.lifc_len = bufsize; 229 size_t bufsize; local 246 bufsize = numifs * sizeof (struct lifreq); 247 buf = malloc(bufsize); 256 lifc.lifc_len = bufsize;
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | smb_reparse.c | 303 * bufsize to the required buffer length. 311 size_t bufsize; local 314 bufsize = DFS_REF_RSP_BUF_SZ; 316 if ((buf = malloc(bufsize)) == NULL) 319 rc = reparse_deref(stype, sdata, buf, &bufsize); 322 if ((buf = malloc(bufsize)) == NULL) 324 rc = reparse_deref(stype, sdata, buf, &bufsize); 332 xdrmem_create(&xdr, buf, bufsize, XDR_DECODE);
|
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfdcdio.c | 157 int sfdcdio(Sfio_t* f, size_t bufsize) argument 159 int sfdcdio(f, bufsize) 161 size_t bufsize; 187 if(bufsize > 0) 188 bufsize = (bufsize/dio.d_miniosz)*dio.d_miniosz; 189 if(bufsize <= 0) 190 bufsize = dio.d_miniosz*64; 191 if(bufsize > dio.d_maxiosz) 192 bufsize [all...] |
/osnet-11/usr/src/lib/libndmp/common/ |
H A D | libndmp_door_data.c | 296 ndmp_door_get_buf(ndmp_door_ctx_t *ctx, unsigned char *buf, int bufsize) argument 305 if (bufsize < len) {
|
/osnet-11/usr/src/cmd/sendmail/db/db/ |
H A D | db_overflow.c | 358 u_int32_t bufsize, cmp_bytes, key_left; local 369 bufsize = 0; 372 &local_dbt, tlen, pgno, &buf, &bufsize)) != 0) 375 __os_free(buf, bufsize);
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfscat.c | 335 const int bufsize = 4096; local 342 buffer = malloc(bufsize); 369 bytes_read = ntfs_attr_pread(attr, offset, bufsize, buffer);
|