Well, I have no evidence except anecdotal to present, but yes, this does match my experience. It surely doesn't apply to all individuals, social groups, and occasions, but I observe it regularly, and I have to personally plead guilty to a certain degree of such inconsistency. Especially when, for example, a guy gets dumped or rejected and wants to vent a bit by rambling about the evilness of the girl in question, or women in general, it definitely seems likely to me that much cruder rants can be produced in an exclusive company of close, trusted male friends than otherwise.
In any case, even if this is true only for a minority of men, my main point still holds, i.e. there are non-negligible numbers of men around who, despite being perfectly respectable by all other criteria, engage in crude language about women and male-female relations on some occasions when no women are around to hear it. For this reason, women are often biased in that they tend to interpret such language, when observed, as unrealistically strong evidence of serious character flaws in the man in question.
Followup to: Do you have High-Functioning Asperger's Syndrome?
LW reader Madbadger uses the metaphor of a GPU and a CPU in a desktop system to think about people with Asperger's Syndrome: general intelligence is like a CPU, being universal but only mediocre at any particular task, whereas the "social coprocessor" brainware in a Neurotypical brain is like a GPU: highly specialized but great at what it does. Neurotypical people are like computers with measly Pentium IV processors, but expensive Radeon HD 4890 GPUs. A High-functioning AS person is an Intel Core i7 Extreme Edition - with on-board graphics!
This analogy also covers the spectrum view of social/empathic abilities, you can think about having a weaker social coprocessor than average if you have some of the tendencies of AS but not others. You can even think of your score on the AQ Test as being like the Tom's Hardware Rating of your Coprocessor. (Lower numbers are better!).
If you lack that powerful social coprocessor, what can you do? Well, you'll have to run your social interactions "in software", i.e. explicitly reason through the complex human social game that most people play without ever really understanding. There are several tricks that a High-functioning AS person can use in this situation: