Home
last modified time | relevance | path

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

/TraceRecorderSource-3.4.0/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 …]
/TraceRecorderSource-3.4.0/
DtrcSnapshotRecorder.c2258 TraceStringHandle_t idx; in prvTraceStoreObjectNameOnCloseEvent() local
2269 idx = prvTraceOpenSymbol(name, 0); in prvTraceStoreObjectNameOnCloseEvent()
2277 ce->symbolIndex = idx; in prvTraceStoreObjectNameOnCloseEvent()
2489 uint16_t idx = uiIndexOfObject(handle, objectclass); in prvMarkObjectAsUsed() local
2490 RecorderDataPtr->ObjectPropertyTable.objbytes[idx] = 1; in prvMarkObjectAsUsed()
2519 static uint16_t idx; in prvTraceSetObjectName() local
2545 idx = uiIndexOfObject(handle, objectclass); in prvTraceSetObjectName()
2549 prvStrncpy((char*)&(RecorderDataPtr->ObjectPropertyTable.objbytes[idx]), in prvTraceSetObjectName()