HomeSort by relevance Sort by last modified time
    Searched refs:png_size_t (Results 1 - 25 of 37) sorted by null

1 2

  /external/libpng/
pngrio.c 33 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
66 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
68 png_size_t check;
72 /* fread() returns 0 on error, so it is OK to store this in a png_size_t
79 check = (png_size_t)fread(data, (png_size_t)1, length,
96 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
120 png_size_t read, remaining, err;
130 err = fread(buf, (png_size_t)1, read, io_ptr);
pngwutil.c 69 (png_size_t)(8 - png_ptr->sig_bytes));
85 png_bytep data, png_size_t length)
90 png_write_chunk_data(png_ptr, data, (png_size_t)length);
114 png_write_data(png_ptr, buf, (png_size_t)8);
119 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4);
128 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length)
154 png_write_data(png_ptr, buf, (png_size_t)4);
176 png_charp text, png_size_t text_len, int compression,
346 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out;
361 (png_size_t)comp->input_len)
    [all...]
pngmem.c 43 png_size_t size;
113 * Note that we can't use png_size_t for the "size" declaration,
114 * since on some systems a png_size_t is a 16-bit quantity, and as a
125 png_memset(ret,0,(png_size_t)size);
139 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size));
173 if (ret == NULL || ((png_size_t)ret & 0xffff))
211 if ((png_size_t)table & 0xfff0)
240 if ((png_size_t)hptr & 0xf)
361 png_size_t size;
452 png_memset(ret,0,(png_size_t)size)
    [all...]
pngwio.c 34 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
50 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
75 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
98 png_size_t written, remaining, err;
pngpread.c 32 png_bytep buffer, png_size_t buffer_size)
121 png_size_t num_checked = png_ptr->sig_bytes,
587 png_size_t save_size;
590 save_size = (png_size_t)png_ptr->skip_length;
603 png_size_t save_size;
606 save_size = (png_size_t)png_ptr->skip_length;
631 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length)
641 png_size_t save_size;
657 png_size_t save_size;
679 png_size_t i, istop
    [all...]
pngrutil.c 139 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length)
156 png_size_t i;
157 png_size_t istop = png_ptr->zbuf_size;
159 for (i = (png_size_t)skip; i > istop; i -= istop)
238 static png_size_t
239 png_inflate(png_structp png_ptr, const png_byte *data, png_size_t size,
240 png_bytep output, png_size_t output_size)
242 png_size_t count = 0;
338 png_size_t chunklength,
339 png_size_t prefix_size, png_size_t *newlength
    [all...]
pngset.c 266 info_ptr->rowbytes = (png_size_t)0;
311 png_memcpy(info_ptr->pcal_purpose, purpose, (png_size_t)length);
328 png_memcpy(info_ptr->pcal_units, units, (png_size_t)length);
351 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length);
403 png_memcpy(info_ptr->scal_s_width, swidth, (png_size_t)length);
417 png_memcpy(info_ptr->scal_s_height, sheight, (png_size_t)length);
623 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen);
685 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max *
706 png_size_t text_length, key_len;
707 png_size_t lang_len, lang_key_len
    [all...]
png.c 121 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check)
146 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num));
184 png_memset(ptr, 0, (png_size_t)0x8000L);
185 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0,
186 (png_size_t)(num_bytes - (png_uint_32)0x8000L));
190 png_memset(ptr, 0, (png_size_t)num_bytes);
222 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length)
317 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size
    [all...]
pngrtran.c 487 png_size_t num_entries = ((png_size_t)1 << total_bits);
    [all...]
pngtest.c 52 check=(png_size_t)fread(data, (png_size_t)1, length, file)
54 check=(png_size_t)fwrite(data, (png_size_t)1, length, file)
313 pngtest_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
315 png_size_t check = 0;
318 /* fread() returns 0 on error, so it is OK to store this in a png_size_t
342 pngtest_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
358 png_size_t read, remaining, err;
396 pngtest_write_data(png_structp png_ptr, png_bytep data, png_size_t length
    [all...]
png.h 712 png_size_t text_length; /* length of the text string */
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngrio.c 29 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
45 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
47 png_size_t check;
50 /* fread() returns 0 on error, so it is OK to store this in a png_size_t
57 check = (png_size_t)fread(data, (png_size_t)1, length,
74 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
96 png_size_t read, remaining, err;
106 err = fread(buf, (png_size_t)1, read, io_ptr);
pngwio.c 29 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
44 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
68 png_default_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
90 png_size_t written, remaining, err;
pngmem.c 40 png_size_t size;
110 * Note that we can't use png_size_t for the "size" declaration,
111 * since on some systems a png_size_t is a 16-bit quantity, and as a
126 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size));
160 if (ret == NULL || ((png_size_t)ret & 0xffff))
198 if ((png_size_t)table & 0xfff0)
227 if ((png_size_t)hptr & 0xf)
345 png_size_t size;
438 ret = ((png_voidp)(*(png_ptr->malloc_fn))(png_ptr, (png_size_t)size));
559 png_size_t size
    [all...]
pngwutil.c 63 png_bytep data, png_size_t length)
85 png_write_data(png_ptr, buf, (png_size_t)4);
88 png_write_data(png_ptr, chunk_name, (png_size_t)4);
91 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4);
100 png_write_chunk_data(png_structp png_ptr, png_bytep data, png_size_t length)
122 png_write_data(png_ptr, buf, (png_size_t)4);
137 (png_size_t)8 - png_ptr->sig_bytes);
162 png_charp text, png_size_t text_len, int compression,
330 text_len += png_ptr->zbuf_size - (png_size_t)png_ptr->zstream.avail_out;
345 (png_size_t)comp->input_len)
    [all...]
png.c 117 png_sig_cmp(png_bytep sig, png_size_t start, png_size_t num_to_check)
142 return ((int)!png_sig_cmp(sig, (png_size_t)0, (png_size_t)num));
179 png_memset(ptr, 0, (png_size_t)0x8000L);
180 png_memset((png_bytep)ptr + (png_size_t)0x8000L, 0,
181 (png_size_t)(num_bytes - (png_uint_32)0x8000L));
185 png_memset(ptr, 0, (png_size_t)num_bytes);
217 png_calculate_crc(png_structp png_ptr, png_bytep ptr, png_size_t length)
306 png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size
    [all...]
pngpread.c 29 png_bytep buffer, png_size_t buffer_size)
107 png_size_t num_checked = png_ptr->sig_bytes,
518 png_size_t save_size;
521 save_size = (png_size_t)png_ptr->skip_length;
534 png_size_t save_size;
537 save_size = (png_size_t)png_ptr->skip_length;
562 png_push_fill_buffer(png_structp png_ptr, png_bytep buffer, png_size_t length)
570 png_size_t save_size;
586 png_size_t save_size;
607 png_size_t i,istop
    [all...]
png.h 596 png_size_t text_length; /* length of the text string */
598 png_size_t itxt_length; /* length of the itxt string */
647 png_size_t size;
    [all...]
pngrutil.c 97 png_crc_read(png_structp png_ptr, png_bytep buf, png_size_t length)
111 png_size_t i;
112 png_size_t istop = png_ptr->zbuf_size;
114 for (i = (png_size_t)skip; i > istop; i -= istop)
185 png_charp chunkdata, png_size_t chunklength,
186 png_size_t prefix_size, png_size_t *newlength)
190 png_size_t text_size;
230 text_size = (png_size_t)(chunklength - (text - chunkdata) - 1);
662 png_size_t truelen
    [all...]
pngrtran.c 459 png_size_t num_entries = ((png_size_t)1 << total_bits);
    [all...]
pngset.c 362 info_ptr->rowbytes = (png_size_t)0;
404 png_memcpy(info_ptr->pcal_purpose, purpose, (png_size_t)length);
420 png_memcpy(info_ptr->pcal_units, units, (png_size_t)length);
442 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length);
490 png_memcpy(info_ptr->scal_s_width, swidth, (png_size_t)length);
501 png_memcpy(info_ptr->scal_s_height, sheight, (png_size_t)length);
701 png_memcpy(new_iccp_profile, profile, (png_size_t)proflen);
761 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max *
782 png_size_t text_length,key_len;
783 png_size_t lang_len,lang_key_len
    [all...]
  /external/libpng/contrib/visupng/
PngFile.h 26 static void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length);
27 static void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length);
PngFile.c 401 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
403 png_size_t check;
405 /* fread() returns 0 on error, so it is OK to store this in a png_size_t
408 check = (png_size_t)fread(data, (png_size_t)1, length,
418 png_write_data(png_structp png_ptr, png_bytep data, png_size_t length)
  /external/webkit/Source/WebCore/platform/image-encoders/
PNGImageEncoder.cpp 55 void encoderWriteCallback(png_structp png, png_bytep data, png_size_t size)
  /external/qemu/
loadpng.c 138 png_size_t length )
141 png_size_t avail = (png_size_t)(reader->end - reader->cursor);

Completed in 1023 milliseconds

1 2