/external/chromium_org/third_party/libpng/ |
pngread.c | 442 PNG_CONST png_bytep chunk_name = png_ptr->chunk_name; local 447 if (!png_memcmp(chunk_name, png_IDAT, 4)) 451 if (!png_memcmp(chunk_name, png_IHDR, 4)) 453 else if (!png_memcmp(chunk_name, png_IEND, 4)) 456 else if (png_handle_as_unknown(png_ptr, chunk_name)) 458 if (!png_memcmp(chunk_name, png_IDAT, 4)) 461 if (!png_memcmp(chunk_name, png_PLTE, 4)) 463 else if (!png_memcmp(chunk_name, png_IDAT, 4)) 474 else if (!png_memcmp(chunk_name, png_PLTE, 4) 1020 PNG_CONST png_bytep chunk_name = png_ptr->chunk_name; local [all...] |
pngpread.c | 230 png_crc_read(png_ptr, png_ptr->chunk_name, 4); 231 png_check_chunk_name(png_ptr, png_ptr->chunk_name); 235 if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4)) 239 if (!png_memcmp(png_ptr->chunk_name, png_IHDR, 4)) 253 else if (!png_memcmp(png_ptr->chunk_name, png_IEND, 4)) 268 else if (png_handle_as_unknown(png_ptr, png_ptr->chunk_name)) 276 if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4)) 281 if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4)) 284 else if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4)) 296 else if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4) [all...] |
pngrutil.c | 109 * Put the type name into png_ptr->chunk_name, and return the length. 121 /* Put the chunk name into png_ptr->chunk_name */ 122 png_memcpy(png_ptr->chunk_name, buf + 4, 4); 125 png_ptr->chunk_name, length); 129 png_calculate_crc(png_ptr, png_ptr->chunk_name, 4); 132 png_check_chunk_name(png_ptr, png_ptr->chunk_name); 169 if (((png_ptr->chunk_name[0] & 0x20) && /* Ancillary */ 171 (!(png_ptr->chunk_name[0] & 0x20) && /* Critical */ 196 if (png_ptr->chunk_name[0] & 0x20) /* ancillary */ 295 png_snprintf(umsg, sizeof umsg, msg, png_ptr->chunk_name); [all...] |
pngerror.c | 148 * to the current chunk. The chunk name comes from png_ptr->chunk_name, 169 int c = png_ptr->chunk_name[iin++];
|
png.c | 226 if (png_ptr->chunk_name[0] & 0x20) /* ancillary */ 784 png_handle_as_unknown(png_structp png_ptr, png_bytep chunk_name) 786 /* Check chunk_name and return "keep" value if it's on the list, else 0 */ 789 if (png_ptr == NULL || chunk_name == NULL || png_ptr->num_chunk_list<=0) 793 if (!png_memcmp(chunk_name, p, 4))
|
pngwutil.c | 84 png_write_chunk(png_structp png_ptr, png_bytep chunk_name, 89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); 99 png_write_chunk_start(png_structp png_ptr, png_bytep chunk_name, 104 png_debug2(0, "Writing %s chunk, length = %lu", chunk_name, 113 png_memcpy(buf + 4, chunk_name, 4); 115 /* Put the chunk name into png_ptr->chunk_name */ 116 png_memcpy(png_ptr->chunk_name, chunk_name, 4); 119 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4); [all...] |
pngget.c | 770 (png_ptr->chunk_name[0] == '\0' ? "text" 771 : (png_const_charp)png_ptr->chunk_name));
|
pngset.c | 659 png_ptr->chunk_name[0] == '\0') ? 660 "text" : (png_const_charp)png_ptr->chunk_name)); [all...] |
/external/qemu/distrib/libpng-1.2.46/ |
pngread.c | 446 PNG_CONST png_bytep chunk_name = png_ptr->chunk_name; local 451 if (!png_memcmp(chunk_name, png_IDAT, 4)) 455 if (!png_memcmp(chunk_name, png_IHDR, 4)) 457 else if (!png_memcmp(chunk_name, png_IEND, 4)) 460 else if (png_handle_as_unknown(png_ptr, chunk_name)) 462 if (!png_memcmp(chunk_name, png_IDAT, 4)) 465 if (!png_memcmp(chunk_name, png_PLTE, 4)) 467 else if (!png_memcmp(chunk_name, png_IDAT, 4)) 478 else if (!png_memcmp(chunk_name, png_PLTE, 4) 1182 PNG_CONST png_bytep chunk_name = png_ptr->chunk_name; local [all...] |
pngpread.c | 230 png_crc_read(png_ptr, png_ptr->chunk_name, 4); 231 png_check_chunk_name(png_ptr, png_ptr->chunk_name); 235 if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4)) 239 if (!png_memcmp(png_ptr->chunk_name, png_IHDR, 4)) 253 else if (!png_memcmp(png_ptr->chunk_name, png_IEND, 4)) 268 else if (png_handle_as_unknown(png_ptr, png_ptr->chunk_name)) 276 if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4)) 281 if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4)) 284 else if (!png_memcmp(png_ptr->chunk_name, png_IDAT, 4)) 296 else if (!png_memcmp(png_ptr->chunk_name, png_PLTE, 4) [all...] |
pngrutil.c | 109 * Put the type name into png_ptr->chunk_name, and return the length. 121 /* Put the chunk name into png_ptr->chunk_name */ 122 png_memcpy(png_ptr->chunk_name, buf + 4, 4); 125 png_ptr->chunk_name, length); 129 png_calculate_crc(png_ptr, png_ptr->chunk_name, 4); 132 png_check_chunk_name(png_ptr, png_ptr->chunk_name); 174 if (((png_ptr->chunk_name[0] & 0x20) && /* Ancillary */ 176 (!(png_ptr->chunk_name[0] & 0x20) && /* Critical */ 213 if (png_ptr->chunk_name[0] & 0x20) /* ancillary */ 312 png_snprintf(umsg, sizeof umsg, msg, png_ptr->chunk_name); [all...] |
png.c | 227 if (png_ptr->chunk_name[0] & 0x20) /* ancillary */ 785 png_handle_as_unknown(png_structp png_ptr, png_bytep chunk_name) 787 /* Check chunk_name and return "keep" value if it's on the list, else 0 */ 790 if (png_ptr == NULL || chunk_name == NULL || png_ptr->num_chunk_list<=0) 794 if (!png_memcmp(chunk_name, p, 4))
|
pngerror.c | 148 * to the current chunk. The chunk name comes from png_ptr->chunk_name, 169 int c = png_ptr->chunk_name[iin++];
|
pngwutil.c | 84 png_write_chunk(png_structp png_ptr, png_bytep chunk_name, 89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); 99 png_write_chunk_start(png_structp png_ptr, png_bytep chunk_name, 104 png_debug2(0, "Writing %s chunk, length = %lu", chunk_name, 113 png_memcpy(buf + 4, chunk_name, 4); 115 /* Put the chunk name into png_ptr->chunk_name */ 116 png_memcpy(png_ptr->chunk_name, chunk_name, 4); 119 png_calculate_crc(png_ptr, chunk_name, (png_size_t)4); [all...] |
pngget.c | 770 (png_ptr->chunk_name[0] == '\0' ? "text" 771 : (png_const_charp)png_ptr->chunk_name));
|
pngset.c | 659 png_ptr->chunk_name[0] == '\0') ? 660 "text" : (png_const_charp)png_ptr->chunk_name)); [all...] |
/external/libpng/ |
pngpread.c | 187 png_uint_32 chunk_name; local 213 png_ptr->chunk_name = PNG_CHUNK_FROM_STRING(chunk_tag); 214 png_check_chunk_name(png_ptr, png_ptr->chunk_name); 218 chunk_name = png_ptr->chunk_name; 220 if (chunk_name == png_IDAT) 247 if (chunk_name == png_IHDR) 261 else if (chunk_name == png_IEND) 276 else if ((keep = png_chunk_unknown_handling(png_ptr, chunk_name)) != 0) 286 if (chunk_name == png_PLTE [all...] |
pngread.c | 113 png_uint_32 chunk_name = png_ptr->chunk_name; local 118 if (chunk_name == png_IDAT) 139 if (chunk_name == png_IHDR) 142 else if (chunk_name == png_IEND) 146 else if ((keep = png_chunk_unknown_handling(png_ptr, chunk_name)) != 0) 150 if (chunk_name == png_PLTE) 153 else if (chunk_name == png_IDAT) 160 else if (chunk_name == png_PLTE) 163 else if (chunk_name == png_IDAT 934 png_uint_32 chunk_name = png_ptr->chunk_name; local [all...] |
pngerror.c | 368 png_ptr->chunk_name != 0) 379 png_ptr->chunk_name != 0) 419 * to the current chunk. The chunk name comes from png_ptr->chunk_name, 437 png_uint_32 chunk_name = png_ptr->chunk_name; local 442 int c = (int)(chunk_name >> ishift) & 0xff;
|
pngrutil.c | 147 * Put the type name into png_ptr->chunk_name, and return the length. 165 /* Put the chunk name into png_ptr->chunk_name. */ 166 png_ptr->chunk_name = PNG_CHUNK_FROM_STRING(buf+4); 169 (unsigned long)png_ptr->chunk_name, (unsigned long)length); 176 png_check_chunk_name(png_ptr, png_ptr->chunk_name); 222 if (PNG_CHUNK_ANCILLARY(png_ptr->chunk_name) ? 275 if (PNG_CHUNK_ANCILLARY(png_ptr->chunk_name)) 625 ret = png_inflate_claim(png_ptr, png_ptr->chunk_name); 631 ret = png_inflate(png_ptr, png_ptr->chunk_name, 1/*finish*/, 659 ret = png_inflate(png_ptr, png_ptr->chunk_name, 1/*finish*/ [all...] |
pngwutil.c | 73 png_write_chunk_header(png_structrp png_ptr, png_uint_32 chunk_name, 79 PNG_CSTRING_FROM_CHUNK(buf, chunk_name); 95 png_save_uint_32(buf + 4, chunk_name); 98 /* Put the chunk name into png_ptr->chunk_name */ 99 png_ptr->chunk_name = chunk_name; 176 png_write_complete_chunk(png_structrp png_ptr, png_uint_32 chunk_name, 186 png_write_chunk_header(png_ptr, chunk_name, (png_uint_32)length); 489 png_text_compress(png_structrp png_ptr, png_uint_32 chunk_name, 504 ret = png_deflate_claim(png_ptr, chunk_name, comp->input_len) [all...] |
pngget.c | 984 (unsigned long)png_ptr->chunk_name); 1160 return png_ptr->chunk_name; [all...] |
pngstruct.h | 268 png_uint_32 chunk_name; /* PNG_CHUNK() id of current chunk */ member in struct:png_struct_def
|
png.c | 118 if (PNG_CHUNK_ANCILLARY(png_ptr->chunk_name)) 888 png_handle_as_unknown(png_const_structrp png_ptr, png_const_bytep chunk_name) 890 /* Check chunk_name and return "keep" value if it's on the list, else 0 */ 893 if (png_ptr == NULL || chunk_name == NULL || png_ptr->num_chunk_list == 0) 907 if (!memcmp(chunk_name, p, 4)) 923 png_chunk_unknown_handling(png_const_structrp png_ptr, png_uint_32 chunk_name) 927 PNG_CSTRING_FROM_CHUNK(chunk_string, chunk_name); [all...] |
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pngstruct.h | 107 png_uint_32 chunk_name; /* PNG_CHUNK() id of current chunk */ member in struct:png_struct_def
|