Lines Matching refs:newStr
131 char* newStr;
155 newStr = (char*)malloc(targetLen + arrayDepth * 2 +1);
161 newStr[i] = (ch == '/' || ch == '$') ? '.' : ch;
166 newStr[i++] = '[';
167 newStr[i++] = ']';
169 newStr[i] = '\0';
172 return newStr;
184 char* newStr;
194 newStr = strdup(lastSlash);
195 newStr[strlen(lastSlash)-1] = '\0';
196 for (cp = newStr; *cp != '\0'; cp++) {
201 return newStr;