Searched defs:buffer (Results 26 - 50 of 144) sorted by relevance

123456

/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DDistributionPointName.java90 public void dumpValue(StringBuffer buffer, String prefix) { argument
91 buffer.append(prefix);
92 buffer.append("Distribution Point Name: [\n"); //$NON-NLS-1$
94 fullName.dumpValue(buffer, prefix + " "); //$NON-NLS-1$
96 buffer.append(prefix);
97 buffer.append(" "); //$NON-NLS-1$
98 buffer.append(nameRelativeToCRLIssuer.getName(
101 buffer.append(prefix);
102 buffer.append("]\n"); //$NON-NLS-1$
H A DExtendedKeyUsage.java88 public void dumpValue(StringBuffer buffer, String prefix) { argument
89 buffer.append(prefix).append("Extended Key Usage: "); //$NON-NLS-1$
95 super.dumpValue(buffer);
99 buffer.append('[');
101 buffer.append(" \"").append(it.next()).append('"'); //$NON-NLS-1$
103 buffer.append(',');
106 buffer.append(" ]\n"); //$NON-NLS-1$
H A DExtensionValue.java55 public void dumpValue(StringBuffer buffer, String prefix) { argument
56 buffer.append(prefix).append("Unparseable extension value:\n"); //$NON-NLS-1$
61 buffer.append("NULL\n"); //$NON-NLS-1$
63 buffer.append(Array.toString(encoding, prefix));
71 public void dumpValue(StringBuffer buffer) { argument
72 dumpValue(buffer, ""); //$NON-NLS-1$
H A DInfoAccessSyntax.java105 public void dumpValue(StringBuffer buffer, String prefix) { argument
106 buffer.append(prefix).append("AccessDescriptions:\n"); //$NON-NLS-1$
108 buffer.append("NULL\n"); //$NON-NLS-1$
112 buffer.append(itr.next().toString());
H A DInhibitAnyPolicy.java80 public void dumpValue(StringBuffer buffer, String prefix) { argument
81 buffer.append(prefix).append("Inhibit Any-Policy: ") //$NON-NLS-1$
H A DInvalidityDate.java77 public void dumpValue(StringBuffer buffer, String prefix) { argument
78 buffer.append(prefix).append("Invalidity Date: [ ") //$NON-NLS-1$
H A DKeyUsage.java100 public void dumpValue(StringBuffer buffer, String prefix) { argument
101 buffer.append(prefix).append("KeyUsage [\n"); //$NON-NLS-1$
104 buffer.append(prefix).append(" ") //$NON-NLS-1$
108 buffer.append(prefix).append("]\n"); //$NON-NLS-1$
H A DPolicyConstraints.java129 public void dumpValue(StringBuffer buffer, String prefix) { argument
130 buffer.append(prefix).append("PolicyConstraints: [\n"); //$NON-NLS-1$
132 buffer.append(prefix).append(" requireExplicitPolicy: ") //$NON-NLS-1$
136 buffer.append(prefix).append(" inhibitPolicyMapping: ") //$NON-NLS-1$
139 buffer.append(prefix).append("]\n"); //$NON-NLS-1$
H A DPolicyInformation.java90 public void dumpValue(StringBuffer buffer) { argument
91 buffer.append("Policy Identifier [") //$NON-NLS-1$
H A DReasonFlags.java84 public void dumpValue(StringBuffer buffer, String prefix) { argument
85 buffer.append(prefix);
86 buffer.append("ReasonFlags [\n"); //$NON-NLS-1$
89 buffer.append(prefix).append(" ") //$NON-NLS-1$
93 buffer.append(prefix);
94 buffer.append("]\n"); //$NON-NLS-1$
H A DSubjectKeyIdentifier.java77 public void dumpValue(StringBuffer buffer, String prefix) { argument
78 buffer.append(prefix).append("SubjectKeyIdentifier: [\n"); //$NON-NLS-1$
79 buffer.append(Array.toString(keyIdentifier, prefix));
80 buffer.append(prefix).append("]\n"); //$NON-NLS-1$
H A DAlgorithmIdentifier.java154 public void dumpValue(StringBuffer buffer) { argument
155 buffer.append(getAlgorithmName());
157 buffer.append(", no params, "); //$NON-NLS-1$
159 buffer.append(", params unparsed, "); //$NON-NLS-1$
161 buffer.append("OID = "); //$NON-NLS-1$
162 buffer.append(getAlgorithm());
H A DCertificatePolicies.java124 public void dumpValue(StringBuffer buffer, String prefix) { argument
125 buffer.append(prefix).append("CertificatePolicies [\n"); //$NON-NLS-1$
127 buffer.append(prefix);
128 buffer.append(" "); //$NON-NLS-1$
129 ((PolicyInformation) it.next()).dumpValue(buffer);
130 buffer.append('\n');
132 buffer.append(prefix).append("]\n"); //$NON-NLS-1$
H A DGeneralNames.java156 public void dumpValue(StringBuffer buffer, String prefix) { argument
161 buffer.append(prefix);
162 buffer.append(it.next());
163 buffer.append('\n');
H A DGeneralSubtree.java132 public void dumpValue(StringBuffer buffer, String prefix) { argument
133 buffer.append(prefix).append("General Subtree: [\n"); //$NON-NLS-1$
134 buffer.append(prefix).append(" base: ").append(base).append('\n'); //$NON-NLS-1$
135 buffer.append(prefix).append(" minimum: ") //$NON-NLS-1$
138 buffer.append(prefix).append(" maximum: ") //$NON-NLS-1$
141 buffer.append(prefix).append("]\n"); //$NON-NLS-1$
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLEngineAppData.java34 byte[] buffer; field in class:SSLEngineAppData
43 * just the array reference is remembered into the buffer field.
46 if (buffer != null) {
51 buffer = src;
55 * Places the data from the buffer into the array of destination
59 if (buffer == null) {
63 int len = buffer.length;
70 // can fully write remaining data into buffer
71 dsts[i].put(buffer, pos, len - pos);
77 dsts[i].put(buffer, po
[all...]
/dalvik/libcore/archive/src/main/java/java/util/zip/
H A DDeflaterOutputStream.java37 * The buffer for the data to be written to.
68 * default settings for the {@code Deflater} and internal buffer are used.
81 * as the internal buffer size to be used.
90 * is the size to be used for the internal buffer.
130 * Compress the data in the input buffer and write it to the underlying
196 * @param buffer
197 * the buffer of data to compress.
199 * offset in buffer to extract data from.
201 * the number of bytes of data to read from the buffer.
206 public void write(byte[] buffer, in argument
[all...]
/dalvik/libcore/logging/src/main/java/java/util/logging/
H A DMemoryHandler.java27 * buffer.
30 * the internal buffer and doesn't perform any formatting or any other process.
31 * When the buffer is full, the earliest buffered records will be discarded.
36 * buffer will be cleared.
53 * <li>java.util.logging.MemoryHandler.size specifies the buffer size in number
68 // buffer size
77 // buffer
78 private LogRecord[] buffer; field in class:MemoryHandler
80 // current position in buffer
137 buffer
[all...]
/dalvik/libcore/luni/src/main/java/java/io/
H A DDataInput.java110 * Reads bytes into the byte array {@code buffer}. This method will block
111 * until {@code buffer.length} number of bytes have been read.
113 * @param buffer
114 * the buffer to read bytes into.
122 public abstract void readFully(byte[] buffer) throws IOException; argument
125 * Reads bytes and stores them in the byte array {@code buffer} starting at
129 * @param buffer
132 * the initial position in {@code buffer} to store the bytes
135 * the maximum number of bytes to store in {@code buffer}.
143 public abstract void readFully(byte[] buffer, in argument
[all...]
H A DFileOutputStream.java242 * Writes the entire contents of the byte array {@code buffer} to this
245 * @param buffer
246 * the buffer to be written to the file.
252 public void write(byte[] buffer) throws IOException { argument
253 write(buffer, 0, buffer.length);
257 * Writes {@code count} bytes from the byte array {@code buffer} starting at
260 * @param buffer
261 * the buffer to write to this stream.
263 * the index of the first byte in {@code buffer} t
277 write(byte[] buffer, int offset, int count) argument
[all...]
H A DLineNumberInputStream.java138 * them in the byte array {@code buffer} starting at {@code offset}.
147 * @param buffer
150 * the initial position in {@code buffer} to store the bytes read
153 * the maximum number of bytes to store in {@code buffer}.
159 * {@code buffer}.
163 * if {@code buffer} is {@code null}.
166 public int read(byte[] buffer, int offset, int length) throws IOException { argument
167 // Force buffer null check first!
168 if (offset > buffer.length || offset < 0) {
172 if (length < 0 || length > buffer
[all...]
H A DLineNumberReader.java24 * internal buffer for its data. The size of the buffer defaults to 8 KB.
38 * buffer gets the default size (8 KB).
49 * the internal buffer is specified by the parameter {@code size}.
54 * the size of the buffer to allocate.
136 * them in the character array {@code buffer} starting at {@code offset}.
144 * @param buffer
147 * the initial position in {@code buffer} to store the characters
150 * the maximum number of characters to store in {@code buffer}.
157 public int read(char[] buffer, in argument
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DOutputStreamTest.java59 private byte[] buffer; field in class:OutputStreamTest.BasicOutputStream
63 buffer = new byte[BUFFER_SIZE];
69 buffer[position] = (byte) (oneByte & 255);
72 throw new IOException("Internal buffer overflow.");
77 return buffer;
93 byte[] buffer;
102 buffer = bos.getBuffer();
104 expected = (shortByteArray[i] == buffer[i]);
124 byte[] buffer;
133 buffer
[all...]
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_OutputStream.java17 private byte[] buffer; field in class:Support_OutputStream
35 buffer = new byte[bufferSize];
58 public void write(byte buffer[]) throws IOException { argument
62 for (int i = 0; i < buffer.length; i++) {
63 write(buffer[i]);
68 public void write(byte buffer[], int offset, int count) throws IOException { argument
72 if (offset < 0 || count < 0 || (offset + count) > buffer.length) {
76 write(buffer[i]);
86 buffer[position] = (byte)(oneByte & 255);
89 throw new IOException("Internal buffer overflo
[all...]
/dalvik/libdex/
H A DDexProto.h35 size_t allocatedSize; /* size of the allocated buffer, if allocated */
36 char buffer[120]; /* buffer used to hold small-enough results */ member in struct:DexStringCache
64 * dexStringCacheRelease() if you want the buffer to survive past the

Completed in 1863 milliseconds

123456