Lines Matching refs:charsetpage
66 int* charsetpage; /* charsetpage[0..rows]: how large is a page for a row */
243 * Computes the charsetpage[0..rows] array.
249 enc->charsetpage = (int*) malloc((enc->rows+1)*sizeof(int));
252 enc->charsetpage[row] = 0;
259 enc->charsetpage[row] = used;
274 if (enc->charsetpage[row] > 0 && (row == 0 || enc->charsetpage[row-1] == 0)) {
275 for (lastrow = row; enc->charsetpage[lastrow+1] > 0; lastrow++);
277 enc->charsetblocks[n].end = lastrow * enc->cols + enc->charsetpage[lastrow];
309 if (enc->charsetpage[row] > 0) {
310 if (row == 0 || enc->charsetpage[row-1] == 0) {
312 for (lastrow = row; enc->charsetpage[lastrow+1] > 0; lastrow++);
315 (lastrow-row) * enc->cols + enc->charsetpage[lastrow]);
318 col_max = (enc->charsetpage[row+1] > 0 ? enc->cols : enc->charsetpage[row]);
324 if (enc->charsetpage[row+1] == 0) {
421 if (enc->charsetpage[row] > 0) {
422 if (row == 0 || enc->charsetpage[row-1] == 0) {
424 for (lastrow = row; enc->charsetpage[lastrow+1] > 0; lastrow++);
437 (lastrow-row) * enc->cols + enc->charsetpage[lastrow]);
440 col_max = (enc->charsetpage[row+1] > 0 ? enc->cols : enc->charsetpage[row]);
446 if (enc->charsetpage[row+1] == 0) {