Searched refs:LEN (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-current/contrib/netbsd-tests/kernel/
H A Dh_ps_strings2.c43 #define LEN 16384 macro
54 if ((argv = calloc(LEN, sizeof(*argv))) == NULL)
56 for (i = 0; i < LEN; ++i) {
62 __ps_strings->ps_nargvstr = LEN;
/freebsd-current/sys/amd64/include/
H A Dvmm_snapshot.h102 #define SNAPSHOT_BUF_OR_LEAVE(DATA, LEN, META, RES, LABEL) \
104 (RES) = vm_snapshot_buf((DATA), (LEN), (META)); \
119 #define SNAPSHOT_BUF_CMP_OR_LEAVE(DATA, LEN, META, RES, LABEL) \
121 (RES) = vm_snapshot_buf_cmp((DATA), (LEN), (META)); \
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmmap_sync.c78 const int LEN = 8; local
90 if (ftruncate(fd, LEN) != 0) {
96 void *ptr = mmap(NULL, LEN, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
115 if (msync(ptr, LEN, MS_SYNC|MS_INVALIDATE) != 0) {
127 if (munmap(ptr, LEN) != 0)
140 if (munmap(ptr, LEN) != 0) {
/freebsd-current/contrib/arm-optimized-routines/string/test/
H A Dmemrchr.c40 #define LEN 512 macro
61 if (len > LEN || seekpos > LEN || align > ALIGN)
89 sbuf = mte_mmap (LEN + 3 * ALIGN);
95 for (int n = 0; n < LEN; n++)
97 for (int sp = 0; sp < LEN; sp++)
H A Dmemchr.c42 #define LEN 512 macro
63 if (len > LEN || seekpos > LEN || align > ALIGN)
92 sbuf = mte_mmap (LEN + 3 * ALIGN);
98 for (int n = 0; n < LEN; n++)
100 for (int sp = 0; sp < LEN; sp++)
H A Dmemcpy.c46 #define LEN 250000 macro
49 static unsigned char wbuf[LEN + 2 * A];
71 if (len > LEN || dalign >= A || salign >= A)
105 dbuf = mte_mmap (LEN + 2 * A);
106 sbuf = mte_mmap (LEN + 2 * A);
117 for (; n < LEN; n *= 2)
H A Dstrlen.c44 #define LEN 512 macro
62 if (len > LEN || align >= ALIGN)
87 sbuf = mte_mmap (LEN + 3 * ALIGN);
93 for (int n = 0; n < LEN; n++)
H A Dstrnlen.c43 #define LEN 512 macro
62 if (len > LEN || align >= ALIGN)
91 sbuf = mte_mmap (LEN + 3 * ALIGN);
97 for (int n = 0; n < LEN; n++)
99 for (int maxlen = 0; maxlen < LEN; maxlen++)
H A Dstpcpy.c42 #define LEN 512 macro
45 static char wbuf[LEN + 3 * ALIGN];
67 if (len > LEN || dalign >= ALIGN || salign >= ALIGN)
107 sbuf = mte_mmap (LEN + 3 * ALIGN);
108 dbuf = mte_mmap (LEN + 3 * ALIGN);
115 for (int n = 0; n < LEN; n++)
H A Dstrcpy.c40 #define LEN 512 macro
43 static char wbuf[LEN + 3 * ALIGN];
65 if (len > LEN || dalign >= ALIGN || salign >= ALIGN)
105 sbuf = mte_mmap (LEN + 3 * ALIGN);
106 dbuf = mte_mmap (LEN + 3 * ALIGN);
113 for (int n = 0; n < LEN; n++)
H A Dstrchr.c40 #define LEN 512 macro
60 if (len > LEN || seekpos >= len || align >= ALIGN)
102 sbuf = mte_mmap (LEN + 3 * ALIGN);
108 for (int n = 0; n < LEN; n++)
H A D__mtag_tag_zero_region.c44 #define LEN 250000 macro
63 if (len > LEN || salign >= A)
118 sbuf = mte_mmap (LEN + 3 * A);
130 for (; n < LEN; n *= 2)
H A D__mtag_tag_region.c44 #define LEN 250000 macro
63 if (len > LEN || salign >= A)
118 sbuf = mte_mmap (LEN + 3 * A);
130 for (; n < LEN; n *= 2)
H A Dstrrchr.c40 #define LEN 512 macro
60 if (len > LEN || seekpos >= len || align >= ALIGN)
102 sbuf = mte_mmap (LEN + 3 * ALIGN);
108 for (int n = 0; n < LEN; n++)
H A Dstrcmp.c44 #define LEN 250000 macro
66 if (len > LEN || s1align >= A || s2align >= A)
99 s1buf = mte_mmap (LEN + 2 * A + 1);
100 s2buf = mte_mmap (LEN + 2 * A + 1);
119 for (; n < LEN; n *= 2)
H A Dmemcmp.c38 #define LEN 250000 macro
60 if (len > LEN || s1align >= A || s2align >= A)
92 s1buf = mte_mmap (LEN + 2 * A);
93 s2buf = mte_mmap (LEN + 2 * A);
113 for (; n < LEN; n *= 2)
H A Dstrncmp.c38 #define LEN 250000 macro
60 if (len > LEN || s1align >= A || s2align >= A)
100 s1buf = mte_mmap (LEN + 2 * A + 1);
101 s2buf = mte_mmap (LEN + 2 * A + 1);
124 for (; n < LEN; n *= 2)
H A Dmemmove.c44 #define LEN 250000 macro
47 static unsigned char wbuf[LEN + 2 * A];
69 if (len > LEN || dalign >= A || salign >= A)
108 if (len > LEN || dalign >= A || salign >= A)
143 dbuf = mte_mmap (LEN + 2 * A);
144 sbuf = mte_mmap (LEN + 2 * A);
158 for (; n < LEN; n *= 2)
H A Dstrchrnul.c44 #define LEN 512 macro
64 if (len > LEN || seekpos >= len || align >= ALIGN)
107 sbuf = mte_mmap (LEN + 3 * ALIGN);
113 for (int n = 0; n < LEN; n++)
H A Dmemset.c40 #define LEN 250000 macro
59 if (len > LEN || salign >= A)
105 sbuf = mte_mmap (LEN + 2 * A);
119 for (; n < LEN; n *= 2)
/freebsd-current/usr.sbin/bhyve/
H A Dsnapshot.h115 #define SNAPSHOT_GUEST2HOST_ADDR_OR_LEAVE(CTX, ADDR, LEN, RNULL, META, RES, LABEL) \
117 (RES) = vm_snapshot_guest2host_addr((CTX), (void **)&(ADDR), (LEN), \
/freebsd-current/contrib/libedit/
H A Dsearch.c231 #define LEN 2 macro
235 #define LEN 0 macro
244 for (cp = &el->el_search.patbuf[LEN];
257 if (el->el_search.patlen >= EL_BUFSIZ - LEN)
280 if (el->el_search.patlen > LEN)
295 for (cp = &el->el_search.patbuf[LEN];; cp++)
299 el->el_search.patlen - LEN - 1;
306 EL_BUFSIZ - LEN) {
348 cp >= &el->el_search.patbuf[LEN];
354 if (el->el_search.patlen > LEN
[all...]
/freebsd-current/crypto/openssl/crypto/rc4/asm/
H A Drc4-c64xplus.pl28 ($KEY,$LEN,$INP,$OUT)=("A4","B4","A6","B6");
50 MV $LEN,B0
61 || MVC $LEN,ILC
114 || ADD $INP,$LEN,$ret ; end of input
145 ||[A0] SUB $INP,$LEN,$INP ; rewind
/freebsd-current/tests/sys/kern/
H A Dsocket_accf.c142 #define LEN(c) (sizeof(c) - 1) macro
146 ATF_REQUIRE(usend(s, CHUNK1, LEN(CHUNK1)) == LEN(CHUNK1));
151 ATF_REQUIRE(usend(s, CHUNK2, LEN(CHUNK2)) == LEN(CHUNK2));
/freebsd-current/sys/net/
H A Dradix.c120 * To make the assumption more explicit, we use the LEN() macro to access
122 * to LEN() as the argument is evaluated only once.
125 #define LEN(x) ( (int) (*(const u_char *)(x)) ) macro
180 c_caddr_t lim, lim2 = lim = n + LEN(n);
181 int longer = LEN(n++) - LEN(m++);
239 if (LEN(x->rn_key) != LEN(v_arg) || bcmp(x->rn_key, v_arg, LEN(v_arg)))
254 int length = min(LEN(c
[all...]

Completed in 112 milliseconds

123