Searched refs:SCM_ENCODING_SEARCH_SIZE (Results 1 – 3 of 3) sorted by relevance
1677 #define SCM_ENCODING_SEARCH_SIZE (500 + ENCODING_NAME_MAX_SIZE) macro1688 char header[SCM_ENCODING_SEARCH_SIZE+1]; in scm_i_scan_for_encoding()1704 if (bytes_read > SCM_ENCODING_SEARCH_SIZE) in scm_i_scan_for_encoding()1705 bytes_read = SCM_ENCODING_SEARCH_SIZE; in scm_i_scan_for_encoding()1718 bytes_read = scm_c_read (port, header, SCM_ENCODING_SEARCH_SIZE); in scm_i_scan_for_encoding()1734 if (pos - header >= SCM_ENCODING_SEARCH_SIZE || in scm_i_scan_for_encoding()1743 while (pos - header <= SCM_ENCODING_SEARCH_SIZE && in scm_i_scan_for_encoding()1747 if (pos - header >= SCM_ENCODING_SEARCH_SIZE - ENCODING_NAME_MAX_SIZE) in scm_i_scan_for_encoding()1757 while (encoding_start + i - header <= SCM_ENCODING_SEARCH_SIZE in scm_i_scan_for_encoding()
2069 #define SCM_ENCODING_SEARCH_SIZE (500 + ENCODING_NAME_MAX_SIZE) macro2080 char header[SCM_ENCODING_SEARCH_SIZE+1]; in scm_i_scan_for_encoding()2096 if (bytes_read > SCM_ENCODING_SEARCH_SIZE) in scm_i_scan_for_encoding()2097 bytes_read = SCM_ENCODING_SEARCH_SIZE; in scm_i_scan_for_encoding()2110 bytes_read = scm_c_read (port, header, SCM_ENCODING_SEARCH_SIZE); in scm_i_scan_for_encoding()2126 if (pos - header >= SCM_ENCODING_SEARCH_SIZE || in scm_i_scan_for_encoding()2135 while (pos - header <= SCM_ENCODING_SEARCH_SIZE && in scm_i_scan_for_encoding()2139 if (pos - header >= SCM_ENCODING_SEARCH_SIZE - ENCODING_NAME_MAX_SIZE) in scm_i_scan_for_encoding()2149 while (encoding_start + i - header <= SCM_ENCODING_SEARCH_SIZE in scm_i_scan_for_encoding()
16695 (SCM_ENCODING_SEARCH_SIZE): Change to 500 + ENCODING_NAME_MAX_SIZE.