Lines Matching defs:offset
81 * @param offset The offset.
88 int offset)
95 /* step 1: adjust the offset */
96 while (offset < 0) {
97 offset += cb_desc->size;
101 dest = OP_std_modadd(base, offset, cb_desc->size);
107 * @brief Get the offset between two positions in the circular buffer
109 * Get the offset from the source position to the terminal position,
116 * @return the offset.
123 int offset;
127 offset = (int)(dest_pos - src_pos);
128 offset += (offset < 0) ? cb_desc->size : 0;
130 return offset;