/forgerock/opendj2-jel-hg/tests/unit-tests-testng/src/server/org/opends/server/util/ |
H A D | TestLDIFWriter.java | 69 * Tests will be performed against a byte array output stream. 72 // The underlying output stream. 73 private final ByteArrayOutputStream stream; field in class:TestLDIFWriter.Writer 85 this.stream = new ByteArrayOutputStream(); 86 this.config = new LDIFExportConfig(stream); 113 String ldif = stream.toString("UTF-8"); 128 ByteArrayInputStream istream = new ByteArrayInputStream(stream.toByteArray());
|
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/asn1/ |
H A D | ASN1InputStreamReader.java | 46 * An ASN1Reader that reads from an input stream. 65 * stream and having a user defined maximum BER element size. 67 * @param stream 68 * The input stream to be read. 73 ASN1InputStreamReader(InputStream stream, int maxElementSize) argument 75 this.in = stream; 83 * input stream without blocking. 118 * Determines if the input stream contains at least one ASN.1 element to 120 * stream to determine if an element is available. 134 // exausted the size limit for the sub sequence sub input stream [all...] |
H A D | ASN1OutputStreamWriter.java | 60 * Creates a new ASN.1 output stream reader. 62 * @param stream 63 * The underlying output stream. 69 ASN1OutputStreamWriter(OutputStream stream, int maxInternalBufferSize) argument 71 this.out = stream; 72 this.rootStream = stream; 473 // Write the type in current stream switch to next sub-stream 476 // Increment the stack depth and get the sub-stream from the stack 479 // Make sure we have a cached sub-stream a [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/ldap/ |
H A D | LDAPMessage.java | 520 * Writes this protocol op to an ASN.1 output stream. 522 * @param stream The ASN.1 output stream to write to. 523 * @throws IOException If a problem occurs while writing to the stream. 525 public void write(ASN1Writer stream) throws IOException argument 527 stream.writeStartSequence(); 528 stream.writeInteger(messageID); 529 protocolOp.write(stream); 533 stream.writeStartSequence(TYPE_CONTROL_SEQUENCE); 536 control.write(stream); [all...] |
H A D | SearchRequestProtocolOp.java | 244 * Writes this protocol op to an ASN.1 output stream. 246 * @param stream The ASN.1 output stream to write to. 247 * @throws IOException If a problem occurs while writing to the stream. 250 public void write(ASN1Writer stream) throws IOException argument 252 stream.writeStartSequence(OP_TYPE_SEARCH_REQUEST); 253 stream.writeOctetString(baseDN); 254 stream.writeEnumerated(scope.intValue()); 255 stream.writeEnumerated(dereferencePolicy.intValue()); 256 stream [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/asn1/ |
H A D | ASN1InputStreamReader.java | 45 * An ASN1Reader that reads from an input stream. 64 * stream and having a user defined maximum BER element size. 66 * @param stream 67 * The input stream to be read. 72 ASN1InputStreamReader(InputStream stream, int maxElementSize) argument 74 this.in = stream; 82 * input stream without blocking. 117 * Determines if the input stream contains at least one ASN.1 element to 119 * stream to determine if an element is available. 133 // exausted the size limit for the sub sequence sub input stream [all...] |
H A D | ASN1OutputStreamWriter.java | 59 * Creates a new ASN.1 output stream reader. 61 * @param stream 62 * The underlying output stream. 68 ASN1OutputStreamWriter(OutputStream stream, int maxInternalBufferSize) argument 70 this.out = stream; 71 this.rootStream = stream; 472 // Write the type in current stream switch to next sub-stream 475 // Increment the stack depth and get the sub-stream from the stack 478 // Make sure we have a cached sub-stream a [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/ldap/ |
H A D | LDAPMessage.java | 519 * Writes this protocol op to an ASN.1 output stream. 521 * @param stream The ASN.1 output stream to write to. 522 * @throws IOException If a problem occurs while writing to the stream. 524 public void write(ASN1Writer stream) throws IOException argument 526 stream.writeStartSequence(); 527 stream.writeInteger(messageID); 528 protocolOp.write(stream); 532 stream.writeStartSequence(TYPE_CONTROL_SEQUENCE); 535 control.write(stream); [all...] |
H A D | SearchRequestProtocolOp.java | 243 * Writes this protocol op to an ASN.1 output stream. 245 * @param stream The ASN.1 output stream to write to. 246 * @throws IOException If a problem occurs while writing to the stream. 249 public void write(ASN1Writer stream) throws IOException argument 251 stream.writeStartSequence(OP_TYPE_SEARCH_REQUEST); 252 stream.writeOctetString(baseDN); 253 stream.writeEnumerated(scope.intValue()); 254 stream.writeEnumerated(dereferencePolicy.intValue()); 255 stream [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/ |
H A D | LDAPMessage.java | 520 * Writes this protocol op to an ASN.1 output stream. 522 * @param stream The ASN.1 output stream to write to. 523 * @throws IOException If a problem occurs while writing to the stream. 525 public void write(ASN1Writer stream) throws IOException argument 527 stream.writeStartSequence(); 528 stream.writeInteger(messageID); 529 protocolOp.write(stream); 533 stream.writeStartSequence(TYPE_CONTROL_SEQUENCE); 536 control.write(stream); [all...] |
H A D | SearchRequestProtocolOp.java | 223 public void write(ASN1Writer stream) throws IOException argument 225 stream.writeStartSequence(OP_TYPE_SEARCH_REQUEST); 226 stream.writeOctetString(baseDN); 227 stream.writeEnumerated(scope.intValue()); 228 stream.writeEnumerated(dereferencePolicy.intValue()); 229 stream.writeInteger(sizeLimit); 230 stream.writeInteger(timeLimit); 231 stream.writeBoolean(typesOnly); 232 filter.write(stream); 234 stream [all...] |
/forgerock/web-agents-v4/zlib/ |
H A D | ioapi.c | 20 #define FTELLO_FUNC(stream) ftello(stream) 21 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin) 24 #define FTELLO_FUNC(stream) ftello64(stream) 25 #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin) 88 static uLong ZCALLBACK fread_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 89 static uLong ZCALLBACK fwrite_file_func OF((voidpf opaque, voidpf stream, cons 132 fread_file_func(voidpf opaque, voidpf stream, void* buf, uLong size) argument 139 fwrite_file_func(voidpf opaque, voidpf stream, const void* buf, uLong size) argument 146 ftell_file_func(voidpf opaque, voidpf stream) argument 154 ftell64_file_func(voidpf opaque, voidpf stream) argument 161 fseek_file_func(voidpf opaque, voidpf stream, uLong offset, int origin) argument 184 fseek64_file_func(voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) argument 210 fclose_file_func(voidpf opaque, voidpf stream) argument 217 ferror_file_func(voidpf opaque, voidpf stream) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/ |
H A D | TestLDIFWriter.java | 67 * Tests will be performed against a byte array output stream. 70 /** The underlying output stream. */ 71 private final ByteArrayOutputStream stream; field in class:TestLDIFWriter.Writer 83 this.stream = new ByteArrayOutputStream(); 84 this.config = new LDIFExportConfig(stream); 111 String ldif = stream.toString("UTF-8"); 126 ByteArrayInputStream istream = new ByteArrayInputStream(stream.toByteArray());
|
/forgerock/opendj-b2.6/src/server/org/opends/server/types/ |
H A D | ByteString.java | 491 public OutputStream copyTo(OutputStream stream) throws IOException argument 493 stream.write(buffer, offset, length); 494 return stream;
|
H A D | ByteStringBuilder.java | 183 public OutputStream copyTo(OutputStream stream) throws IOException argument 186 stream.write(buffer, subOffset, subLength); 187 return stream; 538 * @param stream 539 * The input stream to be appended to this byte string 543 * stream}. 544 * @return The number of bytes read from the input stream, or 545 * {@code -1} if the end of the input stream has been 552 public int append(InputStream stream, int length) argument 561 int bytesRead = stream 988 copyTo(OutputStream stream) argument [all...] |
H A D | RawFilter.java | 430 * Writes this protocol op to an ASN.1 output stream. 432 * @param stream The ASN.1 output stream to write to. 434 * stream. 436 public void write(ASN1Writer stream) throws IOException argument 443 stream.writeStartSequence(filterType.getBERType()); 446 f.write(stream); 448 stream.writeEndSequence(); 451 stream.writeStartSequence(filterType.getBERType()); 452 getNOTComponent().write(stream); [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/util/table/ |
H A D | TextTablePrinter.java | 391 * Creates a new text table printer for the specified output stream. 399 * @param stream 400 * The stream to output tables to. 402 public TextTablePrinter(OutputStream stream) { argument 403 this(new BufferedWriter(new OutputStreamWriter(stream)));
|
/forgerock/opendj2/src/server/org/opends/server/types/ |
H A D | ByteString.java | 490 public OutputStream copyTo(OutputStream stream) throws IOException argument 492 stream.write(buffer, offset, length); 493 return stream;
|
H A D | ByteStringBuilder.java | 184 public OutputStream copyTo(OutputStream stream) throws IOException argument 187 stream.write(buffer, subOffset, subLength); 188 return stream; 539 * @param stream 540 * The input stream to be appended to this byte string 544 * stream}. 545 * @return The number of bytes read from the input stream, or 546 * {@code -1} if the end of the input stream has been 553 public int append(InputStream stream, int length) argument 562 int bytesRead = stream 588 append(DataInput stream, int length) argument 1016 copyTo(OutputStream stream) argument [all...] |
H A D | RawFilter.java | 429 * Writes this protocol op to an ASN.1 output stream. 431 * @param stream The ASN.1 output stream to write to. 433 * stream. 435 public void write(ASN1Writer stream) throws IOException argument 442 stream.writeStartSequence(filterType.getBERType()); 445 f.write(stream); 447 stream.writeEndSequence(); 450 stream.writeStartSequence(filterType.getBERType()); 451 getNOTComponent().write(stream); [all...] |
/forgerock/opendj2/src/server/org/opends/server/util/table/ |
H A D | TextTablePrinter.java | 390 * Creates a new text table printer for the specified output stream. 398 * @param stream 399 * The stream to output tables to. 401 public TextTablePrinter(OutputStream stream) { argument 402 this(new BufferedWriter(new OutputStreamWriter(stream)));
|
/forgerock/opendj2.6.2/src/server/org/opends/server/types/ |
H A D | ByteString.java | 491 public OutputStream copyTo(OutputStream stream) throws IOException argument 493 stream.write(buffer, offset, length); 494 return stream;
|
H A D | ByteStringBuilder.java | 183 public OutputStream copyTo(OutputStream stream) throws IOException argument 186 stream.write(buffer, subOffset, subLength); 187 return stream; 538 * @param stream 539 * The input stream to be appended to this byte string 543 * stream}. 544 * @return The number of bytes read from the input stream, or 545 * {@code -1} if the end of the input stream has been 552 public int append(InputStream stream, int length) argument 561 int bytesRead = stream 988 copyTo(OutputStream stream) argument [all...] |
H A D | RawFilter.java | 430 * Writes this protocol op to an ASN.1 output stream. 432 * @param stream The ASN.1 output stream to write to. 434 * stream. 436 public void write(ASN1Writer stream) throws IOException argument 443 stream.writeStartSequence(filterType.getBERType()); 446 f.write(stream); 448 stream.writeEndSequence(); 451 stream.writeStartSequence(filterType.getBERType()); 452 getNOTComponent().write(stream); [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/util/table/ |
H A D | TextTablePrinter.java | 391 * Creates a new text table printer for the specified output stream. 399 * @param stream 400 * The stream to output tables to. 402 public TextTablePrinter(OutputStream stream) { argument 403 this(new BufferedWriter(new OutputStreamWriter(stream)));
|