Searched defs:maxlen (Results 1 - 25 of 96) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrnlen.c35 * 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 Dgetlogin.c83 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 Dwcsnlen.c28 * 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 Dnsap_addr.c44 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 Dnsaddr.h45 unsigned maxlen; member in struct:netbuf
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_memory.c39 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 Dacpidev_scope.c37 char *devname, int maxlen);
151 acpidev_scope_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument
161 devname, maxlen);
H A Dacpidev_device.c39 char *devname, int maxlen);
220 acpidev_device_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument
230 devname, maxlen);
H A Dacpidev_usbport.c137 acpidev_usbport_filter(acpidev_walk_info_t *infop, char *devname, int maxlen) argument
147 devname, maxlen);
H A Dacpidev_container.c68 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/libsmbfs/smb/
H A Dcharsets.c209 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 Dnlsenv.c95 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/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.c155 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/libbc/libc/gen/common/
H A D_nlist.c37 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/libtecla/common/
H A Dpathutil.c334 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/libbc/libc/yp/
H A Dyp_bind.c65 unsigned int maxlen; member in struct:netbuf
/illumos-gate/usr/src/cmd/lp/lib/oam/
H A Dfmtmsg.c114 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/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c43 uint64_t maxlen, bufid = 0; local
65 &maxlen) != 0 || datalen > maxlen)
68 datalen, maxlen));
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_kstats.c79 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/lib/libdwarf/common/
H A Dpro_macinfo.c67 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 Dautoconf.c223 getlongprop_buf(int id, char *name, char *buf, int maxlen) argument
228 if (size <= 0 || (size > maxlen - 1))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_file.c263 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/libc/sys/4.2/
H A Dmount.c57 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;
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dstropts.h120 int maxlen; /* no. of bytes in buffer */ member in struct:strbuf
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_ddi_impl.c168 getlongprop_buf(int id, char *name, char *buf, int maxlen) argument
173 if (size <= 0 || (size > maxlen - 1))

Completed in 279 milliseconds

1234