Searched refs:device (Results 51 - 75 of 1357) sorted by relevance

1234567891011>>

/external/swiftshader/src/D3D9/
H A DDirect3DVertexShader9.cpp22 Direct3DVertexShader9::Direct3DVertexShader9(Direct3DDevice9 *device, const unsigned long *shaderToken) : device(device), vertexShader(shaderToken) argument
45 CriticalSection cs(device);
77 long Direct3DVertexShader9::GetDevice(IDirect3DDevice9 **device) argument
79 CriticalSection cs(this->device);
83 if(!device)
88 this->device->AddRef();
89 *device = this->device;
[all...]
H A DDirect3DPixelShader9.hpp31 Direct3DPixelShader9(Direct3DDevice9 *device, const unsigned long *shaderToken);
41 long __stdcall GetDevice(IDirect3DDevice9 **device);
49 Direct3DDevice9 *const device; member in class:D3D9::Direct3DPixelShader9
H A DDirect3DVertexShader9.hpp31 Direct3DVertexShader9(Direct3DDevice9 *device, const unsigned long *shaderToken);
41 long __stdcall GetDevice(IDirect3DDevice9 **device);
49 Direct3DDevice9 *const device; member in class:D3D9::Direct3DVertexShader9
/external/chromium-trace/catapult/devil/devil/android/sdk/
H A Dsplit_select.py33 def _SplitConfig(device, allow_cached_props=False):
34 """Returns a config specifying which APK splits are required by the device.
37 device: A DeviceUtils object.
38 allow_cached_props: Whether to use cached values for device properties.
41 (device.GetLanguage(cache=allow_cached_props),
42 device.GetCountry(cache=allow_cached_props),
43 device.screen_density,
44 device.product_cpu_abi))
47 def SelectSplits(device, base_apk, split_apks, allow_cached_props=False):
48 """Determines which APK splits the device require
[all...]
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
H A Dsplit_select.py33 def _SplitConfig(device, allow_cached_props=False):
34 """Returns a config specifying which APK splits are required by the device.
37 device: A DeviceUtils object.
38 allow_cached_props: Whether to use cached values for device properties.
41 (device.GetLanguage(cache=allow_cached_props),
42 device.GetCountry(cache=allow_cached_props),
43 device.screen_density,
44 device.product_cpu_abi))
47 def SelectSplits(device, base_apk, split_apks, allow_cached_props=False):
48 """Determines which APK splits the device require
[all...]
/external/ltp/testcases/kernel/fs/dmapi/
H A Druntest_off.sh26 ./event_sn -loglevel 4 -termlevel 4 -logname event_sn.log -mtpt /dmtest -device /dev/hda7
27 ./event_sd -loglevel 4 -termlevel 4 -logname event_sd.log -mtpt /dmtest -device /dev/hda7
28 ./event_an -loglevel 4 -termlevel 4 -logname event_an.log -mtpt /dmtest -device /dev/hda7
32 ./pmr_pre -loglevel 4 -termlevel 4 -logname pmr_pre.log -mtpt /dmtest -device /dev/hda7
33 ./pmr_post -loglevel 4 -termlevel 4 -logname pmr_post.log -mtpt /dmtest -device /dev/hda7
34 ./event_am -loglevel 4 -termlevel 4 -logname event_am.log -mtpt /dmtest -device /dev/hda7
35 ./invis -loglevel 4 -termlevel 4 -logname invis.log -mtpt /dmtest -device /dev/hda7
36 ./event_us -loglevel 4 -termlevel 4 -logname event_us.log -mtpt /dmtest -device /dev/hda7
37 ./disp -loglevel 4 -termlevel 4 -logname disp.log -mtpt /dmtest -device /dev/hda7
38 ./objref -loglevel 4 -termlevel 4 -logname objref.log -mtpt /dmtest -device /de
[all...]
/external/autotest/server/site_tests/bluetooth_AdapterPairing/
H A Dbluetooth_AdapterPairing.py6 HID device.
19 """Server side bluetooth adapter pairing and connecting to bluetooth device
22 pair and connect to a bluetooth HID device correctly.
37 """Running Bluetooth adapter tests about pairing to a device.
40 @param device_type : the bluetooth HID device type, e.g., 'MOUSE'
43 @param pairing_twice: True if the host tries to pair the device
44 again after the paired device is removed.
56 # Get the device object and query some important properties.
57 device = self.get_device(device_type)
65 # Test if the adapter could discover the target device
[all...]
/external/autotest/server/site_tests/bluetooth_Sanity_Discovery/
H A Dbluetooth_Sanity_Discovery.py25 @return True if device has been found, False otherwise.
29 devices = self.device.get_devices()
34 for device in devices:
36 if self.address == device['Address']:
38 device.get('RSSI'))
42 if device.get('Name') != device['Alias']:
45 if self.name != device['Alias']:
48 '"%s" != "%s"' % (device['Alias'],
50 # Found the device
[all...]
/external/libmtp/examples/
H A Dgetplaylist.c3 * Example program that lists the abstract playlists on the device.
26 static uint32_t dump_playlist(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) argument
35 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]);
41 LIBMTP_Dump_Errorstack(device);
42 LIBMTP_Clear_Errorstack(device);
51 LIBMTP_mtpdevice_t *device; local
75 device = LIBMTP_Get_First_Device();
76 if (device == NULL) {
77 printf("No devices. Connect/replug device and try again.\n");
81 playlist = LIBMTP_Get_Playlist(device,i
[all...]
H A Dplaylists.c3 * Example program to list the playlists on a device.
25 static void dump_plinfo(LIBMTP_mtpdevice_t *device, LIBMTP_playlist_t *pl) argument
38 track = LIBMTP_Get_Trackmetadata(device, pl->tracks[i]);
44 LIBMTP_Dump_Errorstack(device);
45 LIBMTP_Clear_Errorstack(device);
52 LIBMTP_mtpdevice_t *device; local
58 device = LIBMTP_Get_First_Device();
59 if (device == NULL) {
65 playlists = LIBMTP_Get_Playlist_List(device);
72 dump_plinfo(device, p
[all...]
/external/autotest/client/site_tests/audio_AlsaAPI/
H A Daudio_AlsaAPI.py18 # A dict of list of (card, device) to be skipped on some boards.
19 # Chell's HDMI device hw:0,4 can not be used without being plugged.
20 # Also, its HDMI device hw:0,5 and hw:0,6 are dummy devices.
39 device = 'hw:%s,%s' % (card_index, device_index)
40 method(device)
46 @param card_device: A tuple of (card index, device index).
48 @returns: True if the device should be skipped. False otherwise.
56 """Finds playback devices in sound device directory.
58 @raises: error.TestError if there is no playback device.
68 raise error.TestError('There is no playback device')
[all...]
/external/clang/test/OpenMP/
H A Dtarget_parallel_for_device_messages.cpp14 #pragma omp target parallel for device // expected-error {{expected '(' after 'device'}}
16 #pragma omp target parallel for device ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp target parallel for device () // expected-error {{expected expression}}
20 #pragma omp target parallel for device (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
22 #pragma omp target parallel for device (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target parallel for' are ignored}}
24 #pragma omp target parallel for device (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
26 #pragma omp target parallel for device (argc + argc)
28 #pragma omp target parallel for device (argc), device (arg
[all...]
H A Dtarget_parallel_for_simd_device_messages.cpp14 #pragma omp target parallel for simd device // expected-error {{expected '(' after 'device'}}
16 #pragma omp target parallel for simd device ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
18 #pragma omp target parallel for simd device () // expected-error {{expected expression}}
20 #pragma omp target parallel for simd device (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
22 #pragma omp target parallel for simd device (argc)) // expected-warning {{extra tokens at the end of '#pragma omp target parallel for simd' are ignored}}
24 #pragma omp target parallel for simd device (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
26 #pragma omp target parallel for simd device (argc + argc)
28 #pragma omp target parallel for simd device (argc), device (arg
[all...]
/external/autotest/client/cros/scripts/
H A Ddevice19 print cmd, 'get-property <devname> [propname] - List device property.'
25 def set_device_property(device, property_key, value):
26 """Sets a property on a device
28 @param device Interface representing a device
33 shill_proxy.ShillProxy.set_dbus_property(device, property_key, value)
37 def print_device_properties(device, property_key):
38 """Prints one or all properties on a device
40 @param device Interface representing a device
[all...]
/external/chromium-trace/catapult/devil/devil/android/
H A Ddevice_utils_test.py164 self.device = device_utils.DeviceUtils(
172 args, output, status, msg, str(self.device)))
178 msg, str(self.device)))
183 cmd, output, status, str(self.device))
192 msg, str(self.device)))
197 return (self.call.device.RunShellCommand(
206 self.assertTrue(self.device == other)
207 self.assertTrue(other == self.device)
211 self.assertTrue(self.device == other)
212 self.assertTrue(other == self.device)
[all...]
H A Dinstall_commands.py27 def Installed(device):
30 return device.PathExists(paths)
33 def InstallCommands(device):
34 if device.IsUserBuild():
37 device_serial=device.adb.GetDeviceSerial())
45 device.RunShellCommand(
51 device.WriteFile(shell_file, shell_command)
52 device.RunShellCommand(
55 device.adb.Push(
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkRefUtil.cpp32 VkDevice device,
38 VK_CHECK(vk.createGraphicsPipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object));
39 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator));
43 VkDevice device,
49 VK_CHECK(vk.createComputePipelines(device, pipelineCache, 1u, pCreateInfo, pAllocator, &object));
50 return Move<VkPipeline>(check<VkPipeline>(object), Deleter<VkPipeline>(vk, device, pAllocator));
53 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo) argument
57 VK_CHECK(vk.allocateCommandBuffers(device, pAllocateInfo, &object));
58 return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool));
61 Move<VkDescriptorSet> allocateDescriptorSet (const DeviceInterface& vk, VkDevice device, cons argument
31 createGraphicsPipeline(const DeviceInterface& vk, VkDevice device, VkPipelineCache pipelineCache, const VkGraphicsPipelineCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) argument
42 createComputePipeline(const DeviceInterface& vk, VkDevice device, VkPipelineCache pipelineCache, const VkComputePipelineCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) argument
[all...]
H A DvkRefUtil.hpp35 VkDevice device,
40 VkDevice device,
44 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo);
45 Move<VkDescriptorSet> allocateDescriptorSet (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo);
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dcontext.hpp27 #include "core/device.hpp"
36 const std::vector<clover::device *> &devs);
39 bool has_device(clover::device *dev) const;
45 const std::vector<clover::device *> devs;
/external/openssh/
H A Dauth-chall.c44 static KbdintDevice *device; variable
59 device = devices[0]; /* we always use the 1st device for protocol 1 */
60 if (device == NULL)
62 if ((authctxt->kbdintctxt = device->init_ctx(authctxt)) == NULL)
64 if (device->query(authctxt->kbdintctxt, &name, &info,
66 device->free_ctx(authctxt->kbdintctxt);
89 if (device == NULL)
94 switch (device->respond(authctxt->kbdintctxt, 1, resp)) {
99 if ((device
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
H A Drule-tracer.rb19 attr_accessor :spaces_per_indent, :device
25 @device = options[ :device ] || options[ :output ] || $stderr
31 @device.print( ' ' * indent, ARROW_IN, name )
34 @device.puts( " look = %p" % input_symbol )
35 else @device.print( "\n" )
46 @device.print( ' ' * indent, ARROW_OUT, name )
49 @device.puts( " look = %p" % input_symbol )
50 else @device.print( "\n" )
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
H A Dandroid_prebuilt_profiler_helper.py21 def InstallOnDevice(device, profiler_binary):
22 arch_name = device.GetABI()
30 device.PushChangedFiles([(host_path, device_binary_path)])
31 device.RunShellCommand(
/external/gptfdisk/
H A Dfixparts.cc27 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...]
/external/libdrm/tests/kms/
H A Dlibkms-test-plane.c35 struct kms_device *device = plane->device; local
40 p = drmModeGetPlane(device->fd, plane->id);
46 for (i = 0; i < device->num_crtcs; i++) {
48 p->crtc_id = device->crtcs[i]->id;
54 for (i = 0; i < device->num_crtcs; i++) {
55 if (device->crtcs[i]->id == p->crtc_id) {
56 plane->crtc = device->crtcs[i];
72 props = drmModeObjectGetProperties(device->fd, plane->id,
80 prop = drmModeGetProperty(device
94 kms_plane_create(struct kms_device *device, uint32_t id) argument
118 struct kms_device *device = plane->device; local
[all...]
H A Dlibkms-test-screen.c35 struct kms_device *device = screen->device; local
38 con = drmModeGetConnector(device->fd, screen->id);
56 struct kms_screen *kms_screen_create(struct kms_device *device, uint32_t id) argument
64 screen->device = device;
83 struct kms_device *device = screen->device; local
86 err = drmModeSetCrtc(device->fd, crtc->id, fb->id, 0, 0, &screen->id,

Completed in 658 milliseconds

1234567891011>>