Home
last modified time | relevance | path

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

/dragonfly/lib/libu4bhid/
HDparse.c57 struct hid_pos_data last_pos[MAXID]; member
110 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid()
112 if (s->last_pos[i].rid == 0) in hid_switch_rid()
117 s->last_pos[i].rid = c->report_ID; in hid_switch_rid()
119 s->last_pos[i].pos[j] = s->pos[j]; in hid_switch_rid()
132 if (s->last_pos[i].rid == next_rID) in hid_switch_rid()
134 if (s->last_pos[i].rid == 0) in hid_switch_rid()
139 s->last_pos[i].rid = next_rID; in hid_switch_rid()
141 s->pos[j] = s->last_pos[i].pos[j]; in hid_switch_rid()
/dragonfly/sys/bus/u4b/
HDusb_hid.c81 struct hid_pos_data last_pos[MAXID]; member
134 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid()
136 if (s->last_pos[i].rid == 0) in hid_switch_rid()
141 s->last_pos[i].rid = c->report_ID; in hid_switch_rid()
142 s->last_pos[i].pos = c->loc.pos; in hid_switch_rid()
155 if (s->last_pos[i].rid == next_rID) in hid_switch_rid()
157 if (s->last_pos[i].rid == 0) in hid_switch_rid()
162 s->last_pos[i].rid = next_rID; in hid_switch_rid()
163 c->loc.pos = s->last_pos[i].pos; in hid_switch_rid()
/dragonfly/contrib/zstd/lib/compress/
HDzstd_opt.c969 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local
1003 last_pos = ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1027 last_pos = pos-1; in ZSTD_compressBlock_opt_generic()
1032 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic()
1077 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic()
1110 last_pos = cur + ZSTD_totalLen(lastSequence); in ZSTD_compressBlock_opt_generic()
1129 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic()
1132 …while (last_pos < pos) { opt[last_pos+1].price = ZSTD_MAX_PRICE; last_pos++; } /* fill empty pos… in ZSTD_compressBlock_opt_generic()
1145 lastSequence = opt[last_pos]; in ZSTD_compressBlock_opt_generic()
1146 …cur = last_pos > ZSTD_totalLen(lastSequence) ? last_pos - ZSTD_totalLen(lastSequence) : 0; /* sin… in ZSTD_compressBlock_opt_generic()
[all …]
/dragonfly/contrib/dialog/
HDtailbox.c37 off_t last_pos; member
197 obj->last_pos = ftell(fp); in repaint_text()
211 && sb.st_size != obj->last_pos) { in handle_input()
/dragonfly/contrib/gcc-8.0/gcc/
HDasan.c3021 unsigned last_pos = size; in asan_store_shadow_bytes() local
3023 last_pos = BYTES_BIG_ENDIAN ? 0 : size - 1; in asan_store_shadow_bytes()
3027 if (i == last_pos) in asan_store_shadow_bytes()
/dragonfly/contrib/libarchive/libarchive/
HDarchive_read_support_format_rar5.c2525 int last_pos = decode_pos_clone[clen]; in create_decode_tables() local
2526 table->decode_num[last_pos] = i; in create_decode_tables()