Searched refs:newStr (Results 1 – 2 of 2) sorted by relevance
58 char* newStr; in descriptorToDot() local66 newStr = (char*)malloc(at + 1); /* Add one for the '\0'. */ in descriptorToDot()67 newStr[at] = '\0'; in descriptorToDot()71 newStr[at] = (str[at] == '/') ? '.' : str[at]; in descriptorToDot()74 return newStr; in descriptorToDot()
131 char* newStr; in descriptorToDot() local155 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() local194 newStr = strdup(lastSlash); in descriptorClassToDot()195 newStr[strlen(lastSlash)-1] = '\0'; in descriptorClassToDot()[all …]