Home
last modified time | relevance | path

Searched refs:mapItem (Results 1 – 2 of 2) sorted by relevance

/hardware/nxp/keymint/KM200/
DCborConverter.cpp404 unique_ptr<Item> mapItem(nullptr); in getMapItem() local
405 getItemAtPos(item, pos, mapItem); in getMapItem()
406 if ((mapItem == nullptr) || (MajorType::MAP != getType(mapItem))) return false; in getMapItem()
407 map = std::move(*mapItem.get()->asMap()); in getMapItem()
414 unique_ptr<Item> mapItem(nullptr); in getKeyParameters() local
416 getItemAtPos(item, pos, mapItem); in getKeyParameters()
417 if ((mapItem == nullptr) || (MajorType::MAP != getType(mapItem))) return ret; in getKeyParameters()
418 const Map* map = mapItem.get()->asMap(); in getKeyParameters()
/hardware/nxp/keymint/KM300/
DCborConverter.cpp457 auto mapItem = getItemAtPos(item, pos); in getMapItem() local
458 if (!mapItem || (MajorType::MAP != getType(mapItem.value()))) { in getMapItem()
461 map = std::move(*(mapItem.value().get()->asMap())); in getMapItem()
468 auto mapItem = getItemAtPos(item, pos); in getKeyParameters() local
469 if (!mapItem || (MajorType::MAP != getType(mapItem.value()))) return std::nullopt; in getKeyParameters()
470 const Map* map = mapItem.value().get()->asMap(); in getKeyParameters()