Lines Matching defs:offset_buffer
1190 And write their correspondances to offset_buffer(see below)
1193 We assume offset_buffer and is_binary is already allocated
1210 offset_buffer = {0, 0+3("xxx"), 0+3+1("y"),
1213 int *offset_buffer,
1229 offset_buffer[0] = 0;
1252 offset_buffer[wc_count + 1] = mb_count += consumed;
1257 offset_buffer[i] = mb_count + 1;
2368 /* Initialize the wchar_t PATTERN and offset_buffer. */
5507 to which offset_buffer correspond. And count how many wchar_t_characters
5508 the substring occupy. We use offset_buffer to optimization.
5512 count_mbs_length (int *offset_buffer, int length)
5520 if (offset_buffer == NULL)
5523 /* If there are no multibyte character, offset_buffer[i] == i.
5525 if (offset_buffer[length] == length)
5528 /* Set up upper with length. (because for all i, offset_buffer[i] >= i) */
5537 if (offset_buffer[middle] > length)
5539 else if (offset_buffer[middle] < length)