| 4347 | */ |
| 4348 | |
| 4349 | void validate_tempAllocSucceeded(bool succeeded, qindex numElems, qindex numBytesPerElem, const char* caller) { |
| 4350 | |
| 4351 | // avoid showing total bytes in case it overflows |
| 4352 | tokenSubs vars = { |
| 4353 | {"${NUM_ELEMS}", numElems}, |
| 4354 | {"${NUM_BYTES_PER_ELEM}", numBytesPerElem}}; |
| 4355 | |
| 4356 | assertThat(succeeded, report::TEMP_ALLOC_FAILED, vars, caller); |
| 4357 | } |
| 4358 | |
| 4359 | |
| 4360 |
no test coverage detected