/dports/multimedia/libxine/xine-lib-1.2.11/src/post/deinterlace/ |
H A D | pulldown.c | 184 static int histpos = 0; variable 215 histpos = 0; 235 tophistory[ histpos ] = top_repeat; in determine_pulldown_offset_history() 236 bothistory[ histpos ] = bot_repeat; in determine_pulldown_offset_history() 285 histpos = (histpos + 1) % HISTORY_SIZE; in determine_pulldown_offset_history() 351 tophistory_diff[ histpos ] = ((mintoppos == histpos) || (min2toppos == histpos)); in determine_pulldown_offset_history_new() 352 bothistory_diff[ histpos ] = ((minbotpos == histpos) || (min2botpos == histpos)); in determine_pulldown_offset_history_new() 381 histpos = (histpos + 1) % HISTORY_SIZE; in determine_pulldown_offset_history_new() 463 tophistory_diff[ histpos ] = ((mintoppos == histpos) || (min2toppos == histpos)); in determine_pulldown_offset_short_history_new() 464 bothistory_diff[ histpos ] = ((minbotpos == histpos) || (min2botpos == histpos)); in determine_pulldown_offset_short_history_new() [all …]
|
/dports/devel/rlwrap/rlwrap-0.45.2/filters/ |
H A D | handle_hotkeys.py | 74 def edit_history(doc, prefix, postfix, history, histpos): argument 77 if not histpos.isdigit(): 81 lineno = int(histpos) + 1 114 histpos = str(last_counter) 117 return ("", prefix, postfix, '\n'.join(new_history), histpos) 132 def fuzzy_filter_history(doc, prefix, postfix, history, histpos, command): argument 145 return ("", first_chunk + select_1, postfix, history, histpos) 147 def peco_history(doc, prefix, postfix, history, histpos): argument 148 return fuzzy_filter_history(doc, prefix, postfix, history, histpos, 'peco') 150 def fzf_history(doc, prefix, postfix, history, histpos): argument [all …]
|
H A D | handle_hotkeys | 102 my ($doc, $prefix, $postfix, $history, $histpos) = @_; 105 …$histpos =~ /\d/ or die "$histpos is not a number - did you bind this key to 'rlwrap-hotkey-withou… 109 my $lineno = $histpos + 1; 137 $histpos = $last_counter; 138 $prefix = $new_history[$histpos]; 142 return ("", $prefix, $postfix, (join "\n", @new_history), $histpos); 157 my ($command, $doc, $prefix, $postfix, $history, $histpos) = @_; 160 my $lineno = $histpos + 1; 168 return ("", $first_chunk . $select_1, $postfix, $history, $histpos);
|
H A D | edit_history | 43 my ($key, $prefix, $postfix, $history, $histpos) = @_; 45 my $lineno = $histpos + 1; 73 $histpos = $last_counter; 74 $prefix = $new_history[$histpos]; 77 return ($key, $prefix, $postfix, (join "\n", @new_history), $histpos);
|
/dports/graphics/dia/dia-0.97.3/plug-ins/python/ |
H A D | gtkcons.py | 186 self.histpos = 0 247 if self.histpos > 0: 251 self.history[self.histpos] = l 252 self.histpos = self.histpos - 1 256 if self.histpos < len(self.history) - 1: 260 self.history[self.histpos] = l 261 self.histpos = self.histpos + 1 267 self.histpos = len(self.history) - 1 269 self.history[self.histpos] = l[:-1] 271 self.history[self.histpos] = l [all …]
|
/dports/x11-toolkits/pyl-gtk2/pygtk-2.24.0/examples/ide/ |
H A D | gtkcons.py | 185 self.histpos = 0 236 if self.histpos > 0: 240 self.history[self.histpos] = l 241 self.histpos = self.histpos - 1 245 if self.histpos < len(self.history) - 1: 249 self.history[self.histpos] = l 250 self.histpos = self.histpos + 1 256 self.histpos = len(self.history) - 1 258 self.history[self.histpos] = l[:-1] 260 self.history[self.histpos] = l [all …]
|
/dports/x11-wm/treewm/treewm-0.4.5/src/ |
H A D | textdialog.cc | 15 hist[histpos] = strdup(line); in AddHistory() 16 ++histpos; in AddHistory() 17 histpos %= HISTSIZE; in AddHistory() 18 histref = histpos; in AddHistory() 19 if (hist[histpos]) in AddHistory() 20 free(hist[histpos]); in AddHistory() 21 hist[histpos] = 0; in AddHistory() 36 int TextDialog::histpos; member in TextDialog 138 histref = histpos; in TextDialog()
|
H A D | textdialog.h | 33 static int histpos; variable
|
/dports/games/openomf/openomf-c36c421/src/console/ |
H A D | console.c | 50 con->histpos = -1; in console_add_history() 210 con->histpos = -1; in console_init() 270 … if(con->histpos < HISTORY_MAX && con->histpos < (signed int)(list_size(&con->history)-1)) { in console_event() 271 con->histpos++; in console_event() 275 if(con->histpos > -1) { in console_event() 276 con->histpos--; in console_event() 301 if(con->histpos != -1 && con->histpos_changed) { in console_render() 302 char *input = list_get(&con->history, con->histpos); in console_render() 306 if(con->histpos == -1 && con->histpos_changed) { in console_render()
|
/dports/games/cube/cube_source/src/ |
H A D | console.cpp | 155 int histpos = 0; variable 190 if(histpos) strcpy_s(commandbuf, vhistory[--histpos]); in keypress() 194 if(histpos<vhistory.length()) strcpy_s(commandbuf, vhistory[histpos++]); in keypress() 219 histpos = vhistory.length(); in keypress()
|
/dports/audio/snd/snd-21.2/ |
H A D | repl.scm | 79 (histpos 0) 116 (unless (= oldpos histpos) 119 (set! histpos new-end) 134 (when (>= pos histpos) 141 ((>= i (- histpos 1))) 143 (set! histpos (- histpos 1)))) 146 (set! histpos (+ histpos 1)) 147 (if (= histpos histsize) 148 (set! histpos 0))) 161 (set! histpos (- histpos 1)) [all …]
|
/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/ |
H A D | console.cpp | 461 int histpos = 0; variable 525 if(histpos > history.length()) histpos = history.length(); in consolekey() 526 if(histpos > 0) history[--histpos]->restore(); in consolekey() 531 if(histpos + 1 < history.length()) history[++histpos]->restore(); in consolekey() 553 if(code == SDL_AC_BUTTON_LEFT && histpos == history.length()) return; in consolekey() 569 histpos = history.length(); in consolekey() 575 histpos = history.length(); in consolekey()
|
/dports/shells/zsh/zsh-5.8.1/Src/Zle/ |
H A D | zle_hist.c | 440 static int histpos, srch_hl, srch_cs = -1; variable 464 mark != 0 || strncmp(srch_str, line, histpos) != 0) { in historysearchbackward() 466 for (histpos = 0; histpos < zlell && !ZC_iblank(zleline[histpos]); in historysearchbackward() 467 histpos++) in historysearchbackward() 469 if (histpos < zlell) in historysearchbackward() 470 histpos++; in historysearchbackward() 472 CCRIGHTPOS(histpos); in historysearchbackward() 525 for (histpos = 0; histpos < zlell && !ZC_iblank(zleline[histpos]); in historysearchforward() 526 histpos++) in historysearchforward() 528 if (histpos < zlell) in historysearchforward() [all …]
|
/dports/games/sauerbraten/sauerbraten/src/engine/ |
H A D | console.cpp | 342 int histpos = 0; variable 491 if(histpos > history.length()) histpos = history.length(); in consolekey() 492 if(histpos > 0) history[--histpos]->restore(); in consolekey() 496 if(histpos + 1 < history.length()) history[++histpos]->restore(); in consolekey() 530 histpos = history.length(); in consolekey() 536 histpos = history.length(); in consolekey()
|
/dports/games/tesseract-data/tesseract/src/engine/ |
H A D | console.cpp | 374 int histpos = 0; variable 544 if(histpos > history.length()) histpos = history.length(); in consolekey() 545 if(histpos > 0) history[--histpos]->restore(); in consolekey() 549 if(histpos + 1 < history.length()) history[++histpos]->restore(); in consolekey() 583 histpos = history.length(); in consolekey() 589 histpos = history.length(); in consolekey()
|
/dports/games/tesseract/tesseract/src/engine/ |
H A D | console.cpp | 374 int histpos = 0; variable 544 if(histpos > history.length()) histpos = history.length(); in consolekey() 545 if(histpos > 0) history[--histpos]->restore(); in consolekey() 549 if(histpos + 1 < history.length()) history[++histpos]->restore(); in consolekey() 583 histpos = history.length(); in consolekey() 589 histpos = history.length(); in consolekey()
|
/dports/games/pysolfc/PySolFC-2.14.1/data/tcl/ |
H A D | fsdialog8.4.tcl | 572 set data(histpos) -1 598 set cwd [lindex $data(history) $data(histpos)] 601 if {[incr data(histpos)]} { 657 set cwd [lindex $data(history) $data(histpos)] 835 set cwd [lindex $data(history) $data(histpos)] 922 incr data(histpos) -1 925 if {!$data(histpos)} { 936 incr data(histpos) 953 set dir [lindex $data(history) $data(histpos)] 1032 set cwd [lindex $data(history) $data(histpos)] [all …]
|
H A D | fsdialog8.5.tcl | 572 set data(histpos) -1 598 set cwd [lindex $data(history) $data(histpos)] 601 if {[incr data(histpos)]} { 657 set cwd [lindex $data(history) $data(histpos)] 835 set cwd [lindex $data(history) $data(histpos)] 922 incr data(histpos) -1 925 if {!$data(histpos)} { 936 incr data(histpos) 953 set dir [lindex $data(history) $data(histpos)] 1032 set cwd [lindex $data(history) $data(histpos)] [all …]
|
/dports/games/redeclipse16/base-1.6.0/src/engine/ |
H A D | console.cpp | 373 int histpos = 0; variable 523 if(histpos > history.length()) histpos = history.length(); in consolekey() 524 if(histpos > 0) history[--histpos]->restore(); in consolekey() 528 if(histpos + 1 < history.length()) history[++histpos]->restore(); in consolekey() 562 histpos = history.length(); in consolekey() 573 histpos = history.length(); in consolekey() 989 histpos = history.length(); in consolegui()
|
/dports/net-im/coccinella/Coccinella-0.96.20Src/components/ |
H A D | fsdialog.tcl | 574 set data(histpos) -1 598 set cwd [lindex $data(history) $data(histpos)] 601 if {[incr data(histpos)]} { 657 set cwd [lindex $data(history) $data(histpos)] 835 set cwd [lindex $data(history) $data(histpos)] 1006 incr data(histpos) -1 1009 if {!$data(histpos)} { 1020 incr data(histpos) 1037 set dir [lindex $data(history) $data(histpos)] 1116 set cwd [lindex $data(history) $data(histpos)] [all …]
|
/dports/games/bloodfrontier/bloodfrontier/src/engine/ |
H A D | console.cpp | 330 int histpos = 0; variable 450 if(histpos>0) history[--histpos]->restore(); in consolekey() 454 if(histpos+1<history.length()) history[++histpos]->restore(); in consolekey() 515 histpos = history.length(); in consolekey() 526 histpos = history.length(); in consolekey()
|
/dports/games/openomf/openomf-c36c421/include/console/ |
H A D | console_type.h | 10 int histpos; member
|
/dports/games/redeclipse/base-2.0.0/src/engine/ |
H A D | console.cpp | 436 int histpos = 0; variable 607 if(histpos > history.length()) histpos = history.length(); in consolekey() 608 if(histpos > 0) history[--histpos]->restore(); in consolekey() 612 if(histpos + 1 < history.length()) history[++histpos]->restore(); in consolekey() 646 histpos = history.length(); in consolekey() 652 histpos = history.length(); in consolekey()
|
/dports/editors/emacs/emacs-27.2/src/ |
H A D | minibuf.c | 353 Lisp_Object histvar, Lisp_Object histpos, Lisp_Object defalt, in read_minibuf() argument 498 Vminibuffer_history_position = histpos; in read_minibuf() 920 Lisp_Object histvar, histpos, val; variable 931 histpos = Qnil; 936 histpos = Fcdr_safe (hist); 940 if (NILP (histpos)) 941 XSETFASTINT (histpos, 0); 945 histvar, histpos, default_value,
|
/dports/x11-wm/windowmaker/WindowMaker-0.95.9/src/ |
H A D | dialog.c | 173 int histpos; member 362 if (p->histpos < WMGetArrayItemCount(p->history) - 1) { in handleHistoryKeyPress() 363 if (p->histpos == 0) in handleHistoryKeyPress() 365 p->histpos++; in handleHistoryKeyPress() 366 WMSetTextFieldText(p->panel->text, WMGetFromArray(p->history, p->histpos)); in handleHistoryKeyPress() 370 if (p->histpos > 0) { in handleHistoryKeyPress() 371 p->histpos--; in handleHistoryKeyPress() 372 WMSetTextFieldText(p->panel->text, WMGetFromArray(p->history, p->histpos)); in handleHistoryKeyPress() 437 p->histpos = 0; in wAdvancedInputDialog()
|