In Indonesia there are laws called "delik aduan", according to which certain acts are crimes only if someone files a complaint.
These are like civil laws in that someone has to file a complaint, but the punishable acts are like crimes ("pidana") in that the penalties include incarceration.
One such law concerns defamation, which only is a crime if someone that feels hurt by some speech reports it and sues. Otherwise it is not, meaning that law enforcement will not search for or prosecute defamatory speech. Another such law concerns adultery, which is only a crime if someone "complains" and reports it to the police. Otherwise it is not.
Basically, someone other than the authorities can decide that an act constitutes a crime and should be prosecuted. Delik aduan laws are quite clear in that they require a private-party complaint.
Do we have such laws in the US?
Many such would-be crimes are not prosecuted because nobody bothers reporting them. However, a candidate in a gubernatorial election, Ahok, was jailed in one such case, having been accused of blasphemy. The way the law is written, it is so elastic that anyone could be jailed on account of it. Most of the time, however, the person accused under the law is not running for governor. Hence, most of the time, there is little incentive to make use of the law.
Western countries have elections too. They also have criminal and civil laws. Do they have "delik aduan" (reportable chapter) kind of laws?