Searched defs:bytes (Results 26 - 50 of 280) sorted by relevance

1234567891011>>

/forgerock/opendj2/src/server/org/opends/server/types/
H A DRecordingOutputStream.java33 * OutputStream. The recorded bytes will append to any previous
34 * recorded bytes until the clear method is called.
69 public void write(byte[] bytes) throws IOException { argument
72 buffer.append(bytes);
74 parentStream.write(bytes);
81 public void write(byte[] bytes, int i, int i1) throws IOException { argument
84 buffer.append(bytes, i, i1);
86 parentStream.write(bytes, i, i1);
106 * Retrieve the bytes read from this output stream since the last
109 * @return the bytes rea
[all...]
H A DRecordingInputStream.java33 * InputStream. The recorded bytes will append to any previous
34 * recorded bytes until the clear method is called.
71 public int read(byte[] bytes) throws IOException { argument
72 int bytesRead = parentStream.read(bytes);
75 buffer.append(bytes, 0, bytesRead);
84 public int read(byte[] bytes, int i, int i1) throws IOException { argument
85 int bytesRead = parentStream.read(bytes, i, i1);
88 buffer.append(bytes, i, bytesRead);
142 * Retrieve the bytes read from this input stream since the last
145 * @return the bytes rea
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java72 public void write(byte[] bytes) throws IOException { argument
73 buffer.append(bytes);
79 public void write(byte[] bytes, int i, int i1) throws IOException { argument
80 buffer.append(bytes, i, i1);
/forgerock/opendj2.6.2/src/server/org/opends/server/types/
H A DRecordingOutputStream.java34 * OutputStream. The recorded bytes will append to any previous
35 * recorded bytes until the clear method is called.
70 public void write(byte[] bytes) throws IOException { argument
73 buffer.append(bytes);
75 parentStream.write(bytes);
82 public void write(byte[] bytes, int i, int i1) throws IOException { argument
85 buffer.append(bytes, i, i1);
87 parentStream.write(bytes, i, i1);
107 * Retrieve the bytes read from this output stream since the last
110 * @return the bytes rea
[all...]
H A DRecordingInputStream.java34 * InputStream. The recorded bytes will append to any previous
35 * recorded bytes until the clear method is called.
72 public int read(byte[] bytes) throws IOException { argument
73 int bytesRead = parentStream.read(bytes);
76 buffer.append(bytes, 0, bytesRead);
85 public int read(byte[] bytes, int i, int i1) throws IOException { argument
86 int bytesRead = parentStream.read(bytes, i, i1);
89 buffer.append(bytes, i, bytesRead);
143 * Retrieve the bytes read from this input stream since the last
146 * @return the bytes rea
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java68 /* Clear bytes, equivalent of memset */
69 static private void clearBytes(byte bytes[]) argument
71 for (int i = 0; i < bytes.length; i++)
73 bytes[i] = 0;
111 * 8 bytes will be considered.
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java72 public void write(byte[] bytes) throws IOException { argument
73 buffer.append(bytes);
79 public void write(byte[] bytes, int i, int i1) throws IOException { argument
80 buffer.append(bytes, i, i1);
/forgerock/opendj2-jel-hg/src/server/org/opends/server/types/
H A DRecordingOutputStream.java34 * OutputStream. The recorded bytes will append to any previous
35 * recorded bytes until the clear method is called.
70 public void write(byte[] bytes) throws IOException { argument
73 buffer.append(bytes);
75 parentStream.write(bytes);
82 public void write(byte[] bytes, int i, int i1) throws IOException { argument
85 buffer.append(bytes, i, i1);
87 parentStream.write(bytes, i, i1);
107 * Retrieve the bytes read from this output stream since the last
110 * @return the bytes rea
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java68 /* Clear bytes, equivalent of memset */
69 static private void clearBytes(byte bytes[]) argument
71 for (int i = 0; i < bytes.length; i++)
73 bytes[i] = 0;
111 * 8 bytes will be considered.
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java71 public void write(byte[] bytes) throws IOException { argument
72 buffer.append(bytes);
78 public void write(byte[] bytes, int i, int i1) throws IOException { argument
79 buffer.append(bytes, i, i1);
/forgerock/opendj2-hg/src/server/org/opends/server/types/
H A DRecordingOutputStream.java33 * OutputStream. The recorded bytes will append to any previous
34 * recorded bytes until the clear method is called.
69 public void write(byte[] bytes) throws IOException { argument
72 buffer.append(bytes);
74 parentStream.write(bytes);
81 public void write(byte[] bytes, int i, int i1) throws IOException { argument
84 buffer.append(bytes, i, i1);
86 parentStream.write(bytes, i, i1);
106 * Retrieve the bytes read from this output stream since the last
109 * @return the bytes rea
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DPermutationGenerator.java58 byte[] bytes = seed.getBytes();
60 for (int i = 0; i < bytes.length; i += 8) {
61 longSeed += bytesToLong(bytes, i);
122 static private long bytesToLong(byte[] bytes, int offset) { argument
123 int bound = offset + Math.min(bytes.length - offset, 8);
126 result = (result << 8) | bytes[i];
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/types/
H A DRecordingOutputStream.java37 * OutputStream. The recorded bytes will append to any previous
38 * recorded bytes until the clear method is called.
70 public void write(byte[] bytes) throws IOException { argument
73 buffer.appendBytes(bytes);
75 parentStream.write(bytes);
80 public void write(byte[] bytes, int i, int i1) throws IOException { argument
83 buffer.appendBytes(bytes, i, i1);
85 parentStream.write(bytes, i, i1);
101 * Retrieve the bytes read from this output stream since the last
104 * @return the bytes rea
[all...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DPermutationGenerator.java58 byte[] bytes = seed.getBytes();
60 for (int i = 0; i < bytes.length; i += 8) {
61 longSeed += bytesToLong(bytes, i);
122 static private long bytesToLong(byte[] bytes, int offset) { argument
123 int bound = offset + Math.min(bytes.length - offset, 8);
126 result = (result << 8) | bytes[i];
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DRecordingInputStream.java34 * InputStream. The recorded bytes will append to any previous
35 * recorded bytes until the clear method is called.
72 public int read(byte[] bytes) throws IOException { argument
73 int bytesRead = parentStream.read(bytes);
76 buffer.append(bytes, 0, bytesRead);
85 public int read(byte[] bytes, int i, int i1) throws IOException { argument
86 int bytesRead = parentStream.read(bytes, i, i1);
89 buffer.append(bytes, i, bytesRead);
143 * Retrieve the bytes read from this input stream since the last
146 * @return the bytes rea
[all...]
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/ui/
H A DBinaryValuePanel.java77 * @param bytes the binary value.
79 public void setValue(final String attr, final byte[] bytes) argument
81 final boolean launchBackground = lastBytes != bytes;
82 lastBytes = bytes;
101 BinaryAttributeEditorPanel.updateImage(lImage, bytes);
113 BinaryAttributeEditorPanel.updateBase64(base64, bytes);
/forgerock/opendj-b2.6/src/server/org/opends/server/backends/jeb/
H A DLongs.java64 * @param bytes The encoded value.
66 void decode(byte[] bytes) argument
68 if (bytes == null)
74 int count = bytes.length / 8;
80 v |= (bytes[pos++] & 0xFFL) << 56;
81 v |= (bytes[pos++] & 0xFFL) << 48;
82 v |= (bytes[pos++] & 0xFFL) << 40;
83 v |= (bytes[pos++] & 0xFFL) << 32;
84 v |= (bytes[pos++] & 0xFFL) << 24;
85 v |= (bytes[po
115 encode(byte[] bytes) argument
[all...]
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DBinaryValue.java45 private byte[] bytes; field in class:BinaryValue
86 value.bytes = value.getBytes();
92 * Creates a binary value using an array of bytes.
93 * @param bytes the byte array.
96 public static BinaryValue createBase64(byte[] bytes) argument
100 value.bytes = bytes;
107 * Creates a binary value using an array of bytes and a file.
108 * @param bytes the bytes i
112 createFromFile(byte[] bytes, File file) argument
[all...]
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/ui/
H A DBinaryValuePanel.java76 * @param bytes the binary value.
78 public void setValue(final String attr, final byte[] bytes) argument
80 final boolean launchBackground = lastBytes != bytes;
81 lastBytes = bytes;
100 BinaryAttributeEditorPanel.updateImage(lImage, bytes);
112 BinaryAttributeEditorPanel.updateBase64(base64, bytes);
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DBinaryValue.java46 private byte[] bytes; field in class:BinaryValue
87 value.bytes = value.getBytes();
93 * Creates a binary value using an array of bytes.
94 * @param bytes the byte array.
97 public static BinaryValue createBase64(byte[] bytes) argument
101 value.bytes = bytes;
108 * Creates a binary value using an array of bytes and a file.
109 * @param bytes the bytes i
113 createFromFile(byte[] bytes, File file) argument
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/backends/jeb/
H A DLongs.java64 * @param bytes The encoded value.
66 void decode(byte[] bytes) argument
68 if (bytes == null)
74 int count = bytes.length / 8;
80 v |= (bytes[pos++] & 0xFFL) << 56;
81 v |= (bytes[pos++] & 0xFFL) << 48;
82 v |= (bytes[pos++] & 0xFFL) << 40;
83 v |= (bytes[pos++] & 0xFFL) << 32;
84 v |= (bytes[pos++] & 0xFFL) << 24;
85 v |= (bytes[po
115 encode(byte[] bytes) argument
[all...]
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DBinaryValue.java46 private byte[] bytes; field in class:BinaryValue
87 value.bytes = value.getBytes();
93 * Creates a binary value using an array of bytes.
94 * @param bytes the byte array.
97 public static BinaryValue createBase64(byte[] bytes) argument
101 value.bytes = bytes;
108 * Creates a binary value using an array of bytes and a file.
109 * @param bytes the bytes i
113 createFromFile(byte[] bytes, File file) argument
[all...]
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/ui/
H A DBinaryValuePanel.java77 * @param bytes the binary value.
79 public void setValue(final String attr, final byte[] bytes) argument
81 final boolean launchBackground = lastBytes != bytes;
82 lastBytes = bytes;
101 BinaryAttributeEditorPanel.updateImage(lImage, bytes);
113 BinaryAttributeEditorPanel.updateBase64(base64, bytes);
/forgerock/opendj2-hg/src/guitools/org/opends/guitools/controlpanel/datamodel/
H A DBinaryValue.java45 private byte[] bytes; field in class:BinaryValue
86 value.bytes = value.getBytes();
92 * Creates a binary value using an array of bytes.
93 * @param bytes the byte array.
96 public static BinaryValue createBase64(byte[] bytes) argument
100 value.bytes = bytes;
107 * Creates a binary value using an array of bytes and a file.
108 * @param bytes the bytes i
112 createFromFile(byte[] bytes, File file) argument
[all...]
/forgerock/opendj2-hg/src/guitools/org/opends/guitools/controlpanel/ui/
H A DBinaryValuePanel.java76 * @param bytes the binary value.
78 public void setValue(final String attr, final byte[] bytes) argument
80 final boolean launchBackground = lastBytes != bytes;
81 lastBytes = bytes;
100 BinaryAttributeEditorPanel.updateImage(lImage, bytes);
112 BinaryAttributeEditorPanel.updateBase64(base64, bytes);

Completed in 157 milliseconds

1234567891011>>