Lines Matching defs:tail
573 const wchar_t *tail = argv0End; // will be start of the executable name
576 while (--tail != search->originalCmdLine) {
577 if (*tail == L'"' && end == argv0End) {
580 end = argv0End = tail;
581 } else if (*tail == L'.' && end == argv0End) {
582 end = tail;
583 } else if (*tail == L'\\' || *tail == L'/') {
584 ++tail;
588 if (tail == search->originalCmdLine && tail[0] == L'"') {
589 ++tail;
592 int tailLen = (int)(end ? (end - tail) : wcsnlen_s(tail, MAXLEN));
596 #define MATCHES(s) (0 == _comparePath(tail, tailLen, (s), -1))
597 #define STARTSWITH(s) _startsWith(tail, tailLen, (s), -1)
618 search->tag = &tail[6];
625 search->tag = &tail[7];
632 search->executable = tail;
646 tail = arg;
647 while (*tail && !isspace(*tail)) { ++tail; }
648 int argLen = (int)(tail - arg);
655 search->restOfCmdLine = tail;
667 search->tagLength = (int)(tail - search->tag);
669 search->restOfCmdLine = tail;
672 search->restOfCmdLine = tail;
675 search->restOfCmdLine = tail;