/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00dev.c | 1003 struct hw_mode_spec *spec) in rt2x00lib_probe_hw_modes() 1012 if (spec->supported_rates & SUPPORT_RATE_CCK) in rt2x00lib_probe_hw_modes() 1014 if (spec->supported_rates & SUPPORT_RATE_OFDM) in rt2x00lib_probe_hw_modes() 1017 channels = kcalloc(spec->num_channels, sizeof(*channels), GFP_KERNEL); in rt2x00lib_probe_hw_modes() 1034 for (i = 0; i < spec->num_channels; i++) { in rt2x00lib_probe_hw_modes() 1036 spec->channels[i].channel, in rt2x00lib_probe_hw_modes() 1037 spec->channels_info[i].max_power, i); in rt2x00lib_probe_hw_modes() 1045 if (spec->supported_bands & SUPPORT_BAND_2GHZ) { in rt2x00lib_probe_hw_modes() 1053 &spec->ht, sizeof(spec in rt2x00lib_probe_hw_modes() 1002 rt2x00lib_probe_hw_modes(struct rt2x00_dev *rt2x00dev, struct hw_mode_spec *spec) rt2x00lib_probe_hw_modes() argument 1113 struct hw_mode_spec *spec = &rt2x00dev->spec; rt2x00lib_probe_hw() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 398 CommonFunctionTestInstance (Context& context, const ShaderSpec& spec, int numValues, const char* name) in CommonFunctionTestInstance() argument 400 , m_spec (spec) in CommonFunctionTestInstance() 403 , m_executor (createExecutor(context, glu::SHADERTYPE_COMPUTE, spec)) in CommonFunctionTestInstance() 496 AbsCaseInstance (Context& context, const ShaderSpec& spec, int numValues, const char* name) in AbsCaseInstance() argument 497 : CommonFunctionTestInstance (context, spec, numValues, name) in AbsCaseInstance() 564 SignCaseInstance (Context& context, const ShaderSpec& spec, int numValues, const char* name) in SignCaseInstance() argument 565 : CommonFunctionTestInstance (context, spec, numValues, name) in SignCaseInstance() 633 static void infNanRandomFloats(int numValues, void* const* values, const char *name, const ShaderSpec& spec) in infNanRandomFloats() argument 637 const glu::DataType type = spec.inputs[0].varType.getBasicType(); in infNanRandomFloats() 638 const glu::Precision precision = spec in infNanRandomFloats() 690 IsnanCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) IsnanCaseInstance() argument 772 IsinfCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) IsinfCaseInstance() argument 859 FloatBitsToUintIntCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) FloatBitsToUintIntCaseInstance() argument 953 BitsToFloatCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) BitsToFloatCaseInstance() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 398 CommonFunctionTestInstance (Context& context, const ShaderSpec& spec, int numValues, const char* name) in CommonFunctionTestInstance() argument 400 , m_spec (spec) in CommonFunctionTestInstance() 403 , m_executor (createExecutor(context, glu::SHADERTYPE_COMPUTE, spec)) in CommonFunctionTestInstance() 496 AbsCaseInstance (Context& context, const ShaderSpec& spec, int numValues, const char* name) in AbsCaseInstance() argument 497 : CommonFunctionTestInstance (context, spec, numValues, name) in AbsCaseInstance() 564 SignCaseInstance (Context& context, const ShaderSpec& spec, int numValues, const char* name) in SignCaseInstance() argument 565 : CommonFunctionTestInstance (context, spec, numValues, name) in SignCaseInstance() 633 static void infNanRandomFloats(int numValues, void* const* values, const char *name, const ShaderSpec& spec) in infNanRandomFloats() argument 637 const glu::DataType type = spec.inputs[0].varType.getBasicType(); in infNanRandomFloats() 638 const glu::Precision precision = spec in infNanRandomFloats() 686 IsnanCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) IsnanCaseInstance() argument 768 IsinfCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) IsinfCaseInstance() argument 855 FloatBitsToUintIntCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) FloatBitsToUintIntCaseInstance() argument 949 BitsToFloatCaseInstance(Context& context, const ShaderSpec& spec, int numValues, const char* name) BitsToFloatCaseInstance() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmImageSamplerTests.cpp | 847 ComputeShaderSpec spec; in addComputeImageSamplerTest() local 849 spec.numWorkGroups = IVec3(numDataPoints, 1, 1); in addComputeImageSamplerTest() 851 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), getVkDescriptorType((DescriptorType)descNdx))); in addComputeImageSamplerTest() 857 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(unusedData)))); in addComputeImageSamplerTest() 858 spec.inputs[1].setDescriptorType(VK_DESCRIPTOR_TYPE_SAMPLER); in addComputeImageSamplerTest() 867 spec.inputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest() 868 spec.inputs[1].setDescriptorType(getVkDescriptorType((DescriptorType)descNdx)); in addComputeImageSamplerTest() 872 spec.outputs.push_back(BufferSp(new Vec4Buffer(inputData))); in addComputeImageSamplerTest() 878 spec.spirvVersion = spirvData.version; in addComputeImageSamplerTest() 900 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 char* description, const ComputeShaderSpec& spec);
|
/third_party/benchmark/src/ |
H A D | benchmark.cc | 538 size_t RunSpecifiedBenchmarks(std::string spec) { in RunSpecifiedBenchmarks() argument 539 return RunSpecifiedBenchmarks(nullptr, nullptr, std::move(spec)); in RunSpecifiedBenchmarks() 548 std::string spec) { in RunSpecifiedBenchmarks() 549 return RunSpecifiedBenchmarks(display_reporter, nullptr, std::move(spec)); in RunSpecifiedBenchmarks() 560 std::string spec) { in RunSpecifiedBenchmarks() 561 if (spec.empty() || spec == "all") in RunSpecifiedBenchmarks() 562 spec = "."; // Regexp that matches all benchmarks in RunSpecifiedBenchmarks() 600 if (!FindBenchmarksInternal(spec, &benchmarks, &Err)) return 0; in RunSpecifiedBenchmarks() 603 Err << "Failed to match any benchmarks against regex: " << spec << "\ in RunSpecifiedBenchmarks() local 547 RunSpecifiedBenchmarks(BenchmarkReporter* display_reporter, std::string spec) RunSpecifiedBenchmarks() argument 558 RunSpecifiedBenchmarks(BenchmarkReporter* display_reporter, BenchmarkReporter* file_reporter, std::string spec) RunSpecifiedBenchmarks() argument [all...] |
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | TransliteratorRegistry.java | 57 * DAG of visible IDs by spec. Hashtable: source => (Hashtable: 95 private String top; // top spec 96 private String spec; // current spec field in TransliteratorRegistry.Spec 97 private String nextSpec; // next spec 99 private boolean isSpecLocale; // true if spec is a locale 105 spec = null; in Spec() 140 // assert(spec != top); in Spec() 149 if (!Utility.sameObjects(spec, top)) { in reset() 150 spec in reset() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | TransliteratorRegistry.java | 58 * DAG of visible IDs by spec. Hashtable: source => (Hashtable: 96 private String top; // top spec 97 private String spec; // current spec field in TransliteratorRegistry.Spec 98 private String nextSpec; // next spec 100 private boolean isSpecLocale; // TRUE if spec is a locale 106 spec = null; in Spec() 141 // assert(spec != top); in Spec() 150 if (!Utility.sameObjects(spec, top)) { in reset() 151 spec in reset() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrFormatTests.cpp | 262 ShaderSpec spec; in getShaderSpec() local 264 spec.inputs.push_back(Symbol("texCoord", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); in getShaderSpec() 265 spec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP))); in getShaderSpec() 269 spec.globalDeclarations = in getShaderSpec() 271 spec.source = in getShaderSpec() 276 spec.globalDeclarations = in getShaderSpec() 278 spec.source = in getShaderSpec() 282 return spec; in getShaderSpec() 570 const ShaderSpec spec = getShaderSpec(params); in initPrograms() local 572 generateSources(params.shaderType, spec, ds in initPrograms() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fPixelBufferObjectTests.cpp | 78 ReadPixelsTest (Context& context, const TestSpec& spec); 106 ReadPixelsTest::ReadPixelsTest (Context& context, const TestSpec& spec) in ReadPixelsTest() argument 107 : TestCase (context, spec.name.c_str(), spec.description.c_str()) in ReadPixelsTest() 108 , m_random (deStringHash(spec.name.c_str())) in ReadPixelsTest() 111 , m_framebuffeType (spec.framebufferType) in ReadPixelsTest() 112 , m_renderbufferFormat (spec.renderbufferFormat) in ReadPixelsTest() 114 , m_useColorClears (spec.useColorClear) in ReadPixelsTest() 115 , m_renderTriangles (spec.renderTriangles) in ReadPixelsTest() 125 m_texChannelClass = tcu::getTextureChannelClass(glu::mapGLInternalFormat(spec in ReadPixelsTest() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrFormatTests.cpp | 262 ShaderSpec spec; in getShaderSpec() local 264 spec.inputs.push_back(Symbol("texCoord", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_HIGHP))); in getShaderSpec() 265 spec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_HIGHP))); in getShaderSpec() 269 spec.globalDeclarations = in getShaderSpec() 271 spec.source = in getShaderSpec() 276 spec.globalDeclarations = in getShaderSpec() 278 spec.source = in getShaderSpec() 282 return spec; in getShaderSpec() 570 const ShaderSpec spec = getShaderSpec(params); in initPrograms() local 572 generateSources(params.shaderType, spec, ds in initPrograms() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | cputable.c | 39 extern void __setup_cpu_e200(unsigned long offset, struct cpu_spec* spec); 40 extern void __setup_cpu_e500v1(unsigned long offset, struct cpu_spec* spec); 41 extern void __setup_cpu_e500v2(unsigned long offset, struct cpu_spec* spec); 42 extern void __setup_cpu_e500mc(unsigned long offset, struct cpu_spec* spec); 43 extern void __setup_cpu_440ep(unsigned long offset, struct cpu_spec* spec); 44 extern void __setup_cpu_440epx(unsigned long offset, struct cpu_spec* spec); 45 extern void __setup_cpu_440gx(unsigned long offset, struct cpu_spec* spec); 46 extern void __setup_cpu_440grx(unsigned long offset, struct cpu_spec* spec); 47 extern void __setup_cpu_440spe(unsigned long offset, struct cpu_spec* spec); 48 extern void __setup_cpu_440x5(unsigned long offset, struct cpu_spec* spec); [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmComputeShaderCase.hpp | 49 SpvAsmComputeShaderInstance (Context& ctx, const ComputeShaderSpec& spec); 59 SpvAsmComputeShaderCase (tcu::TestContext& testCtx, const char* name, const ComputeShaderSpec& spec);
|
/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()
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob.c | 203 if (bebob->spec == &maudio_special_spec) { in do_registration() 251 const struct snd_bebob_spec *spec; in bebob_probe() local 255 spec = get_saffire_spec(unit); in bebob_probe() 259 spec = NULL; in bebob_probe() 261 spec = (const struct snd_bebob_spec *)entry->driver_data; in bebob_probe() 263 if (spec == NULL) { in bebob_probe() 280 bebob->spec = spec; in bebob_probe()
|
/kernel/linux/linux-6.6/sound/firewire/bebob/ |
H A D | bebob.c | 189 const struct snd_bebob_spec *spec; in bebob_probe() local 194 spec = get_saffire_spec(unit); in bebob_probe() 198 spec = NULL; in bebob_probe() 200 spec = (const struct snd_bebob_spec *)entry->driver_data; in bebob_probe() 202 if (spec == NULL) { in bebob_probe() 236 bebob->spec = spec; in bebob_probe() 249 if (bebob->spec == &maudio_special_spec) { in bebob_probe()
|
/third_party/jinja2/ |
H A D | loaders.py | 292 spec = importlib.util.find_spec(package_name) 293 assert spec is not None, "An import spec was not found for the package." namespace 294 loader = spec.loader 302 pkgdir = next(iter(spec.submodule_search_locations)) # type: ignore 309 if spec.submodule_search_locations: 310 roots.extend(spec.submodule_search_locations) 312 elif spec.origin is not None: 313 roots.append(os.path.dirname(spec.origin))
|
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_path.py | 136 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 137 self.assertEqual(spec.loader, __loader__) 156 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 157 self.assertEqual(spec.loader, __loader__) 161 spec = None variable in FinderTests.test_finder_with_find_spec.TestFinder 163 return self.spec 169 success_finder.spec = self.machinery.ModuleSpec('whatever', __loader__) 172 self.assertEqual(got, success_finder.spec)
|
/third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
H A D | ShaderLang.h | 87 // functionality mandated in GLSL 1.0 spec, 108 // Due to spec difference between GLSL 4.1 or lower and ESSL3, some platforms (for example, Mac OSX 642 // spec: Specifies the language spec the compiler must conform to - SH_GLES2_SPEC or SH_WEBGL_SPEC. 648 ShShaderSpec spec, 725 // GLSL 1.017 spec, Appendix A, section 7. 796 // Helper function to identify specs that are based on the WebGL spec. 798 inline bool IsWebGLBasedSpec(ShShaderSpec spec) in IsWebGLBasedSpec() argument 800 return (spec == SH_WEBGL_SPEC || spec in IsWebGLBasedSpec() 806 IsDesktopGLSpec(ShShaderSpec spec) IsDesktopGLSpec() argument [all...] |
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testmock.py | 128 mock = Mock(spec=X) 129 self.assertIn(" spec='X' ", repr(mock)) 131 mock = Mock(spec=X()) 132 self.assertIn(" spec='X' ", repr(mock)) 140 mock = Mock(spec=X, name='foo') 141 self.assertIn(" spec='X' ", repr(mock)) 145 self.assertNotIn("spec", repr(mock)) 148 self.assertNotIn("spec", repr(mock)) 150 mock = Mock(spec=['foo']) 151 self.assertNotIn("spec", rep [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 1203 efx_ptp_find_filter(struct list_head *filter_list, struct efx_filter_spec *spec) in efx_ptp_find_filter() argument 1208 if (rxfilter->ether_type == spec->ether_type && in efx_ptp_find_filter() 1209 rxfilter->loc_port == spec->loc_port && in efx_ptp_find_filter() 1210 !memcmp(rxfilter->loc_host, spec->loc_host, sizeof(spec->loc_host))) in efx_ptp_find_filter() 1247 struct efx_filter_spec *spec, in efx_ptp_insert_filter() 1254 rxfilter = efx_ptp_find_filter(filter_list, spec); in efx_ptp_insert_filter() 1264 rc = efx_filter_insert_filter(efx, spec, true); in efx_ptp_insert_filter() 1269 rxfilter->ether_type = spec->ether_type; in efx_ptp_insert_filter() 1270 rxfilter->loc_port = spec in efx_ptp_insert_filter() 1245 efx_ptp_insert_filter(struct efx_nic *efx, struct list_head *filter_list, struct efx_filter_spec *spec, unsigned long expiry) efx_ptp_insert_filter() argument 1290 struct efx_filter_spec spec; efx_ptp_insert_ipv4_filter() local 1302 struct efx_filter_spec spec; efx_ptp_insert_ipv6_filter() local 1313 struct efx_filter_spec spec; efx_ptp_insert_eth_multicast_filter() local [all...] |
/third_party/mesa3d/src/intel/common/ |
H A D | intel_batch_decoder.c | 57 ctx->spec = intel_spec_load(devinfo); in intel_batch_decode_ctx_init() 59 ctx->spec = intel_spec_load_from_path(devinfo, xml_path); in intel_batch_decode_ctx_init() 65 intel_spec_destroy(ctx->spec); in intel_batch_decode_ctx_finish() 86 if (intel_spec_get_gen(ctx->spec) >= intel_make_gen(8,0)) { in ctx_get_bo() 98 if (intel_spec_get_gen(ctx->spec) >= intel_make_gen(8,0)) in ctx_get_bo() 208 return intel_spec_find_instruction(ctx->spec, ctx->engine, p); in intel_ctx_find_instruction() 280 intel_spec_find_struct(ctx->spec, "RENDER_SURFACE_STATE"); in dump_binding_table() 347 struct intel_group *strct = intel_spec_find_struct(ctx->spec, "SAMPLER_STATE"); in dump_samplers() 420 intel_spec_find_struct(ctx->spec, "INTERFACE_DESCRIPTOR_DATA"); in handle_media_interface_descriptor_load() 477 struct intel_group *vbs = intel_spec_find_struct(ctx->spec, "VERTEX_BUFFER_STAT in handle_3dstate_vertex_buffers() [all...] |
/third_party/python/Python/ |
H A D | import.c | 341 PyObject *spec; in import_ensure_initialized() local 348 spec = PyObject_GetAttr(mod, &_Py_ID(__spec__)); in import_ensure_initialized() 349 int busy = _PyModuleSpec_IsInitializing(spec); in import_ensure_initialized() 350 Py_XDECREF(spec); in import_ensure_initialized() 969 create_builtin(PyThreadState *tstate, PyObject *name, PyObject *spec) in create_builtin() argument 990 return PyModule_FromDefAndSpec((PyModuleDef*)mod, spec); in create_builtin() 1018 spec: object 1025 _imp_create_builtin(PyObject *module, PyObject *spec) in _imp_create_builtin() argument 1030 PyObject *name = PyObject_GetAttrString(spec, "name"); in _imp_create_builtin() 1035 PyObject *mod = create_builtin(tstate, name, spec); in _imp_create_builtin() 1542 PyObject *spec; resolve_name() local 2349 _imp_create_dynamic_impl(PyObject *module, PyObject *spec, PyObject *file) _imp_create_dynamic_impl() argument 2542 PyObject *spec = _PyNamespace_New(attrs); _PyImport_BootstrapImp() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | smfs.h | 11 mlx5_smfs_matcher_create(struct mlx5dr_table *table, u32 priority, struct mlx5_flow_spec *spec); 29 mlx5_smfs_rule_create(struct mlx5dr_matcher *matcher, struct mlx5_flow_spec *spec,
|
/third_party/icu/icu4c/source/i18n/ |
H A D | unesctrn.h | 49 UChar* spec; // owned; may not be NULL member in UnescapeTransliterator 60 * Constructor. Takes the encoded spec array (does not adopt it). 62 * @param spec the encoded spec array 65 const UChar *spec);
|