Lines Matching refs:pcszStr
666 static const char * strNext(const char * pcszStr)
668 pcszStr = strchr(pcszStr, ' ');
669 if (!pcszStr)
674 ++pcszStr;
675 if (*pcszStr == '\0')
677 else if (*pcszStr != ' ')
678 return pcszStr;
685 static int strLength(const char * pcszStr, char sep)
688 return (int)strlen(pcszStr);
689 const char * pcszNext = strchr(pcszStr, sep);
691 return (int)(pcszNext - pcszStr);
692 return (int)strlen(pcszStr);
708 static char * strDupCur(const char * pcszStr, char sep)
710 int cStr = strLength(pcszStr, sep);
717 memcpy(newStr, pcszStr, cStr);
722 static char * strDupTotal(const char * pcszStr)
724 int cStr = (int)strlen(pcszStr);
731 memcpy(newStr, pcszStr, cStr);
737 static char * strDupSort(const char * pcszStr)
739 int cStr = (int)strlen(pcszStr);
755 for (pCur = pcszStr; pCur; pCur = strNext(pCur))