Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 2 of 2) sorted by relevance

/percepio-3.5.0/TraceRecorder/streamports/STM32_USB_CDC/
DtrcStreamPort.c30 TraceUnsignedBaseType_t idx; member
41 pxUSBBuffers->bufferUSB[pxUSBBuffers->idx] = pBuffer[i]; in CDC_Receive_FS_modified()
42 pxUSBBuffers->idx++; in CDC_Receive_FS_modified()
58 pxUSBBuffers->idx = 0; in prvCDCInit()
68 if(pxUSBBuffers->idx > 0) in prvTraceCDCReceive()
70 …if ((TraceUnsignedBaseType_t)uiSize >= pxUSBBuffers->idx) // More than what is stored, number of b… in prvTraceCDCReceive()
72 TRC_MEMCPY(data, pxUSBBuffers->bufferUSB, pxUSBBuffers->idx); in prvTraceCDCReceive()
73 *piBytesReceived = (int32_t)pxUSBBuffers->idx; in prvTraceCDCReceive()
74 pxUSBBuffers->idx = 0; // Make the buffer ready for a new command in prvTraceCDCReceive()
78 uiDiff = pxUSBBuffers->idx - uiSize; in prvTraceCDCReceive()
[all …]
/percepio-3.5.0/TraceRecorder/
DtrcSnapshotRecorder.c2259 TraceStringHandle_t idx; in prvTraceStoreObjectNameOnCloseEvent() local
2270 idx = prvTraceOpenSymbol(name, 0); in prvTraceStoreObjectNameOnCloseEvent()
2278 ce->symbolIndex = idx; in prvTraceStoreObjectNameOnCloseEvent()
2490 uint16_t idx = uiIndexOfObject(handle, objectclass); in prvMarkObjectAsUsed() local
2491 RecorderDataPtr->ObjectPropertyTable.objbytes[idx] = 1; in prvMarkObjectAsUsed()
2520 static uint16_t idx; in prvTraceSetObjectName() local
2546 idx = uiIndexOfObject(handle, objectclass); in prvTraceSetObjectName()
2550 prvStrncpy((char*)&(RecorderDataPtr->ObjectPropertyTable.objbytes[idx]), in prvTraceSetObjectName()