Home
last modified time | relevance | path

Searched refs:checks (Results 1 – 25 of 1622) sorted by relevance

12345678910>>...65

/third_party/node/test/parallel/
Dtest-cluster-basic.js43 const checks = { variable
79 const stateNames = Object.keys(checks.worker.states);
82 forEach(checks.cluster.events, (bool, name, index) => {
88 checks.cluster.events[name] = true;
91 checks.cluster.equal[name] = worker === arguments[0];
95 checks.worker.states[state] = (state === worker.state);
114 forEach(checks.worker.events, function(bool, name, index) {
117 checks.worker.events[name] = true;
120 checks.worker.equal[name] = (worker === this);
152 forEach(checks.cluster.events, (check, name) => {
[all …]
Dtest-cluster-worker-disconnect.js39 const checks = { variable
66 checks.cluster.emitDisconnect = true;
69 checks.cluster.emitExit = true;
74 checks.worker.emitDisconnect = true;
75 checks.worker.voluntaryMode = worker.exitedAfterDisconnect;
76 checks.worker.state = worker.state;
81 checks.worker.emitExit = true;
82 checks.worker.died = !common.isAlive(worker.process.pid);
83 checks.worker.emitDisconnectInsideWorker = code === 42;
88 const w = checks.worker;
[all …]
Dtest-cluster-setup-master.js34 const checks = { variable
50 checks.setupEvent = true;
57 checks.settingsObject = true;
68 checks.args = true;
84 assert.ok(checks.args, argsMsg);
86 assert.ok(checks.setupEvent, 'The setup event was never emitted');
90 assert.ok(checks.settingsObject, settingObjectMsg);
Dtest-cluster-fork-env.js41 const checks = { variable
58 checks.using = (data.prop === 'custom');
59 checks.overwrite = (data.overwrite === 'new');
64 assert.ok(checks.using, 'The worker did not receive the correct env.');
66 checks.overwrite,
Dtest-cluster-message.js66 const checks = { variable
84 checks[type].receive = true;
85 checks[type].correct = result;
86 console.error('check', checks);
89 forEach(checks, function(type) {
141 forEach(checks, function(check, type) {
/third_party/jsoncpp/src/test_lib_json/
Dmain.cpp193 IsCheck checks; in JSONTEST_FIXTURE_LOCAL() local
194 checks.isObject_ = true; in JSONTEST_FIXTURE_LOCAL()
195 JSONTEST_ASSERT_PRED(checkIs(emptyObject_, checks)); in JSONTEST_FIXTURE_LOCAL()
196 JSONTEST_ASSERT_PRED(checkIs(object1_, checks)); in JSONTEST_FIXTURE_LOCAL()
291 IsCheck checks; in JSONTEST_FIXTURE_LOCAL() local
292 checks.isArray_ = true; in JSONTEST_FIXTURE_LOCAL()
293 JSONTEST_ASSERT_PRED(checkIs(emptyArray_, checks)); in JSONTEST_FIXTURE_LOCAL()
294 JSONTEST_ASSERT_PRED(checkIs(array1_, checks)); in JSONTEST_FIXTURE_LOCAL()
448 IsCheck checks; in JSONTEST_FIXTURE_LOCAL() local
449 checks.isNull_ = true; in JSONTEST_FIXTURE_LOCAL()
[all …]
/third_party/python/Tools/c-analyzer/c_analyzer/
D__main__.py130 def add_checks_cli(parser, checks=None, *, add_flags=None): argument
132 if not checks:
133 checks = list(CHECKS)
135 elif isinstance(checks, str):
136 checks = [checks]
137 if (add_flags is None and len(checks) > 1) or default:
140 process_checks = add_sepval_cli(parser, '--check', 'checks', checks)
142 for check in checks:
274 def _cli_check(parser, checks=None, **kwargs): argument
275 if isinstance(checks, str):
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
Dfusion_legal.cpp45 void Match(const std::string& checks, IRContext* context) { in Match() argument
47 (void)checks; in Match()
58 auto match_result = effcee::Match(assembly, checks); in Match()
178 std::string checks = R"( in TEST_F() local
192 Match(checks, context.get()); in TEST_F()
314 std::string checks = R"( in TEST_F() local
328 Match(checks, context.get()); in TEST_F()
447 std::string checks = R"( in TEST_F() local
461 Match(checks, context.get()); in TEST_F()
585 std::string checks = R"( in TEST_F() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dfusion_legal.cpp45 void Match(const std::string& checks, IRContext* context) { in Match() argument
47 (void)checks; in Match()
58 auto match_result = effcee::Match(assembly, checks); in Match()
178 std::string checks = R"( in TEST_F() local
192 Match(checks, context.get()); in TEST_F()
314 std::string checks = R"( in TEST_F() local
328 Match(checks, context.get()); in TEST_F()
447 std::string checks = R"( in TEST_F() local
461 Match(checks, context.get()); in TEST_F()
585 std::string checks = R"( in TEST_F() local
[all …]
/third_party/spirv-tools/test/opt/loop_optimizations/
Dfusion_legal.cpp45 void Match(const std::string& checks, IRContext* context) { in Match() argument
47 (void)checks; in Match()
58 auto match_result = effcee::Match(assembly, checks); in Match()
178 std::string checks = R"( in TEST_F() local
192 Match(checks, context.get()); in TEST_F()
314 std::string checks = R"( in TEST_F() local
328 Match(checks, context.get()); in TEST_F()
447 std::string checks = R"( in TEST_F() local
461 Match(checks, context.get()); in TEST_F()
585 std::string checks = R"( in TEST_F() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessExtsTests.cpp776 std::stringstream decls, checks; in initPrograms() local
916 checks << " int inboundcoords, clampedLayer;\n"; in initPrograms()
917 checks << " " << vecType << " expectedIB2;\n"; in initPrograms()
921 checks << " [[unroll]] for (int c = 0; c <= 10; ++c) {\n"; in initPrograms()
923 checks << " [[unroll]] for (int c = -10; c <= 10; ++c) {\n"; in initPrograms()
928 checks << " [[dont_unroll]] for (int c = 1023; c >= 0; --c) {\n"; in initPrograms()
930 checks << " [[dont_unroll]] for (int c = 1050; c >= -1050; --c) {\n"; in initPrograms()
934checks << " int idx = smod(gl_VertexIndex * " << numComponents << ", " << refDataNumElements <<… in initPrograms()
936 checks << " int idx = smod(c * " << numComponents << ", " << refDataNumElements << ");\n"; in initPrograms()
1056 checks << " expectedIB = zzzz;\n"; in initPrograms()
[all …]
/third_party/mesa3d/src/amd/compiler/tests/
Dcheck_output.py361 def __init__(self, result, variant, checks, output): argument
364 self.checks = checks
366 self.checks.insert(0, CodeCheck(initial_code, None))
380 def check_output(result, variant, checks, output): argument
381 state = CheckState(result, variant, checks, output)
383 while len(state.checks):
384 check = state.checks.pop(0)
391 state.checks.insert(0, check)
397 def parse_check(variant, line, checks, pos): argument
400 if len(checks) and isinstance(checks[-1], CodeCheck):
[all …]
/third_party/spirv-tools/test/opt/
Ddesc_sroa_test.cpp508 const std::string checks = R"( in TEST_F() local
515 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
522 const std::string checks = R"( in TEST_F() local
529 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
536 const std::string checks = R"( in TEST_F() local
544 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
679 const std::string checks = R"( in TEST_F() local
729 SinglePassRunAndMatch<DescriptorScalarReplacement>(checks + shader, true); in TEST_F()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Ddesc_sroa_test.cpp508 const std::string checks = R"( in TEST_F() local
515 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
522 const std::string checks = R"( in TEST_F() local
529 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
536 const std::string checks = R"( in TEST_F() local
544 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
679 const std::string checks = R"( in TEST_F() local
729 SinglePassRunAndMatch<DescriptorScalarReplacement>(checks + shader, true); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Ddesc_sroa_test.cpp508 const std::string checks = R"( in TEST_F() local
515 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
522 const std::string checks = R"( in TEST_F() local
529 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
536 const std::string checks = R"( in TEST_F() local
544 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
679 const std::string checks = R"( in TEST_F() local
729 SinglePassRunAndMatch<DescriptorScalarReplacement>(checks + shader, true); in TEST_F()
/third_party/glib/po/
Dsq.po427 # (pofilter) puncspacing: checks for bad spacing after punctuation
444 # (pofilter) puncspacing: checks for bad spacing after punctuation
450 # (pofilter) puncspacing: checks for bad spacing after punctuation
456 # (pofilter) puncspacing: checks for bad spacing after punctuation
462 # (pofilter) puncspacing: checks for bad spacing after punctuation
468 # (pofilter) puncspacing: checks for bad spacing after punctuation
484 # (pofilter) untranslated: checks whether a string has been translated at all
493 # (pofilter) untranslated: checks whether a string has been translated at all
499 # (pofilter) untranslated: checks whether a string has been translated at all
505 # (pofilter) untranslated: checks whether a string has been translated at all
[all …]
/third_party/flatbuffers/docs/source/
DGoApi_generated.txt71 PrependBool prepends a bool to the Builder buffer. Aligns and checks for
75 PrependByte prepends a byte to the Builder buffer. Aligns and checks for
80 checks for space.
84 checks for space.
87 PrependInt16 prepends a int16 to the Builder buffer. Aligns and checks
91 PrependInt32 prepends a int32 to the Builder buffer. Aligns and checks
95 PrependInt64 prepends a int64 to the Builder buffer. Aligns and checks
99 PrependInt8 prepends a int8 to the Builder buffer. Aligns and checks for
107 PrependUint16 prepends a uint16 to the Builder buffer. Aligns and checks
111 PrependUint32 prepends a uint32 to the Builder buffer. Aligns and checks
[all …]
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstelement.c841 PadChecks *checks = user_data; in pad_foreach_func() local
844 fail_if (g_object_get_qdata (G_OBJECT (pad), checks->q) != NULL); in pad_foreach_func()
846 g_object_set_qdata (G_OBJECT (pad), checks->q, GINT_TO_POINTER (1)); in pad_foreach_func()
848 if (checks->dir != GST_PAD_UNKNOWN) { in pad_foreach_func()
849 fail_unless_equals_int (checks->dir, GST_PAD_DIRECTION (pad)); in pad_foreach_func()
851 checks->func_called = TRUE; in pad_foreach_func()
857 PadChecks checks = { 0, GST_PAD_UNKNOWN, FALSE }; in GST_START_TEST() local
864 gst_element_foreach_pad (e, pad_foreach_func, &checks); in GST_START_TEST()
865 fail_if (checks.func_called); in GST_START_TEST()
878 checks.q = g_quark_from_string (num); in GST_START_TEST()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java172 int checks = SpoofChecker.WHOLE_SCRIPT_CONFUSABLE | SpoofChecker.MIXED_SCRIPT_CONFUSABLE in TestGetSetChecks1() local
174 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks1()
176 assertEquals("", checks, t); in TestGetSetChecks1()
201 int checks; in TestGetSetChecks() local
205 checks = sc.getChecks(); in TestGetSetChecks()
206 assertEquals("", SpoofChecker.ALL_CHECKS, checks); in TestGetSetChecks()
208 checks &= ~(SpoofChecker.SINGLE_SCRIPT | SpoofChecker.MIXED_SCRIPT_CONFUSABLE); in TestGetSetChecks()
209 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks()
211 assertEquals("", checks, checks2); in TestGetSetChecks()
263 assertEquals("", SpoofChecker.CHAR_LIMIT, result.checks); in TestAllowedLocales()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/text/
DSpoofCheckerTest.java175 int checks = SpoofChecker.WHOLE_SCRIPT_CONFUSABLE | SpoofChecker.MIXED_SCRIPT_CONFUSABLE in TestGetSetChecks1() local
177 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks1()
179 assertEquals("", checks, t); in TestGetSetChecks1()
204 int checks; in TestGetSetChecks() local
208 checks = sc.getChecks(); in TestGetSetChecks()
209 assertEquals("", SpoofChecker.ALL_CHECKS, checks); in TestGetSetChecks()
211 checks &= ~(SpoofChecker.SINGLE_SCRIPT | SpoofChecker.MIXED_SCRIPT_CONFUSABLE); in TestGetSetChecks()
212 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks()
214 assertEquals("", checks, checks2); in TestGetSetChecks()
266 assertEquals("", SpoofChecker.CHAR_LIMIT, result.checks); in TestAllowedLocales()
[all …]
/third_party/openssl/crypto/bn/
Dbn_depr.c49 int BN_is_prime(const BIGNUM *a, int checks,
55 return BN_is_prime_ex(a, checks, ctx_passed, &cb);
58 int BN_is_prime_fasttest(const BIGNUM *a, int checks,
65 return BN_is_prime_fasttest_ex(a, checks, ctx_passed,
Dbn_prime.c62 int checks = BN_prime_checks_for_size(bits); in BN_generate_prime_ex() local
104 i = BN_is_prime_fasttest_ex(ret, checks, ctx, 0, cb); in BN_generate_prime_ex()
117 for (i = 0; i < checks; i++) { in BN_generate_prime_ex()
145 int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, in BN_is_prime_ex() argument
148 return BN_is_prime_fasttest_ex(a, checks, ctx_passed, 0, cb); in BN_is_prime_ex()
151 int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, in BN_is_prime_fasttest_ex() argument
168 if (checks == BN_prime_checks) in BN_is_prime_fasttest_ex()
169 checks = BN_prime_checks_for_size(BN_num_bits(a)); in BN_is_prime_fasttest_ex()
218 for (i = 0; i < checks; i++) { in BN_is_prime_fasttest_ex()
/third_party/boost/libs/test/doc/testing_tools/
Dtesting_output_streams.qbk28 If you want to perform several checks with the same output, specify parameter `flush_stream`
36 # second to save this output to ensure that future checks produce the same output
45 # explicit output checks and
48 [h4 Explicit output checks]
52 [bt_example example28..Explicit output checks with `output_test_stream`..run-fail]
55 you want to perform several different checks for the same output you wouldn't need to use it though…
58 [tip Try to perform checks as
64 like a series of output operators followed by match pattern checks repeated several times.
74 [tip Try to perform checks as frequently as possible, because it allows you to more closely identif…
/third_party/node/deps/npm/node_modules/yargs/lib/
Dvalidation.js175 let checks = []
177 checks.push({
184 for (let i = 0, f; (f = checks[i]) !== undefined; i++) {
330 checks = checks.filter(c => c.global)
339 frozen.checks = checks
345 checks = frozen.checks
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingBufferDeviceAddressTests.cpp154 …virtual void checkBuffer (std::stringstream& checks, deUint32 bufNum, deUint32 curDepth, cons…
214 void BufferAddressTestCase::checkBuffer (std::stringstream& checks, deUint32 bufNum, deUint32 curDe… in checkBuffer() argument
228checks << " " << ((bufNum & 1) ? "restrict " : "") << "T1 " << localName << " = " << newPrefix <… in checkBuffer()
232 checks << " accum |= " << newPrefix << ".a[0] - " << bufNum*3+0 << ";\n"; in checkBuffer()
233 checks << " accum |= " << newPrefix << ".a[pc.identity[1]] - " << bufNum*3+1 << ";\n"; in checkBuffer()
234 checks << " accum |= " << newPrefix << ".b - " << bufNum*3+2 << ";\n"; in checkBuffer()
235 checks << " accum |= int(" << newPrefix << ".e[0][0] - " << bufNum*3+3 << ");\n"; in checkBuffer()
236 checks << " accum |= int(" << newPrefix << ".e[0][1] - " << bufNum*3+5 << ");\n"; in checkBuffer()
237 checks << " accum |= int(" << newPrefix << ".e[1][0] - " << bufNum*3+4 << ");\n"; in checkBuffer()
238 checks << " accum |= int(" << newPrefix << ".e[1][1] - " << bufNum*3+6 << ");\n"; in checkBuffer()
[all …]

12345678910>>...65