Home
last modified time | relevance | path

Searched refs:num_slots (Results 1 – 7 of 7) sorted by relevance

/system/media/alsa_utils/
Dalsa_logging.c33 const size_t num_slots = ARRAY_SIZE(mask->bits); in log_pcm_mask() local
38 (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()
Dalsa_format.c88 int num_slots = ARRAY_SIZE(mask->bits); in get_pcm_format_for_mask() local
95 for (slot_index = 0; slot_index < num_slots && table_index < table_size; slot_index++) { in get_pcm_format_for_mask()
Dalsa_device_profile.c240 const int num_slots = ARRAY_SIZE(mask->bits); in profile_enum_sample_formats() local
248 for (slot_index = 0; slot_index < num_slots && table_index < table_size; in profile_enum_sample_formats()
/system/update_engine/common/
Dfake_boot_control.h78 void SetNumSlots(unsigned int num_slots) { in SetNumSlots() argument
79 num_slots_ = num_slots; in SetNumSlots()
/system/extras/bootctl/
Dbootctl.c70 int num_slots = module->getNumberSlots(module); in do_get_number_slots() local
71 fprintf(stdout, "%d\n", num_slots); in do_get_number_slots()
/system/tpm/attestation/server/
Dpkcs11_key_store.cc505 CK_ULONG num_slots = 0; in GetUserSlot() local
506 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()
/system/update_engine/
Dupdate_attempter.cc762 const unsigned int num_slots = system_state_->boot_control()->GetNumSlots(); in GetRollbackSlot() local
766 LOG(INFO) << " Installed slots: " << num_slots; in GetRollbackSlot()
770 if (current_slot == BootControlInterface::kInvalidSlot || num_slots < 2) { in GetRollbackSlot()
776 for (BootControlInterface::Slot slot = 0; slot < num_slots; slot++) { in GetRollbackSlot()