Searched defs:buffer (Results 1 - 25 of 321) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Drel_buffer.c43 gss_buffer_t buffer)
48 /* if buffer is NULL, return */
50 if (buffer == GSS_C_NO_BUFFER)
53 if (buffer->value) {
54 free(buffer->value);
55 buffer->length = 0;
56 buffer->value = NULL;
41 generic_gss_release_buffer( OM_uint32 *minor_status, gss_buffer_t buffer) argument
H A Dutil_buffer.c32 make sure that buffer is consistent (release'able) when this
35 int g_make_string_buffer(const char *str, gss_buffer_t buffer) argument
37 buffer->length = strlen(str);
39 if ((buffer->value = strdup(str)) == NULL) {
40 buffer->length = 0;
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dlongname.c50 static char buffer[128]; local
57 buffer, strrchr(cur_term->_names, '|') + 1, sizeof buffer - 1
60 return __m_return_pointer("longname", buffer);
H A Dvw_print.c58 static char buffer[LINE_MAX]; local
64 /* Assume that sizeof buffer is sufficently large to
68 (void) vsprintf(buffer, fmt, ap);
70 (void) vsprintf(buffer, fmt, (va_list) ap);
73 return __m_return_code("vw_printw", waddnstr(w, buffer, -1));
H A Dvw_scanw.c60 char buffer[LINE_MAX]; local
65 if ((code = wgetnstr(w, buffer, (int) sizeof buffer)) == OK)
67 (void) m_vsscanf(buffer, fmt, ap);
69 (void) m_vsscanf(buffer, fmt, (va_list) ap);
H A Dvwprintw.c67 static char buffer[LINE_MAX]; local
73 /* Assume that sizeof buffer is sufficently large to
77 (void) vsprintf(buffer, fmt, ap);
79 (void) vsprintf(buffer, fmt, (va_list) ap);
82 return __m_return_code("vwprintw", waddnstr(w, buffer, -1));
H A Dvwscanw.c69 char buffer[LINE_MAX]; local
74 if ((code = wgetnstr(w, buffer, (int) sizeof buffer)) == OK)
76 (void) m_vsscanf(buffer, fmt, ap);
78 (void) m_vsscanf(buffer, fmt, (va_list) ap);
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dlongname.c53 static char buffer[128]; local
55 (void) strncpy(buffer, strrchr(cur_term->_names, '|') + 1,
56 sizeof (buffer) - 1);
58 return (buffer);
H A Dtgetent.c61 tgetent(char *buffer, const char *name) argument
H A Dvw_scanw.c60 char buffer[LINE_MAX]; local
62 if (wgetnstr(w, buffer, (int)sizeof (buffer)) != OK)
64 code = _vsscanf(buffer, fmt, ap);
/osnet-11/usr/src/lib/sun_fc/common/
H A DSun_fcGetEventBuffer.cc39 PHBA_EVENTINFO buffer, HBA_UINT32 *count) {
38 Sun_fcGetEventBuffer(HBA_HANDLE handle, PHBA_EVENTINFO buffer, HBA_UINT32 *count) argument
/osnet-11/usr/src/lib/libmail/common/
H A Dcopystream.c54 char buffer[BUFSIZ]; local
57 while ((nread = fread(buffer, sizeof (char), sizeof (buffer),
59 if (fwrite(buffer, sizeof (char), nread, outfp) != nread)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dcksumtype_to_string.c31 krb5_cksumtype_to_string(krb5_cksumtype cksumtype, char *buffer, size_t buflen) argument
41 strcpy(buffer, krb5int_cksumtypes_list[i].out_string);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dclock.c44 struct tms buffer; local
49 if (times(&buffer) == (clock_t)-1)
54 first = TIMES(buffer);
57 return ((TIMES(buffer) - first) * (CLOCKS_PER_SEC/Hz));
H A Dctime_r.c94 ctime_r(const time_t *t, char *buffer, int buflen) argument
101 if (asctime_r(&res, buffer, buflen) == NULL)
104 return (buffer);
112 __posix_ctime_r(const time_t *t, char *buffer) argument
119 if (__posix_asctime_r(&res, buffer) == NULL)
122 return (buffer);
/osnet-11/usr/src/lib/libsasl/include/
H A Dmd5_private.h42 unsigned char buffer[64]; /* input buffer */ member in struct:__anon2474
/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetnetent.c44 static nss_XbyY_buf_t *buffer; variable
46 NSS_XbyY_ALLOC(&buffer, (int)sizeof (struct netent), NSS_BUFLEN_NETWORKS)
56 res = getnetbyname_r(nam, b->result, b->buffer, b->buflen);
69 b->buffer, b->buflen);
81 res = getnetent_r(b->result, b->buffer, b->buflen);
H A Dgetprotoent.c44 static nss_XbyY_buf_t *buffer; variable
46 NSS_XbyY_ALLOC(&buffer, (int)sizeof (struct protoent), NSS_BUFLEN_PROTOCOLS)
56 res = getprotobyname_r(nam, b->result, b->buffer, b->buflen);
69 b->buffer, b->buflen);
81 res = getprotoent_r(b->result, b->buffer, b->buflen);
H A Dgetservent.c43 static nss_XbyY_buf_t *buffer; variable
45 NSS_XbyY_ALLOC(&buffer, (int)sizeof (struct servent), NSS_BUFLEN_SERVICES)
56 b->result, b->buffer, b->buflen);
69 b->result, b->buffer, b->buflen);
81 res = getservent_r(b->result, b->buffer, b->buflen);
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dcompat.c47 char *buffer, int buflen, int *h_errnop )
56 hep = (struct hostent_data *)buffer;
46 nsldapi_compat_gethostbyname_r( const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop ) argument
/osnet-11/usr/src/lib/libnsl/nss/
H A Dgethostby_door.c42 _door_gethostbyname_r(const char *name, struct hostent *result, char *buffer, argument
46 result, buffer, buflen, h_errnop));
51 struct hostent *result, char *buffer, int buflen, int *h_errnop)
54 length, type, result, buffer, buflen, h_errnop));
50 _door_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument
H A Dgetrpcent.c45 static nss_XbyY_buf_t *buffer; variable
47 NSS_XbyY_ALLOC(&buffer, sizeof (struct rpcent), NSS_BUFLEN_RPC)
57 return (getrpcbyname_r(nam, b->result, b->buffer, b->buflen));
67 return (getrpcbynumber_r(num, b->result, b->buffer, b->buflen));
77 return (getrpcent_r(b->result, b->buffer, b->buflen));
/osnet-11/usr/src/lib/libpkg/common/
H A Dlogerr.c42 char *pt, buffer[2048]; local
62 (void) vsprintf(buffer, fmt, ap);
66 for (pt = buffer; *pt; pt++) {
/osnet-11/usr/src/lib/libcurses/screen/
H A Dvwprintw.c67 char *buffer; local
70 buffer = (char *) malloc(size);
71 if (buffer == NULL)
75 n = vsnprintf(buffer, size, fmt, ap);
79 buffer = (char *) realloc(buffer, size);
80 if (buffer == NULL)
84 rv = waddstr(win, buffer);
85 free(buffer);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/et/
H A Derror_message.c28 static char buffer[25]; variable
96 strlcpy (buffer, dgettext(TEXT_DOMAIN, "Unknown code "), sizeof (buffer));
97 for (cp = buffer; *cp; cp++)
110 return(buffer);

Completed in 92 milliseconds

1234567891011>>