Lines Matching refs:tmp

83         char* tmp = new (std::nothrow) char[msgSize];

84 if (tmp == nullptr) {
88 if (memset_s(tmp, msgSize, 0, msgSize) != 0) {
89 delete []tmp;
90 tmp = nullptr;
93 if (GetRsp(tmp, msgSize) != RET_SUCCESS) {
95 delete []tmp;
96 tmp = nullptr;
99 pStats.tStats = reinterpret_cast<TagStatsRsp*>(tmp);
113 char* tmp = new (std::nothrow) char[msgSize];
114 if (tmp == nullptr) {
118 if (memset_s(tmp, msgSize, 0, msgSize) != 0) {
119 delete []tmp;
120 tmp = nullptr;
123 if (GetRsp(tmp, msgSize) != RET_SUCCESS) {
125 delete []tmp;
126 tmp = nullptr;
129 pStats.lStats = reinterpret_cast<LogTypeStatsRsp*>(tmp);
143 char* tmp = new (std::nothrow) char[msgSize];
144 if (tmp == nullptr) {
148 if (memset_s(tmp, msgSize, 0, msgSize) != 0) {
149 delete []tmp;
150 tmp = nullptr;
153 if (GetRsp(tmp, msgSize) != RET_SUCCESS) {
155 delete []tmp;
156 tmp = nullptr;
159 rsp.pStats = reinterpret_cast<ProcStatsRsp*>(tmp);
176 char* tmp = new (std::nothrow) char[msgSize];
177 if (tmp == nullptr) {
181 if (memset_s(tmp, msgSize, 0, msgSize) != 0) {
182 delete []tmp;
183 tmp = nullptr;
186 if (GetRsp(tmp, msgSize) != RET_SUCCESS) {
188 delete []tmp;
189 tmp = nullptr;
192 dStats.tStats = reinterpret_cast<TagStatsRsp*>(tmp);
207 char* tmp = new (std::nothrow) char[msgSize];
208 if (tmp == nullptr) {
212 if (memset_s(tmp, msgSize, 0, msgSize) != 0) {
213 delete []tmp;
214 tmp = nullptr;
217 if (GetRsp(tmp, msgSize) != RET_SUCCESS) {
219 delete []tmp;
220 tmp = nullptr;
223 ldStats.dStats = reinterpret_cast<DomainStatsRsp*>(tmp);
237 char* tmp = new (std::nothrow) char[msgSize];
238 if (tmp == nullptr) {
242 if (memset_s(tmp, msgSize, 0, msgSize) != 0) {
243 delete []tmp;
244 tmp = nullptr;
247 if (GetRsp(tmp, msgSize) != RET_SUCCESS) {
249 delete []tmp;
250 tmp = nullptr;
253 rsp.ldStats = reinterpret_cast<LogTypeDomainStatsRsp*>(tmp);