Home
last modified time | relevance | path

Searched refs:input_code (Results 1 – 25 of 144) sorted by relevance

123456

/dports/emulators/mess/mame-mame0226/src/emu/
H A Dinput.h359 class input_code
363 constexpr input_code(
377 constexpr input_code(const input_code &src) noexcept = default;
457 void replace(input_code oldcode, input_code newcode) noexcept;
485 std::array<input_code, 16> m_code;
504 s32 code_value(input_code code);
506 bool code_pressed_once(input_code code);
510 input_code poll_axes();
511 input_code poll_switches();
512 input_code poll_keyboard_switches();
[all …]
H A Dinput.cpp30 constexpr input_code input_seq::end_code;
32 constexpr input_code input_seq::not_code;
33 constexpr input_code input_seq::or_code;
453 for (input_code code : m_code) in is_valid()
540 void input_seq::replace(input_code oldcode, input_code newcode) noexcept in replace()
542 for (input_code &elem : m_code) in replace()
1185 input_code code = seq[codenum]; in seq_pressed()
1241 input_code code = seq[codenum]; in seq_axis_value()
1321 input_code code = seq[codenum]; in seq_clean()
1397 input_code code = seq[codenum]; in seq_to_tokens()
[all …]
/dports/emulators/mame/mame-mame0226/src/emu/
H A Dinput.h359 class input_code
363 constexpr input_code(
377 constexpr input_code(const input_code &src) noexcept = default;
457 void replace(input_code oldcode, input_code newcode) noexcept;
485 std::array<input_code, 16> m_code;
504 s32 code_value(input_code code);
506 bool code_pressed_once(input_code code);
510 input_code poll_axes();
511 input_code poll_switches();
512 input_code poll_keyboard_switches();
[all …]
H A Dinput.cpp30 constexpr input_code input_seq::end_code;
32 constexpr input_code input_seq::not_code;
33 constexpr input_code input_seq::or_code;
453 for (input_code code : m_code) in is_valid()
540 void input_seq::replace(input_code oldcode, input_code newcode) noexcept in replace()
542 for (input_code &elem : m_code) in replace()
1185 input_code code = seq[codenum]; in seq_pressed()
1241 input_code code = seq[codenum]; in seq_axis_value()
1321 input_code code = seq[codenum]; in seq_clean()
1397 input_code code = seq[codenum]; in seq_to_tokens()
[all …]
/dports/chinese/libcangjie/libcangjie-1.3/src/
H A Dcangjie.c212 char *input_code, in cangjie_get_characters() argument
222 if (input_code == NULL || strlen(input_code) == 0 || strlen(input_code) > 5) { in cangjie_get_characters()
226 if (input_code[0] == '*' || input_code[strlen(input_code) - 1] == '*') { in cangjie_get_characters()
244 strncpy(query_code, input_code, 5); in cangjie_get_characters()
309 char *input_code, in cangjie_get_characters_by_shortcode() argument
317 if (input_code == NULL || strlen(input_code) != 1) { in cangjie_get_characters_by_shortcode()
321 query = sqlite3_mprintf(cj->shortcode_query, 0, input_code); in cangjie_get_characters_by_shortcode()
342 int ret = cangjie_char_new(&c, chchar, input_code, frequency); in cangjie_get_characters_by_shortcode()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/languages/mod_lua/
H A Dmod_lua.cpp139 if (zstr(input_code)) { in lua_parse_and_execute()
144 …while(input_code && (*input_code == ' ' || *input_code == '\n' || *input_code == '\r')) input_code in lua_parse_and_execute()
146 if (*input_code == '~') { in lua_parse_and_execute()
147 char *buff = input_code + 1; in lua_parse_and_execute()
149 } else if (!strncasecmp(input_code, "#!/lua", 6)) { in lua_parse_and_execute()
150 char *buff = input_code + 6; in lua_parse_and_execute()
153 char *args = strchr(input_code, ' '); in lua_parse_and_execute()
187 char *file = input_code, *fdup = NULL; in lua_parse_and_execute()
212 char *input_code; member
221 lua_parse_and_execute(L, lth->input_code, NULL); in lua_thread_run()
[all …]
/dports/games/sarien/sarien-0.7.0/src/core/
H A Dlzw.c101 UINT32 input_code (UINT8 **input) in input_code() function
141 lzwold = input_code(&in); /* Read in the first code */ in LZW_expand()
143 lzwnew = input_code(&in); in LZW_expand()
150 lzwold = input_code(&in); in LZW_expand()
153 lzwnew = input_code(&in); in LZW_expand()
178 lzwnew = input_code(&in); in LZW_expand()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/languages/mod_perl/
H A Dmod_perl.c80 static int perl_parse_and_execute(PerlInterpreter * my_perl, char *input_code, char *setup_code) in perl_parse_and_execute() argument
84 if (zstr(input_code)) { in perl_parse_and_execute()
96 if (*input_code == '~') { in perl_parse_and_execute()
97 char *buff = input_code + 1; in perl_parse_and_execute()
100 char *args = strchr(input_code, ' '); in perl_parse_and_execute()
127 char *file = input_code; in perl_parse_and_execute()
168 static perl_parse_and_execute(PerlInterpreter * my_perl, char *input_code, char *setup_code)
172 if (*input_code == '~') {
173 char *buff = input_code + 1;
185 argc += switch_separate_string(input_code, ' ', &argv[1], (sizeof(argv) / sizeof(argv[0])) - 1);
/dports/emulators/mess/mame-mame0226/src/frontend/mame/
H A Diptseqpoll.cpp42 input_code lastcode = m_sequence[curlen - 1]; in poll()
44 input_code newcode; in poll()
83 input_code last_nomodifier = lastcode; in poll()
142 for (input_code dummycode = KEYCODE_ENTER; INPUT_CODE_INVALID != dummycode; ) in do_start()
/dports/emulators/mame/mame-mame0226/src/frontend/mame/
H A Diptseqpoll.cpp42 input_code lastcode = m_sequence[curlen - 1]; in poll()
44 input_code newcode; in poll()
83 input_code last_nomodifier = lastcode; in poll()
142 for (input_code dummycode = KEYCODE_ENTER; INPUT_CODE_INVALID != dummycode; ) in do_start()
/dports/devel/p5-ExtUtils-XSpp/ExtUtils-XSpp-0.18/lib/ExtUtils/XSpp/Typemap/
H A Dwrapper.pm14 sub input_code { shift->{TYPEMAP}->input_code( @_ ) } subroutine
/dports/chinese/pycangjie/pycangjie-1.3/tests/
H A D__init__.py120 def run_test(self, input_code): argument
136 tmp_expected = self.run_command(self.cli_cmd+[input_code]).split("\n")
156 results = sorted(self.cj.get_characters(input_code),
/dports/textproc/R-cran-sass/sass/tests/testthat/
H A Dtest-cache.R42 input_code <- substitute(input) functionVar
44 expect_css(eval(input_code), css)
49 expect_css(eval(input_code), css, output = out_file)
55 expect_css(eval(input_code), "foo")
/dports/science/qmcpack/qmcpack-3.11.0/nexus/tests/unit/
H A Dtest_qmcpack_converter_simulations.py322 assert(sim.input_code is None)
328 assert(sim.input_code=='gamess')
335 assert(sim.input_code is None)
340 assert(sim.input_code=='pyscf')
346 assert(sim.input_code is None)
351 assert(sim.input_code=='qp')
/dports/science/qmcpack/qmcpack-3.11.0/nexus/lib/
H A Dqmcpack_converters.py565 def input_code(self): member in Convert4qmcInput
566 input_code = None
569 if input_code is not None:
570 input_code = None
573 input_code = self[k]
577 return input_code
582 return self.input_code() is not None
662 self.input_code = None
739 self.input_code = 'gamess'
761 self.input_code = 'pyscf'
[all …]
/dports/net-im/py-matrix-synapse/synapse-1.50.2/scripts-dev/
H A Dlist_url_patterns.py27 def find_patterns_in_code(input_code): argument
28 input_ast = ast.parse(input_code)
/dports/x11-wm/i3/i3-4.20.1/src/
H A Dbindings.c59 Binding *configure_binding(const char *bindtype, const char *modifiers, const char *input_code, in configure_binding() argument
64 …modifiers %s, input code %s, release %s\n", new_binding, bindtype, modifiers, input_code, release); in configure_binding()
70 new_binding->input_type = (strncasecmp(input_code, "button", (sizeof("button") - 1)) == 0 in configure_binding()
74 new_binding->symbol = sstrdup(input_code); in configure_binding()
77 if (!parse_long(input_code, &keycode, 10)) { in configure_binding()
78 ELOG("Could not parse \"%s\" as an input code, ignoring this binding.\n", input_code); in configure_binding()
201 …inding(i3_event_state_mask_t state_filtered, bool is_release, uint16_t input_code, input_type_t in… in get_binding() argument
235 xcb_keycode_t input_keycode = (xcb_keycode_t)input_code; in get_binding()
250 if (bind->keycode != input_code) { in get_binding()
/dports/x11-wm/i3-gaps/i3-4.20.1/src/
H A Dbindings.c59 Binding *configure_binding(const char *bindtype, const char *modifiers, const char *input_code, in configure_binding() argument
64 …modifiers %s, input code %s, release %s\n", new_binding, bindtype, modifiers, input_code, release); in configure_binding()
70 new_binding->input_type = (strncasecmp(input_code, "button", (sizeof("button") - 1)) == 0 in configure_binding()
74 new_binding->symbol = sstrdup(input_code); in configure_binding()
77 if (!parse_long(input_code, &keycode, 10)) { in configure_binding()
78 ELOG("Could not parse \"%s\" as an input code, ignoring this binding.\n", input_code); in configure_binding()
201 …inding(i3_event_state_mask_t state_filtered, bool is_release, uint16_t input_code, input_type_t in… in get_binding() argument
235 xcb_keycode_t input_keycode = (xcb_keycode_t)input_code; in get_binding()
250 if (bind->keycode != input_code) { in get_binding()
/dports/net/py-magic-wormhole/magic-wormhole-0.12.0/src/wormhole/
H A Dwormhole.py65 def input_code(self): member in _DelegatedWormhole
66 return self._boss.input_code()
172 def input_code(self): member in _DeferredWormhole
173 return self._boss.input_code()
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/languages/mod_v8/
H A Dmod_v8.cpp605 static int v8_parse_and_execute(switch_core_session_t *session, const char *input_code, switch_stre… in v8_parse_and_execute() argument
617 if (zstr(input_code)) { in v8_parse_and_execute()
656 private_data->input_code = input_code; in v8_parse_and_execute()
737 ptr->Init(input_code, api_stream); in v8_parse_and_execute()
759 script = input_code; in v8_parse_and_execute()
1316 …ion(stream, "input_code: %s\n", (private_data->input_code[0] == '~' ? "inline" : private_data->inp… in SWITCH_STANDARD_API()
1334 …input_code", cJSON_CreateString((private_data->input_code[0] == '~' ? "inline" : private_data->inp… in SWITCH_STANDARD_API()
1346 …>write_function(stream, "%s%s", (private_data->input_code[0] == '~' ? "inline" : private_data->inp… in SWITCH_STANDARD_API()
1388 …switch_xml_set_txt_d(xml_field, (private_data->input_code[0] == '~' ? "inline" : private_data->inp… in SWITCH_STANDARD_API()
/dports/x11-wm/i3/i3-4.20.1/i3bar/src/
H A Dconfig.c86 …e binding for input_code = %d already has a command. This is a bug in i3.\n", binding->input_code); in config_string_cb()
162 binding->input_code = 4; in config_string_cb()
173 binding->input_code = 5; in config_string_cb()
323 binding->input_code = val; in config_integer_cb()
/dports/x11-wm/i3-gaps/i3-4.20.1/i3bar/src/
H A Dconfig.c86 …e binding for input_code = %d already has a command. This is a bug in i3.\n", binding->input_code); in config_string_cb()
162 binding->input_code = 4; in config_string_cb()
173 binding->input_code = 5; in config_string_cb()
323 binding->input_code = val; in config_integer_cb()
/dports/emulators/qemu60/qemu-6.0.0/scripts/
H A Dblock-coroutine-wrapper.py149 def gen_wrappers(input_code: str) -> str:
151 for func in func_decl_iter(input_code):
/dports/emulators/qemu5/qemu-5.2.0/scripts/
H A Dblock-coroutine-wrapper.py149 def gen_wrappers(input_code: str) -> str:
151 for func in func_decl_iter(input_code):
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/scripts/
H A Dblock-coroutine-wrapper.py150 def gen_wrappers(input_code: str) -> str:
152 for func in func_decl_iter(input_code):

123456