Lines Matching refs:slength
1242 png_size_t slength, prefix_length, data_length;
1281 slength = length;
1282 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength);
1291 png_ptr->chunkdata[slength] = 0x00;
1301 if (profile >= png_ptr->chunkdata + slength - 1)
1321 slength, prefix_length, &data_length);
1380 png_size_t slength;
1431 slength = length;
1432 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength);
1441 png_ptr->chunkdata[slength] = 0x00;
1450 if (entry_start > (png_bytep)png_ptr->chunkdata + slength - 2)
1461 * chunk data length (and use 'length', not 'slength' here for clarity -
1925 png_size_t slength;
1958 slength = length;
1959 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength);
1968 png_ptr->chunkdata[slength] = 0x00; /* Null terminate the last string */
1974 endptr = png_ptr->chunkdata + slength;
2065 png_size_t slength, i;
2107 slength = length;
2108 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength);
2109 png_ptr->chunkdata[slength] = 0x00; /* Null terminate the last string */
2133 if (!png_check_fp_number(png_ptr->chunkdata, slength, &state, &i) ||
2134 i >= slength || png_ptr->chunkdata[i++] != 0)
2145 if (!png_check_fp_number(png_ptr->chunkdata, slength, &state, &i) ||
2146 i != slength)
2219 png_size_t slength;
2267 slength = length;
2268 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength);
2279 key[slength] = 0x00;
2284 if (text != key + slength)
2326 png_size_t slength, prefix_len, data_len;
2375 slength = length;
2376 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength);
2385 png_ptr->chunkdata[slength] = 0x00;
2391 if (text >= png_ptr->chunkdata + slength - 2)
2457 png_size_t slength, prefix_len, data_len;
2506 slength = length;
2507 png_crc_read(png_ptr, (png_bytep)png_ptr->chunkdata, slength);
2516 png_ptr->chunkdata[slength] = 0x00;
2528 if (lang >= png_ptr->chunkdata + slength - 3)
2555 if (lang_key >= png_ptr->chunkdata + slength)
2568 if (text >= png_ptr->chunkdata + slength)