Lines Matching defs:cm_error_message
231 static CMOCKA_THREAD char *cm_error_message;
345 print_error("%s", cm_error_message);
1541 if (cm_error_message == NULL) {
1544 cm_error_message = libc_malloc(len + 1);
1545 if (cm_error_message == NULL) {
1553 msg_len = strlen(cm_error_message);
1554 tmp = libc_realloc(cm_error_message, msg_len + len + 1);
1558 cm_error_message = tmp;
1563 memcpy(cm_error_message + msg_len, buffer, len + 1);
1566 vsnprintf(cm_error_message + msg_len, len, format, ap);
2453 test_state->error_message = cm_error_message;
2454 cm_error_message = NULL;