Lines Matching refs:result
389 char **result = new char *[vec.size()];
390 if (result == nullptr) {
395 result[i] = new char[vec[i].length() + 1];
396 if (result[i] == nullptr) {
399 if (strcpy_s(result[i], vec[i].length() + 1, vec[i].c_str()) != 0) {
400 delete[] result[i];
401 result[i] = nullptr;
408 delete[] result[j - 1];
409 result[j - 1] = nullptr;
411 delete[] result;
414 return result;