/external/openssh/ |
auth2-chall.c | 84 KbdintDevice *device; member in struct:KbdintAuthctxt 133 kbdintctxt->device = NULL; 142 kbdintctxt->device->free_ctx(kbdintctxt->ctxt); 145 kbdintctxt->device = NULL; 150 if (kbdintctxt->device) 156 /* get next device */ 164 if (kbdintctxt->device) 179 kbdintctxt->device = devices[i]; 188 } while (kbdintctxt->devices && !kbdintctxt->device); 190 return kbdintctxt->device ? 1 : 0 [all...] |
/external/ppp/pppd/include/ |
pcap-int.h | 64 char *device; member in struct:pcap_md
|
/external/rmi4utils/rmihidtool/ |
main.cpp | 64 fprintf(stdout, "\t-o, --props\t\t\t\tPrint device properties\n"); 66 fprintf(stdout, "\t-m, --print-functions\t\t\tPrint RMI4 functions for the device.\n"); 67 fprintf(stdout, "\t-b, --rebind-driver\t\t\tRebind the driver to force an update of device properties.\n"); 68 fprintf(stdout, "\t-d, --device-info\t\t\tPrint protocol specific information about the device.\n"); 69 fprintf(stdout, "\t-e, --reset-device\t\t\tReset the device.\n"); 111 void interactive(RMIDevice * device, unsigned char *report) 131 if (device->SetMode(mode)) { 149 rc = device->Read(addr, report, len) 204 RMIDevice *device; local [all...] |
/external/skia/src/compute/skc/platforms/cl_12/ |
config_cl.h | 31 } device; // alignment determined by device member in struct:skc_config::__anon37979
|
/external/skia/tests/ |
VkPriorityExtensionTest.cpp | 17 #define ACQUIRE_VK_PROC_NOCHECK(name, instance, device) \ 18 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)) 20 #define ACQUIRE_VK_PROC(name, instance, device) \ 22 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \ 25 if (device != VK_NULL_HANDLE) { \ 32 #define ACQUIRE_VK_PROC_LOCAL(name, instance, device) \ 34 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \ 41 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device) 58 VkInstance instance, VkDevice device) { 91 VkDevice device; local [all...] |
/external/skqp/src/compute/skc/platforms/cl_12/ |
config_cl.h | 31 } device; // alignment determined by device member in struct:skc_config::__anon38782
|
/external/skqp/tests/ |
VkPriorityExtensionTest.cpp | 17 #define ACQUIRE_VK_PROC_NOCHECK(name, instance, device) \ 18 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)) 20 #define ACQUIRE_VK_PROC(name, instance, device) \ 22 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \ 25 if (device != VK_NULL_HANDLE) { \ 32 #define ACQUIRE_VK_PROC_LOCAL(name, instance, device) \ 34 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \ 41 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device) 58 VkInstance instance, VkDevice device) { 91 VkDevice device; local [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
BluetoothA2dpSinkFacade.java | 68 * @param device - the Bluetooth Device object to connect. 71 public Boolean a2dpSinkConnect(BluetoothDevice device) { 73 return sA2dpSinkProfile.connect(device); 78 * @param device - the Bluetooth Device object to connect. 81 public Boolean a2dpSinkDisconnect(BluetoothDevice device) { 83 return sA2dpSinkProfile.disconnect(device); 88 * @param deviceStr - Mac address of a Bluetooth device. 93 @RpcParameter(name = "device", description = "Mac address of a BT device." 162 BluetoothDevice device = null; local 198 BluetoothDevice device; local [all...] |
BluetoothHfpClientFacade.java | 71 * @param device - the BluetoothDevice object to connect Hfp client. 74 public Boolean hfpClientConnect(BluetoothDevice device) { 76 return sHfpClientProfile.connect(device); 81 * @param device - the BluetoothDevice object to disconnect from Hfp client. 84 public Boolean hfpClientDisconnect(BluetoothDevice device) { 86 return sHfpClientProfile.disconnect(device); 100 * @param deviceStr - Mac address of a BT device. 105 @RpcParameter(name = "device", 106 description = "Mac address of a BT device.") String deviceStr, 111 BluetoothDevice device 148 BluetoothDevice device = BluetoothFacade.getDevice( local 172 BluetoothDevice device = BluetoothFacade.getDevice( local 208 BluetoothDevice device; local [all...] |
BluetoothPbapClientFacade.java | 74 * @param device - the BluetoothDevice object to connect to. 77 public Boolean pbapClientConnect(BluetoothDevice device) { 79 return sPbapClientProfile.connect(device); 84 * @param device - the Bluetooth Device object to disconnect from. 87 public Boolean pbapClientDisconnect(BluetoothDevice device) { 89 return sPbapClientProfile.disconnect(device); 103 * @param deviceStr - name or MAC address of a Bluetooth device. 107 public void bluetoothPbapClientSetPriority(@RpcParameter(name = "device", 108 description = "Mac address of a BT device.") String deviceStr 133 BluetoothDevice device = local 151 BluetoothDevice device = local 176 BluetoothDevice device = local 212 BluetoothDevice device; local [all...] |
/external/swiftshader/src/D3D9/ |
D3D9.cpp | 197 IDirect3D9 *device = new D3D9::Direct3D9(version, dllInstance); local 199 if(device) 201 device->AddRef(); 204 return device; 207 HRESULT __stdcall Direct3DCreate9Ex(unsigned int version, IDirect3D9Ex **device) 218 *device = new D3D9::Direct3D9Ex(version, dllInstance); 220 if(device) 222 (*device)->AddRef();
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_runner.cc | 294 int64 device = (*device_assignment)(i, 0); local 296 backend().stream_executor(device)); 300 device, streams.back().get(), device_assignment)); 302 // Copy arguments to device. 307 argument->shape(), backend().memory_allocator(), device)); 330 int64 device = (*device_assignment)(i, 0); local 331 pool->Schedule([this, device, &options]() { 333 backend().stream_executor(device).ValueOrDie(); 334 VLOG(1) << "Starting infeed on device " << device; 348 int64 device = (*device_assignment)(i, 0); local [all...] |
/external/tensorflow/tensorflow/contrib/rnn/kernels/ |
gru_ops.cc | 27 template <typename Device, typename T, bool USE_CUBLAS> 148 const Device& device = ctx->eigen_device<Device>(); variable 150 functor::GRUBlockCellFprop<Device, T, USE_CUBLAS>(batch_size, input_size, 152 ctx, device, x_tensor->matrix<T>(), h_prev_tensor->matrix<T>(), 164 Name("GRUBlockCell").Device(DEVICE_CPU).TypeConstraint<T>("T"), \ 170 template <typename Device, typename T, bool USE_CUBLAS> 356 const Device& device = ctx->eigen_device<Device>() variable [all...] |
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
kernel_and_device.h | 24 #include "tensorflow/core/common_runtime/device.h" 46 // KernelAndDeviceOp below) or a multi-device function (implemented by 61 // Non-multi-device functions are run using regular CallOp and look like 63 // `flr` can be nullptr if the operation is not run on any specific device 64 // (currently can happen only for multi-device functions). 69 Device* host_cpu_device) 70 : device_(flr == nullptr ? nullptr : flr->device()), 92 virtual Device* InputDevice(int i) const = 0; 93 virtual Device* OutputDevice(int idx) const = 0; 94 // If idx'th output is a resource, returns the device backing the resource 107 Device* device() const { return device_; } function in class:tensorflow::KernelAndDevice [all...] |
/external/tensorflow/tensorflow/core/common_runtime/sycl/ |
sycl_device.h | 39 for (const auto& device : device_list) { 40 if (device.is_gpu()) { 42 AddDevice(device); 53 for (const auto& device : device_list) { 54 if (device.is_cpu()) { 56 AddDevice(device); 63 << "ComputeCpp/triSYCL, checking for host sycl device"; 66 for (const auto& device : device_list) { 67 // triSYCL only supports the host device for now 68 if (device.is_host()) 172 auto device = queue_ptr->sycl_queue().get_device(); local [all...] |
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
pin_to_host_optimizer.cc | 73 for (const DeviceType& device : devices) { 75 Status s = FindKernelDef(device, node, &kernel, nullptr); 133 // Check if op's device is on CPU. 134 if (str_util::StrContains(node.device(), DEVICE_CPU)) { 158 s = TryFindKernelDef({node.device().c_str(), DEVICE_GPU, DEVICE_CPU}, node, 180 if (str_util::StrContains(node.device(), DEVICE_CPU)) { 196 {node.device().c_str(), DEVICE_GPU, DEVICE_CPU}, node, &kernel); 223 if (str_util::StrContains(node.device(), DEVICE_CPU)) { 266 // Tries to find a Host device from `devices`. Returns empty string if no 267 // matching Host device is found 342 string device = local 357 const string& device = it.second; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
adjust_hue_op.cc | 85 template <class Device, typename T> 216 *context->device()->tensorflow_cpu_worker_threads(); 249 Name("AdjustHue").Device(DEVICE_CPU).TypeConstraint<float>("T"), 265 GPUDevice device = context->eigen_gpu_device(); variable 266 const auto stream = device.stream(); 272 functor::AdjustHueGPU<T>()(&device, number_of_elements, input_data, 280 Name("AdjustHue").Device(DEVICE_GPU).TypeConstraint<T>("T"), \
|
lu_op_gpu.cu.cc | 108 const GPUDevice& device = context->eigen_device<GPUDevice>(); variable 128 device.memcpy(packed_triangular_factors->flat<Scalar>().data(), 159 // Allocate pivots on the device. 172 DoMatrixTranspose(device, *packed_triangular_factors, 216 DoMatrixTranspose(device, packed_triangular_factors_transpose, 225 CudaLaunchConfig cfgPivots = GetCudaLaunchConfig(batch_size, device); 228 device.stream()>>>( 259 .Device(DEVICE_GPU) \
|
matrix_solve_op.cc | 176 const GPUDevice& device = context->eigen_device<GPUDevice>(); variable 186 DoMatrixTranspose(device, input, &input_copy), done); 194 device.memcpy(input_copy.flat<Scalar>().data(), 202 // Allocate pivots on the device. 263 context, DoMatrixTranspose(device, rhs, &transposed_rhs), done); 265 device.memcpy(transposed_rhs.flat<Scalar>().data(), 326 context, DoMatrixTranspose(device, transposed_rhs, output), done); 328 device.memcpy(output->flat<Scalar>().data(),
|
qr_op_impl.h | 197 const GPUDevice& device = context->eigen_device<GPUDevice>(); variable 199 context, DoMatrixTranspose(device, input, &input_transposed), done); 222 context, DoMatrixTranspose(device, input_transposed, r), done); 242 band_part(context, device, 0 /* num_lower_diags */, 253 eye(device, q_reshaped); 268 conj(device, q->flat<Scalar>() /*out*/, 284 context, DoMatrixTranspose(device, input_transposed, q), done);
|
unary_ops_composition.cc | 130 const CPUDevice& device = ctx->eigen_device<CPUDevice>(); variable 135 device.parallelFor(in.NumElements(), cost, AlignBlockSize, 423 Name("_UnaryOpsComposition").Device(DEVICE_CPU).TypeConstraint<T>("T"), \
|
/external/tensorflow/tensorflow/core/util/ |
device_name_utils.cc | 58 // Returns true and fills in "*device_type" iff "*in" starts with a device type 88 // Returns a fully qualified device name given the parameters. 104 return DeviceName(job, replica, task, "/device:", type, id); 142 if (str_util::ConsumePrefix(&fullname, "/device:")) { 162 p->type = "CPU"; // Treat '/cpu:..' as uppercase '/device:CPU:...' 172 p->type = "GPU"; // Treat '/gpu:..' as uppercase '/device:GPU:...' 223 " into a device specification."); 244 " into a device " 255 strings::StrAppend(&buf, "/device:", pn.type, ":"); 426 return strings::StrCat("/device:", type, ":", id) 509 DeviceNameUtils::ParsedName device; local [all...] |
device_name_utils_test.cc | 56 strings::StrAppend(&original, "/device:", parts[3]); 57 strings::StrAppend(&expected, "/device:", parts[3]); 60 strings::StrAppend(&expected, "/device:", str_util::Uppercase(parts[3])); 70 "/job:hello/replica:1/task:2/device:CPU:3"); 76 "/job:123/replica:1/task:2/device:GPU:3", &p)); 80 "/job:123/replica:1/task:2/device:gpu:", &p)); 82 "/job:foo/replica:-1/task:2/device:GPU:3", &p)); 84 "/job:foo/replica:1/task:-2/device:GPU:3", &p)); 88 "/job:foo/replica:1/task:2/device:GPU:3/extra", &p)); 90 "/job:foo/replica:1/task:2/device:GPU:3", &p)) 353 string device; local [all...] |
/external/tinycompress/ |
cplay.c | 91 void play_samples(char *name, unsigned int card, unsigned int device, 129 int check_codec_format_supported(unsigned int card, unsigned int device, struct snd_codec *codec) 131 if (is_codec_supported(card, device, COMPRESS_IN, codec) == false) { 157 unsigned int card = 0, device = 0, frag = 0; local 179 device = strtol(optarg, NULL, 10); 193 play_samples(file, card, device, buffer_size, frag); 199 void play_samples(char *name, unsigned int card, unsigned int device, 251 compress = compress_open(card, device, COMPRESS_IN, &config); 253 fprintf(stderr, "Unable to open Compress device %d:%d\n", 254 card, device); [all...] |
/external/toybox/toys/other/ |
blkid.c | 16 Print type, label and UUID of filesystem on a block device or image. 18 -U Show UUID only (or device with that UUID) 19 -L Show LABEL only (or device with that LABEL) 27 Print type of filesystem on a block device or image. 164 char *name = toybuf, *buffer = toybuf+1024, device[32]; local 172 sprintf(device, "/dev/%.20s", name); 173 if (-1 == (fd = open(device, O_RDONLY))) { 174 if (errno != ENOMEDIUM) perror_msg_raw(device); 176 do_blkid(fd, device);
|