Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 1725) sorted by relevance

12345678910>>...69

/freebsd-14-stable/contrib/netbsd-tests/bin/sh/
HDt_fsplit.sh45 check() function
93 check 'for f in $x; do echo x${f}y; done' ''
104 check 'set -- ${x-a b c}; echo $#' 3
106 check 'set -- ${x-"a b" c}; echo $#' 2
107 check 'set -- ${x-a "b c"}; echo $#' 2
108 check 'set -- ${x-"a b c"}; echo $#' 1
110 check "set -- \${x-'a b' c}; echo \$#" 2
111 check "set -- \${x-a 'b c'}; echo \$#" 2
112 check "set -- \${x-'a b c'}; echo \$#" 1
114 check 'set -- ${x-a\ b c}; echo $#' 2
[all …]
HDt_here.sh41 check() function
128 check 'x=`cat <<EOF'$nl'text'${nl}EOF$nl'`; echo $x' 'text' 0
129 check 'x=`cat <<\EOF'$nl'text'${nl}EOF$nl'`; echo $x' 'text' 0
131 check "y=${y};"'x=`cat <<EOF'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
133 check "y=${y};"'x=`cat <<\EOF'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
135 check "y=${y};"'x=`cat <<"EOF"'$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
137 check "y=${y};"'x=`cat <<'"'EOF'"$nl'te${y}t'${nl}EOF$nl'`; echo $x' \
141 check "cat <<EOF${nl}te'xt${nl}EOF$nl" "te'xt" 0
142 check "cat <<\EOF${nl}te'xt${nl}EOF$nl" "te'xt" 0
143 check "cat <<'EOF'${nl}te'xt${nl}EOF$nl" "te'xt" 0
[all …]
HDt_varquote.sh32 check() { function
47 check() {
59 check "$foo" '${a:-foo}'
62 check "$foo" "foo"
65 check "$foo" "'{}'"
68 check "$foo" "'{}'"
72 check "$foo" "''}"
88 check "$foo" "x}y}z}"
96 check "$foo" "'{}'"
HDt_expand.sh240 check() function
334 check 'set -- a b c; echo "$#: $1 $2 $3"' '3: a b c' 0
335 check 'set -- a b c d e f g h i j k l m; echo "$#: ${1}0 ${10} $10"' \
337 check 'x="$0"; set -- a b; y="$0";
340 check "${TEST_SH} -c 'echo 0=\$0 1=\$1 2=\$2' a b c" '0=a 1=b 2=c' 0
343 check "${TEST_SH} helper.sh a b c" '0=helper.sh 1=a 2=b' 0
345 check 'set -- a bb ccc dddd eeeee ffffff ggggggg hhhhhhhh \
350 check 'set -- a b c; echo "$#: ${1-A} ${2-B} ${3-C} ${4-D} ${5-E}"' \
352 check 'set -- a "" c "" e
355 check 'set -- a "" c "" e
[all …]
/freebsd-14-stable/tools/regression/iscsi/
HDiscsi-test.sh114 check() { function
136 check iscontrol -dt $TARGETIP > $TMPDIR/discovered
140 check cmp $TMPDIR/expected $TMPDIR/discovered
146 check iscsictl -Ad $TARGETIP
150 check cmp $TMPDIR/expected $TMPDIR/discovered
152 check iscsictl -Ra
164 check iscsiadm -m discovery -t sendtargets -p $TARGETIP > $TMPDIR/discovered
168 check cmp $TMPDIR/expected $TMPDIR/discovered
174 check iscsiadm add discovery-address $TARGETIP
175 check iscsiadm modify discovery --sendtargets enable
[all …]
/freebsd-14-stable/usr.bin/bmake/tests/execution/joberr/
HDexpected.stdout.12 *** [do-check-joberr] Error code 1
4 *** [do-check-joberr] Error code 1
6 *** [do-check-joberr] Error code 1
8 *** [do-check-joberr] Error code 1
10 *** [do-check-joberr] Error code 1
12 *** [do-check-joberr] Error code 1
14 *** [do-check-joberr] Error code 1
16 *** [do-check-joberr] Error code 1
18 *** [do-check-joberr] Error code 1
20 *** [do-check-joberr] Error code 1
[all …]
/freebsd-14-stable/contrib/ntp/libjsmn/
HDjsmn_test.c15 #define check(cond) do { if (!(cond)) fail(); } while (0) macro
53 check(r >= 0); in test_empty()
54 check(t[0].type == JSMN_OBJECT); in test_empty()
55 check(t[0].start == 0 && t[0].end == 2); in test_empty()
60 check(r >= 0); in test_empty()
61 check(t[0].type == JSMN_ARRAY); in test_empty()
62 check(t[0].start == 0 && t[0].end == 2); in test_empty()
67 check(r >= 0); in test_empty()
68 check(t[0].type == JSMN_OBJECT && t[0].start == 0 && t[0].end == 8); in test_empty()
69 check(t[1].type == JSMN_STRING && t[1].start == 2 && t[1].end == 3); in test_empty()
[all …]
/freebsd-14-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDCheckerDocumentation.cpp39 check::ASTCodeBody,
40 check::ASTDecl<FunctionDecl>,
41 check::BeginFunction,
42 check::Bind,
43 check::BranchCondition,
44 check::ConstPointerEscape,
45 check::DeadSymbols,
46 check::EndAnalysis,
47 check::EndFunction,
48 check::EndOfTranslationUnit,
[all …]
HDAnalysisOrderChecker.cpp32 check::PreStmt<CastExpr>, check::PostStmt<CastExpr>,
33 check::PreStmt<ArraySubscriptExpr>,
34 check::PostStmt<ArraySubscriptExpr>, check::PreStmt<CXXNewExpr>,
35 check::PostStmt<CXXNewExpr>, check::PreStmt<CXXDeleteExpr>,
36 check::PostStmt<CXXDeleteExpr>, check::PreStmt<CXXConstructExpr>,
37 check::PostStmt<CXXConstructExpr>, check::PreStmt<OffsetOfExpr>,
38 check::PostStmt<OffsetOfExpr>, check::PreCall, check::PostCall,
39 check::EndFunction, check::EndAnalysis, check::NewAllocator,
40 check::Bind, check::PointerEscape, check::RegionChanges,
41 check::LiveSymbols, eval::Call> {
/freebsd-14-stable/contrib/xz/src/liblzma/check/
HDcheck.c83 lzma_check_init(lzma_check_state *check, lzma_check type) in lzma_check_init() argument
91 check->state.crc32 = 0; in lzma_check_init()
97 check->state.crc64 = 0; in lzma_check_init()
103 lzma_sha256_init(check); in lzma_check_init()
116 lzma_check_update(lzma_check_state *check, lzma_check type, in lzma_check_update() argument
122 check->state.crc32 = lzma_crc32(buf, size, check->state.crc32); in lzma_check_update()
128 check->state.crc64 = lzma_crc64(buf, size, check->state.crc64); in lzma_check_update()
134 lzma_sha256_update(buf, size, check); in lzma_check_update()
147 lzma_check_finish(lzma_check_state *check, lzma_check type) in lzma_check_finish() argument
152 check->buffer.u32[0] = conv32le(check->state.crc32); in lzma_check_finish()
[all …]
HDcheck.h117 extern void lzma_check_init(lzma_check_state *check, lzma_check type);
120 extern void lzma_check_update(lzma_check_state *check, lzma_check type,
124 extern void lzma_check_finish(lzma_check_state *check, lzma_check type);
130 extern void lzma_sha256_init(lzma_check_state *check);
134 const uint8_t *buf, size_t size, lzma_check_state *check);
137 extern void lzma_sha256_finish(lzma_check_state *check);
143 lzma_sha256_init(lzma_check_state *check) in lzma_sha256_init() argument
145 LZMA_SHA256FUNC(Init)(&check->state.sha256); in lzma_sha256_init()
150 lzma_sha256_update(const uint8_t *buf, size_t size, lzma_check_state *check) in lzma_sha256_update() argument
156 LZMA_SHA256FUNC(Update)(&check->state.sha256, buf, UINT32_MAX); in lzma_sha256_update()
[all …]
/freebsd-14-stable/usr.bin/bmake/tests/execution/ellipsis/
HDexpected.stdout.11 before do-check-ellipsis-1
2 before do-check-ellipsis-2
3 after do-check-ellipsis-1
4 after do-check-ellipsis-2
5 before do-check-ellipsis-1
6 before do-check-ellipsis-2
7 after do-check-ellipsis-1
8 after do-check-ellipsis-2
9 before do-check-ellipsis-1
10 before do-check-ellipsis-2
[all …]
HDMakefile.test4 check-ellipsis:
9 do-check-ellipsis: do-check-ellipsis-1 do-check-ellipsis-2
10 .ORDER: do-check-ellipsis-1 do-check-ellipsis-2
12 do-check-ellipsis-1:
17 do-check-ellipsis-2:
/freebsd-14-stable/contrib/nvi/catalog/
HDMakefile32 CHK= dutch.check english.check french.check german.check \
33 polish.check ru_RU.KOI8-R.check spanish.check swedish.check \
34 tr_TR.ISO8859-9.check tr_TR.UTF-8.check uk_UA.KOI8-U.check \
35 zh_CN.GB2312.check
36 check: ${CHK} target
39 f=`basename $@ .check`; \
77 rm -f dump dump.o ${CAT} english.base *.check __ck1 __ck2
/freebsd-14-stable/contrib/libfido2/tools/
HDinclude_check.sh8 check() { function
16 check examples
17 check fuzz
18 check openbsd-compat
19 CFLAGS="${CFLAGS} -D_FIDO_INTERNAL" check src
20 check src/fido.h
21 check src/fido
22 check tools
/freebsd-14-stable/usr.sbin/sa/tests/
HDlegacy_test.sh14 check() function
33 sa -u v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH-u.out
34 sa -u v2-$ARCH-acct.in | check 2 $DIR/v2-$ARCH-u.out
37 sa -i v1-$ARCH-acct.in | check 3 $DIR/v1-$ARCH-sav.out
38 sa -im v1-$ARCH-acct.in | check 4 $DIR/v1-$ARCH-usr.out
42 check 5 $DIR/v1-$ARCH-sav.out
44 check 6 $DIR/v1-$ARCH-usr.out
51 check 7 $DIR/v1-$ARCH-sav.out
53 check 8 $DIR/v1-$ARCH-usr.out
57 check 9 $DIR/v1-$ARCH-sav.out
[all …]
/freebsd-14-stable/crypto/libecc/src/tests/
HDec_self_tests_core.c238 int ret, check; in ec_import_export_test() local
299 ret = is_sign_streaming_mode_supported(c->sig_type, &check); EG(ret, err); in ec_import_export_test()
300 if(check){ in ec_import_export_test()
317 ret = is_sign_deterministic(c->sig_type, &check); EG(ret, err); in ec_import_export_test()
318 if(check){ in ec_import_export_test()
319 ret = are_equal(sig, sig_tmp1, siglen, &check); EG(ret, err); in ec_import_export_test()
320 if(!check){ in ec_import_export_test()
326 ret = are_equal(sig, sig_tmp2, siglen, &check); EG(ret, err); in ec_import_export_test()
327 if(!check){ in ec_import_export_test()
343 ret = is_verify_streaming_mode_supported(c->sig_type, &check); EG(ret, err); in ec_import_export_test()
[all …]
/freebsd-14-stable/contrib/ncurses/ncurses/widechar/
HDwidechars.c102 int check = WideCharToMultiByte(CP_UTF8, in _nc_mblen() local
110 TR(TRACE_BITS, ("\tcheck ->%d\n", check)); in _nc_mblen()
111 if (check > 0 && (size_t) check <= n) { in _nc_mblen()
112 result = check; in _nc_mblen()
126 int check; in _nc_wctomb() local
128 check = WideCharToMultiByte(CP_UTF8, in _nc_wctomb()
136 if (check > 0) { in _nc_wctomb()
142 check + 1, in _nc_wctomb()
/freebsd-14-stable/contrib/bmake/unit-tests/
HDdeptgt-posix.mk40 check-is-posix: .USE
50 check-not-posix: .USE
60 check-not-seen-sys-mk: .USE
74 after-for: .PHONY set-up-sysdir check-not-posix run
85 after-if: .PHONY set-up-sysdir check-not-posix run
96 in-included-file: .PHONY set-up-sysdir check-not-posix run
103 in-first-line: .PHONY set-up-sysdir check-is-posix run
111 after-comment-lines: .PHONY set-up-sysdir check-is-posix run
121 no-builtins: .PHONY set-up-sysdir check-is-posix check-not-seen-sys-mk run
HDmeta-ignore.inc19 @echo > ${IGNORE}/check
20 @rm -f ${OBJ}/check-ignore
25 DESC.one= Initialize check-ignore.meta
26 DESC.two= Use .MAKE.META.${TEST} - check-ignore is up to date
27 DESC.three= Skip .MAKE.META.${TEST} - check-ignore is out of date
33 ${MAKE} -C ${.CURDIR} -f ${makefile} check-ignore parent=${.TARGET}
35 .if make(check-ignore)
56 # : < just reads from ${IGNORE}/check
59 check-ignore: .META .NOPATH
60 @: < ${IGNORE}/check > ${.TARGET}
[all …]
/freebsd-14-stable/contrib/libucl/
HDMakefile.am14 .PHONY = coverage-requirement-check clean-coverage-report
16 coverage-requirement-check:
22 coverage: coverage-requirement-check clean-coverage coverage-build coverage-check coverage-report
25 coverage-build: coverage-requirement-check
39 coverage-check: coverage-requirement-check
41 $(MAKE) $(AM_MAKEFLAGS) check \
48 coverage-lcov: coverage-check coverage-requirement-check
/freebsd-14-stable/contrib/xz/src/liblzma/common/
HDblock_encoder.c42 lzma_check_state check; member
82 lzma_check_update(&coder->check, coder->block->check, in block_encode()
114 if (coder->block->check == LZMA_CHECK_NONE) in block_encode()
117 lzma_check_finish(&coder->check, coder->block->check); in block_encode()
124 const size_t check_size = lzma_check_size(coder->block->check); in block_encode()
125 lzma_bufcpy(coder->check.buffer.u8, &coder->pos, check_size, in block_encode()
130 memcpy(coder->block->raw_check, coder->check.buffer.u8, in block_encode()
181 if ((unsigned int)(block->check) > LZMA_CHECK_ID_MAX) in lzma_block_encoder_init()
184 if (!lzma_check_is_supported(block->check)) in lzma_block_encoder_init()
209 lzma_check_init(&coder->check, block->check); in lzma_block_encoder_init()
/freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
HDsend-cpL_varied_recsize.ksh100 function check function
183 check $opts $small log_must
186 check $opts $small log_mustnot
191 check $opts $large log_must
194 check $opts $large log_mustnot
196 check -p $large log_must $small $large
197 check -L $large log_must $large $small
198 check -cp $large log_must $small $large
199 check -cL $large log_must $large $small
200 check -pL $large log_must $large $large
[all …]
/freebsd-14-stable/sys/dev/netmap/
HDnetmap_offloadings.c78 uint16_t *check = NULL; in gso_fix_segment() local
91 iph->check = 0; in gso_fix_segment()
92 iph->check = nm_os_csum_ipv4(iph); in gso_fix_segment()
93 nm_prdis("IP csum %x", be16toh(iph->check)); in gso_fix_segment()
112 check = &tcph->check; in gso_fix_segment()
120 check = &udph->check; in gso_fix_segment()
125 *check = 0; in gso_fix_segment()
127 nm_os_csum_tcpudp_ipv4(iph, check_data, len-iphlen, check); in gso_fix_segment()
129 nm_os_csum_tcpudp_ipv6(ip6h, check_data, len-iphlen, check); in gso_fix_segment()
131 nm_prdis("TCP/UDP csum %x", be16toh(*check)); in gso_fix_segment()
[all …]
/freebsd-14-stable/usr.bin/lastcomm/tests/
HDlegacy_test.sh10 check() function
30 lastcomm -cesuS -f $DIR/v1-$ARCH-acct.in | check 1 $DIR/v1-$ARCH.out
31 lastcomm -cesuS -f - <$DIR/v1-$ARCH-acct.in | tail -r | check 2 $DIR/v1-$ARCH.out
32 lastcomm -cesuS -f $DIR/v2-$ARCH-acct.in | check 3 $DIR/v2-$ARCH.out
33 lastcomm -cesuS -f - <$DIR/v2-$ARCH-acct.in | tail -r | check 4 $DIR/v2-$ARCH.out
34 lastcomm -cesuS -f v1v2-$ARCH-acct.in | check 5 v1v2-$ARCH.out
35 lastcomm -cesuS -f - <v1v2-$ARCH-acct.in | tail -r | check 6 v1v2-$ARCH.out

12345678910>>...69