Lines Matching defs:in

6  * 1.1 (the "License"); you may not use this file except in compliance with
28 * in which case the provisions of the GPL or the LGPL are applicable instead
110 nsReceiver(nsIInputStream* in) : mIn(in), mCount(0) {
111 NS_ADDREF(in);
129 TestPipe(nsIInputStream* in, nsIOutputStream* out)
133 nsReceiver* receiver = new nsReceiver(in);
207 nsShortReader(nsIInputStream* in) : mIn(in), mReceived(0) {
208 NS_ADDREF(in);
242 TestShortWrites(nsIInputStream* in, nsIOutputStream* out)
246 nsShortReader* receiver = new nsShortReader(in);
333 nsIInputStream* in;
335 rv = NS_NewPipe(&in, &out, 18, 36, PR_TRUE, PR_TRUE);
338 nsCOMPtr<nsIObservableInputStream> observableIn(do_QueryInterface(in, &rv));
360 rv = in->Available(&cnt);
367 rv = in->Read(buf2, 40, &cnt);
373 rv = in->Available(&cnt);
379 rv = in->Read(buf2, 2, &cnt);
388 rv = in->Available(&cnt);
394 rv = in->Read(buf2, 20, &cnt);
400 NS_RELEASE(in);
437 nsPump(nsIInputStream* in,
439 : mIn(in), mOut(out), mCount(0) {
523 nsIInputStream* in = 0; /* bird: initialize to quiet gcc. */
531 rv = NS_NewPipe(&in, &out, segSize, bufSize);
533 rv = TestPipe(in, out);
534 NS_RELEASE(in);
539 rv = NS_NewPipe(&in, &out, segSize, bufSize);
541 rv = TestShortWrites(in, out);
542 NS_RELEASE(in);
556 nsIInputStream* in;
558 rv = NS_NewPipe(&in, &out, segSize, bufSize);
582 rv = in->Search(delim, PR_FALSE, &found, &offset);
587 rv = in->Read(bufferContents, bufDataSize, &amt);
593 NS_RELEASE(in);
621 rv = NS_NewPipe(&in, &out, 4096 * 4);
627 rv = TestPipe(in, out);
628 NS_RELEASE(in);