Lines Matching defs:offset_buffer
1245 And write their correspondances to offset_buffer(see below)
1248 We assume offset_buffer and is_binary is already allocated
1252 size_t len, int *offset_buffer,
1256 int *offset_buffer, char *is_binary)
1263 offset_buffer = {0, 0+3("xxx"), 0+3+1("y"), 0+3+1+2("zz")}
1279 offset_buffer[0] = 0;
1306 offset_buffer[wc_count + 1] = mb_count += consumed;
1311 offset_buffer[i] = mb_count + 1;
2367 /* Initialize the wchar_t PATTERN and offset_buffer. */
5505 to which offset_buffer correspond. And count how many wchar_t_characters
5506 the substring occupy. We use offset_buffer to optimization.
5510 count_mbs_length(int *offset_buffer, int length)
5518 if (offset_buffer == NULL)
5521 /* If there are no multibyte character, offset_buffer[i] == i.
5523 if (offset_buffer[length] == length)
5526 /* Set up upper with length. (because for all i, offset_buffer[i] >= i) */
5535 if (offset_buffer[middle] > length)
5537 else if (offset_buffer[middle] < length)