Searched defs:len (Results 1 - 25 of 5450) sorted by relevance

1234567891011>>

/freebsd-head/contrib/opie/libopie/
H A Dpasscheck.c41 int len = strlen(secret); local
43 if (len < OPIE_SECRET_MIN)
46 if (len > OPIE_SECRET_MAX)
/freebsd-head/contrib/gdb/gdb/
H A Di386obsd-nat.c48 size_t len; local
52 len = sizeof (_ps);
53 if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
/freebsd-head/contrib/diff/lib/
H A Dquotesys.c38 size_t len = 0; local
50 return len;
65 len = 0;
76 quoted[len] = '-';
77 quoted[len + 1] = c;
79 len += 2;
86 quoted[len] = c;
87 len++;
95 quoted[len] = '\'';
96 len
[all...]
/freebsd-head/contrib/binutils/libiberty/
H A Dstrdup.c22 size_t len = strlen (s) + 1; local
23 char *result = (char*) malloc (len);
26 return (char*) memcpy (result, s, len);
H A Dxstrdup.c33 register size_t len = strlen (s) + 1; local
34 register char *ret = XNEWVEC (char, len);
35 return (char *) memcpy (ret, s, len);
/freebsd-head/sys/contrib/ngatm/netnatm/misc/
H A Dunimsg_common.c36 * len bytes, and update the read pointer.
39 uni_msg_prepend(struct uni_msg *msg, size_t len) argument
43 if (uni_msg_leading(msg) >= len) {
44 msg->b_rptr -= len;
47 need = len - uni_msg_leading(msg);
51 msg->b_rptr += need - len;
/freebsd-head/crypto/heimdal/lib/roken/
H A Dstrnlen.c39 strnlen(const char *s, size_t len) argument
43 for(i = 0; i < len && s[i]; i++)
/freebsd-head/crypto/heimdal/lib/wind/
H A Dbidi_table.h11 unsigned len; member in struct:range_entry
/freebsd-head/contrib/ipfilter/lib/
H A Dallocmbt.c11 mb_t *allocmbt(size_t len) argument
18 m->mb_len = len;
H A Dmb_hexdump.c17 int len; local
21 len = m->mb_len;
22 for (s = (u_char *)m->mb_data, i = 0; i < len; i++) {
24 if (len - i > 1) {
/freebsd-head/contrib/netbsd-tests/lib/libc/arch/powerpc/
H A Dexec_prot_support.c43 size_t len = sizeof(execprot); local
45 if (sysctlbyname("machdep.execprot", &execprot, &len, NULL, 0) < 0)
/freebsd-head/contrib/netbsd-tests/usr.bin/nbperf/
H A Dhash_driver.c44 ssize_t len; local
46 while ((len = getline(&line, &buflen, stdin)) > 0) {
47 if (len && line[len - 1] == '\n')
48 --len;
49 printf("%" PRId32 "\n", hash(line, len));
/freebsd-head/sys/libkern/
H A Dexplicit_bzero.c19 __explicit_bzero_hook(void *buf, size_t len) argument
24 explicit_bzero(void *buf, size_t len) argument
26 memset(buf, 0, len);
27 __explicit_bzero_hook(buf, len);
H A Dstrnlen.c37 size_t len; local
39 for (len = 0; len < maxlen; len++, s++) {
43 return (len);
/freebsd-head/lib/libc/sys/
H A Dmsync.c45 msync(void *addr, size_t len, int flags) argument
49 __libc_interposing[INTERPOS_msync])(addr, len, flags));
/freebsd-head/contrib/ntp/libntp/
H A Dauthusekey.c26 size_t len; local
28 len = strlen((const char *)str);
29 if (0 == len)
32 MD5auth_setkey(keyno, keytype, str, len, NULL);
/freebsd-head/contrib/tcpdump/missing/
H A Dstrdup.c44 size_t len; local
47 len = strlen(str) + 1;
48 if ((copy = malloc(len)) == NULL)
50 memcpy(copy, str, len);
/freebsd-head/contrib/tcpdump/
H A Dprint-ftp.c29 ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
31 txtproto_print(ndo, pptr, len, "ftp", NULL, 0);
H A Dprint-smtp.c29 smtp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument
31 txtproto_print(ndo, pptr, len, "smtp", NULL, 0);
/freebsd-head/stand/libsa/
H A Dstrdup.c45 size_t len; local
49 len = strlen(str) + 1;
50 if ((copy = malloc(len)) == NULL)
52 memcpy(copy, str, len);
/freebsd-head/sbin/setkey/
H A Dvchar.h36 u_int len; member in struct:__anon149
/freebsd-head/lib/libc/string/
H A Dstrnlen.c37 size_t len; local
39 for (len = 0; len < maxlen; len++, s++) {
43 return (len);
H A Dwcsdup.c39 size_t len; local
41 len = wcslen(s) + 1;
42 if ((copy = malloc(len * sizeof(wchar_t))) == NULL)
44 return (wmemcpy(copy, s, len));
H A Dwcsnlen.c37 size_t len; local
39 for (len = 0; len < maxlen; len++, s++) {
43 return (len);
/freebsd-head/lib/libc/amd64/string/
H A Dbcopy.c11 bcopy(const void *src, void *dst, size_t len) argument
14 memmove(dst, src, len);

Completed in 129 milliseconds

1234567891011>>