data              716 contrib/gregbook/rpng-x.c             dest = ximage->data + row*ximage_rowbytes;
data              790 contrib/gregbook/rpng-x.c             dest = ximage->data + row*ximage_rowbytes;
data              875 contrib/gregbook/rpng-x.c         if (ximage->data) {
data              876 contrib/gregbook/rpng-x.c             free(ximage->data);           /* we allocated it, so we free it */
data              877 contrib/gregbook/rpng-x.c             ximage->data = (char *)NULL;  /*  instead of XDestroyImage() */
data             1304 contrib/gregbook/rpng2-x.c             dest = ximage->data + row*ximage_rowbytes;
data             1342 contrib/gregbook/rpng2-x.c             dest = ximage->data + row*ximage_rowbytes;
data             1430 contrib/gregbook/rpng2-x.c         dest = ximage->data + row*ximage_rowbytes;
data             1505 contrib/gregbook/rpng2-x.c         dest = ximage->data + row*ximage_rowbytes;
data             1651 contrib/gregbook/rpng2-x.c             dest = ximage->data + row*ximage_rowbytes;
data             1778 contrib/gregbook/rpng2-x.c             dest = ximage->data + row*ximage_rowbytes;
data             2100 contrib/gregbook/rpng2-x.c         if (ximage->data) {
data             2101 contrib/gregbook/rpng2-x.c             free(ximage->data);           /* we allocated it, so we free it */
data             2102 contrib/gregbook/rpng2-x.c             ximage->data = (char *)NULL;  /*  instead of XDestroyImage() */
data              772 contrib/libtests/makepng.c                   png_bytep data = malloc((total+3)&~3);
data              774 contrib/libtests/makepng.c                   if (data != NULL)
data              782 contrib/libtests/makepng.c                         data[new_size++] = (png_byte)ch;
data              789 contrib/libtests/makepng.c                         free(data);
data              795 contrib/libtests/makepng.c                         *result = data;
data             1005 contrib/libtests/makepng.c             png_bytep data = NULL;
data             1006 contrib/libtests/makepng.c             png_size_t fake_len = load_fake(param, &data);
data             1011 contrib/libtests/makepng.c                text->text = (png_charp)data;
data              765 contrib/libtests/pngimage.c       memcpy(data, last->buffer + read_count, avail);
data              768 contrib/libtests/pngimage.c       data += avail;
data              777 contrib/libtests/pngimage.c    buffer_read(get_dp(pp), get_buffer(pp), data, size);
data             1219 contrib/libtests/pngimage.c       memcpy(last->buffer + end_count, data, avail);
data             1222 contrib/libtests/pngimage.c       data += avail;
data             1231 contrib/libtests/pngimage.c    buffer_write(get_dp(pp), get_buffer(pp), data, size);
data              605 contrib/libtests/pngvalid.c    png_store_buffer        data;      /* Last buffer in file */
data              808 contrib/libtests/pngvalid.c       store_freebuffer(&(*ppf)->data);
data              832 contrib/libtests/pngvalid.c    pf->data = ps->new;
data             1140 contrib/libtests/pngvalid.c    if (ps->next != &ps->current->data)
data             1153 contrib/libtests/pngvalid.c       png_store_buffer *next = &ps->current->data;
data             1177 contrib/libtests/pngvalid.c    png_store_buffer *pbNew = &ps->current->data;
data             2748 contrib/libtests/pngvalid.c        pm->this.next != &pm->this.current->data ||
data             6671 contrib/libtests/pngvalid.c } data;
data             6697 contrib/libtests/pngvalid.c       data.red_coefficient = e->red.Y;
data             6698 contrib/libtests/pngvalid.c       data.green_coefficient = e->green.Y;
data             6699 contrib/libtests/pngvalid.c       data.blue_coefficient = e->blue.Y;
data             6703 contrib/libtests/pngvalid.c          data.red_coefficient /= whiteY;
data             6704 contrib/libtests/pngvalid.c          data.green_coefficient /= whiteY;
data             6705 contrib/libtests/pngvalid.c          data.blue_coefficient /= whiteY;
data             6712 contrib/libtests/pngvalid.c       data.red_coefficient = 6968 / 32768.;
data             6713 contrib/libtests/pngvalid.c       data.green_coefficient = 23434 / 32768.;
data             6714 contrib/libtests/pngvalid.c       data.blue_coefficient = 2366 / 32768.;
data             6717 contrib/libtests/pngvalid.c    data.gamma = pm->current_gamma;
data             6720 contrib/libtests/pngvalid.c    if (data.gamma == 0)
data             6721 contrib/libtests/pngvalid.c       data.gamma = 1;
data             6733 contrib/libtests/pngvalid.c       data.coefficients_overridden = !data.coefficients_overridden;
data             6734 contrib/libtests/pngvalid.c       pm->repeat = data.coefficients_overridden != 0;
data             6738 contrib/libtests/pngvalid.c       data.coefficients_overridden = random_choice();
data             6740 contrib/libtests/pngvalid.c    if (data.coefficients_overridden)
data             6749 contrib/libtests/pngvalid.c       data.green_coefficient = total = (ru & 0xffff) / 65535.;
data             6751 contrib/libtests/pngvalid.c       data.red_coefficient = (1 - total) * (ru & 0xffff) / 65535.;
data             6752 contrib/libtests/pngvalid.c       total += data.red_coefficient;
data             6753 contrib/libtests/pngvalid.c       data.blue_coefficient = 1 - total;
data             6756 contrib/libtests/pngvalid.c          data.red_to_set = data.red_coefficient;
data             6757 contrib/libtests/pngvalid.c          data.green_to_set = data.green_coefficient;
data             6759 contrib/libtests/pngvalid.c          data.red_to_set = fix(data.red_coefficient);
data             6760 contrib/libtests/pngvalid.c          data.green_to_set = fix(data.green_coefficient);
data             6769 contrib/libtests/pngvalid.c       data.red_to_set = -1;
data             6770 contrib/libtests/pngvalid.c       data.green_to_set = -1;
data             6776 contrib/libtests/pngvalid.c    if (data.gamma != 1) /* Use gamma tables */
data             6792 contrib/libtests/pngvalid.c                   8. : 6. + (1<<(15-PNG_MAX_GAMMA_8)))/65535, data.gamma);
data             6795 contrib/libtests/pngvalid.c                   8. : 8. + (1<<(15-PNG_MAX_GAMMA_8)))/65535, data.gamma);
data             6816 contrib/libtests/pngvalid.c              pow(1.1 /255, data.gamma);
data             6818 contrib/libtests/pngvalid.c              pow(1.0 /255, data.gamma);
data             6840 contrib/libtests/pngvalid.c       png_set_rgb_to_gray(pp, error_action, data.red_to_set, data.green_to_set);
data             6842 contrib/libtests/pngvalid.c       png_set_rgb_to_gray_fixed(pp, error_action, data.red_to_set,
data             6843 contrib/libtests/pngvalid.c          data.green_to_set);
data             6887 contrib/libtests/pngvalid.c             if (data.red_to_set == -1 && data.green_to_set == -1 &&
data             6888 contrib/libtests/pngvalid.c                (fabs(o.red.Y - data.red_coefficient) > DBL_EPSILON ||
data             6889 contrib/libtests/pngvalid.c                fabs(o.green.Y - data.green_coefficient) > DBL_EPSILON ||
data             6890 contrib/libtests/pngvalid.c                fabs(o.blue.Y - data.blue_coefficient) > DBL_EPSILON))
data             7014 contrib/libtests/pngvalid.c          if (data.gamma != 1)
data             7016 contrib/libtests/pngvalid.c             PNG_CONST double power = 1/data.gamma;
data             7048 contrib/libtests/pngvalid.c          gray = r * data.red_coefficient + g * data.green_coefficient +
data             7049 contrib/libtests/pngvalid.c             b * data.blue_coefficient;
data             7052 contrib/libtests/pngvalid.c             PNG_CONST int do_round = data.gamma != 1 || calc_depth == 16;
data             7055 contrib/libtests/pngvalid.c             graylo = digitize(rlo * (data.red_coefficient-ce) +
data             7056 contrib/libtests/pngvalid.c                glo * (data.green_coefficient-ce) +
data             7057 contrib/libtests/pngvalid.c                blo * (data.blue_coefficient-ce), gamma_depth, do_round);
data             7061 contrib/libtests/pngvalid.c             grayhi = digitize(rhi * (data.red_coefficient+ce) +
data             7062 contrib/libtests/pngvalid.c                ghi * (data.green_coefficient+ce) +
data             7063 contrib/libtests/pngvalid.c                bhi * (data.blue_coefficient+ce), gamma_depth, do_round);
data             7069 contrib/libtests/pngvalid.c          if (data.gamma != 1)
data             7071 contrib/libtests/pngvalid.c             PNG_CONST double power = data.gamma;
data             7124 contrib/libtests/pngvalid.c          else if (data.gamma == 1)
data             7134 contrib/libtests/pngvalid.c             gray = r * data.red_coefficient + g * data.green_coefficient +
data             7135 contrib/libtests/pngvalid.c                b * data.blue_coefficient;
data             7136 contrib/libtests/pngvalid.c             err = re * data.red_coefficient + ge * data.green_coefficient +
data             7137 contrib/libtests/pngvalid.c                be * data.blue_coefficient + 1./32768 + gray * 5 * DBL_EPSILON;
data             7154 contrib/libtests/pngvalid.c             double g1 = 1/data.gamma;
data             7171 contrib/libtests/pngvalid.c             gray = r * data.red_coefficient + g * data.green_coefficient +
data             7172 contrib/libtests/pngvalid.c                b * data.blue_coefficient - 1./32768 - out_qe;
data             7178 contrib/libtests/pngvalid.c                gray = pow(gray, data.gamma) * (1-DBL_EPSILON);
data             7181 contrib/libtests/pngvalid.c             grayhi = rhi * data.red_coefficient + ghi * data.green_coefficient +
data             7182 contrib/libtests/pngvalid.c                bhi * data.blue_coefficient + 1./32768 + out_qe;
data             7187 contrib/libtests/pngvalid.c                grayhi = pow(grayhi, data.gamma) * (1+DBL_EPSILON);
data             7266 contrib/libtests/pngvalid.c static image_pixel data;
data             7301 contrib/libtests/pngvalid.c    image_pixel_init(&data, random_bytes, colour_type,
data             7311 contrib/libtests/pngvalid.c       back.red = (png_uint_16)data.red;
data             7312 contrib/libtests/pngvalid.c       back.green = (png_uint_16)data.green;
data             7313 contrib/libtests/pngvalid.c       back.blue = (png_uint_16)data.blue;
data             7317 contrib/libtests/pngvalid.c       back.gray = (png_uint_16)data.red;
data             7343 contrib/libtests/pngvalid.c          that->redf = data.redf;
data             7344 contrib/libtests/pngvalid.c          that->greenf = data.greenf;
data             7345 contrib/libtests/pngvalid.c          that->bluef = data.bluef;
data             7347 contrib/libtests/pngvalid.c          that->rede = data.rede;
data             7348 contrib/libtests/pngvalid.c          that->greene = data.greene;
data             7349 contrib/libtests/pngvalid.c          that->bluee = data.bluee;
data             7351 contrib/libtests/pngvalid.c          that->red_sBIT= data.red_sBIT;
data             7352 contrib/libtests/pngvalid.c          that->green_sBIT= data.green_sBIT;
data             7353 contrib/libtests/pngvalid.c          that->blue_sBIT= data.blue_sBIT;
data             7360 contrib/libtests/pngvalid.c          that->redf = that->redf * that->alphaf + data.redf * alf;
data             7361 contrib/libtests/pngvalid.c          that->rede = that->rede * that->alphaf + data.rede * alf +
data             7363 contrib/libtests/pngvalid.c          that->greenf = that->greenf * that->alphaf + data.greenf * alf;
data             7364 contrib/libtests/pngvalid.c          that->greene = that->greene * that->alphaf + data.greene * alf +
data             7366 contrib/libtests/pngvalid.c          that->bluef = that->bluef * that->alphaf + data.bluef * alf;
data             7367 contrib/libtests/pngvalid.c          that->bluee = that->bluee * that->alphaf + data.bluee * alf +
data              416 contrib/visupng/PngFile.c    check = (png_size_t)fread(data, (png_size_t)1, length,
data              430 contrib/visupng/PngFile.c    check = fwrite(data, 1, length, (FILE *)(png_ptr->io_ptr));
data              573 png.c                       png_free(png_ptr, info_ptr->unknown_chunks[num].data);
data              574 png.c                       info_ptr->unknown_chunks[num].data = NULL;
data              760 png.h              png_byte *data;   /* Data, should not be modified on read! */
data             1122 png.h              chunk_name, png_const_bytep data, png_size_t length));
data             1130 png.h              png_const_bytep data, png_size_t length));
data              958 pngpriv.h          png_bytep data, png_size_t length),PNG_EMPTY);
data              966 pngpriv.h          png_bytep data, png_size_t length),PNG_EMPTY);
data              980 pngpriv.h          png_const_bytep data, png_size_t length),PNG_EMPTY);
data              991 pngpriv.h      PNG_INTERNAL_FUNCTION(void,png_read_data,(png_structrp png_ptr, png_bytep data,
data              952 pngread.c         png_free(png_ptr, png_ptr->unknown_chunk.data);
data               37 pngrio.c             (*(png_ptr->read_data_fn))(png_ptr, data, length);
data               60 pngrio.c          check = fread(data, 1, length, png_voidcast(png_FILE_p, png_ptr->io_ptr));
data             2707 pngrutil.c        if (png_ptr->unknown_chunk.data != NULL)
data             2709 pngrutil.c           png_free(png_ptr, png_ptr->unknown_chunk.data);
data             2710 pngrutil.c           png_ptr->unknown_chunk.data = NULL;
data             2732 pngrutil.c              png_ptr->unknown_chunk.data = NULL;
data             2737 pngrutil.c              png_ptr->unknown_chunk.data = png_voidcast(png_bytep,
data             2742 pngrutil.c        if (png_ptr->unknown_chunk.data == NULL && length > 0)
data             2753 pngrutil.c              png_crc_read(png_ptr, png_ptr->unknown_chunk.data, length);
data             2945 pngrutil.c        if (png_ptr->unknown_chunk.data != NULL)
data             2946 pngrutil.c           png_free(png_ptr, png_ptr->unknown_chunk.data);
data             2947 pngrutil.c        png_ptr->unknown_chunk.data = NULL;
data             1172 pngset.c                np->data = NULL;
data             1178 pngset.c                np->data = png_voidcast(png_bytep,
data             1181 pngset.c                if (np->data == NULL)
data             1189 pngset.c                memcpy(np->data, unknowns->data, unknowns->size);
data              197 pngtest.c            ++filters_used[*(data - 1)];
data              211 pngtest.c         png_bytep dp = data;
data              379 pngtest.c            check = fread(data, 1, length, (png_FILE_p)io_ptr);
data              411 pngtest.c         check = fwrite(data, 1, length, (png_FILE_p)png_get_io_ptr(png_ptr));
data              646 pngtest.c         if ((data->location[0] & what) || (data->location[1] & what))
data              652 pngtest.c         if (data->info_ptr == NULL) /* after IDAT */
data              655 pngtest.c         else if (png_get_valid(png_ptr, data->info_ptr, PNG_INFO_PLTE))
data              661 pngtest.c         if (data->location[0] == 0)
data              662 pngtest.c            data->location[0] = location;
data              665 pngtest.c            data->location[1] = location;
data              699 pngtest.c               if (chunk->data[0] != 0 && chunk->data[0] != 1)
data              704 pngtest.c                  my_user_chunk_data->sTER_mode=chunk->data[0];
data              724 pngtest.c         my_user_chunk_data->vpAg_width = png_get_uint_31(png_ptr, chunk->data);
data              725 pngtest.c         my_user_chunk_data->vpAg_height = png_get_uint_31(png_ptr, chunk->data + 4);
data              726 pngtest.c         my_user_chunk_data->vpAg_units = chunk->data[8];
data               37 pngwio.c             (*(png_ptr->write_data_fn))(png_ptr, png_constcast(png_bytep,data),
data               58 pngwio.c          check = fwrite(data, 1, length, (png_FILE_p)(png_ptr->io_ptr));
data               67 pngwrite.c                 png_write_chunk(png_ptr, up->name, up->data, up->size);
data              134 pngwutil.c        if (data != NULL && length > 0)
data              136 pngwutil.c           png_write_data(png_ptr, data, length);
data              141 pngwutil.c           png_calculate_crc(png_ptr, data, length);
data              187 pngwutil.c        png_write_chunk_data(png_ptr, data, length);
data              196 pngwutil.c        png_write_complete_chunk(png_ptr, PNG_CHUNK_FROM_STRING(chunk_string), data,
data              258 pngwutil.c           unsigned int z_cmf = data[0];  /* zlib compression method and flags */
data              281 pngwutil.c                 data[0] = (png_byte)z_cmf;
data              282 pngwutil.c                 tmp = data[1] & 0xe0;
data              284 pngwutil.c                 data[1] = (png_byte)tmp;
data             1071 pngwutil.c              png_bytep data = png_ptr->zbuffer_list->output;
data             1080 pngwutil.c                    optimize_cmf(data, png_image_size(png_ptr));
data             1083 pngwutil.c              png_write_complete_chunk(png_ptr, png_IDAT, data, size);
data             1086 pngwutil.c              png_ptr->zstream.next_out = data;
data             1120 pngwutil.c              png_bytep data = png_ptr->zbuffer_list->output;
data             1126 pngwutil.c                    optimize_cmf(data, png_image_size(png_ptr));
data             1129 pngwutil.c              png_write_complete_chunk(png_ptr, png_IDAT, data, size);