Lines Matching refs:emails
127 nsTArray<nsString>& emails) { in ExtractAllAddresses() argument
132 emails.SetLength(count); in ExtractAllAddresses()
136 aHeader[i]->GetEmail(emails[i]); in ExtractAllAddresses()
139 if (count == 1 && names[0].IsEmpty() && emails[0].IsEmpty()) { in ExtractAllAddresses()
141 emails.Clear(); in ExtractAllAddresses()
160 nsTArray<nsString>& emails) { in ExtractEmails() argument
162 ExtractAllAddresses(aHeader, names, emails); in ExtractEmails()
168 AutoTArray<nsString, 1> emails; in ExtractEmail() local
169 ExtractAllAddresses(aHeader, names, emails); in ExtractEmail()
171 if (emails.Length() > 0) in ExtractEmail()
172 CopyUTF16toUTF8(emails[0], email); in ExtractEmail()
179 AutoTArray<nsString, 1> names, emails; in ExtractFirstAddress() local
180 ExtractAllAddresses(aHeader, names, emails); in ExtractFirstAddress()
183 CopyUTF16toUTF8(emails[0], email); in ExtractFirstAddress()
192 AutoTArray<nsString, 1> names, emails; in ExtractFirstAddress() local
193 ExtractAllAddresses(aHeader, names, emails); in ExtractFirstAddress()
196 CopyUTF16toUTF8(emails[0], email); in ExtractFirstAddress()
213 AutoTArray<nsString, 1> emails; in ExtractName() local
214 ExtractAllAddresses(aHeader, names, emails); in ExtractName()
217 name = emails[0]; in ExtractName()