Searched refs:len (Results 76 - 100 of 6914) sorted by relevance

1234567891011>>

/freebsd-11-stable/sbin/dhclient/
H A Dhash.c63 do_hash(const unsigned char *name, int len, int size) argument
66 int accum = 0, i = len;
78 void add_hash(struct hash_table *table, const unsigned char *name, int len, argument
86 if (!len)
87 len = strlen((const char *)name);
89 hashno = do_hash(name, len, table->hash_count);
99 bp->len = len;
104 hash_lookup(struct hash_table *table, unsigned char *name, int len) argument
112 if (!len)
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dgccspec.c64 int len; local
68 len = strlen (argv[i]);
69 if ((len > 2 && argv[i][len - 2] == '.' && argv[i][len - 1] == 'm')
70 || (len > 3 && argv[i][len - 3] == '.' && argv[i][len - 2] == 'm'
71 && argv[i][len - 1] == 'i'))
/freebsd-11-stable/contrib/gdb/gdb/config/i386/
H A Dnm-i386.h39 extern int i386_insert_watchpoint (CORE_ADDR addr, int len, int type);
44 extern int i386_remove_watchpoint (CORE_ADDR addr, int len, int type);
48 extern int i386_region_ok_for_watchpoint (CORE_ADDR addr, int len);
89 #define TARGET_REGION_OK_FOR_HW_WATCHPOINT(addr, len) \
90 i386_region_ok_for_watchpoint (addr, len)
104 #define target_insert_watchpoint(addr, len, type) \
105 i386_insert_watchpoint (addr, len, type)
107 #define target_remove_watchpoint(addr, len, type) \
108 i386_remove_watchpoint (addr, len, type)
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dpadata.c37 krb5_find_padata(PA_DATA *val, unsigned len, int type, int *idx) argument
39 for(; *idx < (int)len; (*idx)++)
47 int type, void *buf, size_t len)
51 pa = realloc (md->val, (md->len + 1) * sizeof(*md->val));
59 pa[md->len].padata_type = type;
60 pa[md->len].padata_value.length = len;
61 pa[md->len].padata_value.data = buf;
62 md->len++;
46 krb5_padata_add(krb5_context context, METHOD_DATA *md, int type, void *buf, size_t len) argument
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dconcat.c39 roken_concat (char *s, size_t len, ...) argument
44 va_start(args, len);
45 ret = roken_vconcat (s, len, args);
51 roken_vconcat (char *s, size_t len, va_list args) argument
58 if (n >= len)
62 len -= n;
73 size_t len = 0; local
78 len = 1;
82 if(max_len && len + n > max_len){
86 q = realloc(p, len
[all...]
/freebsd-11-stable/lib/libugidfw/
H A Dugidfw.c68 size_t left, len; local
74 len = snprintf(cur, left, "subject ");
75 if (len < 0 || len > left)
77 left -= len;
78 cur += len;
81 len = snprintf(cur, left, "not ");
82 if (len < 0 || len > left)
84 left -= len;
1107 size_t len; local
1122 size_t len; local
1144 size_t len; local
1166 size_t len; local
1194 size_t len, size; local
1232 size_t len; local
1264 size_t len; local
1297 size_t len; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/hash/
H A Dh_hash.c55 hexdump (unsigned char *buf, int len) argument
58 for (i=0; i<len; i++) {
71 #define CHOMP(buf, len, last) \
72 if ((len > 0) && \
73 (buf[len-1] == '\n')) { \
74 buf[len-1] = '\0'; \
75 len--; \
84 int len, outlen, last; local
89 len = strlen((char *)buf);
90 CHOMP(buf, len, las
[all...]
/freebsd-11-stable/contrib/binutils/gas/
H A Dsb.c80 ptr->len = 0;
105 sb_check (ptr, s->len);
106 memcpy (ptr->ptr + ptr->len, s->ptr, s->len);
107 ptr->len += s->len;
118 copy = sb_to_scrub->len - (scrub_position - sb_to_scrub->ptr);
135 sb_check (ptr, s->len);
136 ptr->len += do_scrub_chars (scrub_from_sb, ptr->ptr + ptr->len,
146 sb_check(sb *ptr, int len) argument
184 int len = strlen (s); local
193 sb_add_buffer(sb *ptr, const char *s, int len) argument
[all...]
/freebsd-11-stable/contrib/diff/lib/
H A Dbasename.c73 size_t len; local
75 for (len = strlen (name); 1 < len && ISSLASH (name[len - 1]); len--)
78 return len;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestProbeDescription.java41 int len = args.length;
42 if (len == 0) {
44 } else if (len == 1) {
46 } else if (len == 2) {
48 } else if (len == 3) {
50 } else if (len == 4) {
/freebsd-11-stable/contrib/dtc/libfdt/
H A Dfdt_addresses.c62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_proc.c34 uread(proc_t *p, void *kaddr, size_t len, uintptr_t uaddr) argument
38 n = proc_readmem(curthread, p, uaddr, kaddr, len);
39 if (n != len)
45 uwrite(proc_t *p, void *kaddr, size_t len, uintptr_t uaddr) argument
49 n = proc_writemem(curthread, p, uaddr, kaddr, len);
50 if (n != len)
/freebsd-11-stable/sys/contrib/libfdt/
H A Dfdt_addresses.c62 int len; local
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
68 if (len != sizeof(*ac))
82 int len; local
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
88 if (len != sizeof(*sc))
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod_subr.c51 zmemcpy(void *dest, const void *source, uint_t len) argument
53 bcopy(source, dest, len);
57 zmemcmp(const void *s1, const void *s2, uint_t len) argument
59 return (bcmp(s1, s2, len));
63 zmemzero(void *dest, uint_t len) argument
65 bzero(dest, len);
/freebsd-11-stable/crypto/heimdal/lib/wind/
H A Dtest-utf8.c75 size_t len; member in struct:testcase
109 size_t len, len2; local
114 len = MAX_LENGTH;
115 ret = wind_utf8ucs4(*s, u, &len);
125 ret = wind_utf8ucs4_length(t->utf8_str, &len);
132 if (len != t->len) {
135 t->utf8_str, (unsigned int)t->len, (unsigned int)len);
140 len
[all...]
/freebsd-11-stable/tools/regression/audit/audit_pipe_ioctl/
H A Daudit_pipe_ioctl.c48 u_int len, minlen, maxlen; local
60 len = (u_int)(-1);
61 if (ioctl(fd, AUDITPIPE_GET_QLEN, &len) < 0)
63 if (len == (u_int)(-1))
78 len = (u_int)(-1);
79 if (ioctl(fd, AUDITPIPE_GET_QLIMIT, &len) < 0)
81 if (len == (u_int)(-1))
84 if (!(len >= minlen))
87 if (!(len <= maxlen))
94 len
[all...]
/freebsd-11-stable/crypto/openssl/crypto/des/
H A Denc_writ.c80 int DES_enc_write(int fd, const void *_buf, int len, argument
99 if (len < 0)
116 if (len > MAXWRITE) {
118 for (i = 0; i < len; i += k) {
120 ((len - i) > MAXWRITE) ? MAXWRITE : (len - i),
132 l2n(len, p);
135 if (len < 8) {
137 memcpy(shortbuf, buf, len);
138 if (RAND_bytes(shortbuf + len,
[all...]
/freebsd-11-stable/contrib/bmake/
H A Dmake_malloc.c60 bmake_malloc(size_t len) argument
64 if ((p = malloc(len)) == NULL)
76 size_t len; local
79 len = strlen(str) + 1;
80 if ((p = malloc(len)) == NULL)
82 return memcpy(p, str, len);
92 size_t len; local
98 len = strlen(str);
99 if (len > max_len)
100 len
[all...]
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dsysfs.c63 int len; local
67 len = strlen(dup);
68 while (len > 0 && dup[len - 1] == '/') {
69 --len;
70 dup[len] = '\0';
83 size_t len; local
92 len = size;
93 ret = sysctlbyname(&path[1], buf, &len, NULL, 0);
99 if (len >
[all...]
/freebsd-11-stable/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-11-stable/contrib/gcclibs/libiberty/
H A Dmemset.c19 memset (PTR dest, register int val, register size_t len) argument
22 while (len-- > 0)
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dbuildopts.c14 u_32_t buildopts(cp, op, len)
16 int len;
31 if ((inc = addipopt(op, io, len, t))) {
33 len += inc;
43 while ((len & 3) != 3) {
45 len++;
48 len++;
49 return len;
/freebsd-11-stable/contrib/gcc/config/
H A Dmemcpy.c5 memcpy (void *dest, const void *src, size_t len) argument
9 while (len--)
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dmemset.c19 memset (PTR dest, register int val, register size_t len) argument
22 while (len-- > 0)
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dpkcs8.h12 struct crypto_private_key * pkcs8_key_import(const u8 *buf, size_t len);
14 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);

Completed in 280 milliseconds

1234567891011>>