Home
last modified time | relevance | path

Searched refs:input_index (Results 1 – 5 of 5) sorted by relevance

/openbsd/gnu/usr.bin/binutils/gdb/
H A Devent-top.c815 int input_index = 0; in gdb_readline2() local
848 if (input_index > 0) in gdb_readline2()
859 if (input_index > 0 && result[input_index - 1] == '\r') in gdb_readline2()
860 input_index--; in gdb_readline2()
864 result[input_index++] = c; in gdb_readline2()
865 while (input_index >= result_size) in gdb_readline2()
872 result[input_index++] = '\0'; in gdb_readline2()
H A Dtop.c903 int input_index = 0; in gdb_readline() local
925 if (input_index > 0) in gdb_readline()
936 if (input_index > 0 && result[input_index - 1] == '\r') in gdb_readline()
937 input_index--; in gdb_readline()
941 result[input_index++] = c; in gdb_readline()
942 while (input_index >= result_size) in gdb_readline()
949 result[input_index++] = '\0'; in gdb_readline()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dvega20_hwmgr.c2966 uint32_t input_index; in vega20_odn_edit_dpm_table() local
2988 input_index = input[i]; in vega20_odn_edit_dpm_table()
2991 if (input_index != 0 && input_index != 1) { in vega20_odn_edit_dpm_table()
2992 pr_info("Invalid index %d\n", input_index); in vega20_odn_edit_dpm_table()
3010 if (input_index == 0) in vega20_odn_edit_dpm_table()
3031 input_index = input[i]; in vega20_odn_edit_dpm_table()
3034 if (input_index != 1) { in vega20_odn_edit_dpm_table()
3075 input_index = input[i]; in vega20_odn_edit_dpm_table()
3079 if (input_index > 2) { in vega20_odn_edit_dpm_table()
3081 input_index + 1); in vega20_odn_edit_dpm_table()
[all …]
/openbsd/gnu/usr.bin/cvs/src/
H A Dclient.c3803 size_t input_index = 0; local
3820 result[input_index++] = ch;
3821 while (input_index + 1 >= result_size)
3832 result[input_index] = '\0';
3836 return input_index;
H A DChangeLog-939584 * client.c (read_line): Change input_index and result_size to size_t.