/external/swiftshader/src/OpenGL/libGLESv2/ |
Query.cpp | 65 Device *device = getDevice(); local 68 device->addQuery(mQuery); 73 device->setOcclusionEnabled(true); 76 device->setTransformFeedbackQueryEnabled(true); 90 Device *device = getDevice(); local 93 device->removeQuery(mQuery); 98 device->setOcclusionEnabled(false); 101 device->setTransformFeedbackQueryEnabled(false) [all...] |
/external/syslinux/gpxe/src/drivers/nvs/ |
spi.c | 33 * Munge SPI device address into command 37 * @v munge_address Device requires address munging 52 * Wait for SPI device to complete operation 54 * @v device SPI device 57 static int spi_wait ( struct spi_device *device ) { 58 struct spi_bus *bus = device->bus; 65 if ( ( rc = bus->rw ( bus, device, SPI_RDSR, -1, NULL, 71 DBG ( "SPI %p timed out\n", device ); 76 * Read data from SPI device 86 struct spi_device *device = nvs_to_spi ( nvs ); local 113 struct spi_device *device = nvs_to_spi ( nvs ); local [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/ |
tf2xla_supported_ops.cc | 35 void PrintSupportedOps(const string& device, const string& regen_run) { 39 XlaOpRegistry::DeviceKernels(device, 45 std::cout << "**Supported operators for device: " << device << "**\n\n" 64 << regen_run << " --device=" << device << "\n```" << std::endl; 74 string device; local 76 {"device", &device, 77 "Name of the compilation device for which to print supported ops, [all...] |
/external/tensorflow/tensorflow/contrib/tpu/profiler/ |
trace_events_to_json.cc | 34 // Adds resource events for a single device. 56 void AddDeviceMetadata(const std::map<uint32, const Device *> &devices, 60 const Device &device = *pair.second; local 61 if (!device.name().empty()) { 66 AppendEscapedName(json, device.name()); 73 // Convert to a std::map so that devices are sorted by the device id. 75 for (const auto &pair : device.resources()) { 103 // Convert to a std::map so that devices are sorted by the device id. 104 std::map<uint32, const Device *> sorted_devices [all...] |
/external/tensorflow/tensorflow/core/debug/ |
debug_gateway.cc | 71 Device* device = static_cast<Device*>(ctx->device()); local 86 // Determine if the tensor is on device (GPU) or host (CPU). 89 if ((device->name().find("GPU:") != string::npos || 90 device->name().find("SYCL:") != string::npos) && 95 // Copy device (e.g., GPU) tensor to host and when done, invoke the 98 src_tensor, "TensorCopy", device, &cpu_tensor, 103 LOG(ERROR) << "Copying of device Tensor " << node_nam [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/ |
worker_cache_partial.cc | 48 s = errors::Unavailable("No known remote device: ", device_name); 59 string device; local 61 if (!DeviceNameUtils::SplitDeviceName(device_name, &task, &device)) { 62 s = errors::InvalidArgument("Bad device name to RefreshDeviceStatus: ",
|
/external/tensorflow/tensorflow/core/kernels/ |
diag_op_gpu.cu.cc | 61 const GPUDevice& device = context->eigen_device<GPUDevice>(); local 63 GetCudaLaunchConfig(virtual_thread_count, device); 65 device.stream()>>>(diag_config.virtual_thread_count, size, 100 const GPUDevice& device = context->eigen_device<GPUDevice>(); local 103 CudaLaunchConfig diag_config = GetCudaLaunchConfig(size, device); 105 0, device.stream()>>>(diag_config.virtual_thread_count,
|
/external/tinyalsa/ |
tinypcminfo.c | 102 unsigned int device = 0; local 107 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]); 122 device = atoi(*argv); 128 printf("Info for card %u, device %u:\n", card, device); 138 params = pcm_params_get(card, device, i == 0 ? PCM_OUT : PCM_IN); 140 printf("Device does not exist.\n");
|
/external/toybox/toys/other/ |
lspci.c | 42 char *p = toybuf, *vendor = toybuf+9, *device = toybuf+18, local 57 for (fields = (char*[]){"class", "vendor", "device", 0}; *fields; fields++) { 87 if (strstart(&s, vbig ? device : vendor)) { 102 dbig ? dbig : "", device); 110 vbig ? vbig : vendor, dbig ? dbig : device);
|
nbd_client.c | 1 /* nbd-client.c - network block device client 18 usage: nbd-client [-ns] HOST PORT DEVICE 25 usage: nbd-client [-sSpn] [-b BLKSZ] [-t SECS] [-N name] HOST PORT DEVICE 32 -d DEVICE 33 -c DEVICE 44 char *host=toys.optargs[0], *port=toys.optargs[1], *device=toys.optargs[2]; local 49 nbd = xopen(device, O_RDWR); 81 // Open the device to force reread of the partition table. 83 char *s = strrchr(device, '/'); 86 sprintf(toybuf, "/sys/block/%.32s/pid", s ? s+1 : device); [all...] |
/frameworks/av/camera/ndk/impl/ |
ACameraCaptureSession.cpp | 25 ALOGV("~ACameraCaptureSession: %p notify device end of life", this); 78 ALOGE("Error: Device associated with session %p has been closed!", this); 96 ALOGE("Error: Device associated with session %p has been closed!", this); 117 ALOGE("Error: Device associated with session %p has been closed!", this); 138 ALOGE("Error: Device associated with session %p has been closed!", this); 154 ALOGE("Error: Device associated with session %p has been closed!", this); 173 ALOGE("Error: Device associated with session %p has been closed!", this); 187 sp<CameraDevice> device = mDevice.promote(); local 188 if (device == nullptr || device->isClosed()) [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioPatch.cpp | 55 std::string device; local 56 deviceToString(mPatch.sources[i].ext.device.type, device); 57 snprintf(buffer, SIZE, "%*s- Device ID %d %s\n", spaces + 2, "", 59 device.c_str()); 70 std::string device; local 71 deviceToString(mPatch.sinks[i].ext.device.type, device); 72 snprintf(buffer, SIZE, "%*s- Device ID %d %s\n", spaces + 2, "", 74 device.c_str()) [all...] |
SessionRoute.cpp | 125 audio_devices_t device = AUDIO_DEVICE_NONE; local 131 device = route->mDeviceDescriptor->type(); 132 if (!availableDevices.getDevicesFromType(device).isEmpty()) { 137 return device;
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
ScanResultTest.java | 39 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( local 46 ScanResult result = new ScanResult(device, ScanRecord.parseFromBytes(scanRecord), rssi,
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
PbapClientProfile.java | 52 // Order of this profile in device profiles list 68 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); local 69 // we may add a new device here, but generally this should not happen 70 if (device == null) { 71 Log.w(TAG, "PbapClientProfile found new device: " + nextDevice); 72 device = mDeviceManager.addDevice(mLocalAdapter, mProfileManager, nextDevice); 74 device.onProfileStateChanged(PbapClientProfile.this, BluetoothProfile.STATE_CONNECTED); 75 device.refresh(); 90 for (CachedBluetoothDevice device : cachedDevices) { 91 device.onUuidChanged() [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_UsbDescriptorParser.cpp | 34 struct usb_device* device = usb_device_open(deviceAddrStr); local 37 if (!device) { 42 int fd = usb_device_get_fd(device); 44 usb_device_close(device); 53 usb_device_close(device); 69 struct usb_device* device = usb_device_open(deviceAddrStr); local 72 if (!device) { 77 int fd = usb_device_get_fd(device); 80 usb_device_close(device); 88 usb_device_get_string_ucs2(device, stringId, 0 /*timeout*/ [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 37 public WifiP2pDevice device; field in class:WifiP2pProvDiscEvent 43 device = new WifiP2pDevice(); 71 device = new WifiP2pDevice(); 72 device.deviceAddress = tokens[1]; 81 sbuf.append(device);
|
/frameworks/rs/tests/lldb/ |
config.py | 48 '''Specify the port number that lldb-server (on the device) listens on. 50 When lldb-server is spawned on the device it will listen on this port. 56 '''Path to the lldb-server executable on the device.''' 98 def device(self): member in class:Config 99 '''Specify the device id of the device to run on. 101 When multiple devices or emulators are present, a specific device to
|
/hardware/interfaces/camera/device/3.2/default/ |
convert.cpp | 17 #define LOG_TAG "android.hardware.camera.device@3.2-convert-impl" 25 namespace device { namespace in namespace:android::hardware::camera 31 using ::android::hardware::camera::device::V3_2::BufferUsageFlags; 139 } // namespace device
|
/hardware/interfaces/camera/device/3.3/default/ |
CameraDevice.cpp | 28 namespace device { namespace in namespace:android::hardware::camera 33 using namespace ::android::hardware::camera::device; 44 sp<V3_2::implementation::CameraDeviceSession> CameraDevice::createSession(camera3_device_t* device, 47 sp<CameraDeviceSession> session = new CameraDeviceSession(device, deviceInfo, callback); 60 // End of methods from ::android::hardware::camera::device::V3_2::ICameraDevice. 64 } // namespace device
|
CameraDeviceSession.cpp | 29 namespace device { namespace in namespace:android::hardware::camera 34 camera3_device_t* device, 37 V3_2::implementation::CameraDeviceSession(device, deviceInfo, callback) { 112 } // namespace device
|
/hardware/interfaces/camera/device/3.4/default/ |
CameraDevice.cpp | 28 namespace device { namespace in namespace:android::hardware::camera 33 using namespace ::android::hardware::camera::device; 44 sp<V3_2::implementation::CameraDeviceSession> CameraDevice::createSession(camera3_device_t* device, 47 sp<CameraDeviceSession> session = new CameraDeviceSession(device, deviceInfo, callback); 60 // End of methods from ::android::hardware::camera::device::V3_2::ICameraDevice. 64 } // namespace device
|
/hardware/interfaces/graphics/composer/2.2/utils/passthrough/include/composer-passthrough/2.2/ |
HwcLoader.h | 60 hwc2_device_t* device = openDeviceWithAdapter(module, &adapted); local 61 if (!device) { 65 return hal->initWithDevice(std::move(device), !adapted) ? std::move(hal) : nullptr;
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
VtsHalNeuralnetworks.h | 60 sp<IDevice> device; member in class:android::hardware::neuralnetworks::V1_0::vts::functional::NeuralnetworksHidlTest
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
VtsHalNeuralnetworks.h | 66 sp<IDevice> device; member in class:android::hardware::neuralnetworks::V1_1::vts::functional::NeuralnetworksHidlTest
|