/kernel/linux/linux-6.6/mm/ |
H A D | vmpressure.c | 381 char *spec, *spec_orig; in vmpressure_register_event() local 385 spec_orig = spec = kstrndup(args, MAX_VMPRESSURE_ARGS_LEN, GFP_KERNEL); in vmpressure_register_event() 386 if (!spec) in vmpressure_register_event() 390 token = strsep(&spec, ","); in vmpressure_register_event() 397 token = strsep(&spec, ","); in vmpressure_register_event()
|
/kernel/linux/linux-6.6/sound/soc/intel/catpt/ |
H A D | registers.h | 133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask)) 134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask)) 141 ((cdev)->lpe_ba + (cdev)->spec->host_shim_offset) 143 ((cdev)->lpe_ba + (cdev)->spec->host_dma_offset[dma]) 145 ((cdev)->lpe_ba + (cdev)->spec->host_ssp_offset[ssp])
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_ct.c | 367 struct mlx5_flow_spec *spec, in mlx5_tc_ct_set_tuple_match() 370 void *headers_c = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, in mlx5_tc_ct_set_tuple_match() 372 void *headers_v = MLX5_ADDR_OF(fte_match_param, spec->match_value, in mlx5_tc_ct_set_tuple_match() 488 spec->flow_context.flow_source = in mlx5_tc_ct_set_tuple_match() 797 struct mlx5_flow_spec *spec = NULL; in mlx5_tc_ct_entry_add_rule() local 803 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in mlx5_tc_ct_entry_add_rule() 804 if (!spec) in mlx5_tc_ct_entry_add_rule() 839 mlx5_tc_ct_set_tuple_match(ct_priv, spec, flow_rule); in mlx5_tc_ct_entry_add_rule() 840 mlx5e_tc_match_to_reg_match(spec, ZONE_TO_RE in mlx5_tc_ct_entry_add_rule() 366 mlx5_tc_ct_set_tuple_match(struct mlx5_tc_ct_priv *ct_priv, struct mlx5_flow_spec *spec, struct flow_rule *rule) mlx5_tc_ct_set_tuple_match() argument 876 struct mlx5_flow_spec *spec; mlx5_tc_ct_entry_replace_rule() local 1403 mlx5_tc_ct_add_no_trk_match(struct mlx5_flow_spec *spec) mlx5_tc_ct_add_no_trk_match() argument 1429 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 1567 struct mlx5_flow_spec *spec; tc_ct_pre_ct_add_rules() local [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | test_abc.py | 214 spec = 'a spec' 215 self.assertIsNone(self.ins.create_module(spec)) 356 def finder(cls, spec): 361 return spec 375 spec = self.util.spec_from_loader('blah', loader) 376 finder = self.finder(spec) 378 self.assertEqual(found, spec) 391 spec = self.util.spec_from_loader('blah', loader) 392 finder = self.finder(spec) [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | src_movie.c | 105 static AVStream *find_stream(void *log, AVFormatContext *avf, const char *spec) in find_stream() argument 112 ret = sscanf(spec, "d%1[av]%d%c", type_char, &stream_id, &dummy); in find_stream() 124 ret = avformat_match_stream_specifier(avf, avf->streams[i], spec); in find_stream() 127 "Invalid stream specifier \"%s\"\n", spec); in find_stream() 138 "Ambiguous stream specifier \"%s\", using #%d\n", spec, i); in find_stream() 144 av_log(log, AV_LOG_WARNING, "Stream specifier \"%s\" %s\n", spec, in find_stream() 152 "currently unsupported by libavfilter\n", spec, in find_stream() 220 char default_streams[16], *stream_specs, *spec, *cursor; in movie_common_init() local 287 spec = av_strtok(stream_specs, "+", &cursor); in movie_common_init() 288 if (!spec) in movie_common_init() [all...] |
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-function-mocker.h | 43 #include "gmock/gmock-spec-builders.h" 88 constexpr bool ValidateSpec(const char (&spec)[N]) { in ValidateSpec() argument 89 return internal::Equals("const", spec) || in ValidateSpec() 90 internal::Equals("override", spec) || in ValidateSpec() 91 internal::Equals("final", spec) || in ValidateSpec() 92 internal::Equals("noexcept", spec) || in ValidateSpec() 93 (internal::StartsWith("noexcept(", spec) && in ValidateSpec() 94 internal::EndsWith(")", spec)) || in ValidateSpec() 95 internal::Equals("ref(&)", spec) || in ValidateSpec() 96 internal::Equals("ref(&&)", spec) || in ValidateSpec() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmImageSamplerTests.cpp | 826 ComputeShaderSpec spec; in addComputeImageSamplerTest() local 828 spec.numWorkGroups = IVec3(numDataPoints, 1, 1); in addComputeImageSamplerTest() 830 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((DescriptorType)descNdx))); in addComputeImageSamplerTest() 836 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(unusedData)))); in addComputeImageSamplerTest() 837 spec.inputs[1].setDescriptorType(VK_DESCRIPTOR_TYPE_SAMPLER); in addComputeImageSamplerTest() 846 spec.inputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest() 847 spec.inputs[1].setDescriptorType(getVkDescriptorType((DescriptorType)descNdx)); in addComputeImageSamplerTest() 851 spec.outputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest() 857 spec.spirvVersion = spirvData.version; in addComputeImageSamplerTest() 879 spec in addComputeImageSamplerTest() [all...] |
H A D | vktSpvAsmComputeShaderCase.hpp | 49 SpvAsmComputeShaderInstance (Context& ctx, const ComputeShaderSpec& spec); 59 SpvAsmComputeShaderCase (tcu::TestContext& testCtx, const char* name, const ComputeShaderSpec& spec);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | efx.h | 83 * @spec: Specification for the filter 90 * If existing filters have equal match values to the new filter spec, 99 * 3. If !efx_filter_is_mc_recipient(@spec), or the NIC does not 106 struct efx_filter_spec *spec, in efx_filter_insert_filter() 109 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter() 133 * @spec: Buffer in which to store filter specification 141 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe() 143 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe() 105 efx_filter_insert_filter(struct efx_nic *efx, struct efx_filter_spec *spec, bool replace_equal) efx_filter_insert_filter() argument 139 efx_filter_get_filter_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id, struct efx_filter_spec *spec) efx_filter_get_filter_safe() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | efx.h | 81 * @spec: Specification for the filter 88 * If existing filters have equal match values to the new filter spec, 97 * 3. If !efx_filter_is_mc_recipient(@spec), or the NIC does not 104 struct efx_filter_spec *spec, in efx_filter_insert_filter() 107 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter() 131 * @spec: Buffer in which to store filter specification 139 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe() 141 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe() 103 efx_filter_insert_filter(struct efx_nic *efx, struct efx_filter_spec *spec, bool replace_equal) efx_filter_insert_filter() argument 137 efx_filter_get_filter_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id, struct efx_filter_spec *spec) efx_filter_get_filter_safe() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | efx.h | 65 * @spec: Specification for the filter 72 * If existing filters have equal match values to the new filter spec, 81 * 3. If !efx_siena_filter_is_mc_recipient(@spec), or the NIC does not 88 struct efx_filter_spec *spec, in efx_filter_insert_filter() 91 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter() 115 * @spec: Buffer in which to store filter specification 123 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe() 125 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe() 87 efx_filter_insert_filter(struct efx_nic *efx, struct efx_filter_spec *spec, bool replace_equal) efx_filter_insert_filter() argument 121 efx_filter_get_filter_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id, struct efx_filter_spec *spec) efx_filter_get_filter_safe() argument
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | branch.c | 216 const char *branch_spec_desc(int spec) in branch_spec_desc() argument 225 if (spec >= 0 && spec < PERF_BR_SPEC_MAX) in branch_spec_desc() 226 return branch_spec_outcomes[spec]; in branch_spec_desc()
|
/third_party/libabigail/tests/ |
H A D | test-read-common.cc | 49 spec(s), in test_task() 76 set_type_id_style(*write_ctxt, spec.type_id_style); in serialize_corpus() 98 string spec_options = spec.options ? spec.options : ""; in run_abidw()
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | testutil.py | 67 spec = importlib.util.spec_from_file_location(full_name, path) 68 assert spec is not None 69 mod = importlib.util.module_from_spec(spec) 73 loader = cast(Any, spec.loader)
|
/third_party/python/Python/ |
H A D | importdl.c | 95 _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp) in _PyImport_LoadDynamicModuleWithSpec() argument 107 name_unicode = PyObject_GetAttrString(spec, "name"); in _PyImport_LoadDynamicModuleWithSpec() 113 "spec.name must be a string"); in _PyImport_LoadDynamicModuleWithSpec() 123 path = PyObject_GetAttrString(spec, "origin"); in _PyImport_LoadDynamicModuleWithSpec() 203 return PyModule_FromDefAndSpec((PyModuleDef*)m, spec); in _PyImport_LoadDynamicModuleWithSpec()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsDrawTest.hpp | 223 glu::ApiType apiType; //!< needed in spec validation 250 DrawTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const DrawTestSpec& spec, const char* name, const char* desc); 254 void addIteration (const DrawTestSpec& spec, const char* description = DE_NULL); 262 float getCoordScale (const DrawTestSpec& spec) const; 263 float getColorScale (const DrawTestSpec& spec) const;
|
/third_party/rust/crates/env_logger/src/filter/ |
H A D | string.rs | 9 pub fn new(spec: &str) -> Result<Filter, String> { in new() 11 inner: spec.to_string(), in new()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmComputeShaderCase.hpp | 49 SpvAsmComputeShaderInstance (Context& ctx, const ComputeShaderSpec& spec); 59 SpvAsmComputeShaderCase (tcu::TestContext& testCtx, const char* name, const char* description, const ComputeShaderSpec& spec);
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwarestub/src/ |
H A D | distributed_hardware_stub_test.cpp | 350 uint32_t spec = 1; in HWTEST_F() local 351 EXPECT_EQ(true, stubTest_->ValidQueryLocalSpec(spec)); in HWTEST_F() 365 uint32_t spec = 0; in HWTEST_F() local 366 EXPECT_EQ(false, stubTest_->ValidQueryLocalSpec(spec)); in HWTEST_F() 367 spec = 5; in HWTEST_F() 368 EXPECT_EQ(false, stubTest_->ValidQueryLocalSpec(spec)); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-renesas-rza1.c | 108 struct irq_fwspec spec; in rza1_irqc_alloc() local 117 spec.fwnode = &priv->dev->of_node->fwnode; in rza1_irqc_alloc() 118 spec.param_count = priv->map[hwirq].args_count; in rza1_irqc_alloc() 119 for (i = 0; i < spec.param_count; i++) in rza1_irqc_alloc() 120 spec.param[i] = priv->map[hwirq].args[i]; in rza1_irqc_alloc() 122 return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &spec); in rza1_irqc_alloc()
|
/kernel/linux/linux-5.10/sound/firewire/oxfw/ |
H A D | oxfw-spkr.c | 149 struct fw_spkr *spkr = oxfw->spec; in spkr_mute_get() 160 struct fw_spkr *spkr = oxfw->spec; in spkr_mute_put() 182 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_info() 198 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_get() 211 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_put() 277 oxfw->spec = spkr; in snd_oxfw_add_spkr()
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-renesas-rza1.c | 108 struct irq_fwspec spec; in rza1_irqc_alloc() local 117 spec.fwnode = &priv->dev->of_node->fwnode; in rza1_irqc_alloc() 118 spec.param_count = priv->map[hwirq].args_count; in rza1_irqc_alloc() 119 for (i = 0; i < spec.param_count; i++) in rza1_irqc_alloc() 120 spec.param[i] = priv->map[hwirq].args[i]; in rza1_irqc_alloc() 122 return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &spec); in rza1_irqc_alloc()
|
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | motu-protocol-v3.c | 256 motu->spec->tx_fixed_pcm_chunks, in snd_motu_protocol_v3_cache_packet_formats() 259 motu->spec->rx_fixed_pcm_chunks, in snd_motu_protocol_v3_cache_packet_formats() 262 if (motu->spec == &snd_motu_spec_828mk3_fw || in snd_motu_protocol_v3_cache_packet_formats() 263 motu->spec == &snd_motu_spec_828mk3_hybrid || in snd_motu_protocol_v3_cache_packet_formats() 264 motu->spec == &snd_motu_spec_traveler_mk3 || in snd_motu_protocol_v3_cache_packet_formats() 265 motu->spec == &snd_motu_spec_track16) in snd_motu_protocol_v3_cache_packet_formats()
|
/kernel/linux/linux-6.6/sound/firewire/oxfw/ |
H A D | oxfw-spkr.c | 149 struct fw_spkr *spkr = oxfw->spec; in spkr_mute_get() 160 struct fw_spkr *spkr = oxfw->spec; in spkr_mute_put() 182 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_info() 198 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_get() 211 struct fw_spkr *spkr = oxfw->spec; in spkr_volume_put() 277 oxfw->spec = spkr; in snd_oxfw_add_spkr()
|
/third_party/skia/src/core/ |
H A D | SkStrikeSpec.cpp | 230 SkBulkGlyphMetrics::SkBulkGlyphMetrics(const SkStrikeSpec& spec) in SkBulkGlyphMetrics() argument 231 : fStrike{spec.findOrCreateStrike()} { } in SkBulkGlyphMetrics() 242 SkBulkGlyphMetricsAndPaths::SkBulkGlyphMetricsAndPaths(const SkStrikeSpec& spec) in SkBulkGlyphMetricsAndPaths() argument 243 : fStrike{spec.findOrCreateStrike()} { } in SkBulkGlyphMetricsAndPaths() 267 SkBulkGlyphMetricsAndImages::SkBulkGlyphMetricsAndImages(const SkStrikeSpec& spec) in SkBulkGlyphMetricsAndImages() argument 268 : fStrike{spec.findOrCreateStrike()} { } in SkBulkGlyphMetricsAndImages()
|