/freebsd/crypto/openssl/test/ |
H A D | sparse_array_test.c | 34 } cases[] = { in test_sparse_array() local 49 for (i = 0; i < OSSL_NELEM(cases); i++) { in test_sparse_array() 50 if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) { in test_sparse_array() 55 if (!TEST_str_eq(ossl_sa_char_get(sa, cases[j].n), cases[j].v)) { in test_sparse_array() 73 } cases[] = { in test_sparse_array_num() local 87 for (i = 0; i < OSSL_NELEM(cases); i++) in test_sparse_array_num() 88 if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v)) in test_sparse_array_num() 89 || !TEST_size_t_eq(ossl_sa_char_num(sa), cases[i].num)) in test_sparse_array_num() 106 const struct index_cases_st *cases; member 114 const struct index_cases_st *cases = doall_data->cases; in leaf_check_all() local [all …]
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | directive-include-guard.mk | 25 # Each of the following test cases creates a temporary file named after the 31 CASES+= variable-ifndef 42 CASES+= variable-ifndef-reuse 52 CASES+= variable-ifndef-zero 62 CASES+= variable-ifndef-one 70 CASES+= comments 85 CASES+= variable-if 96 CASES+= variable-if-reuse 106 CASES+= variable-if-triple-negation 116 CASES+= variable-if-spaced [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | StringSwitch.h | 10 /// statement whose cases are string literals. 24 /// A switch()-like statement whose cases are string literals. 40 /// .Cases("violet", "purple", Violet) 90 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases() function 94 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function 96 return Case(S0, Value).Cases(S1, S2, Value); in Cases() 99 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function 101 return Case(S0, Value).Cases(S1, S2, S3, Value); in Cases() 104 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, in Cases() function 106 return Case(S0, Value).Cases(S in Cases() 109 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, Cases() function 115 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, Cases() function 121 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, Cases() function 127 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, Cases() function 134 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, StringLiteral S2, Cases() function [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 137 // Remove additional occurrences coming from condensed cases and keep the in FixPhis() 306 /// Transform simple list of \p SI's cases into list of CaseRange's \p Cases. 307 /// \post \p Cases wouldn't contain references to \p SI's default BB. 308 /// \returns Number of \p SI's cases that do not reference \p SI's default BB. 309 unsigned Clusterify(CaseVector &Cases, SwitchInst *SI) { in Clusterify() argument 312 // Start with "simple" cases in Clusterify() 313 for (auto Case : SI->cases()) { in Clusterify() 316 Cases.push_back(CaseRange(Case.getCaseValue(), Case.getCaseValue(), in Clusterify() 321 llvm::sort(Cases, CaseCmp()); in Clusterify() 324 if (Cases.size() >= 2) { in Clusterify() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendOptions.cpp | 17 .Cases("ast", "pcm", InputKind(Language::Unknown, InputKind::Precompiled)) in getInputKindForExtension() 19 .Cases("S", "s", Language::Asm) in getInputKindForExtension() 25 .Cases("mm", "M", Language::ObjCXX) in getInputKindForExtension() 27 .Cases("C", "cc", "cp", Language::CXX) in getInputKindForExtension() 28 .Cases("cpp", "CPP", "c++", "cxx", "hpp", "hxx", Language::CXX) in getInputKindForExtension() 30 .Cases("iim", "iih", InputKind(Language::CXX).getPreprocessed()) in getInputKindForExtension() 33 .Cases("cu", "cuh", Language::CUDA) in getInputKindForExtension() 35 .Cases("ll", "bc", Language::LLVM_IR) in getInputKindForExtension()
|
/freebsd/contrib/expat/tests/ |
H A D | acc_tests.c | 60 struct AccountingTestCase cases[] = { in START_TEST() local 241 const size_t countCases = sizeof(cases) / sizeof(cases[0]); in START_TEST() 245 = strlen(cases[u].primaryText); in START_TEST() 247 = (cases[u].firstExternalText ? strlen(cases[u].firstExternalText) : 0) in START_TEST() 248 + (cases[u].secondExternalText ? strlen(cases[u].secondExternalText) in START_TEST() 250 + cases[u].expectedCountBytesIndirectExtra; in START_TEST() 254 if (cases[u].firstExternalText) { in START_TEST() 257 XML_SetUserData(parser, (void *)&cases[u]); in START_TEST() 261 = _XML_Parse_SINGLE_BYTES(parser, cases[u].primaryText, in START_TEST() 262 (int)strlen(cases[u].primaryText), XML_TRUE); in START_TEST() [all …]
|
/freebsd/contrib/atf/ |
H A D | NEWS | 42 * Added a new "require.diskspace" metadata property to test cases so that 66 make test cases fail fast when they run unprotected commands. However, 176 cases from breaking xsltproc later. 192 detect defined but unused test cases. 247 atf-report so that invalid data in the output of test cases does not 260 ensure that test cases are properly defined in test programs and helps 263 * PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero. 267 * Made atf-run hardcode TZ=UTC for test cases. It used to undefine TZ, but 276 test cases to specify installed files that must be present for the test 323 instead of just listing them as having 0 test cases. [all …]
|
/freebsd/contrib/kyua/integration/ |
H A D | cmd_report_test.sh | 69 Test cases: 2 total, 1 skipped, 0 expected failures, 0 broken, 0 failed 81 Test cases: 2 total, 1 skipped, 0 expected failures, 0 broken, 0 failed 126 Test cases: 2 total, 1 skipped, 0 expected failures, 0 broken, 0 failed 155 Test cases: 1 total, 1 skipped, 0 expected failures, 0 broken, 0 failed 174 Test cases: 1 total, 0 skipped, 0 expected failures, 0 broken, 0 failed 184 Test cases: 1 total, 0 skipped, 0 expected failures, 0 broken, 0 failed 203 Test cases: 1 total, 1 skipped, 0 expected failures, 0 broken, 0 failed 207 kyua: W: No test cases matched by the filter 'first'. 208 kyua: W: No test cases matched by the filter 'simple_all_pass:second'. 275 Test cases: 2 total, 1 skipped, 0 expected failures, 0 broken, 0 failed [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | RewriteRule.cpp | 197 R.Cases = {{std::move(M), std::move(Edits)}}; in makeRule() 283 auto Transformations = Rule.Cases[I].Edits(Result); in run() 361 for (auto &Case : Rule.Cases) in addInclude() 380 const SmallVectorImpl<std::pair<size_t, RewriteRule::Case>> &Cases, in taggedMatchers() argument 383 Matchers.reserve(Cases.size()); in taggedMatchers() 384 for (const auto &Case : Cases) { in taggedMatchers() 405 R.Cases.append(Rule.Cases.begin(), Rule.Cases.end()); in applyFirst() 411 // Map the cases into buckets of matchers -- one for each "root" AST kind, in buildMatchers() 418 const SmallVectorImpl<RewriteRule::Case> &Cases = Rule.Cases; in buildMatchers() local 419 for (int I = 0, N = Cases.size(); I < N; ++I) { in buildMatchers() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransProtectedScope.cpp | 57 SmallVectorImpl<CaseInfo> &Cases; member in __anon2f6a04b40111::CaseCollector 60 CaseCollector(ParentMap &PMap, SmallVectorImpl<CaseInfo> &Cases) in CaseCollector() argument 61 : PMap(PMap), Cases(Cases) { } in CaseCollector() 80 Cases.push_back( in VisitSwitchStmt() 99 SmallVector<CaseInfo, 16> Cases; member in __anon2f6a04b40111::ProtectedScopeFixer 107 CaseCollector(BodyCtx.getParentMap(), Cases) in ProtectedScopeFixer() 150 for (unsigned i = 0; i != Cases.size(); i++) { in handleProtectedNote() 151 CaseInfo &info = Cases[i]; in handleProtectedNote()
|
/freebsd/contrib/atf/doc/ |
H A D | atf-test-program.1 | 60 To execute test cases in a controller manner, you need a runtime engine 64 You should only execute test cases by hand for debugging purposes. 67 test cases alongside their meta-data properties in a format that is 71 to know how to execute the test cases of a given test program. 76 Lists available test cases alongside a brief description for each of them. 88 This is needed in all cases, except when the test program is being executed
|
H A D | atf-test-case.4 | 30 .Nd generic description of test cases 38 Given this, test cases are very fine-grained, but they attempt to group 74 At last, test cases are always contained into test programs. 120 results comes when writing test cases that verify known failures caused, 135 Test cases are free to print whatever they want to their 142 This is specially important for long test cases. 144 Test cases will log their results to an auxiliary file, which is then 147 APIs to implement the test cases. 149 The standard input of the test cases is unconditionally connected to 332 Test cases are always executed with a file creation mode mask (umask) of
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYISelLowering.cpp | 886 .Cases("{t7}", "{fp}", CSKY::R23) in getRegForInlineAsmConstraint() 887 .Cases("{t8}", "{top}", CSKY::R24) in getRegForInlineAsmConstraint() 888 .Cases("{t9}", "{bsp}", CSKY::R25) in getRegForInlineAsmConstraint() 891 .Cases("{gb}", "{rgb}", "{rdb}", CSKY::R28) in getRegForInlineAsmConstraint() 892 .Cases("{tb}", "{rtb}", CSKY::R29) in getRegForInlineAsmConstraint() 909 .Cases("{fr0}", "{vr0}", CSKY::F0_32) in getRegForInlineAsmConstraint() 910 .Cases("{fr1}", "{vr1}", CSKY::F1_32) in getRegForInlineAsmConstraint() 911 .Cases("{fr2}", "{vr2}", CSKY::F2_32) in getRegForInlineAsmConstraint() 912 .Cases("{fr3}", "{vr3}", CSKY::F3_32) in getRegForInlineAsmConstraint() 913 .Cases("{fr4}", "{vr4}", CSKY::F4_32) in getRegForInlineAsmConstraint() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_coverage.c | 197 * cases[0] is the number of case constants 198 * cases[1] is the size of val in bits 199 * cases[2..n] are the case constants 202 __sanitizer_cov_trace_switch(uint64_t val, uint64_t *cases) in __sanitizer_cov_trace_switch() argument 211 count = cases[0]; in __sanitizer_cov_trace_switch() 214 switch (cases[1]) { in __sanitizer_cov_trace_switch() 234 if (!trace_cmp(type, val, cases[i + 2], ret)) in __sanitizer_cov_trace_switch()
|
/freebsd/contrib/kyua/ |
H A D | NEWS.md | 18 * Fixed execution of test cases as an unprivileged user, at least under 21 test cases might have previously failed for mysterious reasons when 46 cases in parallel. This is a big deal because test cases are rarely 51 cases. With sequential execution, a full test suite run takes around 12 63 * Issue #2: Implemented support to execute test cases in parallel when 67 suites contain test cases with side-effects that might fail when run in 89 problems when running Kyua as root and executing test cases that require 137 * Added support to print the details of all test cases (metadata and 143 metadata property, which can also be provided by ATF test cases as 160 where test cases could only do this from their body and cleanup [all …]
|
/freebsd/sys/dev/isci/scil/ |
H A D | sati_design.h | 82 SATI complies with the t10 SAT specification where possible. In cases where 112 @section sati_use_cases Use Cases 121 - For simplicify the association between the actor and the use cases 123 - The use cases in green indicate the use case has been implemented in 126 @image html Use_Case_Diagram__SATI__SATI_-_SPC.jpg "SCSI Primary Command Translation Use Cases" 131 @image html Use_Case_Diagram__SATI__SATI_-_SBC.jpg "SCSI Block Command Translation Use Cases" 137 …e html Use_Case_Diagram__SATI__SATI_-_SAT_Specific.jpg "SCSI-to-ATA Translation Specific Use Cases"
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_diagnosis.c | 186 * Return count of other unique SERD cases under same vdev parent 192 uint_t cases = 0; in zfs_other_serd_cases() local 203 /* Periodically purge old SERD entries and stale cases */ in zfs_other_serd_cases() 229 cases++; in zfs_other_serd_cases() 233 cases++; in zfs_other_serd_cases() 237 cases++; in zfs_other_serd_cases() 240 return (cases); in zfs_other_serd_cases() 244 * Iterate over any active cases. If any cases are associated with a pool or 258 * Mark any cases associated with this (pool, vdev) pair. in zfs_mark_vdev() 305 * Mark any cases associated with just this pool. in zfs_mark_pool() [all …]
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_parse.c | 282 case_list *cases; in def_union() local 292 tailp = &defp->def.un.cases; in def_union() 298 cases = XALLOC(case_list); in def_union() 299 cases->case_name = tok.str; in def_union() 305 cases->contflag = 1; in def_union() 307 *tailp = cases; in def_union() 308 tailp = &cases->next; in def_union() 309 cases = XALLOC(case_list); in def_union() 310 cases->case_name = tok.str; in def_union() 316 cases->case_decl = dec; in def_union() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MSA.txt | 6 the implementation. In a small number of cases, this can cause different 19 same cases. andi.b should use fractionally less power than bclri.b in 24 constant since shf.w covers exactly the same cases. shf.w is used 48 It is not possible to emit splati.w since shf.w covers the same cases. 79 for both cases.
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGTargetInfo.h | 39 /// This can be used by targets to provide code sequences for cases 62 /// This can be used by targets to provide code sequences for cases 75 /// This can be used by targets to provide code sequences for cases 90 /// Emit target-specific code that performs a memcmp/bcmp, in cases where that is 102 /// Emit target-specific code that performs a memchr, in cases where that is 113 /// Emit target-specific code that performs a strcpy or stpcpy, in cases 127 /// Emit target-specific code that performs a strcmp, in cases where that is
|
/freebsd/contrib/atf/atf-sh/ |
H A D | atf-sh.3 | 142 \&... additional test cases ... 147 ... add additional test cases ... 150 .Ss Definition of test cases 151 Test cases have an identifier and are composed of three different parts: 155 To define test cases, one can use the 183 function, which is in charge of registering the test cases that will be 248 It is very important to provide a clear error message in both cases so that 360 \&... definition of test cases ...
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
H A D | RewriteRule.h | 88 // (`RewriteRule::Explanation`) instead. Notes serve the rare cases wherein 165 /// cases so that user doesn't need to specify which factory function to 274 // a logical "case" and a rule is a sequence of cases. 276 // Rule cases have an additional, implicit, component: the parameters. These are 288 SmallVector<Case, 1> Cases; member 313 R.Cases = {{std::move(M), std::move(Edits)}}; 377 // of its cases. Anywhere you'd use `anyOf(m1.bind("id1"), m2.bind("id2"))` and 388 // We have three cases to consider (for some equality function, `eq`): 417 assert(Rule.Cases.size() == Rule.Metadata.size() && 419 R.Cases.append(Rule.Cases.begin(), Rule.Cases.end()); [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
H A D | M68k.cpp | 43 .Cases("m68000", "68000", "M68000") in getM68kTargetCPU() 44 .Cases("m68010", "68010", "M68010") in getM68kTargetCPU() 45 .Cases("m68020", "68020", "M68020") in getM68kTargetCPU() 46 .Cases("m68030", "68030", "M68030") in getM68kTargetCPU() 47 .Cases("m68040", "68040", "M68040") in getM68kTargetCPU() 48 .Cases("m68060", "68060", "M68060") in getM68kTargetCPU()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | PPC.h | 136 .Cases("power3", "pwr3", ArchDefinePpcgr) in setCPU() 137 .Cases("power4", "pwr4", in setCPU() 139 .Cases("power5", "pwr5", in setCPU() 142 .Cases("power5x", "pwr5x", in setCPU() 145 .Cases("power6", "pwr6", in setCPU() 148 .Cases("power6x", "pwr6x", in setCPU() 152 .Cases("power7", "pwr7", in setCPU() 157 .Cases("power8", "pwr8", "ppc64le", in setCPU() 161 .Cases("power9", "pwr9", in setCPU() 165 .Cases("power10", "pwr10", in setCPU() [all …]
|
/freebsd/crypto/krb5/doc/ |
H A D | thread-safe.txt | 35 from some other thread. Offhand, I'm not aware of any cases where 40 for "can't happen" cases, and indicate programming errors. In some 41 cases, the compiler may be able to infer that the "can't happen" cases 42 really can't happen, and drop the calls, but in many cases, this is 45 There are cases (e.g., in the com_err library) where errors arising 91 is used to try to catch cases where remove_error_table is called after
|