Lines Matching defs:in
9 * Redistribution and use in source and binary forms, with or without
14 * 2. Redistributions in binary form must reproduce the above copyright
15 * notice, this list of conditions and the following disclaimer in the
64 CStr in;
131 in.buf = Strsave(v[no++]);
132 in.len = Strlen(in.buf);
136 if (parsebind(v[no++], &in) == NULL)
140 if (parsestring(v[no++], &in) == NULL)
144 cleanup_push(in.buf, xfree);
147 if (in.buf[0] > 0xFF) {
148 bad_spec(in.buf);
149 cleanup_until(in.buf);
153 ch = (uChar) in.buf[0];
157 (void) ClearArrowKeys(&in);
158 else if (in.len > 1) {
159 (void) DeleteXkey(&in);
162 (void) DeleteXkey(&in);
168 cleanup_until(in.buf);
173 PrintArrowKeys(&in);
175 printkey(map, &in);
176 cleanup_until(in.buf);
181 cleanup_until(in.buf);
188 cleanup_until(in.buf);
193 if (SetArrowKeys(&in, XmapStr(&out), ntype) == -1)
194 xprintf(CGETS(20, 2, "Bad key name: %S\n"), in.buf);
199 AddXkey(&in, XmapStr(&out), ntype);
204 cleanup_until(in.buf);
208 (void) SetArrowKeys(&in, XmapCmd((int) cmd), ntype);
210 if (in.len > 1) {
211 AddXkey(&in, XmapCmd((int) cmd), ntype);
215 ClearXkey(map, &in);
224 cleanup_until(in.buf);
230 printkey(const KEYCMD *map, CStr *in)
234 if (in->len < 2) {
237 unparsed = unparsestring(in, STRQQ);
240 if (fp->func == map[(uChar) *(in->buf)]) {
247 PrintXkey(in);
498 " -a list or bind KEY in alternative key map\n"));