Searched refs:cch (Results 1 – 1 of 1) sorted by relevance
22 const size_t cch = std::strlen(state) + 1; // +1 for the null terminator in CopyState() local23 char* result = new char[cch]; in CopyState()30 ret = strncpy_s(result, cch, state, cch - 1); in CopyState()31 result[cch - 1] = '\0'; in CopyState()35 const size_t cch = std::strlen(state) + 1; // +1 for the null terminator in CopyState()36 return std::strncpy(new char[cch], state, cch); in CopyState()