/external/sdv/vsomeip/third_party/boost/intrusive/example/ |
D | doc_list_algorithms.cpp | 36 typedef boost::intrusive::circular_list_algorithms<my_list_node_traits> algo; in main() typedef 41 algo::init_header(&one); in main() 42 assert(algo::count(&one) == 1); in main() 45 algo::link_before(&one, &two); in main() 46 assert(algo::count(&one) == 2); in main() 49 algo::link_after(&two, &three); in main() 50 assert(algo::count(&one) == 3); in main() 53 algo::unlink(&three); in main() 54 assert(algo::count(&one) == 2); in main() 57 algo::unlink(&two); in main() [all …]
|
D | doc_slist_algorithms.cpp | 34 typedef boost::intrusive::circular_slist_algorithms<my_slist_node_traits> algo; in main() typedef 39 algo::init_header(&one); in main() 40 assert(algo::count(&one) == 1); in main() 43 algo::link_after(&one, &two); in main() 44 assert(algo::count(&one) == 2); in main() 47 algo::link_after(&one, &three); in main() 48 assert(algo::count(&one) == 3); in main() 51 algo::unlink_after(&one); in main() 52 assert(algo::count(&one) == 2); in main() 55 algo::unlink(&two); in main() [all …]
|
D | doc_splay_algorithms.cpp | 50 typedef boost::intrusive::splaytree_algorithms<my_splaytree_node_traits> algo; in main() typedef 55 algo::init_header(&header); in main() 58 algo::insert_equal_upper_bound(&header, &two, node_ptr_compare()); in main() 61 algo::insert_equal_lower_bound(&header, &three, node_ptr_compare()); in main() 68 n = algo::next_node(n); in main() 72 algo::unlink(&two); in main() 75 algo::erase(&header, &three); in main()
|
D | doc_splaytree_algorithms.cpp | 49 typedef boost::intrusive::splaytree_algorithms<my_splaytree_node_traits> algo; in main() typedef 54 algo::init_header(&header); in main() 57 algo::insert_equal_upper_bound(&header, &two, node_ptr_compare()); in main() 60 algo::insert_equal_lower_bound(&header, &three, node_ptr_compare()); in main() 67 n = algo::next_node(n); in main() 71 algo::unlink(&two); in main() 74 algo::erase(&header, &three); in main()
|
D | doc_avltree_algorithms.cpp | 56 typedef boost::intrusive::avltree_algorithms<my_avltree_node_traits> algo; in main() typedef 61 algo::init_header(&header); in main() 64 algo::insert_equal_upper_bound(&header, &two, node_ptr_compare()); in main() 67 algo::insert_equal_lower_bound(&header, &three, node_ptr_compare()); in main() 74 n = algo::next_node(n); in main() 78 algo::unlink(&two); in main() 81 algo::erase(&header, &three); in main()
|
D | doc_treap_algorithms.cpp | 50 typedef boost::intrusive::treap_algorithms<my_treap_node_traits> algo; in main() typedef 55 algo::init_header(&header); in main() 58 algo::insert_equal_upper_bound(&header, &two, node_ptr_compare(), node_ptr_priority()); in main() 61 algo::insert_equal_lower_bound(&header, &three, node_ptr_compare(), node_ptr_priority()); in main() 68 n = algo::next_node(n); in main() 72 algo::unlink(&two, node_ptr_priority()); in main() 75 algo::erase(&header, &three, node_ptr_priority()); in main()
|
D | doc_rbtree_algorithms.cpp | 54 typedef boost::intrusive::rbtree_algorithms<my_rbtree_node_traits> algo; in main() typedef 59 algo::init_header(&header); in main() 62 algo::insert_equal_upper_bound(&header, &two, node_ptr_compare()); in main() 65 algo::insert_equal_lower_bound(&header, &three, node_ptr_compare()); in main() 72 n = algo::next_node(n); in main() 76 algo::unlink(&two); in main() 79 algo::erase(&header, &three); in main()
|
/external/vboot_reference/host/lib/ |
D | crypto.c | 14 unsigned int algo; in lookup_helper() local 18 for (algo = 0; algo < size; algo++) in lookup_helper() 19 if (table[algo] && !strcasecmp(table[algo], str)) in lookup_helper() 23 algo = strtoul(str, &e, 0); in lookup_helper() 27 if (algo >= size || !table[algo]) in lookup_helper() 32 *out = algo; in lookup_helper()
|
/external/iptables/extensions/ |
D | libxt_string.t | 2 -m string --algo bm --string "test";-m string --string "test" --algo bm;OK 3 -m string --string "test" --algo kmp;=;OK 4 -m string ! --string "test" --algo kmp;=;OK 5 …xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --algo bm;=;OK 6 …xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --algo bm;;FAIL 7 -m string --hex-string "|0a0a0a0a|" --algo bm;=;OK 8 -m string --algo bm --from 0 --to 65535 --string "test";-m string --string "test" --algo bm;OK 9 -m string --algo wrong;;FAIL 10 -m string --algo bm;;FAIL
|
/external/vboot_reference/firmware/2lib/ |
D | 2sha_utility.c | 60 enum vb2_hash_algorithm algo, uint32_t data_size) in vb2_digest_init() argument 64 dc->hash_alg = algo; in vb2_digest_init() 68 vb2_error_t rv = vb2ex_hwcrypto_digest_init(algo, data_size); in vb2_digest_init() 70 VB2_DEBUG(msg, data_size, algo, "enabled\n"); in vb2_digest_init() 75 VB2_DEBUG(msg, data_size, algo, "initialization error"); in vb2_digest_init() 79 VB2_DEBUG(msg, data_size, algo, "unsupported\n"); in vb2_digest_init() 81 VB2_DEBUG(msg, data_size, algo, "forbidden\n"); in vb2_digest_init() 84 switch (algo) { in vb2_digest_init() 93 vb2_sha256_init(&dc->sha256, algo); in vb2_digest_init() 99 vb2_sha512_init(&dc->sha512, algo); in vb2_digest_init() [all …]
|
/external/python/asn1crypto/tests/ |
D | test_algos.py | 38 algo = algos.EncryptionAlgorithm().load(f.read()) 39 scheme = algo['parameters']['encryption_scheme'] 48 algo = algos.EncryptionAlgorithm.load(f.read()) 49 self.assertEqual(algo.encryption_block_size, 8) 50 self.assertEqual(algo.encryption_iv, b'Q\xf1\xde\xc3\xc0l\xe8\xef') 51 self.assertEqual(algo.encryption_cipher, 'rc2') 52 self.assertEqual(algo.encryption_mode, 'cbc') 53 self.assertEqual(algo.key_length, 16) 57 algo = algos.EncryptionAlgorithm.load(f.read()) 58 self.assertEqual(algo.encryption_block_size, 16) [all …]
|
/external/coreboot/util/cbfstool/ |
D | cbfscomptool.c | 47 const struct typedesc_t *algo; in benchmark() local 48 for (algo = &types_cbfs_compression[0]; algo->name != NULL; algo++) { in benchmark() 50 printf("measuring '%s'\n", algo->name); in benchmark() 51 comp_func_ptr comp = compression_function(algo->type); in benchmark() 85 const struct typedesc_t *algo = &types_cbfs_compression[0]; in compress() local 86 while (algo->name != NULL) { in compress() 87 if (strcasecmp(algo->name, algoname) == 0) break; in compress() 88 algo++; in compress() 90 if (algo->name == NULL) { in compress() 95 comp_func_ptr comp = compression_function(algo->type); in compress() [all …]
|
/external/rust/android-crates-io/crates/petgraph/tests/ |
D | iso.rs | 11 use petgraph::algo::{ 275 assert!(petgraph::algo::is_isomorphic(&peta, &petb)); in petersen_iso() 285 assert!(petgraph::algo::is_isomorphic(&peta, &petb)); in petersen_undir_iso() 293 assert!(petgraph::algo::is_isomorphic(&a, &b)); in full_iso() 302 assert!(!petgraph::algo::is_isomorphic(&a, &b)); in praust_dir_no_iso() 311 assert!(!petgraph::algo::is_isomorphic(&a, &b)); in praust_undir_no_iso() 319 assert!(petgraph::algo::is_isomorphic(&a, &b)); in coxeter_di_iso() 327 assert!(petgraph::algo::is_isomorphic(&a, &b)); in coxeter_undi_iso() 334 assert!(!petgraph::algo::is_isomorphic(&a, &b)); in g14_dir_not_iso() 341 assert!(!petgraph::algo::is_isomorphic(&a, &b)); in g14_undir_not_iso() [all …]
|
/external/trusty/arm-trusted-firmware/drivers/nxp/auth/csf_hdr_parser/ |
D | csf_hdr_parser.c | 56 enum hash_algo algo = SHA256; in deploy_rotpk_hash_table() local 68 ret = hash_init(algo, &ctx); in deploy_rotpk_hash_table() 74 ret = hash_update(algo, ctx, (uint8_t *)((uint8_t *)srk_buffer), in deploy_rotpk_hash_table() 81 ret = hash_final(algo, ctx, hash, digest_size); in deploy_rotpk_hash_table() 109 ret = hash_init(algo, &ctx); in deploy_rotpk_hash_table() 115 ret = hash_update(algo, ctx, srktbl[i].pkey, srktbl[i].key_len); in deploy_rotpk_hash_table() 121 ret = hash_final(algo, ctx, rotpk_hash_table[i], digest_size); in deploy_rotpk_hash_table() 147 enum hash_algo algo = SHA256; in calc_img_hash() local 149 ret = hash_init(algo, &ctx); in calc_img_hash() 156 ret = hash_update(algo, ctx, (uint8_t *)hdr, sizeof(struct csf_hdr)); in calc_img_hash() [all …]
|
/external/arm-trusted-firmware/drivers/nxp/auth/csf_hdr_parser/ |
D | csf_hdr_parser.c | 56 enum hash_algo algo = SHA256; in deploy_rotpk_hash_table() local 68 ret = hash_init(algo, &ctx); in deploy_rotpk_hash_table() 74 ret = hash_update(algo, ctx, (uint8_t *)((uint8_t *)srk_buffer), in deploy_rotpk_hash_table() 81 ret = hash_final(algo, ctx, hash, digest_size); in deploy_rotpk_hash_table() 109 ret = hash_init(algo, &ctx); in deploy_rotpk_hash_table() 115 ret = hash_update(algo, ctx, srktbl[i].pkey, srktbl[i].key_len); in deploy_rotpk_hash_table() 121 ret = hash_final(algo, ctx, rotpk_hash_table[i], digest_size); in deploy_rotpk_hash_table() 147 enum hash_algo algo = SHA256; in calc_img_hash() local 149 ret = hash_init(algo, &ctx); in calc_img_hash() 156 ret = hash_update(algo, ctx, (uint8_t *)hdr, sizeof(struct csf_hdr)); in calc_img_hash() [all …]
|
/external/pigweed/pw_kvs/ |
D | checksum_test.cc | 32 ChecksumAlgorithm& algo = crc16_algo; in TEST() local 34 algo.Update(kString.data(), kString.size()); in TEST() 35 EXPECT_EQ(OkStatus(), algo.Verify(as_bytes(span(&kStringCrc, 1)))); in TEST() 39 ChecksumCrc16 algo; in TEST() local 40 EXPECT_EQ(Status::DataLoss(), algo.Verify(as_bytes(span(kString.data(), 2)))); in TEST() 44 ChecksumCrc16 algo; in TEST() local 45 EXPECT_EQ(Status::InvalidArgument(), algo.Verify({})); in TEST() 47 algo.Verify(as_bytes(span(kString.substr(0, 1))))); in TEST() 52 ChecksumCrc16 algo; in TEST() local 53 ASSERT_GT(sizeof(crc), algo.size_bytes()); in TEST() [all …]
|
/external/coreboot/src/security/vboot/ |
D | tpm_common.c | 47 enum vb2_hash_algorithm algo = tlcl_get_family() == TPM_1 ? in vboot_extend_pcr() local 53 return tpm_extend_pcr(pcr, algo, buffer, vb2_digest_size(algo), in vboot_extend_pcr() 57 return tpm_extend_pcr(pcr, algo, buffer, vb2_digest_size(algo), in vboot_extend_pcr() 61 return tpm_extend_pcr(pcr, algo, buffer, vb2_digest_size(algo), in vboot_extend_pcr()
|
/external/coreboot/payloads/external/LinuxBoot/riscv/ |
D | kernel_fdt_lzma.its | 22 algo = "crc32"; 25 algo = "sha1"; 28 algo = "sha256"; 38 algo = "crc32"; 41 algo = "sha1"; 44 algo = "sha256"; 57 algo = "sha1"; 60 algo = "sha256";
|
/external/trusty/arm-trusted-firmware/drivers/nxp/crypto/caam/src/auth/ |
D | hash.c | 42 int hash_init(enum hash_algo algo, void **ctx) in hash_init() argument 47 glbl_ctx.algo = algo; in hash_init() 64 int hash_update(enum hash_algo algo, void *context, void *data_ptr, in hash_update() argument 76 if (ctx->algo != algo) { in hash_update() 111 int hash_final(enum hash_algo algo, void *context, void *hash_ptr, in hash_final() argument 123 if (ctx->algo != algo) { in hash_final()
|
/external/arm-trusted-firmware/drivers/nxp/crypto/caam/src/auth/ |
D | hash.c | 42 int hash_init(enum hash_algo algo, void **ctx) in hash_init() argument 47 glbl_ctx.algo = algo; in hash_init() 64 int hash_update(enum hash_algo algo, void *context, void *data_ptr, in hash_update() argument 76 if (ctx->algo != algo) { in hash_update() 111 int hash_final(enum hash_algo algo, void *context, void *hash_ptr, in hash_final() argument 123 if (ctx->algo != algo) { in hash_final()
|
/external/coreboot/payloads/external/LinuxBoot/arm64/ |
D | kernel_fdt_lzma.its | 22 algo = "crc32"; 25 algo = "sha1"; 28 algo = "sha256"; 38 algo = "crc32"; 41 algo = "sha1"; 44 algo = "sha256"; 57 algo = "sha1"; 60 algo = "sha256";
|
/external/vboot_reference/tests/ |
D | vb2_sha256_x86_tests.c | 80 #define TEST_KNOWN_VALUE(algo, str, value) \ in known_value_tests() argument 81 TEST_EQ(vb2_digest_size(algo), sizeof(value) - 1, \ in known_value_tests() 82 "Known hash size " #algo ": " #str); \ in known_value_tests() 90 algo, test.hash.raw, \ in known_value_tests() 91 vb2_digest_size(algo)), \ in known_value_tests() 92 "Calculate known hash " #algo ": " #str); \ in known_value_tests() 94 "Known hash " #algo ": " #str); \ in known_value_tests() 96 "Overflow known hash " #algo ": " #str); \ in known_value_tests()
|
/external/cronet/tot/crypto/ |
D | unexportable_key_metrics.cc | 42 std::string GetHistogramSuffixForAlgo(internal::TPMSupport algo) { in GetHistogramSuffixForAlgo() argument 43 switch (algo) { in GetHistogramSuffixForAlgo() 74 internal::TPMSupport algo, in ReportUmaLatency() argument 79 OperationToString(operation) + GetHistogramSuffixForAlgo(algo); in ReportUmaLatency() 84 internal::TPMSupport algo, in ReportUmaOperationSuccess() argument 89 OperationToString(operation) + GetHistogramSuffixForAlgo(algo); in ReportUmaOperationSuccess() 94 internal::TPMSupport algo, in ReportUmaTpmOperation() argument 98 ReportUmaOperationSuccess(operation, algo, status, type); in ReportUmaTpmOperation() 102 ReportUmaLatency(operation, algo, latency, type); in ReportUmaTpmOperation() 115 auto algo = virtual_provider->SelectAlgorithm(kAllAlgorithms); in MeasureVirtualTpmOperations() local [all …]
|
/external/cronet/stable/crypto/ |
D | unexportable_key_metrics.cc | 42 std::string GetHistogramSuffixForAlgo(internal::TPMSupport algo) { in GetHistogramSuffixForAlgo() argument 43 switch (algo) { in GetHistogramSuffixForAlgo() 74 internal::TPMSupport algo, in ReportUmaLatency() argument 79 OperationToString(operation) + GetHistogramSuffixForAlgo(algo); in ReportUmaLatency() 84 internal::TPMSupport algo, in ReportUmaOperationSuccess() argument 89 OperationToString(operation) + GetHistogramSuffixForAlgo(algo); in ReportUmaOperationSuccess() 94 internal::TPMSupport algo, in ReportUmaTpmOperation() argument 98 ReportUmaOperationSuccess(operation, algo, status, type); in ReportUmaTpmOperation() 102 ReportUmaLatency(operation, algo, latency, type); in ReportUmaTpmOperation() 115 auto algo = virtual_provider->SelectAlgorithm(kAllAlgorithms); in MeasureVirtualTpmOperations() local [all …]
|
/external/pytorch/aten/src/ATen/native/mkldnn/xpu/detail/ |
D | Attr.h | 78 PostOpParam(float scale, float alpha, float beta, dnnl::algorithm algo, kind_t kind) in PostOpParam() 79 : scale_(scale), alpha_(alpha), beta_(beta), algo_(algo), kind_(kind) {} in PostOpParam() 87 dnnl::algorithm algo, in PostOpParam() 92 algo_(algo), in PostOpParam() 98 PostOpParam(at::Tensor& binary, float scale, dnnl::algorithm algo, kind_t kind) in PostOpParam() 99 : scale_(scale), binary_(binary), algo_(algo), kind_(kind) {} in PostOpParam() 176 dnnl::algorithm algo) { in append_post_eltwise() argument 178 PostOpParam(scale, alpha, beta, algo, kind_t::eltwise)); in append_post_eltwise() 183 Attr& append_post_binary(dnnl::algorithm algo, const at::Tensor& binary) { in append_post_binary() argument 193 PostOpParam(binary_, md, expected_md, algo, kind_t::binary)); in append_post_binary() [all …]
|