/external/u-boot/drivers/input/ |
D | cros_ec_keyb.c | 51 int num_keys; in check_for_keys() local 68 for (col = num_keys = bit = 0; col < priv->matrix.num_cols; in check_for_keys() 74 if ((data & mask) && num_keys < max_count) { in check_for_keys() 75 key = keys + num_keys++; in check_for_keys() 84 return num_keys; in check_for_keys() 104 int num_keys, num_keycodes; in cros_ec_kbc_check() local 120 num_keys = check_for_keys(dev, keys, KBC_MAX_KEYS, in cros_ec_kbc_check() 122 if (num_keys < 0) in cros_ec_kbc_check() 124 last_num_keys = num_keys; in cros_ec_kbc_check() 131 num_keys = last_num_keys; in cros_ec_kbc_check() [all …]
|
D | key_matrix.c | 55 int num_keys, int keycode[], int max_keycodes) in key_matrix_decode() argument 61 debug("%s: num_keys = %d\n", __func__, num_keys); in key_matrix_decode() 63 for (valid = upto = 0; upto < num_keys; upto++) { in key_matrix_decode()
|
/external/boringssl/src/util/fipstools/cavp/ |
D | cavp_tdes_test.cc | 59 std::string num_keys; in TestKAT() local 60 t->GetAttribute(&num_keys, "NumKeys"); in TestKAT() 61 t->InjectInstruction("NumKeys", num_keys); in TestKAT() 73 } num_keys = kNotPresent; in TestKAT() local 79 num_keys = kTwo; in TestKAT() 81 num_keys = kThree; in TestKAT() 94 (num_keys == 0 && !t->GetBytes(&keys, "KEYs")) || in TestKAT() 95 (num_keys > 0 && in TestKAT() 105 if (num_keys != kNotPresent) { in TestKAT() 108 if (num_keys == kThree) { in TestKAT() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | example_parsing_ops_test.cc | 113 static void AddExample(ExampleTensorMap* examples, int num_keys, in AddExample() 121 for (int k = 0; k < num_keys; ++k) { in AddExample() 130 (*examples)[std::make_tuple(batch_size, num_keys, feature_size)] = in AddExample() 153 static Graph* ParseExample(int batch_size, int num_keys, int feature_size) { in ParseExample() argument 156 batch_size, num_keys, feature_size)]; in ParseExample() 165 for (int i = 0; i < num_keys; ++i) { in ParseExample() 203 static Graph* ParseExampleV2(int batch_size, int num_keys, int feature_size) { in ParseExampleV2() argument 208 scalar_input ? 1 : batch_size, num_keys, feature_size)]; in ParseExampleV2() 226 Tensor keys_t(DT_STRING, {static_cast<int32>(num_keys)}); in ParseExampleV2() 229 for (int i = 0; i < num_keys; ++i) { in ParseExampleV2() [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 | 56 num_keys = int(output) 57 if (num_keys > high_key_count): 58 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/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/openssh/ |
D | misc.c | 637 u_int num_keys, i, j; in percent_expand() local 647 for (num_keys = 0; num_keys < EXPAND_MAX_KEYS; num_keys++) { in percent_expand() 648 keys[num_keys].key = va_arg(ap, char *); in percent_expand() 649 if (keys[num_keys].key == NULL) in percent_expand() 651 keys[num_keys].repl = va_arg(ap, char *); in percent_expand() 652 if (keys[num_keys].repl == NULL) in percent_expand() 655 if (num_keys == EXPAND_MAX_KEYS && va_arg(ap, char *) != NULL) in percent_expand() 676 for (j = 0; j < num_keys; j++) { in percent_expand() 684 if (j >= num_keys) in percent_expand()
|
D | PROTOCOL.agent | 385 uint32 num_keys 404 uint32 num_keys
|
/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()
|
D | disk_cache.h | 74 uint32_t num_keys; member
|
/external/arm-trusted-firmware/tools/cert_create/src/ |
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()
|
D | main.c | 432 for (i = 0 ; i < num_keys ; i++) { in main() 572 for (i = 0 ; i < num_keys ; i++) { in main()
|
/external/u-boot/include/ |
D | key_matrix.h | 57 int num_keys, int keycode[], int max_keycodes);
|
D | fsl_validate.h | 172 uint32_t num_keys; member
|
/external/autotest/client/site_tests/hardware_Keyboard/src/ |
D | evtest.c | 372 int num_keys = 0; in do_check_num_keys() local 382 num_keys++; in do_check_num_keys() 385 printf("%d", num_keys); in do_check_num_keys()
|
/external/autotest/client/deps/fakegudev/src/ |
D | fakegudev.c | 199 gsize num_keys, key_iter; in load_fake_devices_from_file() local 250 keys = g_key_file_get_keys (key_file, group, &num_keys, &error); in load_fake_devices_from_file() 252 for (key_iter = 0; key_iter < num_keys; ++key_iter) { in load_fake_devices_from_file()
|
/external/u-boot/board/freescale/common/ |
D | fsl_validate.c | 301 if (ie_info->num_keys == 0 || ie_info->num_keys > 32) in read_validate_ie_tbl() 305 if (ie_num == 0 || ie_num > ie_info->num_keys) in read_validate_ie_tbl()
|
/external/tensorflow/tensorflow/core/util/ |
D | example_proto_fast_parsing_test.cc | 342 auto num_keys = 1 + rng->Rand32() % 100; in Fuzz() local 344 for (auto i = 0; i < num_keys; ++i) { in Fuzz()
|
/external/mesa3d/src/compiler/glsl/ |
D | shader_cache.cpp | 119 cache_item_metadata.num_keys = prog->NumShaders; in shader_cache_write_program_metadata()
|
/external/u-boot/cmd/mvebu/ |
D | bubt.c | 69 u32 num_keys; member
|
/external/python/cpython2/Python/ |
D | compile.c | 365 Py_ssize_t i = offset, scope, num_keys, key_i; in dictbytype() local 385 num_keys = PyList_GET_SIZE(sorted_keys); in dictbytype() 387 for (key_i = 0; key_i < num_keys; key_i++) { in dictbytype()
|
/external/python/cpython3/Python/ |
D | compile.c | 448 Py_ssize_t i = offset, scope, num_keys, key_i; in dictbytype() local 468 num_keys = PyList_GET_SIZE(sorted_keys); in dictbytype() 470 for (key_i = 0; key_i < num_keys; key_i++) { in dictbytype()
|