Lines Matching full:tokstart
599 * @tokstart - address of a variable to receive the start of the token found
600 * @tokstart - address of a variable to receive the length of the token found
604 static int get_tok(const char * str , int pos, int textlen, int *tokstart, int *toklen)
616 *tokstart = pos;
621 *toklen = pos - *tokstart;
631 * @tokstart - address of a variable to receive the start of the sub token found
632 * @tokstart - address of a variable to receive the length of the sub token found
636 static int get_sub_tok(const char * str , int pos, int textlen, int *tokstart, int *toklen) {
645 *tokstart = pos;
652 *toklen = pos - *tokstart;
662 *toklen = pos - *tokstart;
665 *toklen = pos - *tokstart;
685 int toklen, tokstart; /*legnth and start of generic token*/
701 while (get_tok(str, pos, textlen, &tokstart, &toklen)) {
702 tokpos = tokstart;
705 while (get_sub_tok(str, tokpos, tokstart+toklen, &stokstart, &stoklen)) {
712 pos = tokstart + tlen_2;
726 while (get_tok (str, pos, textlen, &tokstart, &toklen)) {
727 tokpos = tokstart;
730 while (get_sub_tok(str, tokpos, tokstart+toklen, &stokstart, &stoklen)) {
738 pos=tokstart+tlen_2;