Lines Matching defs:value
429 if (ch >= 0x100 || (direct && direct->u.n.value)) {
730 if (ch >= 0x100 || (direct && direct->u.n.value)) {
1165 static void do_handle_shift(struct vc_data *vc, u_char value, char up_flag)
1173 switch (value) {
1191 if (spk_say_ctrl && value < NUM_CTL_LABELS)
1192 synth_printf("%s", spk_msg_get(MSG_CTL_START + value));
1196 static void do_handle_latin(struct vc_data *vc, u_char value, char up_flag)
1212 spk_lastkey = value;
1215 if (spk_key_echo == 2 && value >= MINECHOCHAR)
1216 speak_char(value);
1437 jiffies + msecs_to_jiffies(cursor_timeout->u.n.value));
1512 static int pre_handle_cursor(struct vc_data *vc, u_char value, char up_flag)
1526 start_read_all_timer(vc, value + 1);
1534 static void do_handle_cursor(struct vc_data *vc, u_char value, char up_flag)
1551 is_cursor = value + 1;
1561 jiffies + msecs_to_jiffies(cursor_timeout->u.n.value));
1796 static void do_handle_spec(struct vc_data *vc, u_char value, char up_flag)
1808 switch (value) {
1834 static int inc_dec_var(u_char value)
1841 int var_id = (int)value - VAR_START;
1862 var_data->u.n.value);
2076 static void do_spkup(struct vc_data *vc, u_char value)
2078 if (spk_killed && value != SPEECH_KILL)
2083 this_speakup_key = value;
2084 if (value < SPKUP_MAX_FUNC && spkup_handler[value]) {
2086 (*spkup_handler[value]) (vc);
2088 if (inc_dec_var(value) < 0)
2102 u_char type = KTYP(keysym), value = KVAL(keysym), new_key = 0;
2119 value = pad_chars[value];
2120 spk_lastkey = value;
2132 switch (value) {
2173 value = new_key;
2186 kh = (value == KVAL(K_DOWN)) ||
2187 (value == KVAL(K_UP)) ||
2188 (value == KVAL(K_LEFT)) ||
2189 (value == KVAL(K_RIGHT));
2194 if (type == KT_SPEC && value == 1) {
2195 value = '\n';
2199 } else if (value == 0x7f) {
2200 value = 8; /* make del = backspace */
2202 ret = (*spk_special_handler) (vc, type, value, keycode);
2243 keycode = param->value;
2252 if (speakup_key(vc, param->shift, keycode, param->value, up))
2254 else if (KTYP(param->value) == KT_CUR)
2255 ret = pre_handle_cursor(vc, KVAL(param->value), up);
2258 unsigned char type = KTYP(param->value) - 0xf0;
2259 unsigned char val = KVAL(param->value);