Home
last modified time | relevance | path

Searched refs:tokenLen (Results 1 – 3 of 3) sorted by relevance

/reactos/modules/rosapps/applications/net/ncftp/Strn/
H A DStrntok.c137 int tokenLen; in main() local
169 tokenLen = Strntok(token, sizeof(token), buf, argv[2]); in main()
170 if (tokenLen < 0) in main()
173 printf("Strntok %d=[%s] length=%d\n", i, token, tokenLen); in main()
174 tokenLen = Strntok(token, sizeof(token), NULL, argv[2]); in main()
176 } while (tokenLen >= 0); in main()
H A Dstrtokc.c197 int tokenLen; in main() local
230 tokenLen = strntokc(token, sizeof(token), buf, argv[2], &context); in main()
231 if (tokenLen <= 0) in main()
234 printf("strntokc %d=[%s] length=%d\n", i, token, tokenLen); in main()
235 tokenLen = strntokc(token, sizeof(token), NULL, argv[2], &context); in main()
237 } while (tokenLen > 0); in main()
/reactos/base/applications/network/telnet/src/
H A Dtnmain.cpp466 static int cmdMatch(const char* cmd, const char* token, int tokenLen, int minM) { in cmdMatch() argument
467 if ( tokenLen < minM ) return 0; in cmdMatch()
469 if ( (unsigned)tokenLen > strlen(cmd) ) return 0; in cmdMatch()
475 for ( i = minM; i < tokenLen; i++ ) if ( cmd[i] != token[i] ) return 0; in cmdMatch()
529 int tokenLen = strlen(tokens[args]); in tokenizeCommand() local
532 if ( cmdMatch(cmdList[i].cmd, tokens[args], tokenLen, cmdList[i].minLen) ) { in tokenizeCommand()