Home
last modified time | relevance | path

Searched refs:cursor_step (Results 1 – 6 of 6) sorted by relevance

/third_party/libdrm/tests/modetest/
Dcursor.c68 struct cursor_step { struct
69 void (*run)(struct cursor *cursor, const struct cursor_step *step); argument
77 static void set_cursor(struct cursor *cursor, const struct cursor_step *step) in set_cursor() argument
90 static void move_cursor(struct cursor *cursor, const struct cursor_step *step) in move_cursor()
125 static const struct cursor_step steps[] = {
144 const struct cursor_step *step = &steps[indx % ARRAY_SIZE(steps)]; in cursor_thread_func()
/third_party/ejdb/src/jbi/
Djbi_dup_scanner.c13 midx->cursor_step = IWKV_CURSOR_PREV; in _jbi_consume_eq()
45 } while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? midx->cursor_step : cursor_reverse_step))); in _jbi_consume_eq()
158 key.compound = (midx->cursor_step == IWKV_CURSOR_PREV) ? INT64_MIN : INT64_MAX; in _jbi_consume_scan()
165 midx->cursor_step = IWKV_CURSOR_NEXT; in _jbi_consume_scan()
176 rc = iwkv_cursor_to(cur, midx->cursor_step); in _jbi_consume_scan()
180 IWKV_cursor_op cursor_reverse_step = (midx->cursor_step == IWKV_CURSOR_PREV) in _jbi_consume_scan()
214 } while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? midx->cursor_step : cursor_reverse_step))); in _jbi_consume_scan()
231 IWKV_cursor_op cursor_reverse_step = (midx->cursor_step == IWKV_CURSOR_PREV) in _jbi_consume_noxpr_scan()
237 rc = iwkv_cursor_to(cur, midx->cursor_step); in _jbi_consume_noxpr_scan()
258 } while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? midx->cursor_step : cursor_reverse_step))); in _jbi_consume_noxpr_scan()
Djbi_selection.c76 if (mctx->cursor_step) { in _jbi_log_index_rules()
78 _jbi_log_cursor_op(xstr, mctx->cursor_step); in _jbi_log_index_rules()
197 mctx->cursor_step = IWKV_CURSOR_PREV; in _jbi_compute_index_rules()
230 mctx->cursor_step = IWKV_CURSOR_NEXT; in _jbi_compute_index_rules()
239 if (mctx->cursor_step != IWKV_CURSOR_NEXT) { in _jbi_compute_index_rules()
243 if (mctx->cursor_step != IWKV_CURSOR_PREV) { in _jbi_compute_index_rules()
253 mctx->cursor_step = IWKV_CURSOR_NEXT; in _jbi_compute_index_rules()
255 mctx->cursor_step = IWKV_CURSOR_PREV; in _jbi_compute_index_rules()
406 ctx->cursor_step = IWKV_CURSOR_PREV; in _jbi_select_index_for_orderby()
411 ctx->midx.cursor_step = ctx->cursor_step; in _jbi_select_index_for_orderby()
[all …]
Djbi_uniq_scanner.c96 midx->cursor_step = IWKV_CURSOR_NEXT; in _jbi_consume_scan()
106 IWKV_cursor_op cursor_reverse_step = (midx->cursor_step == IWKV_CURSOR_NEXT) in _jbi_consume_scan()
110 rc = iwkv_cursor_to(cur, midx->cursor_step); in _jbi_consume_scan()
149 } while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? midx->cursor_step : cursor_reverse_step))); in _jbi_consume_scan()
167 IWKV_cursor_op cursor_reverse_step = (midx->cursor_step == IWKV_CURSOR_NEXT) in _jbi_consume_noxpr_scan()
173 rc = iwkv_cursor_to(cur, midx->cursor_step); in _jbi_consume_noxpr_scan()
198 } while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? midx->cursor_step : cursor_reverse_step))); in _jbi_consume_noxpr_scan()
Djbi_full_scanner.c10 IWKV_cursor_op cursor_reverse_step = (ctx->cursor_step == IWKV_CURSOR_NEXT) in jbi_full_scanner()
13 while (step && !(rc = iwkv_cursor_to(cur, step > 0 ? ctx->cursor_step : cursor_reverse_step))) { in jbi_full_scanner()
/third_party/ejdb/src/
Dejdb2_internal.h175 IWKV_cursor_op cursor_step; /**< Next index cursor step */ member
189 IWKV_cursor_op cursor_step; /**< Next index cursor step */ member