/third_party/python/Lib/test/test_importlib/ |
H A D | test_windows.py | 94 spec = self.machinery.WindowsRegistryFinder.find_spec('spam') 95 self.assertIs(spec, None) 108 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module) 110 self.assertIsNot(spec, None) 117 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module) 119 self.assertIsNone(spec)
|
H A D | test_api.py | 268 spec = ns.pop('__spec__') 270 self.assertEqual(spec.name, name) 271 self.assertEqual(spec.loader, loader) 291 spec = ns.pop('__spec__') 293 self.assertEqual(spec.name, name) 294 self.assertEqual(spec.loader, loader) 321 spec = ns.pop('__spec__') 323 self.assertEqual(spec.name, name) 324 self.assertIsNotNone(spec.loader) 326 self.assertEqual(spec [all...] |
/third_party/skia/gm/ |
H A D | arcto.cpp | 157 SkString spec; in DEF_SIMPLE_GM() local 160 spec.printf("M %d,%d\n", x, y); in DEF_SIMPLE_GM() 162 spec.append(MakeRandomParsePathPiece(&rand)); in DEF_SIMPLE_GM() 164 SkAssertResult(SkParsePath::FromSVGString(spec.c_str(), &path)); in DEF_SIMPLE_GM() 173 sk_fwrite(spec.c_str(), spec.size(), file); in DEF_SIMPLE_GM()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmFloatControlsExtensionlessTests.cpp | 93 ComputeShaderSpec spec; in getComputeShaderSpec() local 102 // getComputeSourceCode (spec.assembly); in getComputeShaderSpec() 104 spec.inputs.push_back(BufferSp(new Float32Buffer(inputFloats))); in getComputeShaderSpec() 105 spec.outputs.push_back(BufferSp(new Float32Buffer(outputFloats))); in getComputeShaderSpec() 107 spec.numWorkGroups = tcu::IVec3(numElements, 1, 1); in getComputeShaderSpec() 108 spec.verifyIO = &verifyOutput; in getComputeShaderSpec() 110 return spec; in getComputeShaderSpec()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboNoAttachmentTests.cpp | 330 const FboSpec& spec); 353 const FboSpec& spec) in SizeCase() 356 , m_spec (spec) in SizeCase() 547 const FboSpec spec (width, height, 0); in createFboNoAttachmentTests() 552 group->addChild(new SizeCase(testCtx, renderCtx, name.str().c_str(), name.str().c_str(), spec)); in createFboNoAttachmentTests() 593 const FboSpec& spec = specs[caseNdx]; in createFboNoAttachmentTests() local 596 name << spec.width << "x" << spec.height; in createFboNoAttachmentTests() 598 group->addChild(new SizeCase(testCtx, renderCtx, name.str().c_str(), name.str().c_str(), spec)); in createFboNoAttachmentTests() 610 const FboSpec spec (12 in createFboNoAttachmentTests() 349 SizeCase(tcu::TestContext& testCtx, const glu::RenderContext& renderCtx, const char* name, const char* desc, const FboSpec& spec) SizeCase() argument [all...] |
/third_party/vk-gl-cts/modules/gles31/stress/ |
H A D | es31sVertexAttributeBindingTests.cpp | 382 TestSpec spec; in genTestSpec() local 384 spec.bufferOffset = bufferOffset; in genTestSpec() 385 spec.bufferStride = bufferStrideBase + bufferStridePadding; in genTestSpec() 386 spec.positionAttrOffset = positionAttrOffset; in genTestSpec() 387 spec.colorAttrOffset = colorAttrOffset; in genTestSpec() 388 spec.hasColorAttr = hasColorAttr; in genTestSpec() 391 DE_ASSERT(!deIsAligned32(spec.bufferOffset + spec.positionAttrOffset, datumSize)); in genTestSpec() 393 DE_ASSERT(deIsAligned32(spec.bufferOffset + spec in genTestSpec() [all...] |
/kernel/linux/linux-5.10/drivers/block/ |
H A D | rbd.c | 397 struct rbd_spec *spec; member 520 return rbd_dev->spec->snap_id != CEPH_NOSNAP; in rbd_is_snap() 607 else if (rbd_dev->spec && rbd_dev->spec->image_name) in rbd_warn() 609 RBD_DRV_NAME, rbd_dev->spec->image_name, &vaf); in rbd_warn() 610 else if (rbd_dev->spec && rbd_dev->spec->image_id) in rbd_warn() 612 RBD_DRV_NAME, rbd_dev->spec->image_id, &vaf); in rbd_warn() 898 struct rbd_spec *spec; member 1045 rbd_dev->spec in rbd_init_layout() 5252 struct rbd_spec *spec = rbd_dev->parent_spec; rbd_parent_show() local 5345 rbd_spec_get(struct rbd_spec *spec) rbd_spec_get() argument 5353 rbd_spec_put(struct rbd_spec *spec) rbd_spec_put() argument 5361 struct rbd_spec *spec; rbd_spec_alloc() local 5376 struct rbd_spec *spec = container_of(kref, struct rbd_spec, kref); rbd_spec_free() local 5422 __rbd_dev_create(struct rbd_spec *spec) __rbd_dev_create() argument 5473 rbd_dev_create(struct rbd_client *rbdc, struct rbd_spec *spec, struct rbd_options *opts) rbd_dev_create() argument 6051 struct rbd_spec *spec = rbd_dev->spec; rbd_spec_fill_snap_id() local 6081 struct rbd_spec *spec = rbd_dev->spec; rbd_spec_fill_names() local 6913 struct rbd_spec *spec = rbd_dev->spec; rbd_dev_header_name() local 7169 struct rbd_spec *spec = NULL; do_rbd_add() local [all...] |
/kernel/linux/linux-6.6/drivers/block/ |
H A D | rbd.c | 397 struct rbd_spec *spec; member 520 return rbd_dev->spec->snap_id != CEPH_NOSNAP; in rbd_is_snap() 607 else if (rbd_dev->spec && rbd_dev->spec->image_name) in rbd_warn() 609 RBD_DRV_NAME, rbd_dev->spec->image_name, &vaf); in rbd_warn() 610 else if (rbd_dev->spec && rbd_dev->spec->image_id) in rbd_warn() 612 RBD_DRV_NAME, rbd_dev->spec->image_id, &vaf); in rbd_warn() 846 struct rbd_spec *spec; member 993 rbd_dev->spec in rbd_init_layout() 5179 struct rbd_spec *spec = rbd_dev->parent_spec; rbd_parent_show() local 5272 rbd_spec_get(struct rbd_spec *spec) rbd_spec_get() argument 5280 rbd_spec_put(struct rbd_spec *spec) rbd_spec_put() argument 5288 struct rbd_spec *spec; rbd_spec_alloc() local 5303 struct rbd_spec *spec = container_of(kref, struct rbd_spec, kref); rbd_spec_free() local 5349 __rbd_dev_create(struct rbd_spec *spec) __rbd_dev_create() argument 5400 rbd_dev_create(struct rbd_client *rbdc, struct rbd_spec *spec, struct rbd_options *opts) rbd_dev_create() argument 5978 struct rbd_spec *spec = rbd_dev->spec; rbd_spec_fill_snap_id() local 6008 struct rbd_spec *spec = rbd_dev->spec; rbd_spec_fill_names() local 6841 struct rbd_spec *spec = rbd_dev->spec; rbd_dev_header_name() local 7095 struct rbd_spec *spec = NULL; do_rbd_add() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 153 struct mlx5_flow_spec spec; member 196 mlx5e_tc_match_to_reg_match(struct mlx5_flow_spec *spec, in mlx5e_tc_match_to_reg_match() argument 203 void *headers_c = spec->match_criteria; in mlx5e_tc_match_to_reg_match() 204 void *headers_v = spec->match_value; in mlx5e_tc_match_to_reg_match() 216 spec->match_criteria_enable |= MLX5_MATCH_MISC_PARAMETERS_2; in mlx5e_tc_match_to_reg_match() 220 mlx5e_tc_match_to_reg_get_match(struct mlx5_flow_spec *spec, in mlx5e_tc_match_to_reg_get_match() argument 227 void *headers_c = spec->match_criteria; in mlx5e_tc_match_to_reg_get_match() 228 void *headers_v = spec->match_value; in mlx5e_tc_match_to_reg_get_match() 296 struct mlx5_flow_spec *spec, in mlx5_tc_rule_insert() 302 return mlx5_eswitch_add_offloaded_rule(esw, spec, att in mlx5_tc_rule_insert() 295 mlx5_tc_rule_insert(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5_tc_rule_insert() argument 797 mlx5e_hairpin_get_prio(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, u8 *match_prio, struct netlink_ext_ack *extack) mlx5e_hairpin_get_prio() argument 965 mlx5e_add_offloaded_nic_rule(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5e_add_offloaded_nic_rule() argument 1189 mlx5e_tc_offload_fdb_rules(struct mlx5_eswitch *esw, struct mlx5e_tc_flow *flow, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr) mlx5e_tc_offload_fdb_rules() argument 1246 mlx5e_tc_offload_to_slow_path(struct mlx5_eswitch *esw, struct mlx5e_tc_flow *flow, struct mlx5_flow_spec *spec) mlx5e_tc_offload_to_slow_path() argument 1459 struct mlx5_flow_spec *spec = &flow->attr->parse_attr->spec; mlx5_flow_has_geneve_opt() local 1522 struct mlx5_flow_spec *spec; mlx5e_tc_encap_flows_add() local 1589 struct mlx5_flow_spec *spec; mlx5e_tc_encap_flows_del() local 2129 parse_tunnel_attr(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow, struct mlx5_flow_spec *spec, struct flow_cls_offload *f, struct net_device *filter_dev, u8 *match_level, bool *match_inner) parse_tunnel_attr() argument 2182 get_match_inner_headers_criteria(struct mlx5_flow_spec *spec) get_match_inner_headers_criteria() argument 2188 get_match_inner_headers_value(struct mlx5_flow_spec *spec) get_match_inner_headers_value() argument 2194 get_match_outer_headers_criteria(struct mlx5_flow_spec *spec) get_match_outer_headers_criteria() argument 2200 get_match_outer_headers_value(struct mlx5_flow_spec *spec) get_match_outer_headers_value() argument 2206 get_match_headers_value(u32 flags, struct mlx5_flow_spec *spec) get_match_headers_value() argument 2214 get_match_headers_criteria(u32 flags, struct mlx5_flow_spec *spec) get_match_headers_criteria() argument 2273 __parse_cls_flower(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow, struct mlx5_flow_spec *spec, struct flow_cls_offload *f, struct net_device *filter_dev, u8 *inner_match_level, u8 *outer_match_level) __parse_cls_flower() argument 2671 parse_cls_flower(struct mlx5e_priv *priv, struct mlx5e_tc_flow *flow, struct mlx5_flow_spec *spec, struct flow_cls_offload *f, struct net_device *filter_dev) parse_cls_flower() argument 3271 modify_tuple_supported(bool modify_tuple, bool ct_clear, bool ct_flow, struct netlink_ext_ack *extack, struct mlx5e_priv *priv, struct mlx5_flow_spec *spec) modify_tuple_supported() argument 3302 modify_header_match_supported(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, struct flow_action *flow_action, u32 actions, bool ct_flow, bool ct_clear, struct netlink_ext_ack *extack) modify_header_match_supported() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 321 mlx5_tc_ct_set_tuple_match(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, in mlx5_tc_ct_set_tuple_match() argument 324 void *headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in mlx5_tc_ct_set_tuple_match() 326 void *headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_tc_ct_set_tuple_match() 712 struct mlx5_flow_spec *spec = NULL; in mlx5_tc_ct_entry_add_rule() local 718 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_tc_ct_entry_add_rule() 719 if (!spec) in mlx5_tc_ct_entry_add_rule() 746 mlx5_tc_ct_set_tuple_match(netdev_priv(ct_priv->netdev), spec, flow_rule); in mlx5_tc_ct_entry_add_rule() 747 mlx5e_tc_match_to_reg_match(spec, ZONE_TO_REG, in mlx5_tc_ct_entry_add_rule() 751 zone_rule->rule = mlx5_tc_rule_insert(priv, spec, att in mlx5_tc_ct_entry_add_rule() 1201 mlx5_tc_ct_add_no_trk_match(struct mlx5_flow_spec *spec) mlx5_tc_ct_add_no_trk_match() argument 1227 mlx5_tc_ct_match_add(struct mlx5_tc_ct_priv *priv, struct mlx5_flow_spec *spec, struct flow_cls_offload *f, struct mlx5_ct_attr *ct_attr, struct netlink_ext_ack *extack) mlx5_tc_ct_match_add() argument 1341 struct mlx5_flow_spec *spec; tc_ct_pre_ct_add_rules() local 1937 mlx5_tc_ct_flow_offload(struct mlx5_tc_ct_priv *priv, struct mlx5e_tc_flow *flow, struct mlx5_flow_spec *spec, struct mlx5_flow_attr *attr, struct mlx5e_tc_mod_hdr_acts *mod_hdr_acts) mlx5_tc_ct_flow_offload() argument [all...] |
H A D | tc_tun_gre.c | 56 struct mlx5_flow_spec *spec, in mlx5e_tc_tun_parse_gretap() 61 void *misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5e_tc_tun_parse_gretap() 62 void *misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_gretap() 83 spec->match_criteria_enable |= MLX5_MATCH_MISC_PARAMETERS; in mlx5e_tc_tun_parse_gretap() 55 mlx5e_tc_tun_parse_gretap(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, struct flow_cls_offload *f, void *headers_c, void *headers_v) mlx5e_tc_tun_parse_gretap() argument
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
H A D | tascam-stream.c | 149 for (i = 0; i < tscm->spec->pcm_capture_analog_channels; ++i) in enable_data_channels() 151 if (tscm->spec->has_adat) in enable_data_channels() 153 if (tscm->spec->has_spdif) in enable_data_channels() 164 for (i = 0; i < tscm->spec->pcm_playback_analog_channels; ++i) in enable_data_channels() 166 if (tscm->spec->has_adat) in enable_data_channels() 168 if (tscm->spec->has_spdif) in enable_data_channels() 311 pcm_channels = tscm->spec->pcm_capture_analog_channels; in init_stream() 315 pcm_channels = tscm->spec->pcm_playback_analog_channels; in init_stream() 318 if (tscm->spec->has_adat) in init_stream() 320 if (tscm->spec in init_stream() [all...] |
H A D | tascam-midi.c | 91 tscm->spec->midi_playback_ports, in snd_tscm_create_midi_devices() 92 tscm->spec->midi_capture_ports, in snd_tscm_create_midi_devices() 109 if (subs->number < tscm->spec->midi_capture_ports) { in snd_tscm_create_midi_devices() 124 if (subs->number < tscm->spec->midi_playback_ports) { in snd_tscm_create_midi_devices()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | int_port.c | 69 struct mlx5_flow_spec *spec; in mlx5e_int_port_create_rx_rule() local 72 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5e_int_port_create_rx_rule() 73 if (!spec) in mlx5e_int_port_create_rx_rule() 76 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_2); in mlx5e_int_port_create_rx_rule() 80 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters_2); in mlx5e_int_port_create_rx_rule() 84 spec->match_criteria_enable = MLX5_MATCH_MISC_PARAMETERS_2; in mlx5e_int_port_create_rx_rule() 89 flow_context = &spec->flow_context; in mlx5e_int_port_create_rx_rule() 93 flow_rule = mlx5_add_flow_rules(esw->offloads.ft_offloads, spec, in mlx5e_int_port_create_rx_rule() 99 kvfree(spec); in mlx5e_int_port_create_rx_rule() [all...] |
/kernel/linux/linux-6.6/sound/firewire/tascam/ |
H A D | tascam-stream.c | 149 for (i = 0; i < tscm->spec->pcm_capture_analog_channels; ++i) in enable_data_channels() 151 if (tscm->spec->has_adat) in enable_data_channels() 153 if (tscm->spec->has_spdif) in enable_data_channels() 164 for (i = 0; i < tscm->spec->pcm_playback_analog_channels; ++i) in enable_data_channels() 166 if (tscm->spec->has_adat) in enable_data_channels() 168 if (tscm->spec->has_spdif) in enable_data_channels() 311 pcm_channels = tscm->spec->pcm_capture_analog_channels; in init_stream() 315 pcm_channels = tscm->spec->pcm_playback_analog_channels; in init_stream() 318 if (tscm->spec->has_adat) in init_stream() 320 if (tscm->spec in init_stream() [all...] |
H A D | tascam-midi.c | 91 tscm->spec->midi_playback_ports, in snd_tscm_create_midi_devices() 92 tscm->spec->midi_capture_ports, in snd_tscm_create_midi_devices() 109 if (subs->number < tscm->spec->midi_capture_ports) { in snd_tscm_create_midi_devices() 124 if (subs->number < tscm->spec->midi_playback_ports) { in snd_tscm_create_midi_devices()
|
/kernel/linux/linux-5.10/sound/usb/caiaq/ |
H A D | midi.c | 121 device->spec.num_midi_out, in snd_usb_caiaq_midi_init() 122 device->spec.num_midi_in, in snd_usb_caiaq_midi_init() 133 if (device->spec.num_midi_out > 0) { in snd_usb_caiaq_midi_init() 139 if (device->spec.num_midi_in > 0) { in snd_usb_caiaq_midi_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.h | 109 struct mlx5_flow_spec *spec, 113 int mlx5_tc_ct_add_no_trk_match(struct mlx5_flow_spec *spec); 152 struct mlx5_flow_spec *spec, in mlx5_tc_ct_match_add() 167 mlx5_tc_ct_add_no_trk_match(struct mlx5_flow_spec *spec) in mlx5_tc_ct_add_no_trk_match() argument 151 mlx5_tc_ct_match_add(struct mlx5_tc_ct_priv *priv, struct mlx5_flow_spec *spec, struct flow_cls_offload *f, struct mlx5_ct_attr *ct_attr, struct netlink_ext_ack *extack) mlx5_tc_ct_match_add() argument
|
H A D | tc_tun_gre.c | 56 struct mlx5_flow_spec *spec, in mlx5e_tc_tun_parse_gretap() 61 void *misc_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5e_tc_tun_parse_gretap() 62 void *misc_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5e_tc_tun_parse_gretap() 83 spec->match_criteria_enable |= MLX5_MATCH_MISC_PARAMETERS; in mlx5e_tc_tun_parse_gretap() 55 mlx5e_tc_tun_parse_gretap(struct mlx5e_priv *priv, struct mlx5_flow_spec *spec, struct flow_cls_offload *f, void *headers_c, void *headers_v) mlx5e_tc_tun_parse_gretap() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | rx_common.h | 88 bool efx_siena_filter_is_mc_recipient(const struct efx_filter_spec *spec); 91 u32 efx_siena_filter_spec_hash(const struct efx_filter_spec *spec); 97 const struct efx_filter_spec *spec); 99 const struct efx_filter_spec *spec);
|
/kernel/linux/linux-6.6/sound/usb/caiaq/ |
H A D | midi.c | 121 device->spec.num_midi_out, in snd_usb_caiaq_midi_init() 122 device->spec.num_midi_in, in snd_usb_caiaq_midi_init() 133 if (device->spec.num_midi_out > 0) { in snd_usb_caiaq_midi_init() 139 if (device->spec.num_midi_in > 0) { in snd_usb_caiaq_midi_init()
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSProject.py | 130 spec = self._GetSpecForConfiguration("Configuration", name, attrs, tools) 131 self.configurations_section.append(spec) 183 spec = self._GetSpecForConfiguration("FileConfiguration", config, attrs, tools) 184 parent.append(spec)
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSProject.py | 130 spec = self._GetSpecForConfiguration("Configuration", name, attrs, tools) 131 self.configurations_section.append(spec) 183 spec = self._GetSpecForConfiguration("FileConfiguration", config, attrs, tools) 184 parent.append(spec)
|
/third_party/skia/fuzz/ |
H A D | FuzzParsePath.cpp | 118 SkString spec; in DEF_FUZZ() local 122 spec.append(MakeRandomParsePathPiece(fuzz)); in DEF_FUZZ() 124 SkDebugf("SkParsePath::FromSVGString(%s, &path);\n",spec.c_str()); in DEF_FUZZ() 125 if (!SkParsePath::FromSVGString(spec.c_str(), &path)){ in DEF_FUZZ()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-rk3x.c | 581 const struct i2c_spec_values *spec; in rk3x_i2c_v0_calc_timings() local 604 spec = rk3x_i2c_get_spec(t->bus_freq_hz); in rk3x_i2c_v0_calc_timings() 605 min_high_ns = t->scl_rise_ns + spec->min_high_ns; in rk3x_i2c_v0_calc_timings() 616 (t->scl_rise_ns + spec->min_setup_start_ns) * 1000, 875)); in rk3x_i2c_v0_calc_timings() 618 (t->scl_rise_ns + spec->min_setup_start_ns + t->sda_fall_ns + in rk3x_i2c_v0_calc_timings() 619 spec->min_high_ns), 2)); in rk3x_i2c_v0_calc_timings() 621 min_low_ns = t->scl_fall_ns + spec->min_low_ns; in rk3x_i2c_v0_calc_timings() 622 max_low_ns = spec->max_data_hold_ns * 2 - data_hold_buffer_ns; in rk3x_i2c_v0_calc_timings() 760 const struct i2c_spec_values *spec; in rk3x_i2c_v1_calc_timings() local 777 spec in rk3x_i2c_v1_calc_timings() [all...] |