Searched refs:newStr (Results 1 – 2 of 2) sorted by relevance
75 std::unique_ptr<char[]> newStr(new char[len + 1]); in descriptorToDot() local77 newStr[i] = (str[i] == '/') ? '.' : str[i]; in descriptorToDot()79 newStr[len] = '\0'; in descriptorToDot()80 return newStr; in descriptorToDot()
159 std::unique_ptr<char[]> newStr(new char[targetLen + arrayDepth * 2 + 1]); in descriptorToDot() local163 newStr[i] = (ch == '/') ? '.' : ch; in descriptorToDot()168 newStr[i++] = '['; in descriptorToDot()169 newStr[i++] = ']'; in descriptorToDot()172 newStr[i] = '\0'; in descriptorToDot()173 return newStr; in descriptorToDot()190 std::unique_ptr<char[]> newStr(new char[targetLen]); in descriptorClassToName() local192 newStr[i] = lastSlash[i]; in descriptorClassToName()194 newStr[targetLen - 1] = '\0'; in descriptorClassToName()195 return newStr; in descriptorClassToName()