Searched defs:buffer (Results 51 - 75 of 321) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libc/sparc/gen/
H A Decvt.c103 qgcvt(long double number, int ndigits, char *buffer) argument
105 return (qgconvert(&number, ndigits, 0, buffer));
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Decvt.c103 qgcvt(long double number, int ndigits, char *buffer) argument
105 return (qgconvert(&number, ndigits, 0, buffer));
/osnet-11/usr/src/lib/nsswitch/ad/common/
H A Dgetspent.c34 char *buffer; local
49 buffer = be->buffer = malloc(buflen);
50 if (be->buffer == NULL)
57 buffer = argp->buf.buffer;
60 buflen = snprintf(buffer, buflen, "%s@%s:*NP*:::::::",
H A Dgetgrent.c34 char *buffer; local
42 buffer = be->buffer = malloc(buflen);
43 if (be->buffer == NULL)
50 buffer = argp->buf.buffer;
53 (void) snprintf(buffer, buflen, "%s@%s::%u:", name, domain, gid);
/osnet-11/usr/src/lib/nsswitch/mdns/common/
H A Dgethostent.c63 char buffer[sizeof ("255.255.255.255.in-addr.arpa.")]; local
86 (void) snprintf(buffer, sizeof (buffer),
90 return (_nss_mdns_querybyaddr(be, buffer, qdata.af, &qdata));
/osnet-11/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c94 char buffer[NSS_BUFLEN_PASSWD]; local
127 if (getpwnam_r(user, &pwd, buffer, sizeof (buffer)) == NULL) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dapiutil.c325 char buffer[BUFSIZ]; local
330 (void) vsnprintf(buffer, sizeof (buffer), fmt, pvar);
332 syslog(type, buffer);
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dlogging_p.h57 char buffer[LOG_BUFFER_SIZE]; member in struct:log_context
/osnet-11/usr/src/lib/libsmedia/library/common/
H A Dl_defines.h40 char *buffer; member in struct:raw_params
/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetnetent_r.c59 char *buffer, int buflen)
68 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2netent);
80 char *buffer, int buflen)
85 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2netent);
114 getnetent_r(struct netent *result, char *buffer, int buflen) argument
119 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2netent);
130 * wherein the field pointers would be set to areas in the buffer if
131 * need be. instring and buffer should be separate areas.
135 void *ent /* really (struct netnet *) */, char *buffer, int buflen)
143 if ((instr >= buffer
58 getnetbyname_r(const char *name, struct netent *result, char *buffer, int buflen) argument
79 getnetbyaddr_r(long net, int type, struct netent *result, char *buffer, int buflen) argument
134 str2netent(const char *instr, int lenstr, void *ent , char *buffer, int buflen) argument
[all...]
H A Dgetprotoent_r.c55 char *buffer, int buflen)
64 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2protoent);
75 getprotobynumber_r(int proto, struct protoent *result, char *buffer, int buflen) argument
80 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2protoent);
108 getprotoent_r(struct protoent *result, char *buffer, int buflen) argument
113 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2protoent);
124 * wherein the field pointers would be set to areas in the buffer if
125 * need be. instring and buffer should be separate areas. Let's not
131 char *buffer, int buflen)
139 if ((instr >= buffer
54 getprotobyname_r(const char *name, struct protoent *result, char *buffer, int buflen) argument
129 str2protoent(const char *instr, int lenstr, void *ent , char *buffer, int buflen) argument
[all...]
/osnet-11/usr/src/lib/libdns_sd/common/
H A Ddnssd_ipc.c106 int get_string(char **ptr, char *buffer, int buflen) argument
109 strncpy(buffer, *ptr, buflen - 1);
110 buffer[buflen - 1] = '\0';
111 *ptr += strlen(buffer) + 1;
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dcmd.c293 char *buffer; local
328 buffer = (char *)calloc(
332 if (buffer == NULL) {
343 returned_value = read(filedes, buffer,
358 len = strlen(buffer);
377 * Concatenate the the new string in 'buffer'
378 * with whatever is in the 'ret_val' buffer.
382 ret_val, buffer);
395 (void) free(buffer);
/osnet-11/usr/src/lib/libipmp/common/
H A Dipmp_mpathd.c117 * time becomes `endtp'. The buffer pointed to by `*valuep' will be
158 * Write `buflen' bytes from `buffer' to open file `fd'. Returns IPMP_SUCCESS
162 ipmp_write(int fd, const void *buffer, size_t buflen) argument
166 const char *buf = buffer;
203 * Attempt to read `buflen' worth of bytes from `fd' into the buffer pointed
208 ipmp_read(int fd, void *buffer, size_t buflen, const struct timeval *endtp) argument
253 prbytes = read(fd, (caddr_t)buffer + nbytes, buflen - nbytes);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dcf2.c55 char *buffer = NULL; local
68 buffer = k5alloc(iterations * prflen, &retval);
78 out_data.data = buffer;
89 *out = buffer;
90 buffer = NULL;
93 free(buffer);
H A Denctype_util.c100 krb5_enctype_to_string(krb5_enctype enctype, char *buffer, size_t buflen) argument
107 if (strlcpy(buffer, ktp->out_string, buflen) >= buflen)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dser_ctx.c184 krb5_context_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenremain)
194 bp = *buffer;
339 *buffer = bp;
350 krb5_context_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *lenremain)
359 bp = *buffer;
512 *buffer = bp;
546 krb5_oscontext_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenremain)
555 bp = *buffer;
571 *buffer = bp;
584 krb5_oscontext_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_
183 krb5_context_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenremain) argument
348 krb5_context_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *lenremain) argument
542 krb5_oscontext_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenremain) argument
579 krb5_oscontext_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *lenremain) argument
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dchpass_util.c61 * pw_ret (output) if non-NULL, points to a static buffer
64 * that is non-NULL). If the former, then the buffer
76 * A msg_ret should point to a buffer large enough for the messasge.
95 static char buffer[255]; local
113 pwsize = sizeof(buffer);
116 buffer, &pwsize);
121 new_password = buffer;
124 memset(buffer, 0, sizeof(buffer));
144 memset(buffer,
[all...]
/osnet-11/usr/src/lib/libadm/common/
H A Dckrange.c96 char buffer[64]; local
102 (void) sprintf(buffer, "%ld-%ld", lower, upper);
116 choices[0] = buffer;
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dbufio.c40 char buffer[0]; member in struct:grub_bufio
118 /* First part: use whatever we already have in the buffer. */
130 grub_memcpy (buf, &bufio->buffer[pos], n);
156 /* Partial read. File ended unexpectedly. Save the last chunk in buffer.
164 grub_memcpy (&bufio->buffer[0], buf - bufio->buffer_len,
170 /* Read into buffer. */
172 really_read = grub_file_read (bufio->file, bufio->buffer,
184 grub_memcpy (buf, &bufio->buffer[file->offset + res - next_buf], len);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetauuser.c57 * wherein the field pointers would be set to areas in the buffer if
58 * need be. instring and buffer should be separate areas.
61 str2auuser(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument
70 if (instr != buffer)
71 (void) strncpy(buffer, instr, buflen);
77 if (buffer[lenstr] == '\n') {
78 buffer[lenstr] = '\0';
85 au_user->au_name = _strtok_escape(buffer, sep, &last);
112 _getauuserent(au_user_str_t *result, char *buffer, int buflen, int *h_errnop) argument
117 NSS_XbyY_INIT(&arg, result, buffer, bufle
126 _getauusernam(const char *name, au_user_str_t *result, char *buffer, int buflen, int *errnop) argument
[all...]
H A Dparse.c147 * read a line into buffer from a mmap'ed file.
151 _readbufline(char *mapbuf, /* input mmap buffer */ argument
153 char *buffer, /* output storage */
164 buffer[linelen - 1] == '\\') {
167 buffer[linelen] = '\n';
168 buffer[linelen + 1] = '\0';
176 buffer[linelen - 1] == '\\') {
179 buffer[linelen] = '\n';
180 buffer[linelen + 1] = '\0';
185 buffer[linele
[all...]
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_gettpent.c162 str_to_tpstr(const char *instr, int lenstr, void *entp, char *buffer, argument
170 if ((instr >= buffer && (buffer + buflen) > instr) ||
171 (buffer >= instr && (instr + lenstr) > buffer))
175 (void) strncpy(buffer, instr, buflen);
176 tpstrp->tpstr_template = _strtok_escape(buffer, sep, &last);
/osnet-11/usr/src/lib/libwrap/
H A Drfc931.c89 char buffer[512]; /* XXX */ local
169 if (fgets(buffer, sizeof(buffer), fp) != 0
171 && sscanf(buffer, "%u , %u : USERID :%*[^:]:%255s",
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtparm.c115 static char buffer[256]; variable
136 char *bufptr = buffer;
375 return __m_return_pointer("tparm", buffer);

Completed in 93 milliseconds

1234567891011>>