Lines Matching refs:xEventHandle

157 traceResult xTraceEventEndOffline(TraceEventHandle_t xEventHandle)  in xTraceEventEndOffline()  argument
159 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOffline()
192 traceResult xTraceEventEndOfflineBlocking(TraceEventHandle_t xEventHandle) in xTraceEventEndOfflineBlocking() argument
194 TraceEventData_t* pxEventData = (TraceEventData_t*)xEventHandle; in xTraceEventEndOfflineBlocking()
230 traceResult xTraceEventAddData(TraceEventHandle_t xEventHandle, void* pvData, uint32_t uiSize) in xTraceEventAddData() argument
238 TRC_ASSERT(xEventHandle != 0); in xTraceEventAddData()
244 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + uiSize <= ((TraceEventData_t*)xEventHandle)… in xTraceEventAddData()
248 TRC_EVENT_ADD_8(xEventHandle, ((uint8_t*)pvData)[i]); in xTraceEventAddData()
270 traceResult xTraceEventGetRawData(TraceEventHandle_t xEventHandle, uint32_t uiOffset, uint32_t uiSi… in xTraceEventGetRawData() argument
276 TRC_ASSERT(xEventHandle != 0); in xTraceEventGetRawData()
282 TRC_ASSERT(uiOffset + uiSize <= ((TraceEventData_t*)xEventHandle)->size); in xTraceEventGetRawData()
284 return TRC_EVENT_GET_RAW_DATA(xEventHandle, uiOffset, uiSize, ppvData); in xTraceEventGetRawData()
287 traceResult xTraceEventGetPayload(TraceEventHandle_t xEventHandle, uint32_t uiOffset, uint32_t uiSi… in xTraceEventGetPayload() argument
293 TRC_ASSERT(xEventHandle != 0); in xTraceEventGetPayload()
299 TRC_ASSERT(uiOffset + uiSize <= ((TraceEventData_t*)xEventHandle)->size); in xTraceEventGetPayload()
301 return TRC_EVENT_GET_PAYLOAD(xEventHandle, uiOffset, uiSize, ppvData); in xTraceEventGetPayload()
304 traceResult xTraceEventPayloadRemaining(TraceEventHandle_t xEventHandle, uint32_t* puiValue) in xTraceEventPayloadRemaining() argument
310 TRC_ASSERT(xEventHandle != 0); in xTraceEventPayloadRemaining()
316 TRC_ASSERT(((TraceEventData_t*)xEventHandle)->pvBlob != 0); in xTraceEventPayloadRemaining()
318 return TRC_EVENT_PAYLOAD_REMAINING(xEventHandle, puiValue); in xTraceEventPayloadRemaining()
321 traceResult xTraceEventPayloadUsed(TraceEventHandle_t xEventHandle, uint32_t* puiValue) in xTraceEventPayloadUsed() argument
327 TRC_ASSERT(xEventHandle != 0); in xTraceEventPayloadUsed()
333 TRC_ASSERT(((TraceEventData_t*)xEventHandle)->pvBlob != 0); in xTraceEventPayloadUsed()
335 return TRC_EVENT_PAYLOAD_USED(xEventHandle, puiValue); in xTraceEventPayloadUsed()
338 traceResult xTraceEventPayloadSize(TraceEventHandle_t xEventHandle, uint32_t* puiValue) in xTraceEventPayloadSize() argument
344 TRC_ASSERT(xEventHandle != 0); in xTraceEventPayloadSize()
350 TRC_ASSERT(((TraceEventData_t*)xEventHandle)->pvBlob != 0); in xTraceEventPayloadSize()
352 return TRC_EVENT_PAYLOAD_SIZE(xEventHandle, puiValue); in xTraceEventPayloadSize()
355 traceResult xTraceEventAddPointer(TraceEventHandle_t xEventHandle, void* pvAddress) in xTraceEventAddPointer() argument
361 TRC_ASSERT(xEventHandle != 0); in xTraceEventAddPointer()
364 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + sizeof(void*) <= ((TraceEventData_t*)xEvent… in xTraceEventAddPointer()
368 TRC_ASSERT((((TraceEventData_t*)xEventHandle)->offset & (sizeof(void*) - 1)) == 0); in xTraceEventAddPointer()
370 return TRC_EVENT_ADD_POINTER(xEventHandle, pvAddress); in xTraceEventAddPointer()
373 traceResult xTraceEventAddUnsignedBaseType(TraceEventHandle_t xEventHandle, TraceUnsignedBaseType_t… in xTraceEventAddUnsignedBaseType() argument
379 TRC_ASSERT(xEventHandle != 0); in xTraceEventAddUnsignedBaseType()
382 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + sizeof(TraceUnsignedBaseType_t) <= ((TraceE… in xTraceEventAddUnsignedBaseType()
386 …TRC_ASSERT((((TraceEventData_t*)xEventHandle)->offset & (sizeof(TraceUnsignedBaseType_t) - 1)) == … in xTraceEventAddUnsignedBaseType()
388 return TRC_EVENT_ADD_UNSIGNED_BASE_TYPE(xEventHandle, uxValue); in xTraceEventAddUnsignedBaseType()
391 traceResult xTraceEventAdd32(TraceEventHandle_t xEventHandle, uint32_t value) in xTraceEventAdd32() argument
397 TRC_ASSERT(xEventHandle != 0); in xTraceEventAdd32()
400 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + sizeof(uint32_t) <= ((TraceEventData_t*)xEv… in xTraceEventAdd32()
404 TRC_ASSERT((((TraceEventData_t*)xEventHandle)->offset & 3) == 0); in xTraceEventAdd32()
406 return TRC_EVENT_ADD_32(xEventHandle, value); in xTraceEventAdd32()
409 traceResult xTraceEventAdd16(TraceEventHandle_t xEventHandle, uint16_t value) in xTraceEventAdd16() argument
415 TRC_ASSERT(xEventHandle != 0); in xTraceEventAdd16()
418 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + sizeof(uint16_t) <= ((TraceEventData_t*)xEv… in xTraceEventAdd16()
422 TRC_ASSERT((((TraceEventData_t*)xEventHandle)->offset & 1) == 0); in xTraceEventAdd16()
424 return TRC_EVENT_ADD_16(xEventHandle, value); in xTraceEventAdd16()
427 traceResult xTraceEventAdd8(TraceEventHandle_t xEventHandle, uint8_t value) in xTraceEventAdd8() argument
433 TRC_ASSERT(xEventHandle != 0); in xTraceEventAdd8()
436 …TRC_ASSERT(((TraceEventData_t*)xEventHandle)->offset + sizeof(uint8_t) <= ((TraceEventData_t*)xEve… in xTraceEventAdd8()
438 return TRC_EVENT_ADD_8(xEventHandle, value); in xTraceEventAdd8()