Home | History | Annotate | Download | only in vm

Lines Matching refs:newStr

202     char* newStr = strdup(str);
203 char* cp = newStr;
205 if (newStr == NULL)
218 return newStr;
326 char* newStr;
333 newStr = (char*)malloc(at + 1); /* Add one for the '\0'. */
334 if (newStr == NULL)
337 newStr[at] = '\0';
341 newStr[at] = (str[at] == '/') ? '.' : str[at];
344 return newStr;
359 char* newStr;
367 newStr = at = (char*)malloc(length + 1); /* + 1 for the '\0' */
369 if (newStr == NULL) {
390 return newStr;
402 char* newStr = (char*)malloc(length);
404 if (newStr == NULL) {
408 strlcpy(newStr, str + 1, length);
409 return newStr;