Lines Matching refs:selection1
91 int* selection1[61]; variable
122 if (selection1[selection_index] != 0) { in __test_wget_wch()
123 if (selection1[selection_index][selection_index2] != 0) { in __test_wget_wch()
124 *i = selection1[selection_index][selection_index2++]; in __test_wget_wch()
127 if (selection1[selection_index + 1] != 0) { in __test_wget_wch()
128 *i = selection1[++selection_index][selection_index2 = 0]; in __test_wget_wch()
161 if (selection1[selection_index] != 0) { in __test_wgetch()
162 if (selection1[selection_index][selection_index2] != 0) { in __test_wgetch()
163 return selection1[selection_index][selection_index2++]; in __test_wgetch()
165 if (selection1[selection_index + 1] != 0) in __test_wgetch()
166 return selection1[++selection_index][selection_index2 = 0]; in __test_wgetch()
388 selection1[i] = (int*)calloc(tmp + 2, sizeof(int)); in main()
390 for (int n = 0; n < tmp; n++) selection1[i][n] = KEY_DOWN; in main()
392 selection1[i][tmp] = '\n'; in main()
393 selection1[i][tmp + 1] = 0; in main()
395 selection1[i] = (int*)calloc(21, sizeof(int)); in main()
396 std::memcpy(selection1[i], __dir_up_data, 20 * sizeof(int)); in main()
397 selection1[i][20] = 0; in main()
401 selection1[60] = 0; in main()
426 for (int i = 0; i < 30; i++) std::free(selection1[i]); in main()