/dports/games/openmortal/openmortal-0.7/data/script/ |
H A D | PlayerInput.pl | 47 my ($ip, $lastkey); 54 return if ( ($lastkey<5) and ($self->{'Keys'}->[$lastkey]) ); 151 my $lastkey = ${$q}[$p]; 152 unless ( ${$k}[$lastkey] ) 158 if ($lastkey >=5) # punch or kick 192 return 'forw' if $lastkey==3; 193 return 'back' if $lastkey==2; 194 return 'down' if $lastkey==1; 195 return 'block' if $lastkey==4; 208 my $lastkey = ${$q}[$p]; [all …]
|
/dports/devel/monotone/monotone-1.1/test/func/automate_get_attributes/ |
H A D | __driver__.lua | 32 lastkey = "" 36 lastkey = l.values[1] 46 if lastkey == "key1" then 48 checked[lastkey] = true 50 if lastkey == "key2" then 52 checked[lastkey] = true 54 if lastkey == "key3" then 58 if lastkey == "key4" then 113 lastkey = "" 117 lastkey = l.values[1] [all …]
|
/dports/sysutils/burp/burp-2.4.0/src/client/monitor/ |
H A D | json_input.c | 32 static char lastkey[32]=""; variable 62 if(!strcmp(lastkey, "pid")) in input_integer() 74 if(!strcmp(lastkey, "count")) in input_integer() 84 else if(!strcmp(lastkey, "same")) in input_integer() 108 if(!strcmp(lastkey, "number")) in input_integer() 125 if(!strcmp(lastkey, "protocol")) in input_integer() 146 if(!strcmp(lastkey, "name")) in input_string() 238 || !strcmp(lastkey, "verify") in input_string() 269 lastkey[len]='\0'; in input_map_key() 326 if(!strcmp(lastkey, "backups")) in input_start_array() [all …]
|
/dports/sysutils/burp-devel/burp-2.5.4/src/client/monitor/ |
H A D | json_input.c | 32 static char lastkey[32]=""; variable 62 if(!strcmp(lastkey, "pid")) in input_integer() 74 if(!strcmp(lastkey, "count")) in input_integer() 84 else if(!strcmp(lastkey, "same")) in input_integer() 108 if(!strcmp(lastkey, "number")) in input_integer() 125 if(!strcmp(lastkey, "protocol")) in input_integer() 146 if(!strcmp(lastkey, "name")) in input_string() 238 || !strcmp(lastkey, "verify") in input_string() 269 lastkey[len]='\0'; in input_map_key() 326 if(!strcmp(lastkey, "backups")) in input_start_array() [all …]
|
/dports/graphics/grx/grx249/src/mouse/ |
H A D | xwinkeys.c | 47 if (lastkey != _NOKEY_) { in getkey() 48 key = lastkey; in getkey() 49 lastkey = _NOKEY_; in getkey() 65 if (lastkey != _NOKEY_) { in getch() 66 key = lastkey; in getch() 67 lastkey = _NOKEY_; in getch() 85 lastkey = key; in kbhit() 109 if (lastkey != _NOKEY_) in GrKeyPressed() 114 lastkey = key; in GrKeyPressed() 122 key = lastkey; in GrKeyRead() [all …]
|
H A D | w32keys.c | 78 static int lastkey = (-1); in getch() local 81 if (lastkey != (-1)) { in getch() 82 key = lastkey; in getch() 83 lastkey = (-1); in getch() 90 lastkey = key & 0xff; in getch()
|
H A D | sdlkeys.c | 88 static int lastkey = (-1); in getch() local 91 if (lastkey != (-1)) { in getch() 92 key = lastkey; in getch() 93 lastkey = (-1); in getch() 100 lastkey = key & 0xff; in getch()
|
/dports/devel/cvs-devel/cvs-1.12.13/contrib/ |
H A D | clmerge.in | 57 $lastkey = ''; 74 if ($lastkey ne '') { 77 $lastkey = ''; 86 if ($lastkey ne '') { 89 $lastkey = ''; 99 $lastkey = ''; 111 $lastkey = $_; 123 if ($lastkey ne '') { 124 $conflist{$lastkey} = $lastval; 126 $lastkey = ''; [all …]
|
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/wx/widgets/ |
H A D | keyedit.cpp | 19 int key = lastkey; in OnKeyUp() 20 lastmod = lastkey = 0; in OnKeyUp() 35 if (lastkey && lastkey != wxString::npos) in OnKeyUp() 40 lastkey = val.rfind(multikey, lastkey - 1); in OnKeyUp() 43 lastkey = 0; in OnKeyUp() 46 val.resize(lastkey); in OnKeyUp() 233 for (int lastkey = len - 1; (lastkey = s.rfind(sep, lastkey)) != wxString::npos; lastkey--) in FromString() local 238 if (!lastkey) in FromString() 241 if (s[lastkey - 1] == wxT('-') || s[lastkey - 1] == wxT('+') || in FromString() 246 if (!ParseString(s.c_str() + lastkey + 1, len - lastkey - 1, mod, key)) in FromString() [all …]
|
H A D | joyedit.cpp | 287 for (int lastkey = len - 1; (lastkey = s.rfind(sep, lastkey)) != wxString::npos; lastkey--) in FromString() local 289 if (lastkey == len - 1) in FromString() 292 if (!lastkey) in FromString() 295 if (s[lastkey - 1] == wxT('-') || s[lastkey - 1] == wxT('+') || in FromString() 296 s[lastkey - 1] == sep) in FromString() 300 if (!ParseString(s.c_str() + lastkey + 1, len - lastkey - 1, mod, key, joy)) in FromString() 305 len = lastkey; in FromString()
|
/dports/lang/expect/expect5.45.4/example/ |
H A D | autoexpect | 79 global userbuf lastkey 83 set lastkey $c 92 if {$lastkey == ""} { 103 sendcmd "$lastkey" 109 set lastkey "" 119 if {$lastkey == ""} { 133 if {$c == $lastkey} { 136 set lastkey "" 149 set lastkey "" 159 set lastkey "" [all …]
|
/dports/devel/p5-MooseX-App/MooseX-App-1.42/lib/MooseX/App/ |
H A D | ParsedArgv.pm | 118 my $lastkey; 137 undef $lastkey; 155 $lastkey = $options{$flag}; 161 undef $lastkey; 203 $lastkey = $options{$key}; 208 undef $lastkey; 215 if (defined $lastkey) { 219 undef $lastkey; 225 $lastkey->add_value( 234 undef $lastkey; [all …]
|
/dports/databases/redis-devel/redis-0e5b813/tests/unit/moduleapi/ |
H A D | keyspecs.tcl | 8 …ype range spec {lastkey 0 keystep 1 limit 0}}} {flags write begin_search {type index spec {index 2… 13 …spec {lastkey 0 keystep 1 limit 0}}} {flags write begin_search {type keyword spec {keyword STORE s… 18 …lastkey 0 keystep 1 limit 0}}} {flags read begin_search {type index spec {index 1}} find_keys {typ…
|
/dports/sysutils/cfengine317/cfengine-3.17.0/tests/acceptance/01_vars/02_functions/ |
H A D | mergedata.cf | 32 "load5[lastkey!]" slist => {}; 62 "expected_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 67 …"expected_1_5" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 77 …"expected_3_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 82 "expected_4_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 83 …"expected_5_1" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 85 …"expected_5_3" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 86 "expected_5_4" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 87 "expected_5_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 93 …"expected_wrapped_key_5" string => '{"wrapkey":{"anotherkey":"anothervalue","lastkey!":[],"mykey":… [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/tests/acceptance/01_vars/02_functions/ |
H A D | mergedata.cf | 32 "load5[lastkey!]" slist => {}; 62 "expected_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 67 …"expected_1_5" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 77 …"expected_3_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 82 "expected_4_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 83 …"expected_5_1" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 85 …"expected_5_3" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 86 "expected_5_4" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 87 "expected_5_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 93 …"expected_wrapped_key_5" string => '{"wrapkey":{"anotherkey":"anothervalue","lastkey!":[],"mykey":… [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/tests/acceptance/01_vars/02_functions/ |
H A D | mergedata.cf | 32 "load5[lastkey!]" slist => {}; 62 "expected_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 67 …"expected_1_5" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 77 …"expected_3_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 82 "expected_4_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 83 …"expected_5_1" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 85 …"expected_5_3" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 86 "expected_5_4" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 87 "expected_5_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 93 …"expected_wrapped_key_5" string => '{"wrapkey":{"anotherkey":"anothervalue","lastkey!":[],"mykey":… [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/acceptance/01_vars/02_functions/ |
H A D | mergedata.cf | 32 "load5[lastkey!]" slist => {}; 62 "expected_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 67 …"expected_1_5" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 77 …"expected_3_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 82 "expected_4_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 83 …"expected_5_1" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 85 …"expected_5_3" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 86 "expected_5_4" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 87 "expected_5_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 93 …"expected_wrapped_key_5" string => '{"wrapkey":{"anotherkey":"anothervalue","lastkey!":[],"mykey":… [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/acceptance/01_vars/02_functions/ |
H A D | mergedata.cf | 32 "load5[lastkey!]" slist => {}; 62 "expected_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 67 …"expected_1_5" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 77 …"expected_3_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 82 "expected_4_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 83 …"expected_5_1" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 85 …"expected_5_3" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 86 "expected_5_4" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 87 "expected_5_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 93 …"expected_wrapped_key_5" string => '{"wrapkey":{"anotherkey":"anothervalue","lastkey!":[],"mykey":… [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/acceptance/01_vars/02_functions/ |
H A D | mergedata.cf | 32 "load5[lastkey!]" slist => {}; 62 "expected_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 67 …"expected_1_5" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 77 …"expected_3_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 82 "expected_4_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 83 …"expected_5_1" string => '{"0":1,"1":2,"2":3,"anotherkey":"anothervalue","lastkey!":[],"mykey":["m… 85 …"expected_5_3" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"],"x":"y"}'; 86 "expected_5_4" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 87 "expected_5_5" string => '{"anotherkey":"anothervalue","lastkey!":[],"mykey":["myvalue"]}'; 93 …"expected_wrapped_key_5" string => '{"wrapkey":{"anotherkey":"anothervalue","lastkey!":[],"mykey":… [all …]
|
/dports/emulators/atari800/atari800-3.1.0/src/ |
H A D | joycfg.c | 294 int lastkey; in choosekey() local 312 lastkey=buffer[lo++]; in choosekey() 315 bad=(lastkey>=59 && lastkey<=68) || lastkey==87 || lastkey==88 || lastkey==167 in choosekey() 316 || lastkey==183 || lastkey==70 || lastkey==197; in choosekey() 317 }while ((lastkey&0xff00) || *keynames[lastkey&0xff]=='?' || *keynames[lastkey&0xff]=='#' || bad); in choosekey() 318 newval=lastkey&0xff; in choosekey() 328 lastkey=buffer[lo++]; in choosekey() 330 }while(!(lastkey&0xff00)); in choosekey()
|
/dports/games/rottdc/rottdc-1.0-2/rott/ |
H A D | rt_str.c | 784 int lastkey; in US_LineInput() local 811 lastkey = getASCII (); in US_LineInput() 840 lastkey = key_None; in US_LineInput() 852 lastkey = key_None; in US_LineInput() 865 lastkey = key_None; in US_LineInput() 876 lastkey = key_None; in US_LineInput() 885 lastkey = key_None; in US_LineInput() 941 if (lastkey) in US_LineInput() 1077 int lastkey; in US_lineinput() local 1105 lastkey = getASCII (); in US_lineinput() [all …]
|
/dports/textproc/bib2html/bib2ml/src/Bib2HTML/Generator/ |
H A D | Lang.pm | 164 my $lastkey = undef; 166 if ($lastkey) { 171 $defs{"$lastkey"} .= replace_function_calls("$line"); 176 $defs{"$lastkey"} .= replace_function_calls("$line"); 177 $lastkey = undef; 185 $lastkey = $key;
|
/dports/net-im/centerim/centerim-4.22.10/kkconsui/src/ |
H A D | textinputline.cc | 123 lastkey = getkey(); in exec() 125 if(!keymove(lastkey)) in exec() 126 switch(lastkey) { in exec() 185 if((lastkey > 31) && (lastkey < 256)) { in exec() 187 value = string(1, (char) lastkey); in exec() 190 value.insert(position++, string(1, (char) lastkey)); in exec() 242 return lastkey; in getlastkey()
|
/dports/games/openbor4432/openbor-ba1eb4f/engine/dc/ |
H A D | control.c | 15 static int lastkey[4]; variable 82 ret[i] = lastkey[i]; in keyboard_getlastkey() 83 lastkey[i] = 0; in keyboard_getlastkey() 104 unsigned port0=lastkey[0]; in control_scankey() 105 unsigned port1=lastkey[1]; in control_scankey() 106 unsigned port2=lastkey[2]; in control_scankey() 107 unsigned port3=lastkey[3]; in control_scankey() 200 return lastkey[port] = btns; in getPad()
|
/dports/games/openbor3482/openbor-2c1ecd7/engine/dc/ |
H A D | control.c | 15 static int lastkey[4]; variable 82 ret[i] = lastkey[i]; in keyboard_getlastkey() 83 lastkey[i] = 0; in keyboard_getlastkey() 104 unsigned port0=lastkey[0]; in control_scankey() 105 unsigned port1=lastkey[1]; in control_scankey() 106 unsigned port2=lastkey[2]; in control_scankey() 107 unsigned port3=lastkey[3]; in control_scankey() 200 return lastkey[port] = btns; in getPad()
|