Home | History | Annotate | Download | only in libutil

Lines Matching refs:code

82 int key_name_to_code(const char *code)
86 if (code[0] && !code[1]) {
88 return (unsigned char)code[0];
89 } else if (code[0] == '^' && code[1] && !code[2]) {
91 if (code[1] == '?')
94 return (unsigned char)code[1] & 0x9f;
99 if (!strcasecmp(name->string, code))