/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strnlen.c | 35 * but not more than maxlen. Does not look past str + maxlen. 38 strnlen(const char *str, size_t maxlen) argument 42 ptr = memchr(str, 0, maxlen); 44 return (maxlen);
|
H A D | getlogin.c | 83 getl_r_common(char *answer, size_t namelen, size_t maxlen) argument 104 ulen = strnlen(ubuf.ut_user, maxlen);
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wcsnlen.c | 28 * but not more than maxlen. Does not look past str + maxlen. 36 wcsnlen(const wchar_t *str, size_t maxlen) argument 40 if (maxlen != 0) { 46 } while (--maxlen != 0);
|
/illumos-gate/usr/src/lib/libresolv2/common/inet/ |
H A D | nsap_addr.c | 44 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { argument 52 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) {
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | nsaddr.h | 45 unsigned maxlen; member in struct:netbuf
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcb_prot.c | 121 * throw away maxlen, since it doesn't apply to the caller's 126 u_int maxlen; local 128 if (!xdr_u_int(xdrs, &maxlen)) 131 if (!xdr_u_int(xdrs, (u_int *)&objp->maxlen)) 135 (u_int *)&(objp->len), objp->maxlen));
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_device.c | 37 char *devname, int maxlen); 155 acpidev_device_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 165 devname, maxlen);
|
H A D | acpidev_memory.c | 39 acpidev_walk_info_t *infop, char *devname, int maxlen); 155 acpidev_memory_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 165 devname, maxlen);
|
H A D | acpidev_scope.c | 37 char *devname, int maxlen); 151 acpidev_scope_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 161 devname, maxlen);
|
H A D | acpidev_container.c | 68 acpidev_walk_info_t *infop, char *devname, int maxlen); 263 acpidev_container_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument 273 devname, maxlen);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 155 int maxlen; local 164 maxlen = SLOT_HASH_MAX_INDATA_LEN(session_p); 170 maxlen = SLOT_HMAC_MAX_INDATA_LEN(session_p); 187 if (bufp->indata_len + ulPartLen > maxlen) {
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | charsets.c | 209 CFIndex maxlen; local 228 maxlen = CFStringGetMaximumSizeForEncoding(CFStringGetLength(s), 230 result = malloc(maxlen); 237 if (!CFStringGetCString(s, result, maxlen, kCFStringEncodingUTF8)) { 259 CFIndex maxlen; local 270 maxlen = CFStringGetMaximumSizeForEncoding(CFStringGetLength(s), 272 result = malloc(maxlen); 279 if (!CFStringGetCString(s, result, maxlen,
|
/illumos-gate/usr/src/lib/libnls/common/ |
H A D | nlsenv.c | 95 buf->maxlen = length; 96 return(nlsc2addr(buf->buf, buf->maxlen, charaddr)); 204 nlsc2addr(char *addr, int maxlen, char *charaddr) argument 214 for (len = 0; ((maxlen--) && (*charaddr)); ++len) {
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | _nlist.c | 37 int maxlen, nreq; local 44 maxlen = 0; 52 if (n > maxlen) 53 maxlen = n; 72 if ((soff + maxlen + 1) >= stroff) { 75 * Assumes (maxlen < sizeof (strs)).
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_enclosure_ctl.c | 43 uint64_t maxlen, bufid = 0; local 65 &maxlen) != 0 || datalen > maxlen) 68 datalen, maxlen));
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | pathutil.c | 334 int maxlen; /* The return value excluding space for the '\0' */ local 339 maxlen = PATH_MAX; 345 maxlen = pathconf(FS_ROOT_DIR, _PC_PATH_MAX); 346 if(maxlen <= 0 || errno) 347 maxlen = MAX_PATHLEN_FALLBACK; 353 maxlen = MAX_PATHLEN_FALLBACK; 359 return maxlen + 1;
|
/illumos-gate/usr/src/lib/libwanbootutil/common/ |
H A D | key_util.c | 118 uint_t len, uint_t minlen, uint_t maxlen, 125 attr->ka_maxlen = maxlen; 117 wbku_keyattr_init(wbku_key_attr_t *attr, wbku_key_type_t type, uint_t atype, uint_t len, uint_t minlen, uint_t maxlen, char *str, char *oid, boolean_t (*keycheck)(const uint8_t *)) argument
|
/illumos-gate/usr/src/lib/libbc/libc/yp/ |
H A D | yp_bind.c | 65 unsigned int maxlen; member in struct:netbuf
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_macinfo.c | 67 size_t maxlen, int *compose_error_type) 79 if (blen < maxlen) { 80 blen = 2 * maxlen; 97 } else if (curblk->mb_avail_len < maxlen) { 104 if (blen < maxlen) { 105 blen = 2 * maxlen; 66 libdwarf_compose_begin(Dwarf_P_Debug dbg, int code, size_t maxlen, int *compose_error_type) argument
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | autoconf.c | 218 getlongprop_buf(int id, char *name, char *buf, int maxlen) argument 223 if (size <= 0 || (size > maxlen - 1))
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_kstats.c | 79 int maxlen = sizeof (pci_ks_template.ihks_name.value.c); local 82 (void) snprintf(pci_ks_template.ihks_name.value.c, maxlen, "%s%d",
|
/illumos-gate/usr/src/cmd/lp/lib/oam/ |
H A D | fmtmsg.c | 114 int maxlen, tmpcol; 129 maxlen = LINE_LEN - indent_len - 1; 132 if (maxlen < 1) { 154 if (col > maxlen) { 163 if (tmpcol > maxlen) 171 * The character that just overruns the maxlen. 201 * So, prints as much characters as maxlen allows 112 int maxlen, tmpcol; local
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_file.c | 263 krb5_donot_replay *rep, int maxlen) 275 if ((len <= 0) || (len >= maxlen)) 291 if ((len <= 0) || (len >= maxlen)) { 262 krb5_rc_io_fetch(krb5_context context, struct file_data *t, krb5_donot_replay *rep, int maxlen) argument
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | stropts.h | 120 int maxlen; /* no. of bytes in buffer */ member in struct:strbuf
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | mount.c | 57 unsigned int maxlen; member in struct:netbuf 138 na->addr->maxlen = sizeof (struct sockaddr_in); 139 na->addr->len = na->addr->maxlen; 141 na->syncaddr->maxlen = na->addr->maxlen; 142 na->syncaddr->len = na->syncaddr->maxlen;
|