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