Searched refs:num_slots (Results 1 – 8 of 8) sorted by relevance
32 num_slots = self.bootctl.get_number_slots()34 for slot in range(num_slots):38 self.assertEqual(len(suffixes), num_slots)67 num_slots = self.bootctl.get_number_slots()68 for i in range(num_slots):72 new_slot = (slot + 1) % num_slots89 num_slots = self.bootctl.get_number_slots()90 for i in range(num_slots):94 new_slot = (slot + 1) % num_slots
33 const size_t num_slots = ARRAY_SIZE(mask->bits); in log_pcm_mask() local38 (num_slots * chars_per_slot + 2 + 1); /* brackets and null-terminator */ in log_pcm_mask()44 for (slot_index = 0; slot_index < num_slots; slot_index++) { in log_pcm_mask()50 if (slot_index < num_slots - 1) { in log_pcm_mask()
88 int num_slots = ARRAY_SIZE(mask->bits); in get_pcm_format_for_mask() local95 for (slot_index = 0; slot_index < num_slots && table_index < table_size; slot_index++) { in get_pcm_format_for_mask()
255 const int num_slots = ARRAY_SIZE(mask->bits); in profile_enum_sample_formats() local263 for (slot_index = 0; slot_index < num_slots && table_index < table_size; in profile_enum_sample_formats()
78 void SetNumSlots(unsigned int num_slots) { in SetNumSlots() argument79 num_slots_ = num_slots; in SetNumSlots()
70 int num_slots = module->getNumberSlots(module); in do_get_number_slots() local71 fprintf(stdout, "%d\n", num_slots); in do_get_number_slots()
505 CK_ULONG num_slots = 0; in GetUserSlot() local506 rv = C_GetSlotList(CK_TRUE, nullptr, &num_slots); in GetUserSlot()511 std::unique_ptr<CK_SLOT_ID[]> slot_list(new CK_SLOT_ID[num_slots]); in GetUserSlot()512 rv = C_GetSlotList(CK_TRUE, slot_list.get(), &num_slots); in GetUserSlot()518 for (CK_ULONG i = 0; i < num_slots; ++i) { in GetUserSlot()
763 const unsigned int num_slots = system_state_->boot_control()->GetNumSlots(); in GetRollbackSlot() local767 LOG(INFO) << " Installed slots: " << num_slots; in GetRollbackSlot()771 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in GetRollbackSlot()777 for (BootControlInterface::Slot slot = 0; slot < num_slots; slot++) { in GetRollbackSlot()