Searched defs:inbuf (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DBASE64DecoderStream.java203 * NOTE: inbuf may only contain valid base64 characters.
206 public static byte[] decode(byte[] inbuf) { argument
207 int size = (inbuf.length / 4) * 3;
209 return inbuf;
211 if (inbuf[inbuf.length - 1] == '=') {
213 if (inbuf[inbuf.length - 2] == '=')
219 size = inbuf.length;
222 a = pem_convert_array[inbuf[inpo
[all...]
H A DBASE64EncoderStream.java190 public static byte[] encode(byte[] inbuf) { argument
191 if (inbuf.length == 0)
192 return inbuf;
193 byte[] outbuf = new byte[((inbuf.length + 2) / 3) * 4];
195 int size = inbuf.length;
199 a = inbuf[inpos++];
208 a = inbuf[inpos++];
209 b = inbuf[inpos++];
218 a = inbuf[inpos++];
219 b = inbuf[inpo
[all...]
/openjdk7/jdk/src/solaris/npt/
H A Dutf_md.c114 char *inbuf; local
117 inbuf = bytes;
121 returnValue = iconv(ic, (void*)&inbuf, &inLeft, &outbuf, &outLeft);
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dzip.h98 char inbuf[1 << 14]; // input buffer member in struct:gunzip
H A Dzip.cpp435 char* inbuf = u->gzin->inbuf; local
436 size_t inbuflen = sizeof(u->gzin->inbuf);
447 zs.avail_in = (int) read_gzin_fn(u, inbuf, 1, inbuflen);
448 zs.next_in = (uchar*) inbuf;
468 int extra = (int) read_gzin_fn(u, inbuf, 1, inbuflen);
/openjdk7/jdk/src/solaris/instrument/
H A DEncodingSupport_md.c129 char *inbuf; local
132 inbuf = bytes;
136 returnValue = iconv(ic, (void*)&inbuf, &inLeft, &outbuf, &outLeft);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DBaseFileManager.java189 public CharBuffer decode(ByteBuffer inbuf, boolean ignoreEncodingErrors) { argument
207 allocate(10 + (int)(inbuf.remaining()*factor));
210 CoderResult result = decoder.decode(inbuf, dest, true);
223 (int)(inbuf.remaining()*decoder.maxCharsPerByte());
240 inbuf.position(inbuf.position() + result.length());
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djpegdecoder.c168 JOCTET *inbuf; member in struct:sun_jpeg_source_mgr
198 if (src->inbuf) {
202 src->inbufoffset = src->pub.next_input_byte - src->inbuf;
205 src->inbuf, 0);
206 src->inbuf = 0;
218 assert(src->inbuf == 0);
219 src->inbuf = (JOCTET *)(*env)->GetPrimitiveArrayCritical
221 if (src->inbuf == 0) {
225 src->pub.next_input_byte = src->inbuf + src->inbufoffset;
298 src->inbuf[
[all...]
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dgzio.c85 Byte *inbuf; /* input buffer */ member in struct:gz_stream
138 s->stream.next_in = s->inbuf = Z_NULL;
189 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE);
198 if (err != Z_OK || s->inbuf == Z_NULL) {
291 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
297 s->stream.next_in = s->inbuf;
325 if (len) s->inbuf[0] = s->stream.next_in[0];
327 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
330 s->stream.next_in = s->inbuf;
407 TRYFREE(s->inbuf);
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DPNGImageDecoder.java528 PNGEncoder.prChunk(e.toString(),inbuf,pos,limit-pos,true);
663 byte[] inbuf = new byte[4096]; field in class:PNGImageDecoder
667 System.arraycopy(inbuf,pos,inbuf,0,limit-pos);
673 int bsize = inbuf.length;
675 int n = underlyingInputStream.read(inbuf,limit,bsize-limit);
687 System.arraycopy(inbuf,pos,nin,0,limit-pos);
690 inbuf = nin;
695 return ((inbuf[pos ]&0xFF)<<24)
696 | ((inbuf[po
[all...]
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngtest.c816 char inbuf[256], outbuf[256]; local
1487 num_in = fread(inbuf, 1, 1, fpin);
1516 if (png_memcmp(inbuf, outbuf, num_in))

Completed in 46 milliseconds