/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | strnlen.c | 27 strnlen (const char *string, size_t maxlen) argument 29 const char *end = memchr (string, '\0', maxlen); 30 return end ? (size_t) (end - string) : maxlen;
|
H A D | strnlen1.c | 26 /* This is the same as strnlen (string, maxlen - 1) + 1. */ 28 strnlen1 (const char *string, size_t maxlen) argument 30 const char *end = (const char *) memchr (string, '\0', maxlen); 34 return maxlen;
|
/osnet-11/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);
|
/osnet-11/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);
|
/osnet-11/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) {
|
/osnet-11/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) {
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 156 size_t maxlen; local 163 maxlen = SLOT_HASH_MAX_INDATA_LEN(session_p); 169 maxlen = SLOT_HMAC_MAX_INDATA_LEN(session_p); 186 if (bufp->indata_len + ulPartLen > maxlen) {
|
/osnet-11/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
|
/osnet-11/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));
|
/osnet-11/usr/src/lib/libshadowtest/common/ |
H A D | libshadowtest.c | 152 size_t len, maxlen; local 163 maxlen = 0; 167 if (len <= maxlen) 175 maxlen = len; 181 if (maxlen == 0)
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | unistr.c | 262 * @maxlen: maximum length of string @s 265 * string @s up to a maximum of maxlen Unicode characters, not including 267 * and @s + @maxlen, @maxlen is returned. 269 * This function never looks beyond @s + @maxlen. 271 u32 ntfs_ucsnlen(const ntfschar *s, u32 maxlen) argument 275 for (i = 0; i < maxlen; i++) { 285 * @maxlen: maximum length of string @s 291 * A maximum of @maxlen Unicode characters are copied and a terminating 294 * This function never looks beyond @s + @maxlen 299 ntfs_ucsndup(const ntfschar *s, u32 maxlen) argument [all...] |
H A D | crypto.c | 567 static size_t strnlen(const char *s, size_t maxlen) argument 572 for (p = s, end = s + maxlen; p < end && *p; p++)
|
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | saslutil.c | 238 * maxlen -- max length of result 245 unsigned maxlen, 274 if (maxlen < len) 290 snprintf(buf,maxlen, "<%lu.%lu@%s>", randnum, now, conn->serverFQDN); 292 snprintf(buf,maxlen, "<%lu.%lu>", randnum, now); 243 sasl_mkchal(sasl_conn_t *conn, char *buf, unsigned maxlen, unsigned hostflag) argument
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_utils.c | 436 SLPError slp_get_byte(const char *pcBuf, size_t maxlen, argument 441 if ((*piOffset+1) > maxlen) 451 SLPError slp_get_sht(const char *pcBuf, size_t maxlen, argument 456 if ((*piOffset+2) > maxlen) 471 SLPError slp_get_int32(const char *pcBuf, size_t maxlen, argument 476 if ((*piOffset+4) > maxlen)
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_dfl.c | 497 krb5_donot_replay *rep, int maxlen) 510 if ((len2 <= 0) || (len2 >= maxlen)) 527 if ((len2 <= 0) || (len2 >= maxlen)) { 496 krb5_rc_io_fetch(krb5_context context, struct dfl_data *t, krb5_donot_replay *rep, int maxlen) argument
|
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | stage2.c | 54 read_from_preset_menu (char *buf, int maxlen) argument 58 if (len > maxlen) 59 len = maxlen; 77 #define read_from_preset_menu(buf, maxlen) 0 787 get_line_from_config (char *cmdline, int maxlen, int read_from_file) argument 850 if (pos < maxlen)
|
/osnet-11/usr/src/lib/libkmf/include/ |
H A D | kmfapiP.h | 157 uint32_t maxlen; member in struct:__anon1832
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | tmplout.c | 857 int len, maxlen; local 859 maxlen = 0; 865 if (( len = strlen( colp->ti_label )) > maxlen ) { 866 maxlen = len; 871 return( maxlen );
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | tmplout.c | 794 int len, maxlen; local 796 maxlen = 0; 802 if (( len = strlen( colp->ti_label )) > maxlen ) { 803 maxlen = len; 808 return( maxlen );
|
H A D | digest_md5.c | 87 * maxlen -- max length of result 91 digest_nonce(char *buf, int maxlen) argument 113 if (maxlen < 2 * sizeof (cinfo)) 162 maxlen -= len;
|
/osnet-11/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_subr.c | 206 size_t maxlen = LN_BUFSIZE-1; /* max chars to copy */ local 215 (void) strncpy(ln->group, t, maxlen); 219 ln->group[maxlen] = '\0'; 228 ln->group[maxlen - (strlen(ln->domain)+1)] = '\0';
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlflow.c | 681 dladm_prefixlen2mask(int prefixlen, int maxlen, uchar_t *mask) argument 683 if (prefixlen < 0 || prefixlen > maxlen)
|
H A D | libdllink.c | 1081 parse_devname(const char *devname, char *driver, uint_t *ppa, size_t maxlen) argument 1092 (void) strlcpy(driver, devname, maxlen);
|
/osnet-11/usr/src/lib/krb5/kadm5/ |
H A D | alt_prof.c | 1079 size_t maxlen) 1104 if (strlen(hp->h_name) + sizeof("kadmin/") > maxlen) { 1108 snprintf(admin_name, maxlen, "kadmin/%s", hp->h_name); 1076 kadm5_get_admin_service_name(krb5_context ctx, char *realm_in, char *admin_name, size_t maxlen) argument
|
/osnet-11/usr/src/lib/efcode/include/fcode/ |
H A D | engine.h | 161 int maxlen; member in struct:__anon970
|