Searched refs:p (Results 1 – 5 of 5) sorted by relevance
111 static void _StoreChar(SEGGER_RTT_PRINTF_DESC * p, char c) { in _StoreChar() argument114 Cnt = p->Cnt; in _StoreChar()115 if ((Cnt + 1u) <= p->BufferSize) { in _StoreChar()116 *(p->pBuffer + Cnt) = c; in _StoreChar()117 p->Cnt = Cnt + 1u; in _StoreChar()118 p->ReturnValue++; in _StoreChar()123 if (p->Cnt == p->BufferSize) { in _StoreChar()124 if (SEGGER_RTT_Write(p->RTTBufferIndex, p->pBuffer, p->Cnt) != p->Cnt) { in _StoreChar()125 p->ReturnValue = -1; in _StoreChar()127 p->Cnt = 0u; in _StoreChar()
120 #define SEGGER_PTR2ADDR(p) (/*lint -e(923) -e(9078)*/((PTR_ADDR)(p))) // A… argument121 #define SEGGER_PTR2PTR(Type, p) (/*lint -e(740) -e(826) -e(9079) -e(9087)*/((Type*)(p))) // A… argument154 …void (*pfClean) (void *p, unsigned long NumBytes); // Optional clean function for cached memo…155 …void (*pfInvalidate)(void *p, unsigned long NumBytes); // Optional invalidate function for cached…
427 const U8* p; in _EncodeData() local430 p = (const U8*)pSrc; in _EncodeData()442 *pPayload++ = *p++; in _EncodeData()922 const char* p; in _VPrintHost() local935 p = s; in _VPrintHost()938 c = *p++; in _VPrintHost()943 c = *p; in _VPrintHost()999 static void _StoreChar(SEGGER_SYSVIEW_PRINTF_DESC * p, char c) { in _StoreChar() argument1004 Cnt = p->Cnt; in _StoreChar()1006 *(p->pPayload++) = (U8)c; in _StoreChar()[all …]
319 …volatile SEGGER_RTT_CB* p; // Volatile to make sure that compiler cannot change the order of acc… in _DoInit() local325 …p = (volatile SEGGER_RTT_CB*)((char*)&_SEGGER_RTT + SEGGER_RTT_UNCACHED_OFF); … in _DoInit()326 …memset((SEGGER_RTT_CB*)p, 0, sizeof(_SEGGER_RTT)); // Make sure that the RTT CB is always … in _DoInit()327 p->MaxNumUpBuffers = SEGGER_RTT_MAX_NUM_UP_BUFFERS; in _DoInit()328 p->MaxNumDownBuffers = SEGGER_RTT_MAX_NUM_DOWN_BUFFERS; in _DoInit()332 p->aUp[0].sName = "Terminal"; in _DoInit()333 p->aUp[0].pBuffer = _acUpBuffer; in _DoInit()334 p->aUp[0].SizeOfBuffer = BUFFER_SIZE_UP; in _DoInit()335 p->aUp[0].RdOff = 0u; in _DoInit()336 p->aUp[0].WrOff = 0u; in _DoInit()[all …]
92 #define SEGGER_SYSVIEW_PREPARE_PACKET(p) (p) + 4 argument