/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | gethostname.c | 41 gethostname(char *name, size_t namelen) argument 43 return (sysinfo(SI_HOSTNAME, name, namelen) == -1 ? -1 : 0); 47 sethostname(const char *name, size_t namelen) argument 49 return (sysinfo(SI_SET_HOSTNAME, (char *)name, namelen) == -1 ? -1 : 0);
|
H A D | getlogin.c | 61 getlogin_r(char *answer, int namelen) argument 67 if (namelen < _POSIX_LOGIN_NAME_MAX) { 95 __posix_getlogin_r(char *name, int namelen) argument 101 if (getlogin_r(name, namelen) == NULL) {
|
/osnet-11/usr/src/grub/grub2/include/grub/efiemu/ |
H A D | runtime.h | 33 grub_uint32_t namelen; member in struct:efi_variable
|
/osnet-11/usr/src/lib/nsswitch/compat/common/ |
H A D | getspent.c | 109 size_t namelen = strlen(sp->sp_namp) + 1; local 113 if (namelen + passlen > argp->buf.buflen) { 118 sp->sp_namp, namelen); 121 (void) memcpy(argp->buf.buffer + namelen,
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | hexdump.c | 44 int namelen; local 49 namelen = grub_strlen (args[0]); 55 else if ((args[0][0] == '(') && (args[0][namelen - 1] == ')')) 61 args[0][namelen - 1] = 0;
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | pr_getsockname.c | 39 int syscall, int sock, struct sockaddr *name, socklen_t *namelen) 58 adp->arg_size = *namelen; 60 adp++; /* namelen argument */ 62 adp->arg_object = namelen; 65 adp->arg_size = sizeof (*namelen); 93 int sock, struct sockaddr *name, socklen_t *namelen) 96 return (_so_getsockname(sock, name, namelen, SOV_DEFAULT)); 98 return (get_sock_peer_name(Pr, SYS_getsockname, sock, name, namelen)); 106 int sock, struct sockaddr *name, socklen_t *namelen) 109 return (_so_getpeername(sock, name, namelen, SOV_DEFAUL 38 get_sock_peer_name(struct ps_prochandle *Pr, int syscall, int sock, struct sockaddr *name, socklen_t *namelen) argument 92 pr_getsockname(struct ps_prochandle *Pr, int sock, struct sockaddr *name, socklen_t *namelen) argument 105 pr_getpeername(struct ps_prochandle *Pr, int sock, struct sockaddr *name, socklen_t *namelen) argument [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getnetent_r.c | 139 int namelen = 0; local 158 namelen = (int)(p - namestart); 160 if (buflen <= namelen) { /* not enough buffer */ 163 (void) memcpy(buffer, namestart, namelen); 164 buffer[namelen] = '\0'; 204 ptr = (char **)ROUND_UP(buffer + namelen + 1, 216 buffer + namelen + 1, buflen - namelen - 1);
|
H A D | getprotoent_r.c | 135 int numlen, namelen = 0; local 154 namelen = (int)(p - namestart); 156 if (buflen <= namelen) { /* not enough buffer */ 159 (void) memcpy(buffer, namestart, namelen); 160 buffer[namelen] = '\0'; 198 ptr = (char **)ROUND_UP(buffer + namelen + 1, 211 buffer + namelen + 1, buflen - namelen - 1);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | ktfns.c | 44 unsigned int namelen) 46 return krb5_x((keytab)->ops->get_name,(context, keytab,name,namelen)); 43 krb5_kt_get_name(krb5_context context, krb5_keytab keytab, char *name, unsigned int namelen) argument
|
/osnet-11/usr/src/lib/krb5/kdb/ |
H A D | keytab.c | 43 char *name, unsigned int namelen) 46 if (strlcpy(name, "KDB:", namelen) >= namelen) 42 krb5_ktkdb_get_name(krb5_context context, krb5_keytab keytab, char *name, unsigned int namelen) argument
|
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent6.c | 99 int namelen; local 103 return (check_name_host(argp, line, linelen, AF_INET6, &namep, &namelen,
|
/osnet-11/usr/src/lib/nsswitch/user/common/ |
H A D | getprinter.c | 110 int namelen; local 119 namelen = strlen(args->key.name); 153 if ((strncmp(p, args->key.name, namelen) == 0) && 154 ((*(p+namelen) == '|') || 155 (isspace(*(p+namelen)) != 0)))
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | getrpcent_r.c | 123 ssize_t numlen, namelen = 0; local 141 namelen = p - namestart; 143 if (buflen <= namelen) /* not enough buffer */ 145 (void) memcpy(buffer, namestart, namelen); 146 buffer[namelen] = '\0'; 180 ptr = (char **)ROUND_UP(buffer + namelen + 1, 191 buffer + namelen + 1, (int)(buflen - namelen - 1));
|
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | ifspec.c | 220 size_t namelen; local 227 if ((namelen = strlcpy(buffer, name, sizeof (buffer))) >= 236 if (namelen >= MAXLINKNAMELEN)
|
/osnet-11/usr/src/lib/efcode/fcdriver/ |
H A D | build_tree.c | 73 int namelen; local 78 0, &namebuf, &namelen)) 92 0, &namebuf, &namelen)) 102 namelen = 0; 104 0, &namebuf, &namelen);
|
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfscat.c | 333 ntfschar *name, int namelen) 346 attr = ntfs_attr_open(inode, type, name, namelen); 332 cat(ntfs_volume *vol, ntfs_inode *inode, ATTR_TYPES type, ntfschar *name, int namelen) argument
|
/osnet-11/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 270 size_t tlen, namelen; local 329 namelen = strlen(zone_name); 356 if (strncmp(buf, zone_name, namelen) != 0 || 357 buf[namelen] != ':') {
|
H A D | scratchops.c | 148 zonecfg_get_scratch(FILE *fp, char *zonename, size_t namelen, char *kernname, argument 166 strlcpy(zonename, line, namelen) >= namelen) 200 size_t namelen, char *altroot, size_t altlen) 205 while (zonecfg_get_scratch(fp, zonename, namelen, kzone, 199 zonecfg_reverse_scratch(FILE *fp, const char *kernzone, char *zonename, size_t namelen, char *altroot, size_t altlen) argument
|
/osnet-11/usr/src/lib/ncad_addr/common/ |
H A D | ncad_addr.c | 196 nca_bind(int sock, const struct sockaddr *name, socklen_t namelen) argument 226 namelen != sizeof (sin)) { 227 return (real_bind(sock, name, namelen)); 251 return (real_bind(sock, (struct sockaddr *)&sin, namelen));
|
/osnet-11/usr/src/lib/libsocket/socket/ |
H A D | weaks.c | 148 _getpeername(int sock, struct sockaddr *name, int *namelen) argument 150 return (_so_getpeername(sock, name, namelen, SOV_DEFAULT)); 154 _getsockname(int sock, struct sockaddr *name, int *namelen) argument 156 return (_so_getsockname(sock, name, namelen, SOV_DEFAULT));
|
/osnet-11/usr/src/lib/libfuse/common/ |
H A D | fuse_compat.h | 174 long namelen; member in struct:fuse_statfs_compat1
|
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | name.c | 337 OM_uint32 namelen; local 373 namelen = (*p++ << 24) & 0xff000000; 374 namelen |= (*p++ << 16) & 0xff0000; 375 namelen |= (*p++ << 8) & 0xff00; 376 namelen |= *p++ & 0xff; 379 if (len < tokid_len + OIDlen_len + oidlen + namelen_len + namelen) 383 if (namelen < OIDlen_len) 391 if (namelen < OIDlen_len + oidlen) 409 if (namelen != OIDlen_len + oidlen + strlen((char *)p) + 1) 642 OM_uint32 namelen; local [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/partmap/ |
H A D | amiga.c | 57 grub_uint8_t namelen; member in struct:grub_amiga_partition
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | deviceiter.c | 531 int namelen; local 542 namelen = strlen(dep->d_name); 543 if (dep->d_name[namelen - 1] != '0' || 544 dep->d_name[namelen - 2] != 'p')
|
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | mbdb.c | 94 size_t namelen; local 105 namelen = strlen(name); 108 namelen = arg - name; 114 if (strlen(t->mbdb_typename) == namelen && 115 strncmp(name, t->mbdb_typename, namelen) == 0)
|