Lines Matching refs:keyword
1375 * 4 byte checksum. The keyword must be at least one character and there is
1398 char keyword[81];
1400 /* Find the keyword; the keyword plus separator and compression method
1407 png_crc_read(png_ptr, (png_bytep)keyword, read_length);
1412 keyword[keyword_length] != 0)
1415 /* TODO: make the keyword checking common */
1422 keyword[keyword_length+1] == PNG_COMPRESSION_TYPE_BASE)
1432 png_ptr->zstream.next_in = (Bytef*)keyword + (keyword_length+2);
1446 keyword, profile_length) != 0)
1452 keyword, profile_length, profile_header,
1482 &png_ptr->colorspace, keyword, profile_length,
1533 memcpy(info_ptr->iccp_name, keyword,
1608 errmsg = "bad keyword";
2548 /* TODO: also check that the keyword contents match the spec! */
2555 errmsg = "bad keyword";
2557 /* zTXt must have some LZ data after the keyword, although it may expand to
2558 * zero bytes; we need a '\0' at the end of the keyword, the compression type
2657 /* First the keyword. */
2663 /* Perform a basic check on the keyword length here. */
2665 errmsg = "bad keyword";
2667 /* Expect keyword, compression flag, compression type, language, translated
2668 * keyword (both may be empty but are 0 terminated) then the text, which may
2698 * keyword, but it may already be over the end. None of this arithmetic