Lines Matching defs:index
365 register XawTextPosition index, lastPos;
373 for (index = fromPos; index != toPos && index < lastPos; index++) {
374 if (index - blk.firstPos >= blk.length)
375 XawTextSourceRead(source, index, &blk, toPos - fromPos);
376 c = blk.ptr[index - blk.firstPos];
379 index++;
383 *resPos = index;
404 XawTextPosition lastPos, index, whiteSpacePosition;
416 for (index = fromPos; *resWidth <= width && index < lastPos; index++) {
418 if (index - blk.firstPos >= blk.length)
419 XawTextSourceRead(source, index, &blk, BUFSIZ);
420 c = blk.ptr[index - blk.firstPos];
425 whiteSpacePosition = index;
429 index++;
433 if (*resWidth > width && index > fromPos) {
435 index--;
437 index = whiteSpacePosition + 1;
441 if (index == lastPos && c != LF) index = lastPos + 1;
442 *resPos = index;