/external/skia/gn/ |
push_to_android.py | 13 device = '/data/local/tmp/' + os.path.basename(host) variable 18 subprocess.check_output(['adb'] + restrict + ['push', host, device]) 19 subprocess.check_call(['adb'] + restrict + ['shell', 'chmod', '+x', device])
|
/external/skqp/gn/ |
push_to_android.py | 13 device = '/data/local/tmp/' + os.path.basename(host) variable 18 subprocess.check_output(['adb'] + restrict + ['push', host, device]) 19 subprocess.check_call(['adb'] + restrict + ['shell', 'chmod', '+x', device])
|
/external/libchrome/device/bluetooth/ |
bluetooth_advertisement.cc | 5 #include "device/bluetooth/bluetooth_advertisement.h" 7 namespace device { namespace 34 } // namespace device
|
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/ |
benchmarking.py | 27 def device(use_gpu=False): function 28 """TensorFlow device to assign ops to.""" 30 return ops.device("/gpu:0") 31 return ops.device("/cpu:0")
|
/build/make/core/ |
device.mk | 22 define dump-device 30 $(foreach p,$(DEVICES),$(call dump-device,$(p))) 34 # $(1): device to inherit 36 define inherit-device 42 # $(1): device makefile list 51 # $(1): short device name like "sooner" 53 define _resolve-short-device-name 65 $(error No matches for device "$(dn)"), \ 66 $(error Device "$(dn)" ambiguous: matches $(d)) \ 72 # $(1): short device name like "sooner [all...] |
/external/libmtp/examples/ |
format.c | 3 * Example program that formats the device storage. 51 LIBMTP_mtpdevice_t *device; local 57 device = LIBMTP_Get_First_Device(); 58 if (device == NULL) { 63 printf("I will now format your device. This means that\n"); 69 ret = LIBMTP_Format_Storage(device, device->storage); 76 printf("Failed to format device.\n"); 77 LIBMTP_Dump_Errorstack(device); 78 LIBMTP_Clear_Errorstack(device); [all...] |
reset.c | 3 * Example program that resets the device. 51 LIBMTP_mtpdevice_t *device; local 57 device = LIBMTP_Get_First_Device(); 58 if (device == NULL) { 63 printf("I will now reset your device. This means that\n"); 64 printf("the device may go inactive immediately and may report errors.\n"); 67 ret = LIBMTP_Reset_Device(device); 74 printf("Failed to reset device.\n"); 75 LIBMTP_Dump_Errorstack(device); 76 LIBMTP_Clear_Errorstack(device); [all...] |
trexist.c | 3 * Example program to check if a certain track exists on the device. 33 LIBMTP_mtpdevice_t *device; local 56 device = LIBMTP_Get_First_Device(); 57 if (device == NULL) { 58 printf("No devices. Connect/replug device and try again.\n"); 62 printf("%s\n", LIBMTP_Track_Exists(device, id) ? "Yes" : "No"); 64 LIBMTP_Release_Device(device);
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
utils_test.cc | 57 DeviceNameUtils::ParsedName device; local 61 properties = GetDeviceInfo(device); 65 device.type = "CPU"; 66 properties = GetDeviceInfo(device); 70 device.type = "GPU"; 71 device.has_id = false; 72 properties = GetDeviceInfo(device); 79 device.has_id = true; 80 device.id = 0; 81 properties = GetDeviceInfo(device); [all...] |
/device/google/bonito/health/ |
BatteryInfoUpdate.cpp | 23 namespace device { namespace 40 } // namespace device
|
BatteryInfoUpdate.h | 22 namespace device { namespace 38 } // namespace device
|
/device/linaro/hikey/recovery/ |
recovery_ui.cpp | 17 #include <recovery_ui/device.h> 21 namespace device { namespace in namespace:android 43 } // namespace device 46 Device *make_device() 48 return new Device(new ::android::device::linaro::hikey::HikeyUI());
|
/external/gptfdisk/ |
cgdisk.cc | 31 string device = ""; local 39 cout << "Type device filename, or press <Enter> to exit: "; 40 device = ReadString(); 41 if (device.length() == 0) 45 device = (string) argv[1]; 49 device = (string) argv[2]; 51 device = (string) argv[1]; 67 if (theGPT.LoadPartitions(device)) { 76 Report("Could not load partitions from '" + device + "'! Aborting!");
|
fixparts.cc | 27 string device; local 33 cout << "Type device filename, or press <Enter> to exit: "; 34 device = ReadString(); 35 if (device.length() == 0) 39 device = argv[1]; 46 cout << "\nLoading MBR data from " << device << "\n"; local 47 if (!mbrTable.ReadMBRData(device)) { 48 cerr << "\nUnable to read MBR data from '" << device << "'! Exiting!\n\n"; local 61 cerr << "\nCannot find valid MBR data on '" << device << "'! Exiting!\n\n"; local 68 cerr << "\nCannot determine the validity of the disk on '" << device local [all...] |
gdisk.cc | 16 string device = ""; local 29 cout << "Type device filename, or press <Enter> to exit: "; 30 device = ReadString(); 31 if (device.length() == 0) 33 else if (theGPT.LoadPartitions(device)) { 36 theGPT.MainMenu(device); 48 device = (string) argv[2]; 50 device = (string) argv[1]; 55 if (device != "") { 57 if (theGPT.LoadPartitions(device)) [all...] |
/external/libdrm/tests/tegra/ |
openclose.c | 36 const char *device; local 40 device = default_device; 42 device = argv[1]; 44 fd = open(device, O_RDWR);
|
/external/libusb-compat/libusb/ |
usbi.h | 50 struct usb_device *device; member in struct:usb_dev_handle
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
device.hpp | 38 class device : public ref_counter, public _cl_device_id { class in namespace:clover 40 device(clover::platform &platform, pipe_loader_device *ldev); 41 ~device(); 43 device(const device &dev) = delete; 44 device & 45 operator=(const device &dev) = delete; 48 operator==(const device &dev) const;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_screen.h | 37 struct nouveau_device *device; member in struct:nouveau_screen
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowInputEvent.java | 10 protected InputDevice device; field in class:ShadowInputEvent 14 return device; 17 public void setDevice(InputDevice device) { 18 this.device = device;
|
/external/skia/src/compute/sk/ |
SkSurface_Compute.h | 90 sk_sp<SkBaseDevice> device; member in class:SkSurface_Compute
|
/external/skqp/src/compute/sk/ |
SkSurface_Compute.h | 90 sk_sp<SkBaseDevice> device; member in class:SkSurface_Compute
|
/external/swiftshader/src/D3D8/ |
Direct3DVertexDeclaration8.hpp | 29 Direct3DVertexDeclaration8(Direct3DDevice8 *device, const unsigned long *vertexElements); 43 Direct3DDevice8 *const device; member in class:D3D8::Direct3DVertexDeclaration8
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/rnn_colorbot/ |
rnn_colorbot_test.py | 29 def device(): function 30 return "/device:GPU:0" if tfe.num_gpus() else "/device:CPU:0" 56 with tf.device(device()): 65 with tf.device(device()):
|
/external/tensorflow/tensorflow/python/training/saving/ |
saveable_object.py | 61 save under this object. All Tensors must be on the same device. 75 def device(self): member in class:SaveableObject 76 """The device for SaveSpec Tensors.""" 80 # TODO(allenl): Consider another way to gather device information. Lower 85 self._device = self.specs[0].tensor.device
|