Lines Matching refs:code
920 int code, bit; in ShowEscape() local
923 for (code = 0; code < 32; code++) in ShowEscape()
924 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape()
926 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape()
927 prompt_Printf(arg->prompt, "%s0x%02x", sep, (code << 3) + bit); in ShowEscape()
1545 int code; in SetEscape() local
1549 for (code = 0; code < 33; code++) in SetEscape()
1550 arg->cx->physical->async.cfg.EscMap[code] = 0; in SetEscape()
1553 sscanf(*argv++, "%x", &code); in SetEscape()
1554 code &= 0xff; in SetEscape()
1555 arg->cx->physical->async.cfg.EscMap[code >> 3] |= (1 << (code & 7)); in SetEscape()