Lines Matching defs:offset_buffer
1240 And write their correspondances to offset_buffer(see below)
1243 We assume offset_buffer and is_binary is already allocated
1247 size_t len, int *offset_buffer,
1251 int *offset_buffer, char *is_binary)
1258 offset_buffer = {0, 0+3("xxx"), 0+3+1("y"), 0+3+1+2("zz")}
1274 offset_buffer[0] = 0;
1301 offset_buffer[wc_count + 1] = mb_count += consumed;
1306 offset_buffer[i] = mb_count + 1;
2362 /* Initialize the wchar_t PATTERN and offset_buffer. */
5499 to which offset_buffer correspond. And count how many wchar_t_characters
5500 the substring occupy. We use offset_buffer to optimization.
5504 count_mbs_length(int *offset_buffer, int length)
5512 if (offset_buffer == NULL)
5515 /* If there are no multibyte character, offset_buffer[i] == i.
5517 if (offset_buffer[length] == length)
5520 /* Set up upper with length. (because for all i, offset_buffer[i] >= i) */
5529 if (offset_buffer[middle] > length)
5531 else if (offset_buffer[middle] < length)