Home | History | Annotate | Download | only in cut

Lines Matching defs:positions

152 static char *positions = NULL;
163 if (positions == NULL) {
165 positions = ecalloc(numpositions, sizeof(*positions));
169 * Set a byte in the positions array to indicate if a field or
201 positions = erealloc(positions, newsize);
202 (void)memset(positions + numpositions, 0,
208 for (pos = positions + start; start++ <= stop; pos++)
218 (void)memset(positions + 1, '1', autostart);
222 * Cut based on byte positions, taking care not to split multibyte characters.
248 if (col < maxval && !positions[1 + col]) {
257 !positions[1 + i])
261 canwrite &= positions[1 + i];
272 (i < maxval && !positions[1 + i])) {
321 pos = positions + 1;