Lines Matching refs:subjectBuf

400                 char*       subjectBuf  = NULL;  in UpdateRecvBox()  local
407 subjectBuf = g_subjectBuf[MB_TYPE_RECV][g_idxSubjectBufStart[MB_TYPE_RECV]]; in UpdateRecvBox()
409 if ( subjectBuf ) in UpdateRecvBox()
411 MEMFreeToAllocator( &DemoAllocator1, subjectBuf ); in UpdateRecvBox()
412 subjectBuf = NULL; in UpdateRecvBox()
419 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateRecvBox()
420 (void)memcpy( subjectBuf, HIDDEN_MESSAGE, subjectSize ); in UpdateRecvBox()
434 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateRecvBox()
435 err = NWC24ReadMsgSubject( &msgObj, subjectBuf, subjectSize ); in UpdateRecvBox()
438 subjectBuf[0] = '\0'; in UpdateRecvBox()
442 g_subjectBuf[MB_TYPE_RECV][g_idxSubjectBufStart[MB_TYPE_RECV]] = subjectBuf; in UpdateRecvBox()
461 char* subjectBuf = NULL; in UpdateRecvBox() local
471 subjectBuf = g_subjectBuf[MB_TYPE_RECV][idxSubjectBufEnd]; in UpdateRecvBox()
473 if ( subjectBuf ) in UpdateRecvBox()
475 MEMFreeToAllocator( &DemoAllocator1, subjectBuf ); in UpdateRecvBox()
476 subjectBuf = NULL; in UpdateRecvBox()
483 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateRecvBox()
484 (void)memcpy( subjectBuf, HIDDEN_MESSAGE, subjectSize ); in UpdateRecvBox()
498 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateRecvBox()
499 err = NWC24ReadMsgSubject( &msgObj, subjectBuf, subjectSize ); in UpdateRecvBox()
502 subjectBuf[0] = '\0'; in UpdateRecvBox()
506 g_subjectBuf[MB_TYPE_RECV][idxSubjectBufEnd] = subjectBuf; in UpdateRecvBox()
556 char* subjectBuf = NULL; in UpdateSendBox() local
563 subjectBuf = g_subjectBuf[MB_TYPE_SEND][g_idxSubjectBufStart[MB_TYPE_SEND]]; in UpdateSendBox()
565 if ( subjectBuf ) in UpdateSendBox()
567 MEMFreeToAllocator( &DemoAllocator1, subjectBuf ); in UpdateSendBox()
568 subjectBuf = NULL; in UpdateSendBox()
575 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateSendBox()
576 (void)memcpy( subjectBuf, HIDDEN_MESSAGE, subjectSize ); in UpdateSendBox()
590 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateSendBox()
591 err = NWC24ReadMsgSubject( &msgObj, subjectBuf, subjectSize ); in UpdateSendBox()
594 subjectBuf[0] = '\0'; in UpdateSendBox()
598 g_subjectBuf[MB_TYPE_SEND][g_idxSubjectBufStart[MB_TYPE_SEND]] = subjectBuf; in UpdateSendBox()
617 char* subjectBuf = NULL; in UpdateSendBox() local
627 subjectBuf = g_subjectBuf[MB_TYPE_SEND][idxSubjectBufEnd]; in UpdateSendBox()
629 if ( subjectBuf ) in UpdateSendBox()
631 MEMFreeToAllocator( &DemoAllocator1, subjectBuf ); in UpdateSendBox()
632 subjectBuf = NULL; in UpdateSendBox()
639 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateSendBox()
640 (void)memcpy( subjectBuf, HIDDEN_MESSAGE, subjectSize ); in UpdateSendBox()
654 subjectBuf = MEMAllocFromAllocator( &DemoAllocator1, subjectSize ); in UpdateSendBox()
655 err = NWC24ReadMsgSubject( &msgObj, subjectBuf, subjectSize ); in UpdateSendBox()
658 subjectBuf[0] = '\0'; in UpdateSendBox()
662 g_subjectBuf[MB_TYPE_SEND][idxSubjectBufEnd] = subjectBuf; in UpdateSendBox()