Home | History | Annotate | Download | only in libtests

Lines Matching defs:CHECK

1527                 * happens 25% of the time.  Because of the check above
1682 /* Check for end of chunk and end-of-file; don't try to read a new
1960 * png_struct or png_info via png_destroy_struct_2 it is necessary to check
1967 /* First check that this 'memory' really is valid memory - it must be in the
2404 * internal check on pngvalid to ensure that the calculated error limits are
2570 * in the rgb_to_gray check, replacing it with an exact copy of the libpng 1.5
3024 /* Check the list of modifiers for modifications to the IHDR. */
3079 /* Check for something to modify or a terminator chunk. */
3144 /* Check for a modification, else leave it be. */
3236 /* Check that this number of bytes are available (in the current buffer.)
3247 /* Check for EOF: */
3258 /* Check the invariants at the end (if this fails it's a problem in this
3971 /* This is just to do the right cast - could be changed to a function to check
5022 /* Check for a non-opaque palette entry: */
5041 * palette (it does not check for a transparent colour in the non-palette case.)
5098 * result above and fails to check that the variables it passed have
5205 /* Record (but don't check at present) the input sBIT according to the colour
5273 /* In any case always check for a tranparent color (notice that the
5747 * fails, so we don't need to check the result.
5772 /* Check the header values: */
5787 /* After the last pass loop over the rows again to check that the
5800 /* Check for validation. */
6245 /* Check the input, original, channel value here against the
6265 /* Again, check the exact input values, not the current transformed
6612 /* Use a test pixel to check that the output agrees with what we expect -
6659 /* If both bit depth and colour type are correct check the sample depth.
6717 * palette images where it is always 8.) The check on 'err' is to detect
6779 /* Check for row overwrite errors */
6881 /* Check the colours for palette images too - in fact the palette could
6990 /* Check the header values: */
7611 /* Since we check the encoding this flag must be set: */
7736 * will trigger the error check in transform_range_check. Fix that
7742 * NOTE: this number only affects the internal limit check in pngvalid,
7780 * check that the libpng APIs give the correct (X,Y,Z) values within
7813 /* Sanity check the pngvalid code - the coefficients should match
7841 # define CHECK(col,x)\
7851 CHECK(red,X)
7852 CHECK(red,Y)
7853 CHECK(red,Z)
7854 CHECK(green,X)
7855 CHECK(green,Y)
7856 CHECK(green,Z)
7857 CHECK(blue,X)
7858 CHECK(blue,Y)
7859 CHECK(blue,Z)
7861 /* Here in both fixed and floating cases to check the values read
8061 /* Check that this worked: */
8327 /* Check for tRNS first: */
8884 * field is randomized independently. This acts as a check that
9602 /* First check on the 'perfect' result obtained from the digitized input
9608 /* Check for the fast route: if we don't do any background composition or if
9659 int log_max_error = 1; /* Check maximum error values */
9681 /* And similarly for the output value, but we need to check the background
9719 * check above (unnecessary if we took the fast route, but harmless.)
9988 * is also used below. do_compose is just a double check.
10012 /* Check the 'compose' flag */
10222 /* Check for row overwrite errors */
10269 * alpha to disappear so there is nothing to check.
10461 /* Check the header values: */
11730 /* Some default values (set the behavior for 'make check' here).