Lines Matching refs:objectclass
213 static uint8_t prvTraceGetObjectState(uint8_t objectclass, traceHandle id);
288 uint16_t uiIndexOfObject(traceHandle objecthandle, uint8_t objectclass);
2254 traceObjectClass objectclass) in prvTraceStoreObjectNameOnCloseEvent() argument
2260 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceStoreObjectNameOnCloseEvent()
2262 TRACE_ASSERT(handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceStoreObjectNameOnCloseEvent()
2268 name = TRACE_PROPERTY_NAME_GET(objectclass, handle); in prvTraceStoreObjectNameOnCloseEvent()
2284 traceObjectClass objectclass) in prvTraceStoreObjectPropertiesOnCloseEvent() argument
2288 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceStoreObjectPropertiesOnCloseEvent()
2290 TRACE_ASSERT(handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceStoreObjectPropertiesOnCloseEvent()
2299 if (objectclass == TRACE_CLASS_TASK) in prvTraceStoreObjectPropertiesOnCloseEvent()
2301 pe->arg1 = TRACE_PROPERTY_ACTOR_PRIORITY(objectclass, handle); in prvTraceStoreObjectPropertiesOnCloseEvent()
2305 pe->arg1 = TRACE_PROPERTY_OBJECT_STATE(objectclass, handle); in prvTraceStoreObjectPropertiesOnCloseEvent()
2313 void prvTraceSetPriorityProperty(uint8_t objectclass, traceHandle id, uint8_t value) in prvTraceSetPriorityProperty() argument
2315 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceSetPriorityProperty()
2317 TRACE_ASSERT(id <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceSetPriorityProperty()
2320 TRACE_PROPERTY_ACTOR_PRIORITY(objectclass, id) = value; in prvTraceSetPriorityProperty()
2323 uint8_t prvTraceGetPriorityProperty(uint8_t objectclass, traceHandle id) in prvTraceGetPriorityProperty() argument
2325 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceGetPriorityProperty()
2327 TRACE_ASSERT(id <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceGetPriorityProperty()
2330 return TRACE_PROPERTY_ACTOR_PRIORITY(objectclass, id); in prvTraceGetPriorityProperty()
2333 void prvTraceSetObjectState(uint8_t objectclass, traceHandle id, uint8_t value) in prvTraceSetObjectState() argument
2335 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceSetObjectState()
2337 TRACE_ASSERT(id <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceSetObjectState()
2340 TRACE_PROPERTY_OBJECT_STATE(objectclass, id) = value; in prvTraceSetObjectState()
2343 uint8_t prvTraceGetObjectState(uint8_t objectclass, traceHandle id) in prvTraceGetObjectState() argument
2345 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceGetObjectState()
2347 TRACE_ASSERT(id <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceGetObjectState()
2350 return TRACE_PROPERTY_OBJECT_STATE(objectclass, id); in prvTraceGetObjectState()
2383 uint16_t uiIndexOfObject(traceHandle objecthandle, uint8_t objectclass) in uiIndexOfObject() argument
2386 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in uiIndexOfObject()
2388 … > 0 && objecthandle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in uiIndexOfObject()
2391 if ((objectclass < TRACE_NCLASSES) && (objecthandle > 0) && in uiIndexOfObject()
2392 (objecthandle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass])) in uiIndexOfObject()
2394 index = (uint16_t)(RecorderDataPtr->ObjectPropertyTable.StartIndexOfClass[objectclass] + in uiIndexOfObject()
2395 …(RecorderDataPtr->ObjectPropertyTable.TotalPropertyBytesPerClass[objectclass] * (objecthandle - 1)… in uiIndexOfObject()
2403 traceHandle prvTraceGetObjectHandle(traceObjectClass objectclass) in prvTraceGetObjectHandle() argument
2412 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceGetObjectHandle()
2416 indexOfHandle = objectHandleStacks.indexOfNextAvailableHandle[objectclass]; in prvTraceGetObjectHandle()
2424 objectHandleStacks.lowestIndexOfClass[objectclass]); in prvTraceGetObjectHandle()
2429 if (objectHandleStacks.indexOfNextAvailableHandle[objectclass] in prvTraceGetObjectHandle()
2430 > objectHandleStacks.highestIndexOfClass[objectclass]) in prvTraceGetObjectHandle()
2432 prvTraceError(pszTraceGetErrorNotEnoughHandles(objectclass)); in prvTraceGetObjectHandle()
2438 objectHandleStacks.indexOfNextAvailableHandle[objectclass]++; in prvTraceGetObjectHandle()
2440 hndCount = objectHandleStacks.indexOfNextAvailableHandle[objectclass] - in prvTraceGetObjectHandle()
2441 objectHandleStacks.lowestIndexOfClass[objectclass]; in prvTraceGetObjectHandle()
2444 objectHandleStacks.handleCountWaterMarksOfClass[objectclass]) in prvTraceGetObjectHandle()
2446 objectHandleStacks.handleCountWaterMarksOfClass[objectclass] = in prvTraceGetObjectHandle()
2455 void prvTraceFreeObjectHandle(traceObjectClass objectclass, traceHandle handle) in prvTraceFreeObjectHandle() argument
2460 TRACE_ASSERT(objectclass < TRACE_NCLASSES, in prvTraceFreeObjectHandle()
2462 …handle > 0 && handle <= RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass], in prvTraceFreeObjectHandle()
2466 if ((objectHandleStacks.indexOfNextAvailableHandle[objectclass] - 1) < in prvTraceFreeObjectHandle()
2467 objectHandleStacks.lowestIndexOfClass[objectclass]) in prvTraceFreeObjectHandle()
2474 objectHandleStacks.indexOfNextAvailableHandle[objectclass]--; in prvTraceFreeObjectHandle()
2475 indexOfHandle = objectHandleStacks.indexOfNextAvailableHandle[objectclass]; in prvTraceFreeObjectHandle()
2487 void prvMarkObjectAsUsed(traceObjectClass objectclass, traceHandle handle) in prvMarkObjectAsUsed() argument
2489 uint16_t idx = uiIndexOfObject(handle, objectclass); in prvMarkObjectAsUsed()
2515 void prvTraceSetObjectName(traceObjectClass objectclass, in prvTraceSetObjectName() argument
2526 if (objectclass >= TRACE_NCLASSES) in prvTraceSetObjectName()
2538 if (handle > RecorderDataPtr->ObjectPropertyTable.NumberOfObjectsPerClass[objectclass]) in prvTraceSetObjectName()
2541 prvTraceError(pszTraceGetErrorNotEnoughHandles(objectclass)); in prvTraceSetObjectName()
2545 idx = uiIndexOfObject(handle, objectclass); in prvTraceSetObjectName()
2551 RecorderDataPtr->ObjectPropertyTable.NameLengthPerClass[ objectclass ]); in prvTraceSetObjectName()