Home
last modified time | relevance | path

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

/TraceRecorderSource-2.7.6/streamports/STM32_USB_CDC/
DtrcStreamingPort.c21 uint32_t idx; member
37 commandBuffer.data[commandBuffer.idx]=Buf[i]; in CDC_Receive_FS_modified()
38 commandBuffer.idx++; in CDC_Receive_FS_modified()
64 if(commandBuffer.idx>0) in trcCDCReceive()
66 if (size >= commandBuffer.idx) // more than what is stored, number of bytes will be .idx in trcCDCReceive()
68 memcpy(data,commandBuffer.data, commandBuffer.idx); in trcCDCReceive()
69 *NumBytes=commandBuffer.idx; in trcCDCReceive()
70 commandBuffer.idx=0; // Make the buffer ready for a new command in trcCDCReceive()
74 diff = commandBuffer.idx-size; in trcCDCReceive()
81 commandBuffer.idx=diff; in trcCDCReceive()
/TraceRecorderSource-2.7.6/
DtrcSnapshotRecorder.c2241 traceString idx; in prvTraceStoreObjectNameOnCloseEvent() local
2252 idx = prvTraceOpenSymbol(name, 0); in prvTraceStoreObjectNameOnCloseEvent()
2260 ce->symbolIndex = idx; in prvTraceStoreObjectNameOnCloseEvent()
2467 uint16_t idx = uiIndexOfObject(handle, objectclass); in prvMarkObjectAsUsed() local
2468 RecorderDataPtr->ObjectPropertyTable.objbytes[idx] = 1; in prvMarkObjectAsUsed()
2497 static uint16_t idx; in prvTraceSetObjectName() local
2523 idx = uiIndexOfObject(handle, objectclass); in prvTraceSetObjectName()
2527 prvStrncpy((char*)&(RecorderDataPtr->ObjectPropertyTable.objbytes[idx]), in prvTraceSetObjectName()