Home
last modified time | relevance | path

Searched refs:device_spec (Results 1 – 25 of 177) sorted by relevance

12345678

/dports/science/py-chainer/chainer-7.8.0/chainer/
H A Dbackend.py130 if isinstance(device_spec, Device):
131 return device_spec
140 return cuda.GpuDevice(device_spec)
142 if isinstance(device_spec, six.string_types):
145 int_device_spec = int(device_spec)
151 if device_spec.startswith('@'):
182 type(device_spec)))
185 def _get_device_cupy_or_numpy(device_spec): argument
187 if device_spec >= 0:
193 def using_device(device_spec): argument
[all …]
/dports/net-mgmt/spectools/spectools-2011-08-R1/
H A Dubertooth_hw_u1.c366 phydev->device_spec->device_id = cid; in ubertooth_u1_init_path()
377 phydev->device_spec->device_version = 0x02; in ubertooth_u1_init_path()
380 phydev->device_spec->num_sweep_ranges = 1; in ubertooth_u1_init_path()
381 phydev->device_spec->supported_ranges = in ubertooth_u1_init_path()
384 phydev->device_spec->default_range = phydev->device_spec->supported_ranges; in ubertooth_u1_init_path()
395 phydev->device_spec->default_range->end_khz = in ubertooth_u1_init_path()
400 phydev->device_spec->cur_profile = 0; in ubertooth_u1_init_path()
855 phydev->device_spec->num_sweep_ranges = 1; in ubertooth_u1_setposition()
856 if (phydev->device_spec->supported_ranges) in ubertooth_u1_setposition()
857 free(phydev->device_spec->supported_ranges); in ubertooth_u1_setposition()
[all …]
H A Dwispy_hw_24x.c385 phydev->device_spec->device_id = cid; in wispy24x_usb_init_path()
396 phydev->device_spec->device_version = 0x02; in wispy24x_usb_init_path()
399 phydev->device_spec->num_sweep_ranges = 1; in wispy24x_usb_init_path()
400 phydev->device_spec->supported_ranges = in wispy24x_usb_init_path()
403 phydev->device_spec->default_range = phydev->device_spec->supported_ranges; in wispy24x_usb_init_path()
414 phydev->device_spec->default_range->end_khz = in wispy24x_usb_init_path()
419 phydev->device_spec->cur_profile = 0; in wispy24x_usb_init_path()
882 phydev->device_spec->num_sweep_ranges = 1; in wispy24x_usb_setposition()
883 if (phydev->device_spec->supported_ranges) in wispy24x_usb_setposition()
884 free(phydev->device_spec->supported_ranges); in wispy24x_usb_setposition()
[all …]
H A Dwispy_hw_dbx.c621 phydev->device_spec->device_id = cid; in wispydbx_usb_init_path()
657 phydev->device_spec->device_version = 0x03; in wispydbx_usb_init_path()
663 &phydev->device_spec->supported_ranges); in wispydbx_usb_init_path()
667 &phydev->device_spec->supported_ranges); in wispydbx_usb_init_path()
671 &phydev->device_spec->supported_ranges); in wispydbx_usb_init_path()
675 phydev->device_spec->cur_profile = 0; in wispydbx_usb_init_path()
677 phydev->device_spec->default_range = phydev->device_spec->supported_ranges; in wispydbx_usb_init_path()
1161 phydev->device_spec->cur_profile = in_profile; in wispydbx_usb_setposition()
1295 phydev->device_spec->supported_ranges[in_profile].end_khz; in wispydbx_usb_setposition()
1297 phydev->device_spec->supported_ranges[in_profile].res_hz; in wispydbx_usb_setposition()
[all …]
H A Dwispy_hw_gen1.c334 phydev->device_spec->device_id = cid; in wispy1_usb_init_path()
337 snprintf(phydev->device_spec->device_name, SPECTOOL_PHY_NAME_MAX, in wispy1_usb_init_path()
345 phydev->device_spec->device_version = 0x01; in wispy1_usb_init_path()
346 phydev->device_spec->num_sweep_ranges = 1; in wispy1_usb_init_path()
348 phydev->device_spec->supported_ranges = in wispy1_usb_init_path()
352 phydev->device_spec->supported_ranges[0].start_khz = 2400000; in wispy1_usb_init_path()
353 phydev->device_spec->supported_ranges[0].end_khz = 2484000; in wispy1_usb_init_path()
354 phydev->device_spec->supported_ranges[0].res_hz = 1000 * 1000; in wispy1_usb_init_path()
359 phydev->device_spec->supported_ranges[0].rssi_max = WISPY1_USB_RSSI_MAX; in wispy1_usb_init_path()
362 phydev->device_spec->default_range = &(phydev->device_spec->supported_ranges[0]); in wispy1_usb_init_path()
[all …]
H A Dspectool_container.c32 if (phydev->device_spec == NULL) in spectool_phy_getname()
35 return phydev->device_spec->device_name; in spectool_phy_getname()
39 if (phydev->device_spec == NULL) in spectool_phy_getdevid()
42 return phydev->device_spec->device_id; in spectool_phy_getdevid()
46 if (phydev->device_spec == NULL) in spectool_phy_setname()
49 snprintf(phydev->device_spec->device_name, SPECTOOL_PHY_NAME_MAX, "%s", name); in spectool_phy_setname()
89 return phydev->device_spec->device_flags; in spectool_phy_getflags()
366 if (phydev->device_spec->cur_profile < 0 || in spectool_phy_getcurprofile()
367 phydev->device_spec->cur_profile > phydev->device_spec->num_sweep_ranges) in spectool_phy_getcurprofile()
370 return &(phydev->device_spec->supported_ranges[phydev->device_spec->cur_profile]); in spectool_phy_getcurprofile()
H A Dspectool_net_client.c525 phyret->device_spec->device_id = sni->device_id; in spectool_netcli_enabledev()
526 phyret->device_spec->device_version = sni->device_version; in spectool_netcli_enabledev()
527 phyret->device_spec->device_flags = sni->device_flags; in spectool_netcli_enabledev()
529 phyret->device_spec->num_sweep_ranges = 1; in spectool_netcli_enabledev()
531 phyret->device_spec->supported_ranges = in spectool_netcli_enabledev()
537 phyret->device_spec->supported_ranges[0].rssi_max = sni->rssi_max; in spectool_netcli_enabledev()
540 phyret->device_spec->supported_ranges[0].end_khz = in spectool_netcli_enabledev()
543 phyret->device_spec->supported_ranges[0].res_hz = sni->res_hz; in spectool_netcli_enabledev()
545 phyret->device_spec->default_range = phyret->device_spec->supported_ranges; in spectool_netcli_enabledev()
547 phyret->device_spec->cur_profile = 0; in spectool_netcli_enabledev()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/build/android/pylib/utils/
H A Dapp_bundle_utils.py72 device_spec = None
81 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, ['hi'])
91 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, locales)
114 if device_spec:
115 json.dump(device_spec, spec_file)
139 device_spec,
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/build/android/pylib/utils/
H A Dapp_bundle_utils.py77 device_spec = None
86 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, ['hi'])
96 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, locales)
126 if device_spec:
127 json.dump(device_spec, spec_file)
151 device_spec,
/dports/www/chromium-legacy/chromium-88.0.4324.182/build/android/pylib/utils/
H A Dapp_bundle_utils.py77 device_spec = None
86 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, ['hi'])
96 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, locales)
126 if device_spec:
127 json.dump(device_spec, spec_file)
151 device_spec,
/dports/lang/v8/v8-9.6.180.12/build/android/pylib/utils/
H A Dapp_bundle_utils.py78 device_spec = None
87 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, ['hi'])
97 device_spec = _CreateDeviceSpec(bundle_path, minimal_sdk_version, locales)
130 if device_spec:
131 json.dump(device_spec, spec_file)
155 device_spec,
/dports/games/openage/openage-0.3.0-1262-ga554ab49/libopenage/audio/
H A Daudio_manager.cpp86 &device_spec, 0);
103 4 * device_spec.samples * device_spec.channels
109 << " [freq=" << device_spec.freq
110 << ", format=" << device_spec.format
111 << ", channels=" << static_cast<uint16_t>(device_spec.channels)
112 << ", samples=" << device_spec.samples
218 return this->device_spec; in get_device_spec()
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/googlecloudsdk/api_lib/firebase/test/
H A Darg_validate.py585 for device_spec in args.device:
586 for (dim, val) in device_spec.items():
587 device_spec[dim] = catalog_mgr.ValidateDimensionAndValue(dim, val)
590 if 'model' not in device_spec:
591 device_spec['model'] = catalog_mgr.GetDefaultModel()
592 if 'version' not in device_spec:
593 device_spec['version'] = catalog_mgr.GetDefaultVersion()
594 if 'locale' not in device_spec:
595 device_spec['locale'] = catalog_mgr.GetDefaultLocale()
596 if 'orientation' not in device_spec:
[all …]
/dports/accessibility/caribou/caribou-0.4.21/vapi/
H A Dexternal-libs.vapi7 public Desc get_keyboard (X.Display dpy, uint which, uint device_spec);
16 public Desc get_map (X.Display dpy, uint which, uint device_spec);
28 public void get_state (X.Display dpy, uint device_spec, out State state);
31 public void select_events (X.Display dpy, uint device_spec, ulong bits_to_change,
35 public void latch_modifiers (X.Display dpy, uint device_spec, uint affect,
39 public void lock_modifiers (X.Display dpy, uint device_spec, uint affect,
89 public ushort device_spec;
/dports/science/py-chainer/chainer-7.8.0/chainer/backends/
H A D_chainerx.py122 def _get_chainerx_device(device_spec): argument
124 if isinstance(device_spec, chainerx.Device):
125 return device_spec
126 return chainerx.get_device(device_spec)
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/x11rb-0.8.1/src/protocol/
H A Dxkb.rs6511 device_spec: self.device_spec, in into_owned()
6536 device_spec, in select_events()
6664 device_spec, in bell()
6739 device_spec, in get_state()
6905 device_spec, in latch_lock_state()
7294 device_spec: self.device_spec, in into_owned()
8204 device_spec: self.device_spec, in into_owned()
8514 device_spec: self.device_spec, in into_owned()
8817 device_spec: self.device_spec, in into_owned()
9933 device_spec: self.device_spec, in into_owned()
[all …]
/dports/x11/inputplug/inputplug-0.4.0/cargo-crates/x11rb-0.8.1/src/protocol/
H A Dxkb.rs6511 device_spec: self.device_spec, in into_owned()
6536 device_spec, in select_events()
6664 device_spec, in bell()
6739 device_spec, in get_state()
6905 device_spec, in latch_lock_state()
7294 device_spec: self.device_spec, in into_owned()
8204 device_spec: self.device_spec, in into_owned()
8514 device_spec: self.device_spec, in into_owned()
8817 device_spec: self.device_spec, in into_owned()
9933 device_spec: self.device_spec, in into_owned()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/devil/devil/android/sdk/
H A Dbundletool.py38 device_spec = {
47 json.dump(device_spec, f)
/dports/x11/libX11/libX11-1.7.2/src/xkb/
H A DXKBCompat.c126 req->deviceSpec = xkb->device_spec; in XkbGetCompatMap()
145 if (xkb->device_spec == XkbUseCoreKbd) in XkbGetCompatMap()
146 xkb->device_spec = rep.deviceID; in XkbGetCompatMap()
232 req->deviceSpec = xkb->device_spec; in XkbSetCompatMap()
H A DXKBGetByName.c62 xkb->device_spec = deviceSpec; in XkbGetKeyboardByName()
70 req->deviceSpec = xkb->device_spec; in XkbGetKeyboardByName()
144 xkb->device_spec = rep.deviceID; in XkbGetKeyboardByName()
H A DXKBCtrls.c201 req->deviceSpec = xkb->device_spec; in XkbGetControls()
208 if (xkb->device_spec == XkbUseCoreKbd) in XkbGetControls()
209 xkb->device_spec = rep.deviceID; in XkbGetControls()
283 req = _XkbGetSetControlsReq(dpy, dpy->xkb_info, xkb->device_spec); in XkbSetControls()
H A DXKBBind.c545 XkbSelectEventDetails(dpy, xkbi->desc->device_spec, in _XkbLoadDpy()
550 XkbSelectEventDetails(dpy, xkbi->desc->device_spec, XkbMapNotify, in _XkbLoadDpy()
571 oldDeviceID = xkbi->desc->device_spec; in _XkbReloadDpy()
587 if (desc->device_spec != oldDeviceID) { in _XkbReloadDpy()
593 XkbSelectEventDetails(dpy, xkbi->desc->device_spec, XkbMapNotify, in _XkbReloadDpy()
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/vmware/plugins/modules/
H A Dvmware_guest_network.py592 device_spec = None
612 device_spec = vim.vm.device.VirtualDeviceSpec(
618 if not device_spec:
623 task = vm_obj.ReconfigVM_Task(vim.vm.ConfigSpec(deviceChange=[device_spec]))
740 device_spec = self._new_nic_spec(vm_obj, nic_obj, network_params)
761 device_spec = self._new_nic_spec(vm_obj, None, network_params)
762 device_spec.operation = vim.vm.device.VirtualDeviceSpec.Operation.add
791 task = vm_obj.ReconfigVM_Task(vim.vm.ConfigSpec(deviceChange=[device_spec]))
/dports/science/py-chainer/chainer-7.8.0/chainer/dataset/
H A Dconvert.py179 def _get_device(device_spec): argument
182 if device_spec is None:
184 return backend.get_device(device_spec)
/dports/deskutils/gxneur/gxneur-0.20.0/src/
H A Dxkb.c149 desc->device_spec = XkbUseCoreKbd; in get_active_kbd_symbol()
191 desc->device_spec = XkbUseCoreKbd; in get_kbd_group_count()

12345678