/kernel/linux/linux-6.6/sound/pci/ac97/ |
H A D | ac97_proc.c | 336 if (ac97->spec.ad18xx.id[idx]) { in snd_ac97_proc_read() 339 ac97->spec.ad18xx.unchained[idx] | ac97->spec.ad18xx.chained[idx]); in snd_ac97_proc_read() 348 ac97->spec.ad18xx.unchained[0], in snd_ac97_proc_read() 349 ac97->spec.ad18xx.unchained[1], in snd_ac97_proc_read() 350 ac97->spec.ad18xx.unchained[2]); in snd_ac97_proc_read() 352 ac97->spec.ad18xx.chained[0], in snd_ac97_proc_read() 353 ac97->spec.ad18xx.chained[1], in snd_ac97_proc_read() 354 ac97->spec.ad18xx.chained[2]); in snd_ac97_proc_read() 400 if (ac97->spec in snd_ac97_proc_regs_read() [all...] |
/third_party/python/Lib/ |
H A D | pkgutil.py | 27 """Return the finder-specific module spec.""" 356 spec = _get_spec(finder, '__init__') 357 return spec.loader 490 and only returns the loader rather than the full spec 496 spec = importlib.util.find_spec(fullname) 503 return spec.loader if spec is not None else None 567 spec = finder.find_spec(final_name) 568 if spec is not None: 569 portions = spec [all...] |
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxcapi.h | 30 #define CROSS_PLATFORM_UUIDOF(iface, spec) \ 31 struct __declspec(uuid(spec)) iface; 103 #define CROSS_PLATFORM_UUIDOF(iface, spec) \ 107 word_from_hexstr(spec, 24) | word_from_hexstr(spec + 2, 16) | \ 108 word_from_hexstr(spec + 4, 8) | word_from_hexstr(spec + 6, 0), \ 109 short_from_hexstr(spec + 9, 8) | short_from_hexstr(spec + 11, 0), \ 110 short_from_hexstr(spec [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsDrawTest.cpp | 1985 DE_ASSERT(offsetAsInteger % gls::DrawTestSpec::indexTypeSize(indexType) == 0); // \note This is checked in spec validation in render() 2063 DrawTestSpec::AttributeSpec spec; in createAttributeArray() local 2065 spec.inputType = inputType; in createAttributeArray() 2066 spec.outputType = outputType; in createAttributeArray() 2067 spec.storage = storage; in createAttributeArray() 2068 spec.usage = usage; in createAttributeArray() 2069 spec.componentCount = componentCount; in createAttributeArray() 2070 spec.offset = offset; in createAttributeArray() 2071 spec.stride = stride; in createAttributeArray() 2072 spec in createAttributeArray() 2085 DrawTestSpec::AttributeSpec spec; createDefaultAttribute() local 3055 DrawTest(tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const DrawTestSpec& spec, const char* name, const char* desc) DrawTest() argument 3095 addIteration(const DrawTestSpec& spec, const char* description) addIteration() argument 3179 const DrawTestSpec& spec = m_specs[specNdx]; iterate() local [all...] |
H A D | glsShaderLibraryCase.cpp | 140 static string genVertexShader (const ShaderCaseSpecification& spec) in genVertexShader() argument 143 const bool usesInout = glslVersionUsesInOutQualifiers(spec.targetVersion); in genVertexShader() 147 res << glu::getGLSLVersionDeclaration(spec.targetVersion) << "\n"; in genVertexShader() 155 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 157 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 177 for (size_t ndx = 0; ndx < spec.values.inputs.size(); ndx++) in genVertexShader() 179 const Value& val = spec.values.inputs[ndx]; in genVertexShader() 231 static string genFragmentShader (const ShaderCaseSpecification& spec) in genFragmentShader() argument 234 const bool usesInout = glslVersionUsesInOutQualifiers(spec.targetVersion); in genFragmentShader() 237 const char* const prec = supportsFragmentHighp(spec in genFragmentShader() 283 specializeVertexShader(const ShaderCaseSpecification& spec, const std::string& src, const vector<RequiredExtension>& extensions) specializeVertexShader() argument 356 specializeFragmentShader(const ShaderCaseSpecification& spec, const std::string& src, const vector<RequiredExtension>& extensions) specializeFragmentShader() argument [all...] |
/third_party/icu/icu4c/source/io/ |
H A D | uprntf_p.cpp | 103 u_printf_spec_info fInfo; /* Information on this spec */ 1234 u_printf_spec spec; in u_printf_parse() local 1235 u_printf_spec_info *info = &(spec.fInfo); in u_printf_parse() 1273 /* initialize spec to default values */ in u_printf_parse() 1274 spec.fWidthPos = -1; in u_printf_parse() 1275 spec.fPrecisionPos = -1; in u_printf_parse() 1276 spec.fArgPos = -1; in u_printf_parse() 1294 spec.fArgPos = (int) (*alias++ - DIGIT_ZERO); in u_printf_parse() 1297 spec.fArgPos *= 10; in u_printf_parse() 1298 spec in u_printf_parse() [all...] |
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | uprntf_p.cpp | 103 u_printf_spec_info fInfo; /* Information on this spec */ 1234 u_printf_spec spec; in u_printf_parse() local 1235 u_printf_spec_info *info = &(spec.fInfo); in u_printf_parse() 1273 /* initialize spec to default values */ in u_printf_parse() 1274 spec.fWidthPos = -1; in u_printf_parse() 1275 spec.fPrecisionPos = -1; in u_printf_parse() 1276 spec.fArgPos = -1; in u_printf_parse() 1294 spec.fArgPos = (int) (*alias++ - DIGIT_ZERO); in u_printf_parse() 1297 spec.fArgPos *= 10; in u_printf_parse() 1298 spec in u_printf_parse() [all...] |
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testasync.py | 226 spec = create_autospec(async_func_args) 227 awaitable = spec(1, 2, c=3) 231 self.assertEqual(spec.await_count, 0) 232 self.assertIsNone(spec.await_args) 233 self.assertEqual(spec.await_args_list, []) 234 spec.assert_not_awaited() 238 self.assertTrue(iscoroutinefunction(spec)) 240 self.assertEqual(spec.await_count, 1) 241 self.assertEqual(spec.await_args, call(1, 2, c=3)) 242 self.assertEqual(spec [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microsoft/mana/ |
H A D | gdma_main.c | 426 /* Per GDMA spec, rmb is necessary after checking owner_bits, before in mana_gd_process_eq_events() 443 const struct gdma_queue_spec *spec) in mana_gd_register_irq() 582 const struct gdma_queue_spec *spec, in mana_gd_create_eq() 594 if (spec->eq.log2_throttle_limit > log2_num_entries) { in mana_gd_create_eq() 596 spec->eq.log2_throttle_limit, log2_num_entries); in mana_gd_create_eq() 600 err = mana_gd_register_irq(queue, spec); in mana_gd_create_eq() 606 queue->eq.callback = spec->eq.callback; in mana_gd_create_eq() 607 queue->eq.context = spec->eq.context; in mana_gd_create_eq() 609 queue->eq.log2_throttle_limit = spec->eq.log2_throttle_limit ?: 1; in mana_gd_create_eq() 628 static void mana_gd_create_cq(const struct gdma_queue_spec *spec, in mana_gd_create_cq() argument 442 mana_gd_register_irq(struct gdma_queue *queue, const struct gdma_queue_spec *spec) mana_gd_register_irq() argument 581 mana_gd_create_eq(struct gdma_dev *gd, const struct gdma_queue_spec *spec, bool create_hwq, struct gdma_queue *queue) mana_gd_create_eq() argument 653 mana_gd_create_hwc_queue(struct gdma_dev *gd, const struct gdma_queue_spec *spec, struct gdma_queue **queue_ptr) mana_gd_create_hwc_queue() argument 777 mana_gd_create_mana_eq(struct gdma_dev *gd, const struct gdma_queue_spec *spec, struct gdma_queue **queue_ptr) mana_gd_create_mana_eq() argument 823 mana_gd_create_mana_wq_cq(struct gdma_dev *gd, const struct gdma_queue_spec *spec, struct gdma_queue **queue_ptr) mana_gd_create_mana_wq_cq() argument [all...] |
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-mt6323.c | 83 * struct mt6323_regs - register spec for the LED device 124 * @regs: Register spec for this device 125 * @spec: Hardware specific parameters 129 const struct mt6323_hwspec *spec; member 296 const struct mt6323_hwspec *spec = leds->pdata->spec; in mt6323_led_set_blink() local 319 if (period > spec->max_period) in mt6323_led_set_blink() 326 duty_hw = DIV_ROUND_CLOSEST(*delay_on * 100000ul, period * spec->unit_duty); in mt6323_led_set_blink() 535 const struct mt6323_hwspec *spec; in mt6323_led_probe() local 549 spec in mt6323_led_probe() [all...] |
/third_party/python/Tools/scripts/ |
H A D | freeze_modules.py | 134 for spec in specs: 135 info, subs = _parse_spec(spec, seen, section) 141 def _parse_spec(spec, knownids=None, section=None): 142 """Yield an info tuple for each module corresponding to the given spec. 171 frozenid, _, remainder = spec.partition(':') 179 assert check_modname(frozenid), spec 181 assert check_modname(modname), spec 185 assert not os.path.isdir(pyfile), spec 190 assert check_modname(frozenid), spec 191 assert not knownids or frozenid not in knownids, spec [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
H A D | wpa_evp_key.c | 27 struct CmSignatureSpec *spec)
in cm_sign() 33 ret = CmInit(keyUri, spec, &handle);
in cm_sign() 67 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_PKCS1_V1_5, CM_DIGEST_NONE };
in rsa_sign() local 70 ret = cm_sign(&keyUri, &message, &signature, &spec);
in rsa_sign() 91 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_NONE, CM_DIGEST_NONE };
in rsa_priv_enc() local 93 ret = cm_sign(&keyUri, &message, &signature, &spec);
in rsa_priv_enc() 110 struct CmSignatureSpec spec = { CM_KEY_PURPOSE_SIGN, CM_PADDING_NONE, CM_DIGEST_NONE };
in ec_sign() local 112 ret = cm_sign(&keyUri, &message, &signature, &spec);
in ec_sign() 26 cm_sign(const struct CmBlob *keyUri, const struct CmBlob *message, struct CmBlob *signature, struct CmSignatureSpec *spec) cm_sign() argument
|
/third_party/python/Modules/ |
H A D | _lzmamodule.c | 233 parse_filter_spec_lzma(_lzma_state *state, PyObject *spec) in parse_filter_spec_lzma() argument 245 preset_obj = PyMapping_GetItemString(spec, "preset"); in parse_filter_spec_lzma() 272 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, in parse_filter_spec_lzma() 293 parse_filter_spec_delta(_lzma_state *state, PyObject *spec) in parse_filter_spec_delta() argument 300 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_delta() 317 parse_filter_spec_bcj(_lzma_state *state, PyObject *spec) in parse_filter_spec_bcj() argument 324 if (!PyArg_ParseTupleAndKeywords(state->empty_tuple, spec, "|OO&", optnames, in parse_filter_spec_bcj() 340 lzma_filter_converter(_lzma_state *state, PyObject *spec, void *ptr) in lzma_filter_converter() argument 345 if (!PyMapping_Check(spec)) { in lzma_filter_converter() 350 id_obj = PyMapping_GetItemString(spec, "i in lzma_filter_converter() 411 PyObject *spec = PySequence_GetItem(filterspecs, i); parse_filter_chain_spec() local 433 spec_add_field(PyObject *spec, const char *key, unsigned long long value) spec_add_field() argument 453 PyObject *spec; build_filter_spec() local [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/tlog/ |
H A D | intoto.js | 36 if (tlogEntry.spec.content.envelope.signatures?.length !== 1) { 43 const tlogSig = base64Decode(tlogEntry.spec.content.envelope.signatures[0].sig); 52 const tlogHash = tlogEntry.spec.content.payloadHash?.value || '';
|
H A D | dsse.js | 36 if (tlogEntry.spec.signatures?.length !== 1) { 42 const tlogSig = tlogEntry.spec.signatures[0].signature; 51 const tlogHash = tlogEntry.spec.payloadHash?.value || '';
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | asymmetric_type.c | 286 const char *spec = match_data->raw_data; in asymmetric_key_match_preparse() local 291 if (!spec || !*spec) in asymmetric_key_match_preparse() 293 if (spec[0] == 'i' && in asymmetric_key_match_preparse() 294 spec[1] == 'd' && in asymmetric_key_match_preparse() 295 spec[2] == ':') { in asymmetric_key_match_preparse() 296 id = spec + 3; in asymmetric_key_match_preparse() 298 } else if (spec[0] == 'e' && in asymmetric_key_match_preparse() 299 spec[1] == 'x' && in asymmetric_key_match_preparse() 300 spec[ in asymmetric_key_match_preparse() [all...] |
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | registry.py | 289 def createInterface(registry, spec, api=None): 382 types = NameIndex(list(map(createType, spec.types)), 384 enums = NameIndex(list(map(createEnum, spec.enums)), 386 commands = NameIndex(list(map(createCommand, spec.commands)), 388 versions = sorted(spec.versions) 420 def spec(registry, api, version=None, profile=None, extensionNames=[], protects=[], force=False): function 422 spec = InterfaceSpec() 432 # spec.addComponents(registry.types, api, profile) 435 spec.addFeature(eFeature, api, profile, force) 444 spec [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mcg.c | 836 static int parse_trans_rule(struct mlx4_dev *dev, struct mlx4_spec_list *spec, in parse_trans_rule() argument 839 if (mlx4_hw_rule_sz(dev, spec->id) < 0) in parse_trans_rule() 841 memset(rule_hw, 0, mlx4_hw_rule_sz(dev, spec->id)); in parse_trans_rule() 842 rule_hw->id = cpu_to_be16(__sw_id_hw[spec->id]); in parse_trans_rule() 843 rule_hw->size = mlx4_hw_rule_sz(dev, spec->id) >> 2; in parse_trans_rule() 845 switch (spec->id) { in parse_trans_rule() 847 memcpy(rule_hw->eth.dst_mac, spec->eth.dst_mac, ETH_ALEN); in parse_trans_rule() 848 memcpy(rule_hw->eth.dst_mac_msk, spec->eth.dst_mac_msk, in parse_trans_rule() 850 memcpy(rule_hw->eth.src_mac, spec->eth.src_mac, ETH_ALEN); in parse_trans_rule() 851 memcpy(rule_hw->eth.src_mac_msk, spec in parse_trans_rule() 1372 struct mlx4_spec_list spec = { {NULL} }; mlx4_trans_to_dmfs_attach() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mcg.c | 836 static int parse_trans_rule(struct mlx4_dev *dev, struct mlx4_spec_list *spec, in parse_trans_rule() argument 839 if (mlx4_hw_rule_sz(dev, spec->id) < 0) in parse_trans_rule() 841 memset(rule_hw, 0, mlx4_hw_rule_sz(dev, spec->id)); in parse_trans_rule() 842 rule_hw->id = cpu_to_be16(__sw_id_hw[spec->id]); in parse_trans_rule() 843 rule_hw->size = mlx4_hw_rule_sz(dev, spec->id) >> 2; in parse_trans_rule() 845 switch (spec->id) { in parse_trans_rule() 847 memcpy(rule_hw->eth.dst_mac, spec->eth.dst_mac, ETH_ALEN); in parse_trans_rule() 848 memcpy(rule_hw->eth.dst_mac_msk, spec->eth.dst_mac_msk, in parse_trans_rule() 850 memcpy(rule_hw->eth.src_mac, spec->eth.src_mac, ETH_ALEN); in parse_trans_rule() 851 memcpy(rule_hw->eth.src_mac_msk, spec in parse_trans_rule() 1372 struct mlx4_spec_list spec = { {NULL} }; mlx4_trans_to_dmfs_attach() local [all...] |
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob_focusrite.c | 188 if (bebob->spec->clock->types == saffirepro_10_clk_src_types) in saffirepro_both_clk_src_get() 234 const struct snd_bebob_meter_spec *spec = bebob->spec->meter; in saffire_meter_get() local 239 if (spec->labels == saffire_le_meter_labels) in saffire_meter_get() 244 channels = spec->num * 2; in saffire_meter_get() 249 if (err >= 0 && spec->labels == saffire_le_meter_labels) { in saffire_meter_get()
|
/kernel/linux/linux-5.10/drivers/reset/ |
H A D | reset-intel-gw.c | 136 const struct of_phandle_args *spec) in intel_reset_xlate() 141 if (spec->args[1] > 31) in intel_reset_xlate() 144 id = FIELD_PREP(REG_OFFSET_MASK, spec->args[0]); in intel_reset_xlate() 145 id |= FIELD_PREP(BIT_OFFSET_MASK, spec->args[1]); in intel_reset_xlate() 148 if (spec->args[2] > 31) in intel_reset_xlate() 151 id |= FIELD_PREP(STAT_BIT_OFFSET_MASK, spec->args[2]); in intel_reset_xlate() 135 intel_reset_xlate(struct reset_controller_dev *rcdev, const struct of_phandle_args *spec) intel_reset_xlate() argument
|
/kernel/linux/linux-6.6/drivers/reset/ |
H A D | reset-intel-gw.c | 136 const struct of_phandle_args *spec) in intel_reset_xlate() 141 if (spec->args[1] > 31) in intel_reset_xlate() 144 id = FIELD_PREP(REG_OFFSET_MASK, spec->args[0]); in intel_reset_xlate() 145 id |= FIELD_PREP(BIT_OFFSET_MASK, spec->args[1]); in intel_reset_xlate() 148 if (spec->args[2] > 31) in intel_reset_xlate() 151 id |= FIELD_PREP(STAT_BIT_OFFSET_MASK, spec->args[2]); in intel_reset_xlate() 135 intel_reset_xlate(struct reset_controller_dev *rcdev, const struct of_phandle_args *spec) intel_reset_xlate() argument
|
/kernel/linux/linux-6.6/sound/firewire/bebob/ |
H A D | bebob_focusrite.c | 188 if (bebob->spec->clock->types == saffirepro_10_clk_src_types) in saffirepro_both_clk_src_get() 234 const struct snd_bebob_meter_spec *spec = bebob->spec->meter; in saffire_meter_get() local 239 if (spec->labels == saffire_le_meter_labels) in saffire_meter_get() 244 channels = spec->num * 2; in saffire_meter_get() 249 if (err >= 0 && spec->labels == saffire_le_meter_labels) { in saffire_meter_get()
|
/third_party/node/deps/npm/lib/utils/ |
H A D | sbom-cyclonedx.js | 78 // Calculate purl from package spec 79 let spec = npa(node.pkgid) 80 spec = (spec.type === 'alias') ? spec.subSpec : spec 81 const purl = npa.toPurl(spec) + (isGitNode(node) ? `?vcs_url=${node.resolved}` : '')
|
/third_party/vk-gl-cts/external/vulkancts/modules/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()
|