/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/ |
D | cavp_tdes_test.cc | 60 std::string num_keys; in TestKAT() local 61 t->GetAttribute(&num_keys, "NumKeys"); in TestKAT() 62 t->InjectInstruction("NumKeys", num_keys); in TestKAT() 74 } num_keys = kNotPresent; in TestKAT() local 80 num_keys = kTwo; in TestKAT() 82 num_keys = kThree; in TestKAT() 95 (num_keys == 0 && !t->GetBytes(&keys, "KEYs")) || in TestKAT() 96 (num_keys > 0 && in TestKAT() 106 if (num_keys != kNotPresent) { in TestKAT() 109 if (num_keys == kThree) { in TestKAT() [all …]
|
/external/boringssl/src/util/fipstools/cavp/ |
D | cavp_tdes_test.cc | 60 std::string num_keys; in TestKAT() local 61 t->GetAttribute(&num_keys, "NumKeys"); in TestKAT() 62 t->InjectInstruction("NumKeys", num_keys); in TestKAT() 74 } num_keys = kNotPresent; in TestKAT() local 80 num_keys = kTwo; in TestKAT() 82 num_keys = kThree; in TestKAT() 95 (num_keys == 0 && !t->GetBytes(&keys, "KEYs")) || in TestKAT() 96 (num_keys > 0 && in TestKAT() 106 if (num_keys != kNotPresent) { in TestKAT() 109 if (num_keys == kThree) { in TestKAT() [all …]
|
/external/icing/icing/store/ |
D | key-mapper_test.cc | 69 EXPECT_THAT(key_mapper->num_keys(), 0); in TEST_F() 84 EXPECT_THAT(key_mapper->num_keys(), 2); in TEST_F() 88 EXPECT_THAT(key_mapper->num_keys(), 2); in TEST_F() 108 EXPECT_THAT(key_mapper->num_keys(), 0); in TEST_F() 113 EXPECT_THAT(key_mapper->num_keys(), 1); in TEST_F() 118 EXPECT_THAT(key_mapper->num_keys(), 2); in TEST_F() 124 EXPECT_THAT(key_mapper->num_keys(), 2); in TEST_F() 138 EXPECT_THAT(key_mapper->num_keys(), 1); in TEST_F() 144 EXPECT_THAT(key_mapper->num_keys(), 2); in TEST_F() 164 EXPECT_THAT(key_mapper->num_keys(), 0); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | example_parsing_ops_test.cc | 114 static void AddExample(ExampleTensorMap* examples, int num_keys, in AddExample() 122 for (int k = 0; k < num_keys; ++k) { in AddExample() 131 (*examples)[std::make_tuple(batch_size, num_keys, feature_size)] = in AddExample() 154 static Graph* ParseExample(int batch_size, int num_keys, int feature_size) { in ParseExample() argument 157 batch_size, num_keys, feature_size)]; in ParseExample() 166 for (int i = 0; i < num_keys; ++i) { in ParseExample() 205 static Graph* ParseExampleV2(int batch_size, int num_keys, int feature_size) { in ParseExampleV2() argument 210 scalar_input ? 1 : batch_size, num_keys, feature_size)]; in ParseExampleV2() 228 Tensor keys_t(DT_STRING, {static_cast<int32>(num_keys)}); in ParseExampleV2() 231 for (int i = 0; i < num_keys; ++i) { in ParseExampleV2() [all …]
|
/external/marisa-trie/tests/ |
D | marisa-test.cc | 34 EXCEPT(trie.num_keys(), MARISA_STATE_ERROR); in TestEmptyTrie() 54 ASSERT(trie.num_keys() == 0); in TestEmptyTrie() 75 ASSERT(trie.num_keys() == 1); in TestEmptyTrie() 100 ASSERT(trie.num_keys() == 4); in TestTinyTrie() 169 ASSERT(trie.num_keys() == 4); in TestTinyTrie() 203 void MakeKeyset(std::size_t num_keys, marisa::TailMode tail_mode, in MakeKeyset() argument 206 for (std::size_t i = 0; i < num_keys; ++i) { in MakeKeyset() 271 ASSERT(trie.num_keys() <= keyset.size()); in TestTrie() 286 ASSERT(trie.num_keys() <= keyset.size()); in TestTrie() 315 ASSERT(trie.num_keys() <= keyset.size()); in TestTrie() [all …]
|
/external/e2fsprogs/misc/ |
D | e2undo.c | 56 __le64 num_keys; /* how many keys? */ member 106 size_t num_keys; member 130 printf("nr keys:\t%llu\n", ext2fs_le64_to_cpu(hdr->num_keys)); in dump_header() 417 undo_ctx.num_keys = ext2fs_le64_to_cpu(undo_ctx.hdr.num_keys); in main() 476 retval = ext2fs_get_mem(sizeof(struct undo_key_info) * undo_ctx.num_keys, in main() 499 undo_ctx.num_keys, keys_per_block, undo_ctx.blocksize); in main() 500 for (i = 0; i < undo_ctx.num_keys; i += keys_per_block) { in main() 510 undo_ctx.num_keys = i - 1; in main() 536 max_j = undo_ctx.num_keys - i; in main() 588 qsort(undo_ctx.keys, undo_ctx.num_keys, sizeof(struct undo_key_info), in main() [all …]
|
/external/autotest/client/site_tests/hardware_Keyboard/ |
D | hardware_Keyboard.py | 55 num_keys = int(output) 56 if (num_keys > high_key_count): 57 high_key_count = num_keys
|
/external/e2fsprogs/lib/ext2fs/ |
D | undo_io.c | 90 __le64 num_keys; /* how many keys? */ member 136 size_t num_keys, keys_in_block; member 232 data->hdr.num_keys = ext2fs_cpu_to_le64(data->num_keys); in write_undo_indexes() 447 data->num_keys++; in undo_write_tdb() 458 sz, data->num_keys - 1); in undo_write_tdb() 553 size_t num_keys, keys_per_block, i; in try_reopen_undo_file() local 585 num_keys = ext2fs_le64_to_cpu(hdr.num_keys); in try_reopen_undo_file() 607 data->num_keys = num_keys; in try_reopen_undo_file() 615 num_keys, keys_per_block, blocksize); in try_reopen_undo_file() 616 for (i = 0; i < num_keys; i += keys_per_block) { in try_reopen_undo_file() [all …]
|
/external/marisa-trie/tools/ |
D | marisa-dump.cc | 32 std::size_t num_keys = 0; in dump() local 44 ++num_keys; in dump() 50 std::cerr << "#keys: " << num_keys << std::endl; in dump()
|
D | marisa-benchmark.cc | 116 void print_time_info(std::size_t num_keys, double elasped) { in print_time_info() argument 121 std::printf(" %8.2f", static_cast<double>(num_keys) / elasped / 1000.0); in print_time_info() 124 if ((elasped == 0.0) || (num_keys == 0)) { in print_time_info() 128 1000000000.0 * elasped / static_cast<double>(num_keys)); in print_time_info()
|
/external/arm-trusted-firmware/tools/cert_create/include/ |
D | key.h | 77 const unsigned int num_keys = sizeof(_keys)/sizeof(_keys[0]) 81 extern const unsigned int num_keys;
|
/external/boringssl/src/crypto/trust_token/ |
D | trust_token.c | 173 if (ctx->num_keys == OPENSSL_ARRAY_SIZE(ctx->keys) || in TRUST_TOKEN_CLIENT_add_key() 174 ctx->num_keys >= ctx->method->max_keys) { in TRUST_TOKEN_CLIENT_add_key() 179 struct trust_token_client_key_st *key_s = &ctx->keys[ctx->num_keys]; in TRUST_TOKEN_CLIENT_add_key() 190 *out_key_index = ctx->num_keys; in TRUST_TOKEN_CLIENT_add_key() 191 ctx->num_keys += 1; in TRUST_TOKEN_CLIENT_add_key() 258 for (size_t i = 0; i < ctx->num_keys; i++) { in STACK_OF() 404 if (ctx->num_keys == OPENSSL_ARRAY_SIZE(ctx->keys) || in TRUST_TOKEN_ISSUER_add_key() 405 ctx->num_keys >= ctx->method->max_keys) { in TRUST_TOKEN_ISSUER_add_key() 410 struct trust_token_issuer_key_st *key_s = &ctx->keys[ctx->num_keys]; in TRUST_TOKEN_ISSUER_add_key() 422 ctx->num_keys += 1; in TRUST_TOKEN_ISSUER_add_key() [all …]
|
/external/marisa-trie/bindings/ruby/ |
D | marisa-swig.cxx | 60 size_t Keyset::num_keys() const { in num_keys() function in marisa_swig::Keyset 61 return keyset_->num_keys(); in num_keys() 209 size_t Trie::num_keys() const { in num_keys() function in marisa_swig::Trie 210 return trie_->num_keys(); in num_keys()
|
D | marisa-swig.h | 96 std::size_t num_keys() const; 161 std::size_t num_keys() const;
|
/external/marisa-trie/bindings/perl/ |
D | marisa-swig.cxx | 60 size_t Keyset::num_keys() const { in num_keys() function in marisa_swig::Keyset 61 return keyset_->num_keys(); in num_keys() 209 size_t Trie::num_keys() const { in num_keys() function in marisa_swig::Trie 210 return trie_->num_keys(); in num_keys()
|
D | marisa-swig.h | 96 std::size_t num_keys() const; 161 std::size_t num_keys() const;
|
/external/marisa-trie/bindings/ |
D | marisa-swig.cxx | 60 size_t Keyset::num_keys() const { in num_keys() function in marisa_swig::Keyset 61 return keyset_->num_keys(); in num_keys() 209 size_t Trie::num_keys() const { in num_keys() function in marisa_swig::Trie 210 return trie_->num_keys(); in num_keys()
|
/external/marisa-trie/bindings/python/ |
D | marisa-swig.cxx | 60 size_t Keyset::num_keys() const { in num_keys() function in marisa_swig::Keyset 61 return keyset_->num_keys(); in num_keys() 209 size_t Trie::num_keys() const { in num_keys() function in marisa_swig::Trie 210 return trie_->num_keys(); in num_keys()
|
D | marisa-swig.h | 96 std::size_t num_keys() const; 161 std::size_t num_keys() const;
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/ |
D | trust_token.c | 151 if (ctx->num_keys == OPENSSL_ARRAY_SIZE(ctx->keys)) { in TRUST_TOKEN_CLIENT_add_key() 156 struct trust_token_client_key_st *key_s = &ctx->keys[ctx->num_keys]; in TRUST_TOKEN_CLIENT_add_key() 167 *out_key_index = ctx->num_keys; in TRUST_TOKEN_CLIENT_add_key() 168 ctx->num_keys += 1; in TRUST_TOKEN_CLIENT_add_key() 232 for (size_t i = 0; i < ctx->num_keys; i++) { in STACK_OF() 366 if (ctx->num_keys == OPENSSL_ARRAY_SIZE(ctx->keys)) { in TRUST_TOKEN_ISSUER_add_key() 371 struct trust_token_issuer_key_st *key_s = &ctx->keys[ctx->num_keys]; in TRUST_TOKEN_ISSUER_add_key() 383 ctx->num_keys += 1; in TRUST_TOKEN_ISSUER_add_key() 412 for (size_t i = 0; i < ctx->num_keys; i++) { in trust_token_issuer_get_key()
|
D | internal.h | 230 size_t num_keys; member 252 size_t num_keys; member
|
/external/mesa3d/src/util/ |
D | disk_cache.c | 260 dc_job->cache_item_metadata.num_keys = in create_put_job() 261 cache_item_metadata->num_keys; in create_put_job() 263 malloc(cache_item_metadata->num_keys * sizeof(cache_key)); in create_put_job() 270 sizeof(cache_key) * cache_item_metadata->num_keys); in create_put_job()
|
D | disk_cache_os.c | 566 uint32_t num_keys; in disk_cache_load_item() local 568 ret = read_all(fd, &num_keys, sizeof(uint32_t)); in disk_cache_load_item() 578 cache_item_md_size += num_keys * sizeof(cache_key); in disk_cache_load_item() 579 ret = lseek(fd, num_keys * sizeof(cache_key), SEEK_CUR); in disk_cache_load_item() 743 ret = write_all(fd, &dc_job->cache_item_metadata.num_keys, in disk_cache_write_item_to_disk() 751 dc_job->cache_item_metadata.num_keys * in disk_cache_write_item_to_disk()
|
/external/arm-trusted-firmware/tools/cert_create/src/ |
D | main.c | 432 for (i = 0 ; i < num_keys ; i++) { in main() 587 for (i = 0 ; i < num_keys ; i++) { in main() 597 for (i = 0; i < num_keys; i++) { in main() 608 for (i = 0; i < num_keys; i++) { in main()
|
D | key.c | 185 for (i = 0; i < num_keys; i++) { in key_init() 207 for (i = 0; i < num_keys; i++) { in key_get_by_opt()
|