Lines Matching defs:ptr
244 text->ptr = piece->text + (pos - start);
338 char * ptr;
362 ptr = start_piece->text + (startPos - start_first);
363 MyStrncpy(ptr + fill, ptr,
365 strncpy(ptr, text->ptr + firstPos, fill);
411 register char * ptr;
445 ptr = (position - first) + piece->text;
454 register unsigned char c = *ptr;
456 ptr += inc;
485 if ( ptr < piece->text ) {
489 ptr = piece->text + piece->used - 1;
491 else if ( ptr >= (piece->text + piece->used) ) {
495 ptr = piece->text;
540 register char * ptr;
555 strncpy(buf, (text->ptr + text->firstPos), text->length);
557 ptr = (position - first) + piece->text;
560 if (*ptr == ((dir == XawsdRight) ? *(buf + count)
570 ptr -= inc * count;
575 ptr += inc;
578 while ( ptr < piece->text ) {
584 ptr = piece->text + piece->used - 1;
587 while ( ptr >= (piece->text + piece->used) ) {
593 ptr = piece->text;
998 char *local_str, *ptr;
1034 ptr = local_str;
1043 strncpy(piece->text, ptr, piece->used);
1046 ptr += piece->used;