Lines Matching defs:ic
369 int ic;
371 ic = uc;
372 if (ic < 0 || ic >= KEYMAP_SIZE)
378 if (META_CHAR (ic) && _rl_convert_meta_chars_to_ascii)
380 ic = UNMETA (ic);
387 if (map[ic].type != ISKMAP)
396 k = map[ic];
398 map[ic].type = ISKMAP;
399 map[ic].function = KEYMAP_TO_FUNCTION (rl_make_bare_keymap());
401 map = FUNCTION_TO_KEYMAP (map, ic);
416 if (map[ic].type == ISMACR)
417 free ((char *)map[ic].function);
418 else if (map[ic].type == ISKMAP)
420 map = FUNCTION_TO_KEYMAP (map, ic);
421 ic = ANYOTHERKEY;
424 map[ic].function = KEYMAP_TO_FUNCTION (data);
425 map[ic].type = type;
702 unsigned char ic = keyseq[i];
704 if (META_CHAR (ic) && _rl_convert_meta_chars_to_ascii)
709 ic = UNMETA (ic);
722 if (map[ic].type == ISKMAP)
731 return (map[ic].function);
734 map = FUNCTION_TO_KEYMAP (map, ic);
739 else if (map[ic].type != ISKMAP && keyseq[i+1])
741 else /* map[ic].type != ISKMAP && keyseq[i+1] == 0 */
744 *type = map[ic].type;
746 return (map[ic].function);