Lines Matching refs:receiver
133 nsReceiver* receiver = new nsReceiver(in);
134 if (receiver == nsnull) return NS_ERROR_OUT_OF_MEMORY;
135 NS_ADDREF(receiver);
137 rv = NS_NewThread(&thread, receiver, 0, PR_JOINABLE_THREAD);
167 NS_ASSERTION(receiver->GetBytesRead() == total, "didn't read everything");
170 NS_RELEASE(receiver);
246 nsShortReader* receiver = new nsShortReader(in);
247 if (receiver == nsnull) return NS_ERROR_OUT_OF_MEMORY;
248 NS_ADDREF(receiver);
250 rv = NS_NewThread(&thread, receiver, 0, PR_JOINABLE_THREAD);
271 PRUint32 received = receiver->WaitForReceipt();
281 NS_RELEASE(receiver);
479 nsReceiver* receiver = new nsReceiver(in2);
480 if (receiver == nsnull) return NS_ERROR_OUT_OF_MEMORY;
481 NS_ADDREF(receiver);
483 rv = NS_NewThread(&receiverThread, receiver, 0, PR_JOINABLE_THREAD);
513 NS_RELEASE(receiver);