/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/acpi/acpica/ |
H A D | dbhistry.c | 115 u16 history_index; in acpi_db_display_history() local 117 history_index = acpi_gbl_lo_history; in acpi_db_display_history() 124 acpi_gbl_history_buffer[history_index]. in acpi_db_display_history() 130 history_index++; in acpi_db_display_history() 131 if (history_index >= HISTORY_SIZE) { in acpi_db_display_history() 132 history_index = 0; in acpi_db_display_history() 181 u16 history_index; in acpi_db_get_history_by_index() local 185 history_index = acpi_gbl_lo_history; in acpi_db_get_history_by_index() 196 history_index++; in acpi_db_get_history_by_index() 197 if (history_index >= HISTORY_SIZE) { in acpi_db_get_history_by_index() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/acpi/acpica/ |
H A D | dbhistry.c | 115 u16 history_index; in acpi_db_display_history() local 117 history_index = acpi_gbl_lo_history; in acpi_db_display_history() 124 acpi_gbl_history_buffer[history_index]. in acpi_db_display_history() 130 history_index++; in acpi_db_display_history() 131 if (history_index >= HISTORY_SIZE) { in acpi_db_display_history() 132 history_index = 0; in acpi_db_display_history() 181 u16 history_index; in acpi_db_get_history_by_index() local 185 history_index = acpi_gbl_lo_history; in acpi_db_get_history_by_index() 196 history_index++; in acpi_db_get_history_by_index() 197 if (history_index >= HISTORY_SIZE) { in acpi_db_get_history_by_index() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/acpi/acpica/ |
H A D | dbhistry.c | 115 u16 history_index; in acpi_db_display_history() local 117 history_index = acpi_gbl_lo_history; in acpi_db_display_history() 124 acpi_gbl_history_buffer[history_index]. in acpi_db_display_history() 130 history_index++; in acpi_db_display_history() 131 if (history_index >= HISTORY_SIZE) { in acpi_db_display_history() 132 history_index = 0; in acpi_db_display_history() 181 u16 history_index; in acpi_db_get_history_by_index() local 185 history_index = acpi_gbl_lo_history; in acpi_db_get_history_by_index() 196 history_index++; in acpi_db_get_history_by_index() 197 if (history_index >= HISTORY_SIZE) { in acpi_db_get_history_by_index() [all …]
|
/dports/x11-wm/awesome/awesome-4.3/lib/awful/ |
H A D | prompt.lua | 672 history_index = history_index - 1 679 history_index = history_index + 1 684 history_index = history_index + 1 696 history_index=i 706 history_index=i 730 history_index=i 739 history_index=i 770 history_index = history_index - 1 857 history_index = history_index - 1 864 history_index = history_index + 1 [all …]
|
/dports/sysutils/logstalgia/Logstalgia-logstalgia-1.1.2/src/core/ui/ |
H A D | console.cpp | 198 history_index = -1; in submit() 227 if(history_index == -1 && !command_history.empty()) { in keyPress() 228 history_index = command_history.size() - 1; in keyPress() 229 setText(command_history[history_index]); in keyPress() 230 } else if(history_index > 0) { in keyPress() 231 history_index--; in keyPress() 232 setText(command_history[history_index]); in keyPress() 238 if(history_index < command_history.size()-1) { in keyPress() 239 history_index++; in keyPress() 240 setText(command_history[history_index]); in keyPress() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/widget/gonk/libui/ |
H A D | android_input.h | 696 size_t history_index); 706 size_t history_index); 716 size_t history_index); 723 size_t history_index); 730 size_t history_index); 738 size_t history_index); 748 size_t history_index); 754 size_t history_index); 760 size_t history_index); 768 size_t history_index); [all …]
|
/dports/lang/gnatdroid-sysroot-x86/android-19-x86/usr/include/android/ |
H A D | input.h | 696 size_t history_index); 706 size_t history_index) __NDK_FPABI__; 716 size_t history_index) __NDK_FPABI__; 723 size_t history_index) __NDK_FPABI__; 730 size_t history_index) __NDK_FPABI__; 738 size_t history_index) __NDK_FPABI__; 748 size_t history_index) __NDK_FPABI__; 754 size_t history_index) __NDK_FPABI__; 760 size_t history_index) __NDK_FPABI__; 768 size_t history_index) __NDK_FPABI__; [all …]
|
/dports/lang/gnatdroid-sysroot/android-19-arm/usr/include/android/ |
H A D | input.h | 696 size_t history_index); 706 size_t history_index) __NDK_FPABI__; 716 size_t history_index) __NDK_FPABI__; 723 size_t history_index) __NDK_FPABI__; 730 size_t history_index) __NDK_FPABI__; 738 size_t history_index) __NDK_FPABI__; 748 size_t history_index) __NDK_FPABI__; 754 size_t history_index) __NDK_FPABI__; 760 size_t history_index) __NDK_FPABI__; 768 size_t history_index) __NDK_FPABI__; [all …]
|
/dports/security/gpg-tui/gpg-tui-0.8.2/src/app/ |
H A D | prompt.rs | 78 pub history_index: usize, field 96 self.history_index = 0; in enable() 142 match self.history_index.cmp(&1) { in next() 144 self.history_index -= 1; in next() 146 [self.history.len() - self.history_index] in next() 151 self.history_index = 0; in next() 159 if self.history.len() > self.history_index { in previous() 161 [self.history.len() - (self.history_index + 1)] in previous() 163 self.history_index += 1; in previous() 173 self.history_index = 0; in clear()
|
/dports/math/kalker/kalker-1.1.0/cargo-crates/rustyline-7.1.0/src/ |
H A D | edit.rs | 577 self.ctx.history_index -= 1; in edit_history_next() 579 self.ctx.history_index += 1; in edit_history_next() 605 self.ctx.history_index -= 1; in edit_history_search() 607 self.ctx.history_index += 1; in edit_history_search() 611 self.ctx.history_index, in edit_history_search() 614 self.ctx.history_index = history_index; in edit_history_search() 642 self.ctx.history_index = 0; in edit_history() 704 s.ctx.history_index = history.len(); in edit_history_next() 713 assert_eq!(1, s.ctx.history_index); in edit_history_next() 725 assert_eq!(1, s.ctx.history_index); in edit_history_next() [all …]
|
H A D | hint.rs | 62 let start = if ctx.history_index() == ctx.history().len() { in hint() 63 ctx.history_index().saturating_sub(1) in hint() 65 ctx.history_index() in hint() 67 if let Some(history_index) = in hint() 71 let entry = ctx.history.get(history_index); in hint()
|
/dports/sysutils/fselect/fselect-0.7.7/cargo-crates/rustyline-9.0.0/src/ |
H A D | edit.rs | 584 self.ctx.history_index -= 1; in edit_history_next() 586 self.ctx.history_index += 1; in edit_history_next() 612 self.ctx.history_index -= 1; in edit_history_search() 614 self.ctx.history_index += 1; in edit_history_search() 618 self.ctx.history_index, in edit_history_search() 621 self.ctx.history_index = sr.idx; in edit_history_search() 648 self.ctx.history_index = 0; in edit_history() 710 s.ctx.history_index = history.len(); in edit_history_next() 719 assert_eq!(1, s.ctx.history_index); in edit_history_next() 731 assert_eq!(1, s.ctx.history_index); in edit_history_next() [all …]
|
/dports/devel/p5-MooseX-App/MooseX-App-1.42/lib/MooseX/App/Plugin/Term/Meta/ |
H A D | Attribute.pm | 103 my $history_index = 0; 189 $history_index ++ 190 if defined $history[$history_index] 191 && $history[$history_index] eq $return; 192 $history_index = 0 193 unless defined $history[$history_index]; 195 $return = $history[$history_index]; 198 $history_index++;
|
/dports/editors/lazarus/lazarus/lcl/interfaces/customdrawn/android/ |
H A D | input.pas | 526 function AMotionEvent_getHistoricalEventTime(motion_event: PAInputEvent; history_index: csize_t): c… in AMotionEvent_getHistoricalEventTime() 553 function AMotionEvent_getHistoricalX(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalX() 560 function AMotionEvent_getHistoricalY(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalY() 568 …vent_getHistoricalPressure(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalPressure() 578 function AMotionEvent_getHistoricalSize(motion_event: PAInputEvent; pointer_index, history_index: c… in AMotionEvent_getHistoricalSize() 584 …nt_getHistoricalTouchMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMajor() 590 …nt_getHistoricalTouchMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMinor() 598 …ent_getHistoricalToolMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMajor() 606 …ent_getHistoricalToolMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMinor() 618 …t_getHistoricalOrientation(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalOrientation()
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/interfaces/customdrawn/android/ |
H A D | input.pas | 526 function AMotionEvent_getHistoricalEventTime(motion_event: PAInputEvent; history_index: csize_t): c… in AMotionEvent_getHistoricalEventTime() 553 function AMotionEvent_getHistoricalX(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalX() 560 function AMotionEvent_getHistoricalY(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalY() 568 …vent_getHistoricalPressure(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalPressure() 578 function AMotionEvent_getHistoricalSize(motion_event: PAInputEvent; pointer_index, history_index: c… in AMotionEvent_getHistoricalSize() 584 …nt_getHistoricalTouchMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMajor() 590 …nt_getHistoricalTouchMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMinor() 598 …ent_getHistoricalToolMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMajor() 606 …ent_getHistoricalToolMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMinor() 618 …t_getHistoricalOrientation(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalOrientation()
|
/dports/editors/lazarus-qt5/lazarus/lcl/interfaces/customdrawn/android/ |
H A D | input.pas | 526 function AMotionEvent_getHistoricalEventTime(motion_event: PAInputEvent; history_index: csize_t): c… in AMotionEvent_getHistoricalEventTime() 553 function AMotionEvent_getHistoricalX(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalX() 560 function AMotionEvent_getHistoricalY(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalY() 568 …vent_getHistoricalPressure(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalPressure() 578 function AMotionEvent_getHistoricalSize(motion_event: PAInputEvent; pointer_index, history_index: c… in AMotionEvent_getHistoricalSize() 584 …nt_getHistoricalTouchMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMajor() 590 …nt_getHistoricalTouchMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMinor() 598 …ent_getHistoricalToolMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMajor() 606 …ent_getHistoricalToolMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMinor() 618 …t_getHistoricalOrientation(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalOrientation()
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/lcl/interfaces/customdrawn/android/ |
H A D | input.pas | 526 function AMotionEvent_getHistoricalEventTime(motion_event: PAInputEvent; history_index: csize_t): c… in AMotionEvent_getHistoricalEventTime() 553 function AMotionEvent_getHistoricalX(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalX() 560 function AMotionEvent_getHistoricalY(motion_event: PAInputEvent; pointer_index, history_index: csiz… in AMotionEvent_getHistoricalY() 568 …vent_getHistoricalPressure(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalPressure() 578 function AMotionEvent_getHistoricalSize(motion_event: PAInputEvent; pointer_index, history_index: c… in AMotionEvent_getHistoricalSize() 584 …nt_getHistoricalTouchMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMajor() 590 …nt_getHistoricalTouchMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalTouchMinor() 598 …ent_getHistoricalToolMajor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMajor() 606 …ent_getHistoricalToolMinor(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalToolMinor() 618 …t_getHistoricalOrientation(motion_event: PAInputEvent; pointer_index, history_index: csize_t): cfl… in AMotionEvent_getHistoricalOrientation()
|
/dports/devel/git-svn/git-2.34.1/git-gui/lib/ |
H A D | search.tcl | 18 field history_index 82 set history_index [llength $history] 209 set history_index [llength $history] 213 if {$history_index > 0} { 214 incr history_index -1 215 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break 224 if {$history_index < [llength $history]} { 225 incr history_index 227 if {$history_index < [llength $history]} { 228 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break
|
/dports/devel/git-gui/git-2.34.1/git-gui/lib/ |
H A D | search.tcl | 18 field history_index 82 set history_index [llength $history] 209 set history_index [llength $history] 213 if {$history_index > 0} { 214 incr history_index -1 215 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break 224 if {$history_index < [llength $history]} { 225 incr history_index 227 if {$history_index < [llength $history]} { 228 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break
|
/dports/devel/git-p4/git-2.34.1/git-gui/lib/ |
H A D | search.tcl | 18 field history_index 82 set history_index [llength $history] 209 set history_index [llength $history] 213 if {$history_index > 0} { 214 incr history_index -1 215 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break 224 if {$history_index < [llength $history]} { 225 incr history_index 227 if {$history_index < [llength $history]} { 228 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break
|
/dports/devel/git/git-2.34.1/git-gui/lib/ |
H A D | search.tcl | 18 field history_index 82 set history_index [llength $history] 209 set history_index [llength $history] 213 if {$history_index > 0} { 214 incr history_index -1 215 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break 224 if {$history_index < [llength $history]} { 225 incr history_index 227 if {$history_index < [llength $history]} { 228 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break
|
/dports/devel/git-cvs/git-2.34.1/git-gui/lib/ |
H A D | search.tcl | 18 field history_index 82 set history_index [llength $history] 209 set history_index [llength $history] 213 if {$history_index > 0} { 214 incr history_index -1 215 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break 224 if {$history_index < [llength $history]} { 225 incr history_index 227 if {$history_index < [llength $history]} { 228 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break
|
/dports/devel/cgit/cgit-1.2.3/git/git-gui/lib/ |
H A D | search.tcl | 18 field history_index 82 set history_index [llength $history] 209 set history_index [llength $history] 213 if {$history_index > 0} { 214 incr history_index -1 215 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break 224 if {$history_index < [llength $history]} { 225 incr history_index 227 if {$history_index < [llength $history]} { 228 foreach {s_regexp s_case s_expr} [lindex $history $history_index] break
|
/dports/graphics/p5-Gimp/Gimp-2.33/examples/ |
H A D | Perl-Console | 27 my $history_index = 0; 51 $history_index = @history; 68 return if $history_index == 0; 69 entry_newtext($e, $history[--$history_index] // ''); 74 return if $history_index >= @history; 75 entry_newtext($e, $history[++$history_index] // '');
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/gtk3/ |
H A D | linenoise.c | 253 int history_index = 0; in linenoisePrompt() local 381 free(history[history_len-1-history_index]); in linenoisePrompt() 382 history[history_len-1-history_index] = strdup(buf); in linenoisePrompt() 384 history_index += (seq[1] == 65) ? 1 : -1; in linenoisePrompt() 385 if (history_index < 0) { in linenoisePrompt() 386 history_index = 0; in linenoisePrompt() 388 } else if (history_index >= history_len) { in linenoisePrompt() 389 history_index = history_len-1; in linenoisePrompt() 392 strncpy(buf, history[history_len-1-history_index], buflen); in linenoisePrompt()
|