/external/vulkan-validation-layers/libs/vkjson/ |
vkjson_info.cc | 42 uint32_t device_index = unsignedNegOne; member in struct:Options 53 options->device_index = 0; 62 int result = sscanf(arg2.c_str(), "%u", &options->device_index); 64 options->device_index = -1; 78 if (options->instance && (options->device_index != unsignedNegOne || 84 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { 95 options->device_index == unsignedNegOne && options->device_name.empty()) { 106 if (options.device_index != unsignedNegOne) { 107 if (static_cast<uint32_t>(options.device_index) >= 109 std::cerr << "Error: device " << options.device_index [all...] |
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
audio_e2e_harness.cc | 75 int device_index; local 76 for (device_index = 0; device_index < num_devices; device_index++) { 77 ASSERT_EQ(0, hardware->GetPlayoutDeviceName(device_index, device_name, 85 ASSERT_EQ(0, hardware->SetPlayoutDevice(device_index));
|
/device/google/contexthub/util/nanotool/ |
nanotool.cpp | 59 int device_index = 0; member in struct:ParsedArgs 361 args->device_index = atoi(optarg); 362 if (args->device_index < 0) { 364 args->device_index); 385 return std::unique_ptr<UsbContextHub>(new UsbContextHub(args->device_index));
|
/system/connectivity/shill/shims/ |
netfilter_queue_processor.cc | 289 uint32_t NetfilterQueueProcessor::GetNetmaskForDevice(int device_index) { 292 if (if_indextoname(device_index, ifr.ifr_name) != ifr.ifr_name) { 330 int device_index, 335 (*it)->device_index == device_index && 345 int device_index, 350 (*it)->device_index == device_index && 376 int device_index = packet.in_device(); local 381 entry_ptr = FindDestination(port, device_index, address) 412 int device_index = packet.out_device(); local [all...] |
netfilter_queue_processor.h | 108 device_index(0), 120 device_index(device_index_in), 126 int device_index; member in struct:shill::shims::NetfilterQueueProcessor::ListenerEntry 148 // Return the netmask associated with |device_index|. 149 static uint32_t GetNetmaskForDevice(int device_index); 154 // Find a listener entry with port |port|, device index |device_index| 157 uint16_t port, int device_index, uint32_t address); 159 // Find a listener entry with port |port| and device index |device_index| 162 uint16_t port, int device_index, uint32_t destination);
|
/bootable/recovery/mtdutils/ |
mtdutils.c | 32 int device_index; member in struct:MtdPartition 102 p->device_index = -1; 144 p->device_index = mtdnum; 182 if (p->device_index >= 0 && p->name != NULL) { 200 sprintf(devname, "/dev/block/mtdblock%d", partition->device_index); 242 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index); 269 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index); 384 sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index);
|
/external/webrtc/webrtc/sound/ |
pulseaudiosoundsystem.cc | 318 uint32_t device_index = symbol_table()->pa_stream_get_device_index()( local 323 device_index, 343 device_index, [all...] |