/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getbootparams.c | 50 * If more than one bootparameter is available, a white space separated buffer 62 char *buffer, **names; local 69 if ((be->buffer = calloc(1, buflen)) == NULL) { 73 buffer = be->buffer; 75 buffer = argp->buf.buffer; 78 (void) memset(argp->buf.buffer, 0, buflen); 104 len = snprintf(buffer, buflen, "%s", 107 len = snprintf(buffer, bufle [all...] |
H A D | getnetmasks.c | 54 * getnetmaskbykey set argp->buf.buffer to NULL and argp->buf.buflen to 0 70 char *buffer, **netmask; local 86 if ((be->buffer = calloc(1, len)) == NULL) { 91 buffer = be->buffer; 93 buffer = argp->buf.buffer; 96 (void) snprintf(buffer, len, "%s", netmask[0]);
|
H A D | tsol_gettpent.c | 63 char *buffer = NULL; local 86 if ((be->buffer = calloc(1, len)) == NULL) { 91 buffer = be->buffer; 93 buffer = argp->buf.buffer; 95 (void) snprintf(buffer, len, "%s:%s", template[0], attrs[0]);
|
/osnet-11/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.h | 78 char *buffer; member in struct:mdns_querydata
|
/osnet-11/usr/src/lib/nsswitch/nis/common/ |
H A D | getspent.c | 41 * wherein the field pointers would be set to areas in the buffer if 42 * need be. instring and buffer should be separate areas. Let's not 46 nis_str2spent(const char *instr, int lenstr, void *ent, char *buffer, argument 69 (void) memcpy(buffer, instr, q - instr); 71 buffer[p - instr] = '\0'; 72 buffer[q - instr] = '\0'; 74 spwd->sp_namp = buffer; 75 spwd->sp_pwdp = buffer + (p + 1 - instr); 89 r = buffer + (q - instr); 91 if (strlcat(buffer, " [all...] |
/osnet-11/usr/src/lib/pam_modules/krb5/ |
H A D | utils.c | 55 char buffer[1024]; local 57 if (getpwnam_r(user, &sp, buffer, sizeof (buffer)) == NULL) { 75 char buffer[1024]; local 77 if (getpwnam_r(user, &sp, buffer, sizeof (buffer)) == NULL) {
|
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_cookie.c | 95 DAPL_COOKIE_BUFFER *buffer, 100 DAPL_COOKIE_BUFFER *buffer, 117 * buffer pointer to DAPL_COOKIE_BUFFER 131 IN DAPL_COOKIE_BUFFER *buffer, 151 buffer->pool = dapl_os_alloc(size * sizeof (DAPL_COOKIE)); 152 if (NULL != buffer->pool) { 153 buffer->pool_size = size; 154 buffer->head = 0; 155 buffer->tail = 0; 158 buffer 130 dapls_cb_create( IN DAPL_COOKIE_BUFFER *buffer, IN void *queue, IN DAPL_COOKIE_QUEUE_TYPE type, IN DAT_COUNT size) argument 253 dapls_cb_free( IN DAPL_COOKIE_BUFFER *buffer) argument 281 dapls_cb_get( IN DAPL_COOKIE_BUFFER *buffer, OUT DAPL_COOKIE **cookie_ptr) argument 323 dapls_cb_put( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_COOKIE *cookie) argument 351 dapls_rmr_cookie_alloc( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_RMR *rmr, IN DAT_RMR_COOKIE user_cookie, OUT DAPL_COOKIE **cookie_ptr) argument 397 dapls_dto_cookie_alloc( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_DTO_TYPE type, IN DAT_DTO_COOKIE user_cookie, OUT DAPL_COOKIE **cookie_ptr) argument 420 dapls_cookie_dealloc( IN DAPL_COOKIE_BUFFER *buffer, IN DAPL_COOKIE *cookie) argument [all...] |
/osnet-11/usr/src/lib/libprtdiag/common/ |
H A D | display_funcs.c | 151 char buffer[1024]; local 159 len = vsprintf(buffer, fmt, ap); 160 (void) strcat(bigbuf, buffer); 163 if (buffer[len-1] == '\n') {
|
/osnet-11/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_newmsg.c | 42 ns_newmsg_init(u_char *buffer, size_t bufsiz, ns_newmsg *handle) { argument 46 msg->_msg = buffer; 47 msg->_eom = buffer + bufsiz; 50 msg->_msg_ptr = buffer + NS_HFIXEDSZ;
|
/osnet-11/usr/src/lib/libsmedia/library/common/ |
H A D | l_generic.c | 127 diskaddr_t offset, caddr_t buffer, size_t size) 134 r_p.buffer = buffer; 143 diskaddr_t offset, caddr_t buffer, size_t size) 150 r_p.buffer = buffer; 126 smedia_raw_read(smedia_handle_t handle, diskaddr_t offset, caddr_t buffer, size_t size) argument 142 smedia_raw_write(smedia_handle_t handle, diskaddr_t offset, caddr_t buffer, size_t size) argument
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | ether_addr.c | 162 * Also, it will place the resulting hostname into b->buf.buffer 163 * only if b->buf.buffer is initialized. I.e. it always happens 169 * is a read-only, not necessarily null-terminated, buffer. 173 * wherein the field pointers would be set to areas in the buffer if 174 * need be. instring and buffer should be separate areas. 182 str2ether(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 185 char *host = buffer;
|
H A D | netmasks.c | 61 * to be MT safe, use a passed in buffer like otherget*_r APIs. 218 * in buffer for use by check_addr for 'files' backend, to match the network 219 * address. The network address is placed in the buffer as a network order 220 * internet address, if buffer is non null. The network order form of the mask 224 str2addr(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 240 if (buffer) { /* for 'files' backend verification */ 251 (void) memcpy(buffer, (char *)&addr,
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 58 static nss_XbyY_buf_t *buffer; variable 60 NSS_XbyY_ALLOC(&buffer, sizeof (struct hostent), NSS_BUFLEN_HOSTS) 70 return (gethostbyname_r(nam, b->result, b->buffer, b->buflen, 86 b->result, b->buffer, b->buflen, &h_errno)); 96 return (gethostent_r(b->result, b->buffer, b->buflen, &h_errno)); 102 * wherein the field pointers would be set to areas in the buffer if 103 * need be. instring and buffer should be separate areas. 106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, argument 118 if ((instr >= buffer && (buffer [all...] |
H A D | getrpcent_r.c | 55 getrpcbyname_r(const char *name, struct rpcent *result, char *buffer, argument 65 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2rpcent); 75 getrpcbynumber_r(const int number, struct rpcent *result, char *buffer, argument 81 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2rpcent); 106 getrpcent_r(struct rpcent *result, char *buffer, int buflen) argument 111 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2rpcent); 119 str2rpcent(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 127 if ((instr >= buffer && (buffer + buflen) > instr) || 128 (buffer > [all...] |
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | ifspec.c | 215 char buffer[MAXLINKNAMESPECIFIER]; local 227 if ((namelen = strlcpy(buffer, name, sizeof (buffer))) >= 228 sizeof (buffer)) 231 if ((zonetoken = strtok_r(buffer, search, &last)) == NULL)
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | ktbase.c | 268 krb5_keytab_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenremain) argument 279 kret = (*shandle->externalizer)(kcontext, arg, buffer, lenremain); 284 krb5_keytab_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *lenremain) argument 292 kret = (*shandle->internalizer)(kcontext, argp, buffer, lenremain);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | ccdefname.c | 139 char* buffer, 150 if (buffer != dir) { 151 strncpy(buffer, dir, buf_len); 152 buffer[buf_len-1]='\0'; 154 strncat(buffer, APPEND_KRB5CC, buf_len-strlen(buffer)); 155 buffer[buf_len-1] = '\0'; 137 try_dir( char* dir, char* buffer, int buf_len ) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/ |
H A D | file.c | 237 char *buffer = buf; local 245 amt_read = (file->fs->read) (file, buffer, readsz); 254 buffer += amt_read;
|
H A D | parser.c | 102 /* XXX: Fixed size buffer, perhaps this buffer should be dynamically 104 char buffer[1024]; local 105 char *bp = buffer; 139 /* Insert the contents of the variable in the buffer. */ 167 the buffer. */ 182 if (bp != buffer && *(bp - 1)) 200 if (bp != buffer && *(bp - 1)) 207 args = grub_malloc (bp - buffer); 210 grub_memcpy (args, buffer, b [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/script/ |
H A D | lexer.c | 135 YY_BUFFER_STATE buffer; local 198 buffer = yy_scan_string (line, lexerstate->yyscanner); 201 if (! buffer)
|
/osnet-11/usr/src/lib/crypt_modules/bsdbf/ |
H A D | bcrypt.c | 110 decode_base64(uint8_t *buffer, uint16_t len, uint8_t *data) argument 112 uint8_t *bp = buffer; 115 while (bp < buffer + len) { 124 if (bp >= buffer + len) 132 if (bp >= buffer + len) 286 encode_base64(uint8_t *buffer, uint8_t *data, uint16_t len) argument 288 uint8_t *bp = buffer;
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfscat.c | 336 char *buffer; local 342 buffer = malloc(bufsize); 343 if (!buffer) 350 free(buffer); 365 bytes_read = ntfs_attr_mst_pread(attr, offset, 1, block_size, buffer); 369 bytes_read = ntfs_attr_pread(attr, offset, bufsize, buffer); 379 written = fwrite(buffer, 1, bytes_read, stdout); 388 free(buffer);
|
/osnet-11/usr/src/lib/libbsm/common/ |
H A D | au_open.c | 44 * and since realloc loses data if it fails to expand the buffer, 169 char *buffer; /* to build record into */ local 242 if ((buffer = malloc((size_t)byte_count)) == NULL) { 255 adr_start(&adr, buffer); 286 v = audit((caddr_t)buffer, byte_count); 287 free(buffer);
|
H A D | audit_crontab.c | 265 char buffer[PWD_BUFFER_SIZE]; local 269 if (getpwnam_r(user, &pwd, buffer, PWD_BUFFER_SIZE) == NULL) {
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getauthattr.c | 56 * wherein the field pointers would be set to areas in the buffer if 57 * need be. instring and buffer should be separate areas. 72 /* Terminate the buffer */ 108 _getauthattr(authstr_t *result, char *buffer, int buflen, int *h_errnop) argument 113 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2authattr); 122 _getauthnam(const char *name, authstr_t *result, char *buffer, int buflen, argument 128 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2authattr);
|