Home
last modified time | relevance | path

Searched refs:checks (Results 1 - 25 of 114) sorted by relevance

12345

/third_party/python/Tools/c-analyzer/c_analyzer/
H A D__main__.py123 # the checks
130 def add_checks_cli(parser, checks=None, *, add_flags=None):
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)
[all...]
/third_party/node/test/parallel/
H A Dtest-cluster-worker-disconnect.js39 const checks = {
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
[all...]
H A Dtest-cluster-basic.js56 const checks = {
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
[all...]
H A Dtest-cluster-setup-primary.js34 const checks = {
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);
H A Dtest-cluster-fork-env.js25 // This test checks that arguments provided to cluster.fork() will create
41 const checks = {
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,
H A Dtest-cluster-message.js66 const checks = {
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/node/deps/v8/src/compiler/
H A Dredundancy-elimination.cc67 EffectPathChecks const* checks) { in Copy()
68 return zone->New<EffectPathChecks>(*checks); in Copy()
193 // {a} subsumes {b} if the modes are either the same, or {a} checks in CheckSubsumes()
257 Node* node, EffectPathChecks const* checks) { in Set()
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()
296 // Make a copy of the first input's checks an in ReduceEffectPhi()
66 Copy(Zone* zone, EffectPathChecks const* checks) Copy() argument
256 Set( Node* node, EffectPathChecks const* checks) Set() argument
298 EffectPathChecks* checks = EffectPathChecks::Copy( ReduceEffectPhi() local
314 EffectPathChecks const* checks = node_checks_.Get(effect); ReduceSpeculativeNumberComparison() local
376 EffectPathChecks const* checks = node_checks_.Get(effect); ReduceSpeculativeNumberOperation() local
419 EffectPathChecks const* checks = node_checks_.Get(effect); TakeChecksFromFirstEffect() local
428 UpdateChecks(Node* node, EffectPathChecks const* checks) UpdateChecks() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
H A 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 in TEST_F() local
727 std::string checks = R"( TEST_F() local
870 std::string checks = R"( TEST_F() local
1011 std::string checks = R"( TEST_F() local
1151 std::string checks = R"( TEST_F() local
1291 std::string checks = R"( TEST_F() local
1457 std::string checks = R"( TEST_F() local
1671 std::string checks = R"( TEST_F() local
1879 std::string checks = R"( TEST_F() local
1926 std::string checks = R"( TEST_F() local
2153 std::string checks = R"( TEST_F() local
2203 std::string checks = R"( TEST_F() local
2392 std::string checks = R"( TEST_F() local
2592 std::string checks = R"( TEST_F() local
2641 std::string checks = R"( TEST_F() local
2778 std::string checks = R"( TEST_F() local
2926 std::string checks = R"( TEST_F() local
3070 std::string checks = R"( TEST_F() local
3284 std::string checks = R"( TEST_F() local
3436 std::string checks = R"( TEST_F() local
3609 std::string checks = R"( TEST_F() local
3644 std::string checks = R"( TEST_F() local
3802 std::string checks = R"( TEST_F() local
3960 std::string checks = R"( TEST_F() local
4120 std::string checks = R"( TEST_F() local
4409 std::string checks = R"( TEST_F() local
4560 std::string checks = R"( TEST_F() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
H A 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 in TEST_F() local
727 std::string checks = R"( TEST_F() local
870 std::string checks = R"( TEST_F() local
1011 std::string checks = R"( TEST_F() local
1151 std::string checks = R"( TEST_F() local
1291 std::string checks = R"( TEST_F() local
1457 std::string checks = R"( TEST_F() local
1671 std::string checks = R"( TEST_F() local
1879 std::string checks = R"( TEST_F() local
1926 std::string checks = R"( TEST_F() local
2153 std::string checks = R"( TEST_F() local
2203 std::string checks = R"( TEST_F() local
2392 std::string checks = R"( TEST_F() local
2592 std::string checks = R"( TEST_F() local
2641 std::string checks = R"( TEST_F() local
2778 std::string checks = R"( TEST_F() local
2926 std::string checks = R"( TEST_F() local
3070 std::string checks = R"( TEST_F() local
3284 std::string checks = R"( TEST_F() local
3436 std::string checks = R"( TEST_F() local
3609 std::string checks = R"( TEST_F() local
3644 std::string checks = R"( TEST_F() local
3802 std::string checks = R"( TEST_F() local
3960 std::string checks = R"( TEST_F() local
4120 std::string checks = R"( TEST_F() local
4409 std::string checks = R"( TEST_F() local
4560 std::string checks = R"( TEST_F() local
[all...]
/third_party/spirv-tools/test/opt/loop_optimizations/
H A Dfusion_legal.cpp42 void Match(const std::string& checks, IRContext* context) { in Match() argument
44 (void)checks; in Match()
55 auto match_result = effcee::Match(assembly, checks); in Match()
175 std::string checks = R"( in TEST_F() local
189 Match(checks, context.get()); in TEST_F()
311 std::string checks = R"( in TEST_F() local
325 Match(checks, context.get()); in TEST_F()
444 std::string checks = R"( in TEST_F() local
458 Match(checks, context.get()); in TEST_F()
582 std::string checks in TEST_F() local
724 std::string checks = R"( TEST_F() local
867 std::string checks = R"( TEST_F() local
1008 std::string checks = R"( TEST_F() local
1148 std::string checks = R"( TEST_F() local
1288 std::string checks = R"( TEST_F() local
1454 std::string checks = R"( TEST_F() local
1668 std::string checks = R"( TEST_F() local
1876 std::string checks = R"( TEST_F() local
1923 std::string checks = R"( TEST_F() local
2150 std::string checks = R"( TEST_F() local
2200 std::string checks = R"( TEST_F() local
2389 std::string checks = R"( TEST_F() local
2589 std::string checks = R"( TEST_F() local
2638 std::string checks = R"( TEST_F() local
2775 std::string checks = R"( TEST_F() local
2923 std::string checks = R"( TEST_F() local
3067 std::string checks = R"( TEST_F() local
3281 std::string checks = R"( TEST_F() local
3433 std::string checks = R"( TEST_F() local
3606 std::string checks = R"( TEST_F() local
3641 std::string checks = R"( TEST_F() local
3799 std::string checks = R"( TEST_F() local
3957 std::string checks = R"( TEST_F() local
4117 std::string checks = R"( TEST_F() local
4406 std::string checks = R"( TEST_F() local
4557 std::string checks = R"( TEST_F() local
[all...]
/third_party/mesa3d/src/amd/compiler/tests/
H A Dcheck_output.py361 def __init__(self, result, variant, checks, output):
364 self.checks = checks
366 self.checks.insert(0, CodeCheck(initial_code, None))
380 def check_output(result, variant, checks, output):
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, po
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessExtsTests.cpp957 std::stringstream decls, checks; in initPrograms() local
1097 checks << " int inboundcoords, clampedLayer;\n"; in initPrograms()
1098 checks << " " << vecType << " expectedIB2;\n"; in initPrograms()
1102 checks << " [[unroll]] for (int c = 0; c <= 10; ++c) {\n"; in initPrograms()
1104 checks << " [[unroll]] for (int c = -10; c <= 10; ++c) {\n"; in initPrograms()
1109 checks << " [[dont_unroll]] for (int c = 1023; c >= 0; --c) {\n"; in initPrograms()
1111 checks << " [[dont_unroll]] for (int c = 1050; c >= -1050; --c) {\n"; in initPrograms()
1115 checks << " int idx = smod(gl_VertexIndex * " << numComponents << ", " << refDataNumElements << ");\n"; in initPrograms()
1117 checks << " int idx = smod(c * " << numComponents << ", " << refDataNumElements << ");\n"; in initPrograms()
1237 checks << " expectedI in initPrograms()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessExtsTests.cpp998 std::stringstream decls, checks; in initPrograms() local
1138 checks << " int inboundcoords, clampedLayer;\n"; in initPrograms()
1139 checks << " " << vecType << " expectedIB2;\n"; in initPrograms()
1143 checks << " [[unroll]] for (int c = 0; c <= 10; ++c) {\n"; in initPrograms()
1145 checks << " [[unroll]] for (int c = -10; c <= 10; ++c) {\n"; in initPrograms()
1150 checks << " [[dont_unroll]] for (int c = 1023; c >= 0; --c) {\n"; in initPrograms()
1152 checks << " [[dont_unroll]] for (int c = 1050; c >= -1050; --c) {\n"; in initPrograms()
1156 checks << " int idx = smod(gl_VertexIndex * " << numComponents << ", " << refDataNumElements << ");\n"; in initPrograms()
1158 checks << " int idx = smod(c * " << numComponents << ", " << refDataNumElements << ");\n"; in initPrograms()
1278 checks << " expectedI in initPrograms()
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A 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/
H A 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/
H A Ddesc_sroa_test.cpp506 const std::string checks = R"( in TEST_F() local
513 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
520 const std::string checks = R"( in TEST_F() local
527 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
534 const std::string checks = R"( in TEST_F() local
542 const std::string text = checks + GetStructureArrayTestSpirv(); in TEST_F()
677 const std::string checks = R"( in TEST_F() local
727 SinglePassRunAndMatch<DescriptorScalarReplacement>(checks + shader, true); in TEST_F()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/text/
H A DSpoofCheckerTest.java175 int checks = SpoofChecker.WHOLE_SCRIPT_CONFUSABLE | SpoofChecker.MIXED_SCRIPT_CONFUSABLE in TestGetSetChecks1()
177 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks1()
179 assertEquals("", checks, t); in TestGetSetChecks1()
204 int checks; in TestGetSetChecks()
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()
217 * The checks tha in TestGetSetChecks()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
H A DSpoofCheckerTest.java172 int checks = SpoofChecker.WHOLE_SCRIPT_CONFUSABLE | SpoofChecker.MIXED_SCRIPT_CONFUSABLE in TestGetSetChecks1()
174 sc = new SpoofChecker.Builder().setChecks(checks).build(); in TestGetSetChecks1()
176 assertEquals("", checks, t); in TestGetSetChecks1()
201 int checks; in TestGetSetChecks()
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()
214 * The checks tha in TestGetSetChecks()
[all...]
/third_party/elfutils/src/
H A Delfclassify.c738 /* Perform requested checks against the file at current_path. If
739 necessary, sets *STATUS to 1 if checks failed. */
747 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_progra in process_current_path()
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/
H A 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()
243 /* Wrapper around bn_is_prime_int that sets the minimum number of checks */
244 int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CT argument
266 bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx, int do_trial_division, BN_GENCB *cb) bn_is_prime_int() argument
[all...]
H A 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/openssl/crypto/bn/
H A 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()
243 /* Wrapper around bn_is_prime_int that sets the minimum number of checks */
244 int ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CT argument
266 bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx, int do_trial_division, BN_GENCB *cb) bn_is_prime_int() argument
[all...]
H A 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/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingValveMutableTests.cpp1093 std::ostringstream checks; variable
1100 checks << " {\n";
1101 checks << " uint readValue = texture(usampler2D(externalSampledImage, sampler" << nameSuffix << "), vec2(0, 0)).r;\n";
1102 checks << " debugPrintfEXT(\"iteration-" << iteration << nameSuffix << ": 0x%xu\\n\", readValue);\n";
1103 checks << " anyError |= ((readValue == " << externalImageValue << ") ? 0u : 1u);\n";
1104 //checks << " anyError = readValue;\n";
1105 checks << " }\n";
1109 checks << " {\n";
1110 checks << " uint readValue = texture(combinedSampler" << nameSuffix << ", vec2(0, 0)).r;\n";
1111 checks << " debugPrintfEX
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DSpoofChecker.java141 * third line, the CONFUSABLE checks are disabled. It is good practice to disable them if you won't be using the
145 * To get more details on why a string failed the checks, use a {@link SpoofChecker.CheckResult}:
156 * System.out.println(checkResult.checks); // 16
161 * The return value is a bitmask of the checks that failed. In this case, there was one check that failed:
162 * {@link SpoofChecker#RESTRICTION_LEVEL}, corresponding to the fifth bit (16). The possible checks are:
176 * These checks can be enabled independently of each other. For example, if you were interested in checking for only the
190 * <b>Note:</b> The Restriction Level is the most powerful of the checks. The full logic is documented in
204 * A <code>SpoofChecker</code> instance may be used repeatedly to perform checks on any number of identifiers.
368 * Constants for the kinds of checks that USpoofChecker can perform. These values are used both to select the set of
369 * checks tha
659 setChecks(int checks) setChecks() argument
1221 public int checks; global() field in SpoofChecker.CheckResult
[all...]

Completed in 23 milliseconds

12345