Home
last modified time | relevance | path

Searched refs:uiSize (Results 1 – 25 of 26) sorted by relevance

12

/TraceRecorderSource-3.4.0/streamports/File/include/
DtrcStreamPort.h54 #define xTraceStreamPortAllocate(uiSize, ppvData) ((void)(uiSize), xTraceStaticBufferGet(ppvData)) argument
58 #define xTraceStreamPortCommit(pvData, uiSize, piBytesCommitted) xTraceInternalEventBufferPush(pvDa… argument
61 #define xTraceStreamPortCommit(pvData, uiSize, piBytesCommitted) xTraceStreamPortWriteData(pvData, argument
64 #define xTraceStreamPortWriteData(pvData, uiSize, piBytesWritten) (*(piBytesWritten) = fwrite(pvDat… argument
66 #define xTraceStreamPortReadData(pvData, uiSize, piBytesRead) ((void)(pvData), (void)(uiSize), (voi… argument
/TraceRecorderSource-3.4.0/streamports/ARM_ITM/include/
DtrcStreamPort.h85 traceResult prvTraceItmRead(void* ptrData, uint32_t uiSize, int32_t* piBytesRead);
89 #define xTraceStreamPortAllocate(uiSize, ppvData) ((void)uiSize, xTraceStaticBufferGet(ppvData)) argument
91 #define xTraceStreamPortCommit(pvData, uiSize, piBytesCommitted) prvTraceItmWrite(pvData, uiSize, p… argument
93 …xTraceStreamPortWriteData(pvData, uiSize, piBytesWritten) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4((void… argument
95 #define xTraceStreamPortReadData(pvData, uiSize, piBytesRead) prvTraceItmRead(pvData, uiSize, piByt… argument
/TraceRecorderSource-3.4.0/streamports/XMOS_xScope/
DtrcStreamPort.c56 traceResult xTraceStreamPortAllocate(uint32_t uiSize, void** ppvData) in xTraceStreamPortAllocate() argument
58 (void)uiSize; in xTraceStreamPortAllocate()
63 traceResult xTraceStreamPortCommit(void* pvData, uint32_t uiSize, int32_t* piBytesCommitted) in xTraceStreamPortCommit() argument
72 return xTraceInternalEventBufferPush(pvData, uiSize, piBytesCommitted); in xTraceStreamPortCommit()
75 return xTraceStreamPortWriteData(pvData, uiSize, piBytesCommitted); in xTraceStreamPortCommit()
79 traceResult xTraceStreamPortWriteData(void* pvData, uint32_t uiSize, int32_t* piBytesWritten) in xTraceStreamPortWriteData() argument
83 xscope_bytes(0, uiSize, (unsigned char*)pvData); in xTraceStreamPortWriteData()
88 *piBytesWritten = (int32_t)uiSize; in xTraceStreamPortWriteData()
94 traceResult xTraceStreamPortReadData(void* pvData, uint32_t uiSize, int32_t* piBytesRead) in xTraceStreamPortReadData() argument
/TraceRecorderSource-3.4.0/streamports/TCPIP/include/
DtrcStreamPort.h42 int32_t prvTraceTcpWrite(void* pvData, uint32_t uiSize, int32_t* piBytesWritten);
44 int32_t prvTraceTcpRead(void* pvData, uint32_t uiSize, int32_t* piBytesRead);
48 #define xTraceStreamPortAllocate(uiSize, ppvData) ((void)(uiSize), xTraceStaticBufferGet(ppvData)) argument
58 #define xTraceStreamPortWriteData(pvData, uiSize, piBytesWritten) (prvTraceTcpWrite(pvData, uiSize,… argument
60 #define xTraceStreamPortReadData(pvData, uiSize, piBytesRead) (prvTraceTcpRead(pvData, uiSize, piBy… argument
/TraceRecorderSource-3.4.0/streamports/Jlink_RTT/include/
DtrcStreamPort.h79 #define xTraceStreamPortAllocate(uiSize, ppvData) ((void)(uiSize), xTraceStaticBufferGet(ppvData)) argument
110uiSize, piBytesWritten) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(piBytesWritten) = (int32_t)SEGGER_RTT… argument
112uiSize, piBytesWritten) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_2(*(piBytesWritten) = (int32_t)SEGGER_RTT… argument
125uiSize, piBytesRead) ((SEGGER_RTT_HASDATA(TRC_CFG_STREAM_PORT_RTT_DOWN_BUFFER_INDEX)) ? (*(piBytes… argument
/TraceRecorderSource-3.4.0/streamports/RingBuffer/include/
DtrcStreamPort.h56 uint32_t uiSize; member
119 #define xTraceStreamPortAllocate(uiSize, ppvData) ((void)uiSize, xTraceStaticBufferGet(ppvData)) argument
133 traceResult xTraceStreamPortCommit(void* pvData, uint32_t uiSize, int32_t* piBytesCommitted);
145 …raceStreamPortWriteData(pvData, uiSize, piBytesWritten) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4((void)(… argument
157 … xTraceStreamPortReadData(pvData, uiSize, piBytesRead) TRC_COMMA_EXPR_TO_STATEMENT_EXPR_4((void)(p… argument
/TraceRecorderSource-3.4.0/streamports/TCPIP/
DtrcStreamPort.c41 static int32_t prvSocketSend(void* pvData, uint32_t uiSize, int32_t* piBytesWritten);
42 static int32_t prvSocketReceive(void* pvData, uint32_t uiSize, int32_t* bytesRead);
47 static int32_t prvSocketSend( void* pvData, uint32_t uiSize, int32_t* piBytesWritten ) in prvSocketSend() argument
55 *piBytesWritten = send( new_sd, pvData, uiSize, 0 ); in prvSocketSend()
72 static int32_t prvSocketReceive( void* pvData, uint32_t uiSize, int32_t* bytesRead ) in prvSocketReceive() argument
77 *bytesRead = recv( new_sd, pvData, uiSize, 0 ); in prvSocketReceive()
160 int32_t prvTraceTcpWrite(void* pvData, uint32_t uiSize, int32_t *piBytesWritten) in prvTraceTcpWrite() argument
166 return prvSocketSend(pvData, uiSize, piBytesWritten); in prvTraceTcpWrite()
169 int32_t prvTraceTcpRead(void* pvData, uint32_t uiSize, int32_t *piBytesRead) in prvTraceTcpRead() argument
175 return prvSocketReceive(pvData, uiSize, piBytesRead); in prvTraceTcpRead()
/TraceRecorderSource-3.4.0/streamports/STM32_USB_CDC/
DtrcStreamPort.c64 traceResult prvTraceCDCReceive(void *data, uint32_t uiSize, int32_t* piBytesReceived) in prvTraceCDCReceive() argument
70 …if ((TraceUnsignedBaseType_t)uiSize >= pxUSBBuffers->idx) // More than what is stored, number of b… in prvTraceCDCReceive()
78 uiDiff = pxUSBBuffers->idx - uiSize; in prvTraceCDCReceive()
79 TRC_MEMCPY(data, pxUSBBuffers->bufferUSB, uiSize); in prvTraceCDCReceive()
83 pxUSBBuffers->bufferUSB[i] = pxUSBBuffers->bufferUSB[i + uiSize]; in prvTraceCDCReceive()
86 *piBytesReceived = uiSize; in prvTraceCDCReceive()
100 traceResult prvTraceCDCTransmit(void* pvData, uint32_t uiSize, int32_t * piBytesSent ) in prvTraceCDCTransmit() argument
108 result = CDC_Transmit_FS(pvData, uiSize); in prvTraceCDCTransmit()
113 *piBytesSent = uiSize; in prvTraceCDCTransmit()
/TraceRecorderSource-3.4.0/include/
DtrcInternalEventBuffer.h49 traceResult xTraceInternalEventBufferInitialize(uint8_t* puiBuffer, uint32_t uiSize);
61 traceResult xTraceInternalEventBufferPush(void *pvData, uint32_t uiSize, int32_t *piBytesWritten);
96 #define xTraceInternalEventBufferInitialize(puiBuffer, uiSize) ((void)uiSize, puiBuffer != 0 ? TRC_… argument
97 #define xTraceInternalEventBufferPush(pvData, uiSize, piBytesWritten) ((void)uiSize, (void)piBytesW… argument
DtrcMultiCoreEventBuffer.h61 uint8_t* puiBuffer, uint32_t uiSize);
83 …tiCoreEventBuffer_t* pxTraceMultiCoreEventBuffer, void* pvData, uint32_t uiSize, int32_t* piBytesW…
103 …, pvData, uiSize, piBytesWritten) xTraceEventBufferPush((pxTraceMultiCoreEventBuffer)->xEventBuffe… argument
DtrcEvent.h78 #define TRC_EVENT_GET_RAW_DATA(xEventHandle, uiOffset, uiSize, ppvData) ((void)(uiSize), *(void**)(… argument
83 #define TRC_EVENT_GET_PAYLOAD(xEventHandle, uiOffset, uiSize, ppvData) ((void)(uiSize), *(void**)(p… argument
261 traceResult xTraceEventBeginRawOffline(uint32_t uiSize, TraceEventHandle_t* pxEventHandle);
275 traceResult xTraceEventBeginRawOfflineBlocking(uint32_t uiSize, TraceEventHandle_t* pxEventHandle);
355 traceResult xTraceEventAddData(TraceEventHandle_t xEventHandle, void* pvData, uint32_t uiSize);
373 …entGetRawData(TraceEventHandle_t xEventHandle, uint32_t uiOffset, uint32_t uiSize, void** ppvData);
389 …entGetPayload(TraceEventHandle_t xEventHandle, uint32_t uiOffset, uint32_t uiSize, void** ppvData);
DtrcEventBuffer.h53 uint32_t uiSize; /**< Buffer size */ member
80 uint8_t *puiBuffer, uint32_t uiSize);
95 …ufferPush(TraceEventBuffer_t *pxTraceEventBuffer, void *pxData, uint32_t uiSize, int32_t *piBytesW…
/TraceRecorderSource-3.4.0/streamports/TCPIP_Win32/include/
DtrcStreamPort.h51 #define xTraceStreamPortAllocate(uiSize, ppvData) ((void)(uiSize), xTraceStaticBufferGet(ppvData)) argument
61 #define xTraceStreamPortWriteData(pvData, uiSize, piBytesWritten) (prvTraceWriteToSocket(pvData, ui… argument
63 #define xTraceStreamPortReadData(pvData, uiSize, piBytesRead) (prvTraceReadFromSocket(pvData, uiSiz… argument
/TraceRecorderSource-3.4.0/
DtrcInternalEventBuffer.c25 traceResult xTraceInternalEventBufferInitialize(uint8_t* puiBuffer, uint32_t uiSize) in xTraceInternalEventBufferInitialize() argument
29 TRC_ASSERT(uiSize > sizeof(TraceMultiCoreEventBuffer_t)); in xTraceInternalEventBufferInitialize()
37 …&puiBuffer[sizeof(TraceMultiCoreEventBuffer_t)], uiSize - sizeof(TraceMultiCoreEventBuffer_t)) == … in xTraceInternalEventBufferInitialize()
47 traceResult xTraceInternalEventBufferPush(void *pvData, uint32_t uiSize, int32_t *piBytesWritten) in xTraceInternalEventBufferPush() argument
52 return xTraceMultiCoreEventBufferPush(pxInternalEventBuffer, pvData, uiSize, piBytesWritten); in xTraceInternalEventBufferPush()
DtrcEvent.c57 traceResult xTraceEventBeginRawOffline(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) in xTraceEventBeginRawOffline() argument
89 VERIFY_EVENT_SIZE(uiSize); in xTraceEventBeginRawOffline()
91 …pxEventData->size = ((uiSize + (sizeof(uint32_t) - 1)) / sizeof(uint32_t)) * sizeof(uint32_t); /* … in xTraceEventBeginRawOffline()
107 traceResult xTraceEventBeginRawOfflineBlocking(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) in xTraceEventBeginRawOfflineBlocking() argument
140 VERIFY_EVENT_SIZE(uiSize); in xTraceEventBeginRawOfflineBlocking()
142 …pxEventData->size = ((uiSize + (sizeof(uint32_t) - 1)) / sizeof(uint32_t)) * sizeof(uint32_t); /* … in xTraceEventBeginRawOfflineBlocking()
230 traceResult xTraceEventAddData(TraceEventHandle_t xEventHandle, void* pvData, uint32_t uiSize) in xTraceEventAddData() argument
244 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + uiSize <= ((TraceEventData_t*)xEventHandle)… in xTraceEventAddData()
246 for (i = 0; i < uiSize; i++) in xTraceEventAddData()
270 …ventGetRawData(TraceEventHandle_t xEventHandle, uint32_t uiOffset, uint32_t uiSize, void** ppvData) in xTraceEventGetRawData() argument
[all …]
DtrcEventBuffer.c18 uint8_t* puiBuffer, uint32_t uiSize) in xTraceEventBufferInitialize() argument
29 pxTraceEventBuffer->uiSize = uiSize; in xTraceEventBufferInitialize()
30 pxTraceEventBuffer->uiFree = uiSize; in xTraceEventBufferInitialize()
58 …xTraceEventBuffer->uiTail = (pxTraceEventBuffer->uiTail + uiFreeSize) % pxTraceEventBuffer->uiSize; in prvTraceEventBufferPop()
73 uiBufferSize = pxTraceEventBuffer->uiSize; in xTraceEventBufferPush()
226 …xTraceStreamPortWriteData(&pxTraceEventBuffer->puiBuffer[uiTail], (pxTraceEventBuffer->uiSize - ui… in xTraceEventBufferTransfer()
228 if (iBytesWritten == (int32_t)(pxTraceEventBuffer->uiSize - uiTail)) in xTraceEventBufferTransfer()
260 pxTraceEventBuffer->uiFree = pxTraceEventBuffer->uiSize; in xTraceEventBufferClear()
DtrcMultiCoreEventBuffer.c18 uint8_t* puiBuffer, uint32_t uiSize) in xTraceMultiCoreEventBufferInitialize() argument
29 uiBufferSizePerCore = uiSize / TRC_CFG_CORE_COUNT; in xTraceMultiCoreEventBufferInitialize()
56 void* pvData, uint32_t uiSize, int32_t* piBytesWritten) in xTraceMultiCoreEventBufferPush() argument
63 …aceMultiCoreEventBuffer->xEventBuffer[TRC_CFG_GET_CURRENT_CORE()], pvData, uiSize, piBytesWritten); in xTraceMultiCoreEventBufferPush()
DtrcPrint.c258 …uint32_t uiSize = sizeof(void*) + uiArgs * sizeof(TraceUnsignedBaseType_t) + uiLength; /* Add chan… in prvTraceVPrintF() local
275 if (xTraceEventBegin(uiEventCode, uiSize , &xEventHandle) == TRC_FAIL) in prvTraceVPrintF()
/TraceRecorderSource-3.4.0/streamports/STM32_USB_CDC/include/
DtrcStreamPort.h33 traceResult prvTraceCDCReceive(void* data, uint32_t uiSize, int32_t* piBytesReceived);
35 traceResult prvTraceCDCTransmit(void* pvData, uint32_t uiSize, int32_t* piBytesSent);
58 #define xTraceStreamPortAllocate(uiSize, ppvData) ((void)uiSize, xTraceStaticBufferGet(ppvData)) argument
/TraceRecorderSource-3.4.0/streamports/XMOS_xScope/include/
DtrcStreamPort.h82 traceResult xTraceStreamPortAllocate(uint32_t uiSize, void** ppvData);
96 traceResult xTraceStreamPortCommit(void* pvData, uint32_t uiSize, int32_t* piBytesCommitted);
108 traceResult xTraceStreamPortWriteData(void* pvData, uint32_t uiSize, int32_t* piBytesWritten);
120 traceResult xTraceStreamPortReadData(void* pvData, uint32_t uiSize, int32_t* piBytesRead);
/TraceRecorderSource-3.4.0/streamports/RingBuffer/
DtrcStreamPort.c39 pxRingBuffer->xEventBuffer.uiSize = sizeof(pxRingBuffer->xEventBuffer.uiBuffer); in xTraceStreamPortInitialize()
101 traceResult xTraceStreamPortCommit(void* pvData, uint32_t uiSize, int32_t* piBytesCommitted) in xTraceStreamPortCommit() argument
108 …xTraceMultiCoreEventBufferPush(&pxStreamPortData->xMultiCoreEventBuffer, pvData, uiSize, piBytesCo… in xTraceStreamPortCommit()
114 if (uiSize > 0 && *piBytesCommitted == 0) { in xTraceStreamPortCommit()
/TraceRecorderSource-3.4.0/streamports/ARM_ITM/
DtrcStreamPort.c117 traceResult prvTraceItmRead(void* ptrData, uint32_t uiSize, int32_t* piBytesRead) in prvTraceItmRead() argument
127 if (tz_host_command_bytes_to_read != (int32_t)uiSize) in prvTraceItmRead()
/TraceRecorderSource-3.4.0/kernelports/FreeRTOS/include/
DtrcKernelPort.h1538 #define traceMALLOC( pvAddress, uiSize ) \ argument
1541 vTraceStoreMemMangEvent(MEM_MALLOC_SIZE, ( uint32_t ) pvAddress, (int32_t)uiSize); \
1545 vTraceStoreMemMangEvent(MEM_MALLOC_SIZE_TRCFAILED, ( uint32_t ) pvAddress, (int32_t)uiSize); \
1549 #define traceFREE( pvAddress, uiSize ) \ argument
1550 vTraceStoreMemMangEvent(MEM_FREE_SIZE, ( uint32_t ) pvAddress, -((int32_t)uiSize));
2685 #define traceMALLOC( pvAddress, uiSize ) \ argument
2688 xTraceHeapAlloc(xTraceKernelPortGetSystemHeapHandle(), pvAddress, uiSize); \
2692 #define traceFREE( pvAddress, uiSize ) \ argument
2695 xTraceHeapFree(xTraceKernelPortGetSystemHeapHandle(), pvAddress, uiSize); \
/TraceRecorderSource-3.4.0/kernelports/ThreadX/include/
DtrcCTI.h1346 traceResult xTraceEventBeginRawOffline(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) __attrib…
1347 traceResult xTraceEventBeginRawOffline_orig(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) __a…
/TraceRecorderSource-3.4.0/kernelports/ThreadX/
DtrcCTI.c109 extern traceResult xTraceEventBeginRawOffline_orig(uint32_t uiSize, TraceEventHandle_t* pxEventHand…
1969 traceResult xTraceEventBeginRawOffline(uint32_t uiSize, TraceEventHandle_t* pxEventHandle) in TRACE_ALLOC_CRITICAL_SECTION()
1984 xResult = xTraceEventBeginRawOffline_orig(uiSize, pxEventHandle); in TRACE_ALLOC_CRITICAL_SECTION()

12