Lines Matching defs:newimage
398 const struct panicimage * newimage;
402 newimage = &panic_dialog_default;
403 newsize = (unsigned int)(sizeof(struct panicimage) + newimage->pd_dataSize);
406 newimage = (const struct panicimage *)ptr;
410 if ( (error = panic_dialog_verify( newimage, newsize )) )
413 panic_dialog = newimage;
442 panic_dialog_verify( const struct panicimage * newimage, unsigned int size )
446 if ( size < (sizeof(struct panicimage) + newimage->pd_dataSize) )
449 if ( newimage->pd_tag != 0x524E4D70 /* 'RNMp' */ )
452 size = newimage->pd_dataSize-CLUT_SIZE;
454 sum += newimage->data[i];
458 if ( sum != newimage->pd_sum )