Lines Matching refs:newStr
37 char* newStr; in strdupNew() local
44 newStr = new char[len+1]; in strdupNew()
45 memcpy(newStr, str, len+1); in strdupNew()
47 return newStr; in strdupNew()
55 char* newStr = NULL; in concatArgv() local
74 newStr = new char[totalLen +1]; in concatArgv()
75 if (newStr == NULL) in concatArgv()
86 newStr[posn++] = ' '; in concatArgv()
89 memcpy(&newStr[posn], argv[idx], len); in concatArgv()
96 newStr[posn] = '\0'; in concatArgv()
98 return newStr; in concatArgv()