/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getprofattr.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. 60 _str2profattr(const char *instr, int lenstr, void *ent, char *buffer, argument 70 if (instr != buffer) 71 (void) memcpy(buffer, instr, lenstr); 73 /* Terminate the buffer */ 74 buffer[lenstr] = '\0'; 80 prof->name = _strtok_escape(buffer, sep, &last); 108 _getprofattr(profstr_t *result, char *buffer, int buflen, int *h_errnop) argument 113 NSS_XbyY_INIT(&arg, result, buffer, bufle 122 _getprofnam(const char *name, profstr_t *result, char *buffer, int buflen, int *errnop) argument [all...] |
H A D | getpwnam_r.c | 55 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer, 59 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer, 67 getpwnam_r(const char *name, struct passwd *result, char *buffer, int buflen) argument 75 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); 87 getpwuid_r(uid_t uid, struct passwd *result, char *buffer, int buflen) argument 91 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); 100 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer, argument 105 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); 118 __posix_getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, argument 125 if ((*result = getpwuid_r(uid, pwd, buffer, (uintptr_ 134 _uncached_getpwnam_r(const char *name, struct passwd *result, char *buffer, int buflen) argument 151 __posix_getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument 180 getpwent_r(struct passwd *result, char *buffer, int buflen) argument 199 fgetpwent_r(FILE *f, struct passwd *result, char *buffer, int buflen) argument 241 str2passwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument [all...] |
H A D | getspent_r.c | 54 getspnam_r(const char *name, struct spwd *result, char *buffer, int buflen) argument 58 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2spwd); 79 getspent_r(struct spwd *result, char *buffer, int buflen) argument 87 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2spwd); 98 fgetspent_r(FILE *f, struct spwd *result, char *buffer, int buflen) argument 106 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2spwd); 176 * wherein the field pointers would be set to areas in the buffer if 177 * need be. instring and buffer should be separate areas. 180 str2spwd(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument 202 if (instr != buffer) { [all...] |
H A D | getuserattr.c | 66 * wherein the field pointers would be set to areas in the buffer if 67 * need be. instring and buffer should be separate areas. 82 /* Terminate the buffer */ 117 _getuserattr(userstr_t *result, char *buffer, int buflen, int *h_errnop) argument 122 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2userattr); 131 _fgetuserattr(FILE *f, userstr_t *result, char *buffer, int buflen) argument 135 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2userattr); 143 _getusernam(const char *name, userstr_t *result, char *buffer, int buflen, argument 149 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2userattr);
|
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_getrhent.c | 168 str_to_rhstr(const char *instr, int lenstr, void *entp, char *buffer, argument 178 if ((instr >= buffer && (buffer + buflen) > instr) || 179 (buffer >= instr && (instr + lenstr) > buffer)) 183 (void) strncpy(buffer, instr, buflen); 186 * Remove trailing white spaces before parsing buffer 188 if (buffer != NULL) { 189 for (ptr = buffer + strlen(buffer) [all...] |
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | tparm.c | 122 static char buffer[256]; variable 139 char *bufptr = buffer; 385 return (buffer);
|
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetAssociatedPathOidList.c | 51 struct stat buffer; local 158 status = stat(fullName, &buffer); 210 struct stat buffer; local 343 status = stat(fullName, &buffer); 539 "buffer size too small, need : %d",
|
H A D | MP_GetMPLuOidListFromTPG.c | 150 struct stat buffer; local 265 status = stat(fullName, &buffer);
|
/osnet-11/usr/src/lib/ncad_addr/common/ |
H A D | ncad_addr.c | 97 char buffer[1024]; local 111 while (fgets(buffer, sizeof (buffer), fp) != NULL) { 112 s = buffer;
|
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | getauthattr.c | 69 char *buffer = NULL; local 80 (void) memset(argp->buf.buffer, 0, buflen); 126 if ((be->buffer = calloc(1, len)) == NULL) { 130 buffer = be->buffer; 132 buffer = argp->buf.buffer; 133 (void) snprintf(buffer, len, "%s:%s:%s:%s:%s:%s", 138 be->buflen = strlen(be->buffer);
|
H A D | getauuser.c | 63 char *buffer = NULL; local 72 (void) memset(argp->buf.buffer, 0, buflen); 100 if ((be->buffer = calloc(1, len)) == NULL) { 104 buffer = be->buffer; 106 buffer = argp->buf.buffer; 107 (void) snprintf(buffer, len, "%s:%s:%s", 111 be->buflen = strlen(be->buffer);
|
H A D | getkeyent.c | 73 char *buffer, *pkey, *skey; local 82 (void) memset(argp->buf.buffer, 0, buflen); 133 * copy the result to buf.buffer directly 135 buffer = argp->buf.buffer; 137 (void) snprintf(buffer, len, "%s:%s", pkey, skey);
|
H A D | getnetent.c | 68 char *buffer = NULL; local 77 if ((be->buffer = calloc(1, buflen)) == NULL) { 81 buffer = be->buffer; 83 buffer = argp->buf.buffer; 86 (void) memset(argp->buf.buffer, 0, buflen); 117 len = snprintf(buffer, buflen, "%s %s", cname, network[0]); 118 TEST_AND_ADJUST(len, buffer, buflen, result_net2str); 127 len = snprintf(buffer, bufle [all...] |
H A D | getprinter.c | 58 * values into argp->buf.buffer. Three error conditions are expected and 71 char *buffer = NULL; local 84 be->buffer = calloc(1, buflen); 85 if (be->buffer == NULL) 88 buffer = be->buffer; 90 buffer = argp->buf.buffer; 91 (void) memset(argp->buf.buffer, 0, buflen); 109 len = snprintf(buffer, bufle [all...] |
H A D | getprofattr.c | 65 char *buffer = NULL; local 75 (void) memset(argp->buf.buffer, 0, buflen); 114 if ((be->buffer = calloc(1, len)) == NULL) { 118 buffer = be->buffer; 120 buffer = argp->buf.buffer; 121 (void) snprintf(buffer, len, "%s:%s:%s:%s:%s", 125 be->buflen = strlen(be->buffer);
|
H A D | getprojent.c | 73 char *buffer, *comment, *attr_str; local 84 if ((be->buffer = calloc(1, buflen)) == NULL) { 88 buffer = be->buffer; 90 buffer = argp->buf.buffer; 93 (void) memset(buffer, 0, buflen); 110 len = snprintf(buffer, buflen, "%s:%s:%s:", name[0], id[0], 112 TEST_AND_ADJUST(len, buffer, buflen, result_proj2str); 123 len = snprintf(buffer, bufle [all...] |
H A D | getprotoent.c | 140 char *buffer = NULL, **number, *alias; local 149 if ((be->buffer = calloc(1, buflen)) == NULL) { 153 buffer = be->buffer; 155 buffer = argp->buf.buffer; 158 (void) memset(argp->buf.buffer, 0, buflen); 177 len = snprintf(buffer, buflen, "%s %s", cname, number[0]); 178 TEST_AND_ADJUST(len, buffer, buflen, result_pls2str); 183 len = snprintf(buffer, bufle [all...] |
H A D | getrpcent.c | 65 char *buffer = NULL; local 73 (void) memset(argp->buf.buffer, 0, buflen); 77 if ((be->buffer = calloc(1, buflen)) == NULL) { 81 buffer = be->buffer; 83 buffer = argp->buf.buffer; 103 len = snprintf(buffer, buflen, "%s %s", cname, rpcnumber[0]); 104 TEST_AND_ADJUST(len, buffer, buflen, result_rpc2str); 113 len = snprintf(buffer, bufle [all...] |
H A D | getuserattr.c | 68 char *buffer = NULL; local 78 (void) memset(argp->buf.buffer, 0, buflen); 119 if ((be->buffer = calloc(1, len)) == NULL) { 123 buffer = be->buffer; 125 buffer = argp->buf.buffer; 126 (void) snprintf(buffer, len, "%s:%s:%s:%s:%s", 130 be->buflen = strlen(be->buffer);
|
H A D | tsol_getrhent.c | 78 char *buffer = NULL; local 112 if ((be->buffer = calloc(1, len)) == NULL) { 117 buffer = be->buffer; 119 buffer = argp->buf.buffer; 121 (void) snprintf(buffer, len, "%s:%s", addr_out, template[0]);
|
/osnet-11/usr/src/lib/pam_modules/authtok_check/ |
H A D | packlib.c | 245 char buffer[NUMWORDS * MAXWORDLEN]; local 269 if (!fread(buffer, 1, sizeof (buffer), pwp->dfp)) { 275 bptr = buffer;
|
/osnet-11/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_setcred.c | 501 char buffer[512]; local 503 if (snprintf(buffer, sizeof (buffer), 505 (int)uuid) >= sizeof (buffer)) { 514 kmd->env = strdup(buffer);
|
/osnet-11/usr/src/lib/rad/libjniutil/common/ |
H A D | libjniutil.c | 139 char buffer[1000]; local 141 (void) vsnprintf(buffer, sizeof (buffer), format, alist); 147 jdesc = (*env)->NewStringUTF(env, buffer);
|
/osnet-11/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 80 _getprojent(struct project *result, void *buffer, size_t buflen) argument 84 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2project); 90 _fgetprojent(FILE *f, struct project *result, void *buffer, size_t buflen) argument 95 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2project); 102 void *buffer, size_t buflen) 106 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2project); 115 void *buffer, size_t buflen) 118 NSS_XbyY_INIT(&arg, result, buffer, buflen, _str2project); 195 void *buffer, size_t buflen) 204 NSS_XbyY_INIT(&arg, result, buffer, bufle 101 _getprojbyid(projid_t projid, struct project *result, void *buffer, size_t buflen) argument 114 _getprojbyname(const char *name, struct project *result, void *buffer, size_t buflen) argument 194 _getdefaultproj(const char *user, struct project *result, void *buffer, size_t buflen) argument 257 _inproj(const char *user, const char *name, void *buffer, size_t buflen) argument 375 _str2project(const char *instr, int lenstr, void *ent, char *buffer, int buflen) argument [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | irp.c | 279 irs_irp_read_line(struct irp_p *pvt, char *buffer, int len) { argument 296 * and append new data to buffer 326 /* full buffer and still no newline */ 335 memcpy(buffer + buffpos, start, i); 338 buffer[buffpos] = '\0'; 348 fprintf(stderr, "read line: %s\n", buffer); 404 * Pointer to null-terminated buffer allocated by memget. 405 * *SIZE is set to the length of the buffer. 414 char *buffer = memget(len); local 417 if (buffer 521 char buffer[1024]; local [all...] |