Old fashioned way of refering to:
a. the presence of women or children.
b. the presence of someone who might repeat what you're saying to someone you don't want them to repeat it to.
a. You shouldn't tell dirty jokes like that when in mixed company.
b. You might not want to make jokes about Sue's fat ass when in mixed company.
c. or simply "Hey! Mixed company, ok?"