Lines Matching defs:in
10 * Redistribution and use in source and binary forms, with or without
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
323 * insert mode characters are in the normal keymap, and command mode
324 * in the extended keymap.
1122 map_print_key(EditLine *el, el_action_t *map, const Char *in)
1127 if (in[0] == '\0' || in[1] == '\0') {
1128 (void) keymacro__decode_str(in, outbuf, sizeof(outbuf), "");
1131 if (bp->func == map[(unsigned char) *in]) {
1137 keymacro_print(el, in);
1251 const Char *in = NULL;
1314 in = argv[argc++];
1315 else if ((in = parse__string(inbuf, argv[argc++])) == NULL) {
1317 "" FSTR ": Invalid \\ or ^ in instring.\n",
1323 (void) terminal_clear_arrow(el, in);
1326 if (in[1])
1327 (void) keymacro_delete(el, in);
1328 else if (map[(unsigned char) *in] == ED_SEQUENCE_LEAD_IN)
1329 (void) keymacro_delete(el, in);
1331 map[(unsigned char) *in] = ED_UNASSIGNED;
1336 terminal_print_arrow(el, in);
1338 map_print_key(el, map, in);
1353 "" FSTR ": Invalid \\ or ^ in outstring.\n", argv[0]);
1357 terminal_set_arrow(el, in, keymacro_map_str(el, out), ntype);
1359 keymacro_add(el, in, keymacro_map_str(el, out), ntype);
1360 map[(unsigned char) *in] = ED_SEQUENCE_LEAD_IN;
1371 terminal_set_arrow(el, in, keymacro_map_cmd(el, cmd), ntype);
1373 if (in[1]) {
1374 keymacro_add(el, in, keymacro_map_cmd(el, cmd), ntype);
1375 map[(unsigned char) *in] = ED_SEQUENCE_LEAD_IN;
1377 keymacro_clear(el, map, in);
1378 map[(unsigned char) *in] = (el_action_t)cmd;