Home
last modified time | relevance | path

Searched refs:LEN (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmmap_sync.c78 const int LEN = 8; in main() local
90 if (ftruncate(fd, LEN) != 0) { in main()
96 void *ptr = mmap(NULL, LEN, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
115 if (msync(ptr, LEN, MS_SYNC|MS_INVALIDATE) != 0) { in main()
127 if (munmap(ptr, LEN) != 0) in main()
140 if (munmap(ptr, LEN) != 0) { in main()
/freebsd/contrib/arm-optimized-routines/string/test/
H A Dmemrchr.c40 #define LEN 512 macro
61 if (len > LEN || seekpos > LEN || align > ALIGN) in test()
89 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
95 for (int n = 0; n < LEN; n++) in main()
97 for (int sp = 0; sp < LEN; sp++) in main()
H A Dmemchr.c42 #define LEN 512 macro
63 if (len > LEN || seekpos > LEN || align > ALIGN) in test()
92 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
98 for (int n = 0; n < LEN; n++) in main()
100 for (int sp = 0; sp < LEN; sp++) in main()
H A Dstpcpy.c42 #define LEN 512 macro
45 static char wbuf[LEN + 3 * ALIGN];
67 if (len > LEN || dalign >= ALIGN || salign >= ALIGN) in test()
107 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
108 dbuf = mte_mmap (LEN + 3 * ALIGN); in main()
115 for (int n = 0; n < LEN; n++) in main()
H A Dstrcpy.c40 #define LEN 512 macro
43 static char wbuf[LEN + 3 * ALIGN];
65 if (len > LEN || dalign >= ALIGN || salign >= ALIGN) in test()
105 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
106 dbuf = mte_mmap (LEN + 3 * ALIGN); in main()
113 for (int n = 0; n < LEN; n++) in main()
H A Dmemcpy.c46 #define LEN 250000 macro
49 static unsigned char wbuf[LEN + 2 * A];
71 if (len > LEN || dalign >= A || salign >= A) in test()
105 dbuf = mte_mmap (LEN + 2 * A); in main()
106 sbuf = mte_mmap (LEN + 2 * A); in main()
117 for (; n < LEN; n *= 2) in main()
H A Dmemmove.c44 #define LEN 250000 macro
47 static unsigned char wbuf[LEN + 2 * A];
69 if (len > LEN || dalign >= A || salign >= A) in test()
108 if (len > LEN || dalign >= A || salign >= A) in test_overlap()
143 dbuf = mte_mmap (LEN + 2 * A); in main()
144 sbuf = mte_mmap (LEN + 2 * A); in main()
158 for (; n < LEN; n *= 2) in main()
H A Dstrnlen.c43 #define LEN 512 macro
62 if (len > LEN || align >= ALIGN) in test()
91 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
97 for (int n = 0; n < LEN; n++) in main()
99 for (int maxlen = 0; maxlen < LEN; maxlen++) in main()
H A Dstrlen.c44 #define LEN 512 macro
62 if (len > LEN || align >= ALIGN) in test()
87 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
93 for (int n = 0; n < LEN; n++) in main()
H A Dmemcmp.c38 #define LEN 250000 macro
60 if (len > LEN || s1align >= A || s2align >= A) in test()
92 s1buf = mte_mmap (LEN + 2 * A); in main()
93 s2buf = mte_mmap (LEN + 2 * A); in main()
113 for (; n < LEN; n *= 2) in main()
H A Dstrcmp.c44 #define LEN 250000 macro
66 if (len > LEN || s1align >= A || s2align >= A) in test()
99 s1buf = mte_mmap (LEN + 2 * A + 1); in main()
100 s2buf = mte_mmap (LEN + 2 * A + 1); in main()
119 for (; n < LEN; n *= 2) in main()
H A Dstrncmp.c38 #define LEN 250000 macro
60 if (len > LEN || s1align >= A || s2align >= A) in test()
100 s1buf = mte_mmap (LEN + 2 * A + 1); in main()
101 s2buf = mte_mmap (LEN + 2 * A + 1); in main()
124 for (; n < LEN; n *= 2) in main()
H A D__mtag_tag_region.c44 #define LEN 250000 macro
63 if (len > LEN || salign >= A) in test()
118 sbuf = mte_mmap (LEN + 3 * A); in main()
130 for (; n < LEN; n *= 2) in main()
H A D__mtag_tag_zero_region.c44 #define LEN 250000 macro
63 if (len > LEN || salign >= A) in test()
118 sbuf = mte_mmap (LEN + 3 * A); in main()
130 for (; n < LEN; n *= 2) in main()
H A Dstrchr.c40 #define LEN 512 macro
60 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
102 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
108 for (int n = 0; n < LEN; n++) in main()
H A Dstrrchr.c40 #define LEN 512 macro
60 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
102 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
108 for (int n = 0; n < LEN; n++) in main()
H A Dstrchrnul.c44 #define LEN 512 macro
64 if (len > LEN || seekpos >= len || align >= ALIGN) in test()
107 sbuf = mte_mmap (LEN + 3 * ALIGN); in main()
113 for (int n = 0; n < LEN; n++) in main()
H A Dmemset.c40 #define LEN 250000 macro
59 if (len > LEN || salign >= A) in test()
105 sbuf = mte_mmap (LEN + 2 * A); in main()
119 for (; n < LEN; n *= 2) in main()
/freebsd/contrib/netbsd-tests/kernel/
H A Dh_ps_strings2.c43 #define LEN 16384 macro
54 if ((argv = calloc(LEN, sizeof(*argv))) == NULL) in main()
56 for (i = 0; i < LEN; ++i) { in main()
62 __ps_strings->ps_nargvstr = LEN; in main()
/freebsd/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/contrib/libedit/
H A Dsearch.c231 #define LEN 2 in ce_inc_search() macro
235 #define LEN 0 in ce_inc_search() macro
244 for (cp = &el->el_search.patbuf[LEN]; in ce_inc_search()
280 if (el->el_search.patlen > LEN) in ce_inc_search()
299 el->el_search.patlen - LEN - 1; in ce_inc_search()
306 EL_BUFSIZ - LEN) { in ce_inc_search()
402 el->el_search.patlen -= LEN; in ce_inc_search()
463 tmplen = LEN; in cv_search()
467 tmplen = c_gets(el, &tmpbuf[LEN], in cv_search()
472 tmplen += LEN; in cv_search()
[all …]
/freebsd/sys/amd64/include/
H A Dvmm_snapshot.h102 #define SNAPSHOT_BUF_OR_LEAVE(DATA, LEN, META, RES, LABEL) \ argument
104 (RES) = vm_snapshot_buf((DATA), (LEN), (META)); \
119 #define SNAPSHOT_BUF_CMP_OR_LEAVE(DATA, LEN, META, RES, LABEL) \ argument
121 (RES) = vm_snapshot_buf_cmp((DATA), (LEN), (META)); \
/freebsd/sys/net/
H A Dradix.c125 #define LEN(x) ( (int) (*(const u_char *)(x)) ) macro
180 c_caddr_t lim, lim2 = lim = n + LEN(n); in rn_refines()
181 int longer = LEN(n++) - LEN(m++); in rn_refines()
239 if (LEN(x->rn_key) != LEN(v_arg) || bcmp(x->rn_key, v_arg, LEN(v_arg))) in rn_lookup()
254 int length = min(LEN(cp), LEN(cp2)); in rn_satisfies_leaf()
259 length = min(length, LEN(cp3)); in rn_satisfies_leaf()
439 int head_off = top->rn_offset, vlen = LEN(v); in rn_insert()
575 if (LEN(mp) > LEN(np)) in rn_lexobetter()
577 if (LEN(mp) == LEN(np)) in rn_lexobetter()
578 for (lim = mp + LEN(mp); mp < lim;) in rn_lexobetter()
[all …]
/freebsd/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-c64xplus.pl31 ($CTXA,$INPB,$LEN,$PADBIT)=("A4","B4","A6","B6");
32 ($H0,$H1,$H2,$H3,$H4,$H4a)=("A8","B8","A10","B10","B2",$LEN);
109 SHRU $LEN,4,A2 ; A2 is loop counter, number of blocks
266 my ($MAC,$NONCEA,$NONCEB)=($INPB,$LEN,$PADBIT);
/freebsd/tests/sys/kern/
H A Dsocket_accf.c142 #define LEN(c) (sizeof(c) - 1) in ATF_TC_BODY() macro
146 ATF_REQUIRE(usend(s, CHUNK1, LEN(CHUNK1)) == LEN(CHUNK1)); in ATF_TC_BODY()
151 ATF_REQUIRE(usend(s, CHUNK2, LEN(CHUNK2)) == LEN(CHUNK2)); in ATF_TC_BODY()

123