Lines Matching refs:device_index
35 uint32_t device_index = unsignedNegOne; member
46 options->device_index = 0; in ParseOptions()
55 int result = sscanf(arg2.c_str(), "%u", &options->device_index); in ParseOptions()
57 options->device_index = -1; in ParseOptions()
71 if (options->instance && (options->device_index != unsignedNegOne || in ParseOptions()
77 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { in ParseOptions()
88 options->device_index == unsignedNegOne && options->device_name.empty()) { in ParseOptions()
99 if (options.device_index != unsignedNegOne) { in Dump()
100 if (static_cast<uint32_t>(options.device_index) >= in Dump()
102 std::cerr << "Error: device " << options.device_index in Dump()
107 out_device = &instance.devices[options.device_index]; in Dump()
161 if (options.instance || options.device_index != unsignedNegOne || in main()
166 options.device_index = i; in main()