Home
last modified time | relevance | path

Searched refs:expected_usage (Results 1 – 6 of 6) sorted by relevance

/third_party/mbedtls/tests/scripts/
Dgenerate_psa_tests.py483 expected_usage: Optional[List[str]] = None,
495 if expected_usage is None:
496 self.expected_usage = self.usage #type: psa_storage.Expr
497 elif expected_usage:
498 self.expected_usage = psa_storage.Expr(' | '.join(expected_usage))
500 self.expected_usage = psa_storage.Expr(0)
590 key.expected_usage.string,
641 expected_usage=usage_flags,
647 usage_expr = key1.expected_usage.string
821 expected_usage=expected_usage_flags,
/third_party/python/Lib/test/
Dtest_optparse.py527 def assertUsage(self, parser, expected_usage): argument
528 self.assertEqual(parser.get_usage(), expected_usage)
540 expected_usage = "Usage: baz.py ...\n"
541 self.assertUsage(parser, expected_usage)
544 expected_usage + "\n" +
557 expected_usage = "Usage: thingy arg arg\n"
558 self.assertUsage(parser, expected_usage)
560 self.assertHelp(parser, expected_usage + "\n")
Dtest_argparse.py2621 expected_usage = self.usage_when_not_required
2622 self.assertEqual(format_usage(), textwrap.dedent(expected_usage))
2626 expected_usage = self.usage_when_required
2627 self.assertEqual(format_usage(), textwrap.dedent(expected_usage))
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_slot_management.function505 psa_key_usage_t expected_usage = expected_usage_arg;
572 TEST_EQUAL(expected_usage, psa_get_key_usage_flags(&target_attributes));
576 if (expected_usage & PSA_KEY_USAGE_EXPORT) {
Dtest_suite_psa_crypto.function1719 psa_key_usage_t expected_usage = expected_usage_arg;
1735 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage);
2165 psa_key_usage_t expected_usage = expected_usage_arg;
2179 TEST_EQUAL(expected_usage,
2191 TEST_EQUAL(psa_get_key_usage_flags(&attributes), expected_usage);
2197 if (compatible_alg && (expected_usage & PSA_KEY_USAGE_SIGN_HASH) != 0) {
2207 if (compatible_alg && (expected_usage & PSA_KEY_USAGE_VERIFY_HASH) != 0) {
2219 if (compatible_alg && (expected_usage & PSA_KEY_USAGE_SIGN_MESSAGE) != 0) {
2229 if (compatible_alg && (expected_usage & PSA_KEY_USAGE_VERIFY_MESSAGE) != 0) {
2423 psa_key_usage_t expected_usage = expected_usage_arg;
[all …]
/third_party/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc121 int expected_usage = 4 * sizeof(int) + sizeof(Arena*); in TEST() local
122 EXPECT_GE(field.SpaceUsedExcludingSelf(), expected_usage); in TEST()
142 int expected_usage = 16 * sizeof(int); in TEST() local
143 EXPECT_GE(field.SpaceUsedExcludingSelf(), expected_usage); in TEST()