Searched refs:num_bytes (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_jpeg.c83 stream_skip_input_data(j_decompress_ptr cinfo, long num_bytes) argument
87 if (num_bytes > 0) {
88 while (num_bytes > (long) src->pub.bytes_in_buffer) {
89 num_bytes -= (long) src->pub.bytes_in_buffer;
92 src->pub.next_input_byte += (size_t) num_bytes;
93 src->pub.bytes_in_buffer -= (size_t) num_bytes;
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djpegdecoder.c370 * Skip num_bytes worth of data. The buffer pointer and count should
371 * be advanced over num_bytes input bytes, refilling the buffer as
387 sun_jpeg_skip_input_data(j_decompress_ptr cinfo, long num_bytes) argument
395 if (num_bytes < 0) {
398 num_bytes += src->remaining_skip;
401 if (ret >= num_bytes) {
402 src->pub.next_input_byte += num_bytes;
403 src->pub.bytes_in_buffer -= num_bytes;
406 num_bytes -= ret;
408 src->remaining_skip = num_bytes;
[all...]
H A DimageioJPEG.c1052 * Skip num_bytes worth of data. The buffer pointer and count are
1053 * advanced over num_bytes input bytes, using the input stream
1070 imageio_skip_input_data(j_decompress_ptr cinfo, long num_bytes) argument
1079 if (num_bytes < 0) {
1082 num_bytes += sb->remaining_skip;
1087 if (ret >= num_bytes) {
1088 src->next_input_byte += num_bytes;
1089 src->bytes_in_buffer -= num_bytes;
1101 num_bytes -= (long)ret;
1103 sb->remaining_skip = num_bytes;
[all...]
H A Djpeglib.h735 JMETHOD(void, skip_input_data, (j_decompress_ptr cinfo, long num_bytes));
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_check.c428 int num_bytes; local
526 num_bytes = read_u4(&p);
527 p += num_bytes;
691 num_bytes = read_u4(&p);
695 id2, num_bytes);
697 if ( num_bytes > 0 ) {
706 HPROF_ASSERT(num_bytes==map->inst_size);
739 HPROF_ASSERT(num_bytes==(p-psave));
H A Dhprof_reference.c514 jint num_bytes; local
545 num_bytes = 0;
680 &num_elements, &num_bytes);
682 size = num_bytes;
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpng.c47 /* Tells libpng that we have already handled the first "num_bytes" bytes
49 * stream we can set num_bytes = 8 so that libpng will not attempt to read
55 png_set_sig_bytes(png_structp png_ptr, int num_bytes) argument
62 if (num_bytes > 8)
65 png_ptr->sig_bytes = (png_byte)(num_bytes < 0 ? 0 : num_bytes);
106 png_alloc_size_t num_bytes; local
116 num_bytes = (png_alloc_size_t)items * size;
119 ptr = (png_voidp)png_malloc((png_structp)png_ptr, num_bytes);
H A Dpng.h986 /* Tell lib we have already handled the first <num_bytes> magic bytes.
989 PNG_EXPORT(2, void, png_set_sig_bytes, (png_structp png_ptr, int num_bytes));

Completed in 63 milliseconds