| /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_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_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_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/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/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/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/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/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()
|
| D | nxp_crypto.c | 82 enum hash_algo algo = SHA256; in verify_hash() local 88 ret = hash_init(algo, &ctx); in verify_hash() 94 ret = hash_update(algo, ctx, data_ptr, data_len); in verify_hash() 100 ret = hash_final(algo, ctx, hash, digest_size); in verify_hash()
|
| /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()
|
| D | nxp_crypto.c | 82 enum hash_algo algo = SHA256; in verify_hash() local 88 ret = hash_init(algo, &ctx); in verify_hash() 94 ret = hash_update(algo, ctx, data_ptr, data_len); in verify_hash() 100 ret = hash_final(algo, ctx, hash, digest_size); in verify_hash()
|
| /external/cronet/crypto/ |
| D | unexportable_key_metrics.cc | 61 std::string GetHistogramSuffixForAlgo(internal::TPMSupport algo) { in GetHistogramSuffixForAlgo() argument 62 switch (algo) { in GetHistogramSuffixForAlgo() 93 internal::TPMSupport algo, in ReportUmaLatency() argument 99 GetHistogramSuffixForAlgo(algo); in ReportUmaLatency() 104 internal::TPMSupport algo, in ReportUmaOperationSuccess() argument 110 GetHistogramSuffixForAlgo(algo); in ReportUmaOperationSuccess() 115 internal::TPMSupport algo, in ReportUmaTpmOperation() argument 119 ReportUmaOperationSuccess(operation, algo, status, type); in ReportUmaTpmOperation() 123 ReportUmaLatency(operation, algo, latency, type); in ReportUmaTpmOperation() 136 auto algo = virtual_provider->SelectAlgorithm(kAllAlgorithms); in MeasureVirtualTpmOperations() local [all …]
|
| D | unexportable_key_unittest.cc | 32 const crypto::SignatureVerifier::SignatureAlgorithm algo = in TEST_P() local 36 switch (algo) { in TEST_P() 47 SCOPED_TRACE(static_cast<int>(algo)); in TEST_P() 55 const crypto::SignatureVerifier::SignatureAlgorithm algorithms[] = {algo}; in TEST_P() 75 ASSERT_EQ(key->Algorithm(), algo); in TEST_P() 86 ASSERT_TRUE(verifier.VerifyInit(algo, *sig, spki)); in TEST_P() 102 ASSERT_TRUE(verifier2.VerifyInit(algo, *sig2, spki)); in TEST_P()
|
| /external/libnl/lib/route/cls/ematch/ |
| D | text.c | 85 void rtnl_ematch_text_set_algo(struct rtnl_ematch *e, const char *algo) in rtnl_ematch_text_set_algo() argument 89 _nl_strncpy_trunc(t->cfg.algo, algo, sizeof(t->cfg.algo)); in rtnl_ematch_text_set_algo() 96 return t->cfg.algo[0] ? t->cfg.algo : NULL; in rtnl_ematch_text_get_algo() 126 t->cfg.algo[0] ? t->cfg.algo : "no-algo", in text_dump()
|
| /external/lzma/CPP/7zip/Crypto/ |
| D | MyAes.cpp | 187 if (algo == 2) if (g_Aes_SupportedFunctions_Flags & k_Aes_SupportedFunctions_HW) \ 192 if (algo == 3) if (g_Aes_SupportedFunctions_Flags & k_Aes_SupportedFunctions_HW_256) \ 203 bool c::SetFunctions(UInt32 algo) { \ 204 _codeFunc = f0; if (algo < 1) return true; \ 206 if (algo == 1) { f = f1; } \ 238 UInt32 algo = 0; in SET_AES_FUNCS() local 248 algo = prop.ulVal; in SET_AES_FUNCS() 251 if (!SetFunctions(algo)) in SET_AES_FUNCS()
|
| /external/arm-trusted-firmware/include/drivers/nxp/crypto/caam/ |
| D | hash.h | 75 enum hash_algo algo; member 79 int hash_init(enum hash_algo algo, void **ctx); 80 int hash_update(enum hash_algo algo, void *context, void *data_ptr, 82 int hash_final(enum hash_algo algo, void *context, void *hash_ptr,
|
| /external/trusty/arm-trusted-firmware/include/drivers/nxp/crypto/caam/ |
| D | hash.h | 75 enum hash_algo algo; member 79 int hash_init(enum hash_algo algo, void **ctx); 80 int hash_update(enum hash_algo algo, void *context, void *data_ptr, 82 int hash_final(enum hash_algo algo, void *context, void *hash_ptr,
|
| /external/cronet/third_party/boringssl/src/util/fipstools/acvp/acvptool/ |
| D | acvp.go | 232 algo, ok := algoInterface.(string) 236 algos[algo] = struct{}{} 260 algo := commonFields.Algo 261 if _, ok := algos[algo]; !ok { 262 return fmt.Errorf("vector set #%d contains unsupported algorithm %q", i+1, algo) 265 replyGroups, err := middle.Process(algo, element) 273 "algorithm": algo, 550 for _, algo := range supportedAlgos { 551 if value, ok := algo["acvptoolTestOnly"]; ok { 560 if value, ok := algo["algorithm"]; ok { [all …]
|
| /external/boringssl/src/util/fipstools/acvp/acvptool/ |
| D | acvp.go | 232 algo, ok := algoInterface.(string) 236 algos[algo] = struct{}{} 260 algo := commonFields.Algo 261 if _, ok := algos[algo]; !ok { 262 return fmt.Errorf("vector set #%d contains unsupported algorithm %q", i+1, algo) 265 replyGroups, err := middle.Process(algo, element) 273 "algorithm": algo, 550 for _, algo := range supportedAlgos { 551 if value, ok := algo["acvptoolTestOnly"]; ok { 560 if value, ok := algo["algorithm"]; ok { [all …]
|
| /external/kernel-headers/original/uapi/linux/ |
| D | virtio_crypto.h | 66 __le32 algo; member 88 __le32 algo; member 125 __le32 algo; member 153 __le32 algo; member 171 __le32 algo; member 222 __le32 algo; member 338 __le32 algo; member
|
| /external/libaom/test/ |
| D | coding_path_sync.cc | 31 aom_codec_iface_t *algo = aom_codec_av1_cx(); in CompressedSource() local 35 aom_codec_enc_config_default(algo, &cfg, 1); in CompressedSource() 37 aom_codec_enc_config_default(algo, &cfg, 0); in CompressedSource() 79 aom_codec_enc_init(&enc_, algo, &cfg, 0); in CompressedSource() 150 aom_codec_iface_t *algo = aom_codec_av1_dx(); in Decoder() local 155 aom_codec_dec_init(&dec_, algo, &cfg, 0); in Decoder()
|