Lines Matching refs:history
87 if (!dmxLocal->history) in dmxPointerGetMotionEvents()
90 if (dmxLocal->history[OFFSET(i, 0)] >= stop) in dmxPointerGetMotionEvents()
92 if (dmxLocal->history[OFFSET(i, 0)] >= start) { in dmxPointerGetMotionEvents()
94 c[OFFSET(count, j)] = dmxLocal->history[OFFSET(i, j)]; in dmxPointerGetMotionEvents()
115 if (!dmxLocal->history) { in dmxPointerPutMotionEvent()
116 dmxLocal->history = xallocarray(numAxes + 1, in dmxPointerPutMotionEvent()
117 sizeof(*dmxLocal->history) * DMX_MOTION_SIZE); in dmxPointerPutMotionEvent()
130 dmxLocal->history[OFFSET(dmxLocal->tail, 0)] = time; in dmxPointerPutMotionEvent()
137 dmxLocal->history[OFFSET(dmxLocal->tail, i + 1)] in dmxPointerPutMotionEvent()
140 dmxLocal->history[OFFSET(dmxLocal->tail, i + 1)] = 0; in dmxPointerPutMotionEvent()
144 dmxLocal->history[OFFSET(dmxLocal->tail, i + i)] in dmxPointerPutMotionEvent()