Searched refs:newStr (Results 1 – 3 of 3) sorted by relevance
60 char *newStr = NULL; in HdfStringCopy() local69 newStr = OsalMemAlloc(dstSize); in HdfStringCopy()70 if (newStr == NULL) { in HdfStringCopy()74 if (strncpy_s(newStr, dstSize, src, srcSize) != EOK) { in HdfStringCopy()75 OsalMemFree(newStr); in HdfStringCopy()76 newStr = NULL; in HdfStringCopy()79 return newStr; in HdfStringCopy()
37 …::string Replace(const std::string &value, size_t position, size_t len, const std::string &newStr);
114 …ngHelper::Replace(const std::string &value, size_t position, size_t len, const std::string &newStr) in Replace() argument122 return prefix + newStr + suffix; in Replace()