Home
last modified time | relevance | path

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

12345678910>>...48

/third_party/node/test/parallel/
Dtest-cluster-basic.js56 const checks = { variable
92 const stateNames = Object.keys(checks.worker.states);
95 forEach(checks.cluster.events, (bool, name, index) => {
101 checks.cluster.events[name] = true;
104 checks.cluster.equal[name] = worker === arguments[0];
108 checks.worker.states[state] = (state === worker.state);
127 forEach(checks.worker.events, function(bool, name, index) {
130 checks.worker.events[name] = true;
133 checks.worker.equal[name] = (worker === this);
165 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-primary.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/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/node/deps/v8/src/compiler/
Dredundancy-elimination.cc67 EffectPathChecks const* checks) { in Copy() argument
68 return zone->New<EffectPathChecks>(*checks); in Copy()
257 Node* node, EffectPathChecks const* checks) { in Set() argument
260 info_for_node_[id] = checks; in Set()
265 EffectPathChecks const* checks = node_checks_.Get(effect); in ReduceCheckNode() local
268 if (checks == nullptr) return NoChange(); in ReduceCheckNode()
270 if (Node* check = checks->LookupCheck(node)) { in ReduceCheckNode()
276 return UpdateChecks(node, checks->AddCheck(zone(), node)); in ReduceCheckNode()
298 EffectPathChecks* checks = EffectPathChecks::Copy( in ReduceEffectPhi() local
302 checks->Merge(node_checks_.Get(input)); in ReduceEffectPhi()
[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/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/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/vk-gl-cts/external/vulkan-docs/src/chapters/
DVK_EXT_validation_flags.txt5 [open,refpage='VkValidationFlagsEXT',desc='Specify validation checks to disable for a Vulkan instan…
8 checks, add a slink:VkValidationFlagsEXT structure to the pname:pNext chain
9 of the slink:VkInstanceCreateInfo structure, specifying the checks to be
17 * pname:disabledValidationCheckCount is the number of checks to disable.
19 elink:VkValidationCheckEXT values specifying the validation checks to be
25 [open,refpage='VkValidationCheckEXT',desc='Specify validation checks to disable',type='enums']
29 specifying validation checks to be disabled, are:
33 * ename:VK_VALIDATION_CHECK_ALL_EXT specifies that all validation checks
/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/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/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/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/openssl/crypto/bn/
Dbn_prime.c27 static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx,
131 int checks = bn_mr_min_checks(bits); in BN_generate_prime_ex2() local
172 i = bn_is_prime_int(ret, checks, ctx, 0, cb); in BN_generate_prime_ex2()
185 for (i = 0; i < checks; i++) { in BN_generate_prime_ex2()
230 int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, in BN_is_prime_ex() argument
233 return ossl_bn_check_prime(a, checks, ctx_passed, 0, cb); in BN_is_prime_ex()
236 int BN_is_prime_fasttest_ex(const BIGNUM *w, int checks, BN_CTX *ctx, in BN_is_prime_fasttest_ex() argument
239 return ossl_bn_check_prime(w, checks, ctx, do_trial_division, cb); in BN_is_prime_fasttest_ex()
244 int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CTX *ctx, in ossl_bn_check_prime() argument
249 if (checks < min_checks) in ossl_bn_check_prime()
[all …]
Dbn_depr.c46 int BN_is_prime(const BIGNUM *a, int checks, in BN_is_prime() argument
52 return ossl_bn_check_prime(a, checks, ctx_passed, 0, &cb); in BN_is_prime()
55 int BN_is_prime_fasttest(const BIGNUM *a, int checks, in BN_is_prime_fasttest() argument
62 return ossl_bn_check_prime(a, checks, ctx_passed, do_trial_division, &cb); in BN_is_prime_fasttest()
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_prime.c27 static int bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx,
131 int checks = bn_mr_min_checks(bits); in BN_generate_prime_ex2() local
172 i = bn_is_prime_int(ret, checks, ctx, 0, cb); in BN_generate_prime_ex2()
185 for (i = 0; i < checks; i++) { in BN_generate_prime_ex2()
230 int BN_is_prime_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, in BN_is_prime_ex() argument
233 return ossl_bn_check_prime(a, checks, ctx_passed, 0, cb); in BN_is_prime_ex()
236 int BN_is_prime_fasttest_ex(const BIGNUM *w, int checks, BN_CTX *ctx, in BN_is_prime_fasttest_ex() argument
239 return ossl_bn_check_prime(w, checks, ctx, do_trial_division, cb); in BN_is_prime_fasttest_ex()
244 int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CTX *ctx, in ossl_bn_check_prime() argument
249 if (checks < min_checks) in ossl_bn_check_prime()
[all …]
Dbn_depr.c46 int BN_is_prime(const BIGNUM *a, int checks, in BN_is_prime() argument
52 return ossl_bn_check_prime(a, checks, ctx_passed, 0, &cb); in BN_is_prime()
55 int BN_is_prime_fasttest(const BIGNUM *a, int checks, in BN_is_prime_fasttest() argument
62 return ossl_bn_check_prime(a, checks, ctx_passed, do_trial_division, &cb); in BN_is_prime_fasttest()
/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/elfutils/src/
Delfclassify.c747 bool checks[] = in process_current_path() local
765 if (checks[classify_elf]) in process_current_path()
767 if (checks[classify_elf_file]) in process_current_path()
769 if (checks[classify_elf_archive]) in process_current_path()
771 if (checks[classify_core]) in process_current_path()
773 if (checks[classify_unstripped]) in process_current_path()
775 if (checks[classify_executable]) in process_current_path()
777 if (checks[classify_program]) in process_current_path()
779 if (checks[classify_shared]) in process_current_path()
781 if (checks[classify_library]) in process_current_path()
[all …]
/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>>...48