Lines Matching refs:bufIndex
443 unsigned long bufIndex = 0;
449 if (bufIndex >= MAX_LINE_BUFFER_SIZE)
458 if (((bufIndex == 14) && (wxStrncmp(buf, _T("\\end{verbatim}"), 14) == 0)) ||
459 ((bufIndex == 16) && (wxStrncmp(buf, _T("\\end{toocomplex}"), 16) == 0)))
496 buf[bufIndex] = 0;
500 if (bufIndex+5 >= MAX_LINE_BUFFER_SIZE)
509 bufIndex += 5;
515 if (bufIndex >= MAX_LINE_BUFFER_SIZE)
524 buf[bufIndex] = (wxChar)ch;
525 bufIndex ++;
540 if (bufIndex+5 >= MAX_LINE_BUFFER_SIZE)
548 buf[bufIndex++]='\\';
549 buf[bufIndex++]='"';
550 buf[bufIndex++]='{';
553 case 0xf6:buf[bufIndex++]='o';break; // �
554 case 0xe4:buf[bufIndex++]='a';break; // �
555 case 0xfc:buf[bufIndex++]='u';break; // �
556 case 0xd6:buf[bufIndex++]='O';break; // �
557 case 0xc4:buf[bufIndex++]='A';break; // �
558 case 0xdc:buf[bufIndex++]='U';break; // �
560 buf[bufIndex++]='}';
563 if (bufIndex+5 >= MAX_LINE_BUFFER_SIZE)
571 buf[bufIndex++]='\\';
572 buf[bufIndex++]='s';
573 buf[bufIndex++]='s';
574 buf[bufIndex++]='\\';
575 buf[bufIndex++]='/';
578 if (bufIndex >= MAX_LINE_BUFFER_SIZE)
590 buf[bufIndex++] = (wxChar)ch;
599 if ((bufIndex > 0 && (buf[bufIndex-1] == '\\')) && (buf[0] != '%'))
610 if (bufIndex == 0)
617 else if ((buf[bufIndex-1] != '\\') && (buf[0] != '%') && // If it is a comment line, then no warnings
627 buf[bufIndex++] = (wxChar)ch;
634 buf[bufIndex] = 0;
665 buf[bufIndex] = 0;
680 int j = bufIndex - 1;
743 int j = bufIndex - 1;