Lines Matching refs:buffer
392 char* buffer; in ViewSubject() local
402 buffer = (char*)MEMAllocFromAllocator(&Allocator, OSRoundUp32B(bufSize)); in ViewSubject()
403 err = NWC24ReadMsgSubject(msgObj, buffer, bufSize); in ViewSubject()
407 MEMFreeToAllocator(&Allocator, buffer); in ViewSubject()
413 if ( buffer[i] != 0x0D && buffer[i] != 0x0A ) in ViewSubject()
415 OSReport("%c", buffer[i]); in ViewSubject()
420 MEMFreeToAllocator(&Allocator, buffer); in ViewSubject()
462 char* buffer; in ViewBodyText() local
474 buffer = (char*)MEMAllocFromAllocator(&Allocator, OSRoundUp32B(bufSize)); in ViewBodyText()
475 err = NWC24ReadMsgText(msgObj, buffer, bufSize, &charset, &encoding); in ViewBodyText()
479 MEMFreeToAllocator(&Allocator, buffer); in ViewBodyText()
487 if ( buffer[i] != 0x0A ) in ViewBodyText()
489 OSReport("%c", buffer[i]); in ViewBodyText()
493 MEMFreeToAllocator(&Allocator, buffer); in ViewBodyText()
504 char* buffer; in ViewAttachment() local
525 buffer = (char*)MEMAllocFromAllocator(&Allocator, OSRoundUp32B(bufSize)); in ViewAttachment()
526 err = NWC24ReadMsgAttached(msgObj, j, buffer, bufSize); in ViewAttachment()
531 MEMFreeToAllocator(&Allocator, buffer); in ViewAttachment()
546 OSReport(" %02X", (u8)buffer[i]); in ViewAttachment()
554 MEMFreeToAllocator(&Allocator, buffer); in ViewAttachment()