| /freebsd/lib/libusbhid/ |
| H A D | parse.c | 58 struct hid_pos_data last_pos[MAXID]; member 111 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid() 113 if (s->last_pos[i].rid == 0) in hid_switch_rid() 118 s->last_pos[i].rid = c->report_ID; in hid_switch_rid() 120 s->last_pos[i].pos[j] = s->pos[j]; in hid_switch_rid() 133 if (s->last_pos[i].rid == next_rID) in hid_switch_rid() 135 if (s->last_pos[i].rid == 0) in hid_switch_rid() 140 s->last_pos[i].rid = next_rID; in hid_switch_rid() 142 s->pos[j] = s->last_pos[i].pos[j]; in hid_switch_rid()
|
| /freebsd/contrib/kyua/utils/text/ |
| H A D | templates.cpp | 458 std::string::size_type last_pos = 0; in evaluate() local 459 while (last_pos != std::string::npos) { in evaluate() 461 _delimiter, last_pos); in evaluate() 463 out_line += in_line.substr(last_pos); in evaluate() 464 last_pos = std::string::npos; in evaluate() 469 out_line += in_line.substr(last_pos); in evaluate() 470 last_pos = std::string::npos; in evaluate() 472 out_line += in_line.substr(last_pos, open_pos - last_pos); in evaluate() 476 last_pos = close_pos + _delimiter.length(); in evaluate()
|
| H A D | operations.cpp | 97 std::string::size_type last_pos = text.find(quote); in quote() local 98 while (last_pos != std::string::npos) { in quote() 99 quoted << text.substr(start_pos, last_pos - start_pos) << '\\'; in quote() 100 start_pos = last_pos; in quote() 101 last_pos = text.find(quote, start_pos + 1); in quote()
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_opt.c | 1121 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local 1168 last_pos = maxML; in ZSTD_compressBlock_opt_generic() 1195 last_pos = pos-1; in ZSTD_compressBlock_opt_generic() 1201 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic() 1243 if (last_pos < cur+1) last_pos = cur+1; in ZSTD_compressBlock_opt_generic() 1267 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic() 1301 last_pos = cur + longestML; in ZSTD_compressBlock_opt_generic() 1319 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic() 1322 while (last_pos < pos) { in ZSTD_compressBlock_opt_generic() 1324 last_pos++; in ZSTD_compressBlock_opt_generic() [all …]
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_opt.c | 1120 U32 cur, last_pos = 0; in ZSTD_compressBlock_opt_generic() local 1167 last_pos = maxML; in ZSTD_compressBlock_opt_generic() 1194 last_pos = pos-1; in ZSTD_compressBlock_opt_generic() 1200 for (cur = 1; cur <= last_pos; cur++) { in ZSTD_compressBlock_opt_generic() 1242 if (last_pos < cur+1) last_pos = cur+1; in ZSTD_compressBlock_opt_generic() 1266 if (cur == last_pos) break; in ZSTD_compressBlock_opt_generic() 1300 last_pos = cur + longestML; in ZSTD_compressBlock_opt_generic() 1318 if ((pos > last_pos) || (price < opt[pos].price)) { in ZSTD_compressBlock_opt_generic() 1321 while (last_pos < pos) { in ZSTD_compressBlock_opt_generic() 1323 last_pos++; in ZSTD_compressBlock_opt_generic() [all …]
|
| /freebsd/sys/dev/hid/ |
| H A D | hid.c | 81 struct hid_pos_data last_pos[MAXID]; member 135 if (s->last_pos[i].rid == c->report_ID) in hid_switch_rid() 137 if (s->last_pos[i].rid == 0) in hid_switch_rid() 142 s->last_pos[i].rid = c->report_ID; in hid_switch_rid() 143 s->last_pos[i].pos = c->loc.pos; in hid_switch_rid() 156 if (s->last_pos[i].rid == next_rID) in hid_switch_rid() 158 if (s->last_pos[i].rid == 0) in hid_switch_rid() 163 s->last_pos[i].rid = next_rID; in hid_switch_rid() 164 c->loc.pos = s->last_pos[i].pos; in hid_switch_rid()
|
| /freebsd/contrib/dialog/ |
| H A D | tailbox.c | 38 off_t last_pos; member 198 obj->last_pos = ftell(fp); in repaint_text() 212 && sb.st_size != obj->last_pos) { in handle_input()
|
| /freebsd/contrib/kyua/utils/format/ |
| H A D | formatter.cpp | 211 const std::string::size_type last_pos) : in formatter() argument 214 _last_pos(last_pos), in formatter()
|
| /freebsd/contrib/ncurses/form/ |
| H A D | fty_regex.c | 202 char *last_pos = compile(rx, buf, &buf[blen], '\0'); in Generic_RegularExpression_Type() 205 char *last_pos = compile(rx, buf, &buf[blen]); in Generic_RegularExpression_Type()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_rtl_report.cpp | 355 void TraceReplay(Trace *trace, TracePart *last, Event *last_pos, Sid sid, in TraceReplay() argument 367 end = last_pos; in TraceReplay() 464 Event *last_pos; in RestoreStack() local 473 last_pos = trace->final_pos; in RestoreStack() 475 last_pos = (Event *)atomic_load_relaxed(&tctx->thr->trace_pos); in RestoreStack() 485 trace->parts.Front(), last_part, last_pos); in RestoreStack() 487 trace, last_part, last_pos, sid, epoch, in RestoreStack()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7925/ |
| H A D | mcu.c | 3397 u8 *pos, *last_pos; in __mt7925_mcu_set_clc() local 3404 last_pos = clc->data + le32_to_cpu(*(__le32 *)(clc->data + 4)); in __mt7925_mcu_set_clc() 3405 while (pos < last_pos) { in __mt7925_mcu_set_clc()
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_rar5.c | 2655 int last_pos = decode_pos_clone[clen]; in create_decode_tables() local 2656 table->decode_num[last_pos] = i; in create_decode_tables()
|