You searched for: “andromonoecious
andromonoecious, andromonoecism
In botany, having male and hermaphrodite flowers on the same plant.