Home
last modified time | relevance | path

Searched refs:spec (Results 76 - 100 of 1361) sorted by relevance

12345678910>>...55

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmPointerParameterTests.cpp49 ComputeShaderSpec spec; in addComputePointerParamToParamTest() local
135 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToParamTest()
137 spec.assembly = shaderSource; in addComputePointerParamToParamTest()
138 spec.numWorkGroups = IVec3(numFloats, 1, 1); in addComputePointerParamToParamTest()
140 group->addChild(new SpvAsmComputeShaderCase(testCtx, "param_to_param", "", spec)); in addComputePointerParamToParamTest()
147 ComputeShaderSpec spec; in addComputePointerParamToGlobalTest() local
251 spec.outputs.push_back(BufferSp(new Float32Buffer(expectedOutput))); in addComputePointerParamToGlobalTest()
253 spec.assembly = shaderSource; in addComputePointerParamToGlobalTest()
254 spec.numWorkGroups = IVec3(numFloats, 1, 1); in addComputePointerParamToGlobalTest()
256 group->addChild(new SpvAsmComputeShaderCase(testCtx, "param_to_global", "", spec)); in addComputePointerParamToGlobalTest()
263 ComputeShaderSpec spec; addComputePointerBufferMemoryTest() local
392 ComputeShaderSpec spec; addComputePointerBufferMemoryVariablePointersTest() local
520 ComputeShaderSpec spec; addComputePointerWorkgroupMemoryVariablePointersTest() local
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fDrawTests.cpp153 static void addTestIterations (gls::DrawTest* test, gls::DrawTestSpec& spec, TestIterationType type) in addTestIterations() argument
157 spec.primitiveCount = 1; in addTestIterations()
158 test->addIteration(spec, "draw count = 1"); in addTestIterations()
160 spec.primitiveCount = 5; in addTestIterations()
161 test->addIteration(spec, "draw count = 5"); in addTestIterations()
163 spec.primitiveCount = 25; in addTestIterations()
164 test->addIteration(spec, "draw count = 25"); in addTestIterations()
168 spec.instanceCount = 1; in addTestIterations()
169 test->addIteration(spec, "instance count = 1"); in addTestIterations()
171 spec in addTestIterations()
181 genBasicSpec(gls::DrawTestSpec& spec, glu::ContextType contextType, gls::DrawTestSpec::DrawMethod method) genBasicSpec() argument
264 gls::DrawTestSpec spec; init() local
301 gls::DrawTestSpec spec; init() local
349 gls::DrawTestSpec spec; init() local
411 gls::DrawTestSpec spec; init() local
511 gls::DrawTestSpec spec; init() local
578 gls::DrawTestSpec spec; init() local
633 gls::DrawTestSpec spec; init() local
[all...]
/third_party/node/deps/npm/node_modules/negotiator/lib/
H A Dlanguage.js90 var spec = specify(language, accepted[i], index);
92 if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
93 priority = spec;
105 function specify(language, spec, index) {
109 if(spec.full.toLowerCase() === p.full.toLowerCase()){
111 } else if (spec.prefix.toLowerCase() === p.full.toLowerCase()) {
113 } else if (spec
[all...]
H A DmediaType.js103 var spec = specify(type, accepted[i], index);
105 if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
106 priority = spec;
118 function specify(type, spec, index) {
126 if(spec.type.toLowerCase() == p.type.toLowerCase()) {
128 } else if(spec.type != '*') {
132 if(spec
[all...]
H A Dencoding.js102 var spec = specify(encoding, accepted[i], index);
104 if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
105 priority = spec;
117 function specify(encoding, spec, index) {
119 if(spec.encoding.toLowerCase() === encoding.toLowerCase()){
121 } else if (spec.encoding !== '*' ) {
127 o: spec
[all...]
H A Dcharset.js86 var spec = specify(charset, accepted[i], index);
88 if (spec && (priority.s - spec.s || priority.q - spec.q || priority.o - spec.o) < 0) {
89 priority = spec;
101 function specify(charset, spec, index) {
103 if(spec.charset.toLowerCase() === charset.toLowerCase()){
105 } else if (spec.charset !== '*' ) {
111 o: spec
[all...]
/third_party/node/deps/npm/node_modules/pacote/lib/
H A Dgit.js39 constructor (spec, opts) {
40 super(spec, opts)
45 log.warn(`skipping integrity check for git dependency ${this.spec.fetchSpec}`)
49 if (this.spec.hosted) {
50 this.from = this.spec.hosted.shortcut({ noCommittish: false })
55 if (this.spec.gitCommittish && hashre.test(this.spec.gitCommittish)) {
56 this.resolvedSha = this.spec.gitCommittish
58 this.resolved = this.spec.hosted
59 ? repoUrl(this.spec
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fVertexArrayObjectTests.cpp149 VertexArrayObjectTest (Context& context, const Spec& spec, const char* name, const char* description);
177 VertexArrayObjectTest::VertexArrayObjectTest (Context& context, const Spec& spec, const char* name, const char* description) in VertexArrayObjectTest() argument
179 , m_spec (spec) in VertexArrayObjectTest()
1267 Spec spec; in init() local
1284 spec.buffers.push_back(floatCoordBuffer48_1); in init()
1285 spec.buffers.push_back(floatCoordBuffer48_2); in init()
1287 spec.useDrawElements = false; in init()
1288 spec.instances = 0; in init()
1289 spec.count = 48; in init()
1290 spec in init()
1304 Spec spec; init() local
1342 Spec spec; init() local
1380 Spec spec; init() local
1417 Spec spec; init() local
1454 Spec spec; init() local
1504 Spec spec; init() local
1541 Spec spec; init() local
1578 Spec spec; init() local
[all...]
/kernel/linux/linux-5.10/sound/pci/ice1712/
H A Dse.c448 struct se_spec *spec = ice->spec; in se200pci_cont_volume_get() local
450 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_volume_get()
451 uc->value.integer.value[1] = spec->vol[n].ch2; in se200pci_cont_volume_get()
459 struct se_spec *spec = ice->spec; in se200pci_cont_boolean_get() local
461 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_boolean_get()
469 struct se_spec *spec = ice->spec; in se200pci_cont_enum_get() local
471 uc->value.enumerated.item[0] = spec in se200pci_cont_enum_get()
477 struct se_spec *spec = ice->spec; se200pci_cont_update() local
520 struct se_spec *spec = ice->spec; se200pci_cont_volume_put() local
546 struct se_spec *spec = ice->spec; se200pci_cont_boolean_put() local
563 struct se_spec *spec = ice->spec; se200pci_cont_enum_put() local
661 struct se_spec *spec; se_init() local
[all...]
/kernel/linux/linux-6.6/sound/pci/ice1712/
H A Dse.c448 struct se_spec *spec = ice->spec; in se200pci_cont_volume_get() local
450 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_volume_get()
451 uc->value.integer.value[1] = spec->vol[n].ch2; in se200pci_cont_volume_get()
459 struct se_spec *spec = ice->spec; in se200pci_cont_boolean_get() local
461 uc->value.integer.value[0] = spec->vol[n].ch1; in se200pci_cont_boolean_get()
469 struct se_spec *spec = ice->spec; in se200pci_cont_enum_get() local
471 uc->value.enumerated.item[0] = spec in se200pci_cont_enum_get()
477 struct se_spec *spec = ice->spec; se200pci_cont_update() local
520 struct se_spec *spec = ice->spec; se200pci_cont_volume_put() local
546 struct se_spec *spec = ice->spec; se200pci_cont_boolean_put() local
563 struct se_spec *spec = ice->spec; se200pci_cont_enum_put() local
661 struct se_spec *spec; se_init() local
[all...]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/table/
H A DRangeKeyTest.java84 .containsExactly(spec("xxx"), spec("xxxx"), spec("xxxxx")).inOrder(); in testAsRangeSpecifications()
86 .containsExactly(spec("1[2-4]x"), spec("1[2-4]xx"), spec("1[2-4]xxx")).inOrder(); in testAsRangeSpecifications()
88 .containsExactly(spec("1x[468]"), spec("1x[468]xx"), spec("1x[468]xxxx")).inOrder(); in testAsRangeSpecifications()
115 private static RangeKey key(String spec, Intege argument
121 ranges(String... spec) ranges() argument
125 spec(String spec) spec() argument
129 digitSequence(String spec) digitSequence() argument
[all...]
/third_party/python/Lib/importlib/resources/
H A D_adapters.py9 Adapt a package spec to adapt the underlying loader.
12 def __init__(self, spec, adapter=lambda spec: spec.loader):
13 self.spec = spec
14 self.loader = adapter(spec)
17 return getattr(self.spec, name)
25 def __init__(self, spec):
26 self.spec
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dpatch_ca0110.c29 struct hda_gen_spec *spec = codec->spec; in ca0110_parse_auto_config() local
32 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
35 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
45 struct hda_gen_spec *spec; in patch_ca0110() local
48 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in patch_ca0110()
49 if (!spec) in patch_ca0110()
51 snd_hda_gen_spec_init(spec); in patch_ca0110()
52 codec->spec in patch_ca0110()
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dpatch_ca0110.c29 struct hda_gen_spec *spec = codec->spec; in ca0110_parse_auto_config() local
32 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
35 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
45 struct hda_gen_spec *spec; in patch_ca0110() local
48 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in patch_ca0110()
49 if (!spec) in patch_ca0110()
51 snd_hda_gen_spec_init(spec); in patch_ca0110()
52 codec->spec in patch_ca0110()
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
H A Doverride-set.js20 const spec = npa(key)
21 if (!spec.name) {
25 this.name = spec.name
26 spec.name = ''
28 this.keySpec = spec.toString()
58 let spec = npa(`${edge.name}@${edge.spec}`)
59 if (spec.type === 'alias') {
60 spec = spec
[all...]
/third_party/libabigail/tests/
H A Dtest-diff-pkg.cc55 // dir1 contains a suppr spec - it should be ignored.
68 // dir2 contains a suppr spec - it should be recognized.
81 // dir2 contains a suppr spec but --no-abignore is specified,
95 // dir2 contains several suppr spec files, ".abignore" and
109 // dir2 contains a suppr spec file, ".abignore" and
124 // dir2 contains a suppr spec file, ".abignore", which should
770 // dir1 contains a suppr spec - it should be ignored.
783 // dir2 contains a suppr spec - it should be recognized.
796 // dir2 contains a suppr spec but --no-abignore is specified,
810 // dir2 contains several suppr spec file
1098 InOutSpec spec; global() member
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dchi_square_test.cc91 for (const auto& spec : specs) { in TEST()
92 SCOPED_TRACE(spec.line); in TEST()
94 const double val = ChiSquareValue(spec.df, spec.confidence); in TEST()
95 const double err = std::max(5e-6, spec.chi_square / 5e3); // 1 part in 5000 in TEST()
96 EXPECT_NEAR(spec.chi_square, val, err) << spec.line; in TEST()
135 for (const auto& spec : specs) { in TEST()
136 SCOPED_TRACE(spec.line); in TEST()
137 const double pval = ChiSquarePValue(spec in TEST()
[all...]
/third_party/ltp/testcases/kernel/syscalls/timer_settime/
H A Dtimer_settime03.c39 struct itimerspec spec; in sighandler() local
51 memset(&spec, 0, sizeof(struct itimerspec)); in sighandler()
52 SAFE_TIMER_SETTIME(timer, 0, &spec, NULL); in sighandler()
77 struct itimerspec spec; in run() local
80 memset(&spec, 0, sizeof(struct itimerspec)); in run()
81 SAFE_CLOCK_GETTIME(CLOCK_REALTIME, &spec.it_value); in run()
84 if (nsec > spec.it_value.tv_nsec) { in run()
85 spec.it_value.tv_sec -= 1; in run()
86 spec.it_value.tv_nsec += 1000000000; in run()
89 /* spec in run()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste.c695 struct mlx5dr_match_spec *spec) in dr_ste_build_pre_check_spec()
697 if (spec->ip_version) { in dr_ste_build_pre_check_spec()
698 if (spec->ip_version != 0xf) { in dr_ste_build_pre_check_spec()
703 } else if (spec->ethertype != 0xffff && in dr_ste_build_pre_check_spec()
704 (DR_MASK_IS_SRC_IP_SET(spec) || DR_MASK_IS_DST_IP_SET(spec))) { in dr_ste_build_pre_check_spec()
806 static void dr_ste_copy_mask_misc(char *mask, struct mlx5dr_match_misc *spec, bool clr) in dr_ste_copy_mask_misc() argument
808 spec->gre_c_present = IFC_GET_CLR(fte_match_set_misc, mask, gre_c_present, clr); in dr_ste_copy_mask_misc()
809 spec->gre_k_present = IFC_GET_CLR(fte_match_set_misc, mask, gre_k_present, clr); in dr_ste_copy_mask_misc()
810 spec in dr_ste_copy_mask_misc()
694 dr_ste_build_pre_check_spec(struct mlx5dr_domain *dmn, struct mlx5dr_match_spec *spec) dr_ste_build_pre_check_spec() argument
858 dr_ste_copy_mask_spec(char *mask, struct mlx5dr_match_spec *spec, bool clr) dr_ste_copy_mask_spec() argument
910 dr_ste_copy_mask_misc2(char *mask, struct mlx5dr_match_misc2 *spec, bool clr) dr_ste_copy_mask_misc2() argument
955 dr_ste_copy_mask_misc3(char *mask, struct mlx5dr_match_misc3 *spec, bool clr) dr_ste_copy_mask_misc3() argument
985 dr_ste_copy_mask_misc4(char *mask, struct mlx5dr_match_misc4 *spec, bool clr) dr_ste_copy_mask_misc4() argument
1005 dr_ste_copy_mask_misc5(char *mask, struct mlx5dr_match_misc5 *spec, bool clr) dr_ste_copy_mask_misc5() argument
[all...]
/third_party/node/deps/npm/test/lib/utils/
H A Dexplain-dep.js18 spec: '1.x',
35 spec: '2.x',
44 spec: '3.x',
53 spec: '4.x',
76 spec: '1.0.0',
93 spec: '1.0.0',
110 spec: '1.x',
135 spec: '1.0.0',
152 spec: '1.0.0',
158 spec
[all...]
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sVertexArrayTests.cpp100 MultiVertexArrayTest::Spec spec; in init() local
101 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
102 spec.drawCount = counts[countNdx]; in init()
103 spec.first = 0; in init()
104 spec.arrays.push_back(arraySpec); in init()
106 std::string name = spec.getName(); in init()
109 addChild(new MultiVertexArrayTest(m_testCtx, m_context.getRenderContext(), spec, name.c_str(), name.c_str())); in init()
170 MultiVertexArrayTest::Spec spec; in init() local
171 spec.primitive = Array::PRIMITIVE_TRIANGLES; in init()
172 spec in init()
241 MultiVertexArrayTest::Spec spec; init() local
309 MultiVertexArrayTest::Spec spec; init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c60 struct mlx5_flow_spec *spec; in rx_err_add_rule() local
63 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in rx_err_add_rule()
64 if (!spec) in rx_err_add_rule()
89 fte = mlx5_add_flow_rules(rx_err->ft, spec, &flow_act, in rx_err_add_rule()
104 kfree(spec); in rx_err_add_rule()
190 struct mlx5_flow_spec *spec; in rx_fs_create() local
196 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in rx_fs_create()
197 if (!flow_group_in || !spec) { in rx_fs_create()
403 setup_fte_common(struct mlx5_accel_esp_xfrm_attrs *attrs, u32 ipsec_obj_id, struct mlx5_flow_spec *spec, struct mlx5_flow_act *flow_act) setup_fte_common() argument
472 struct mlx5_flow_spec *spec; rx_add_rule() local
544 struct mlx5_flow_spec *spec; tx_add_rule() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dmcdi_filters.c30 return (struct efx_filter_spec *)(table->entry[filter_idx].spec & in efx_mcdi_filter_entry_spec()
38 return table->entry[filter_idx].spec & EFX_EF10_FILTER_FLAGS; in efx_mcdi_filter_entry_flags()
63 static bool efx_mcdi_filter_is_exclusive(const struct efx_filter_spec *spec) in efx_mcdi_filter_is_exclusive() argument
65 if (spec->match_flags & EFX_FILTER_MATCH_LOC_MAC && in efx_mcdi_filter_is_exclusive()
66 !is_multicast_ether_addr(spec->loc_mac)) in efx_mcdi_filter_is_exclusive()
69 if ((spec->match_flags & in efx_mcdi_filter_is_exclusive()
72 if (spec->ether_type == htons(ETH_P_IP) && in efx_mcdi_filter_is_exclusive()
73 !ipv4_is_multicast(spec->loc_host[0])) in efx_mcdi_filter_is_exclusive()
75 if (spec->ether_type == htons(ETH_P_IPV6) && in efx_mcdi_filter_is_exclusive()
76 ((const u8 *)spec in efx_mcdi_filter_is_exclusive()
84 efx_mcdi_filter_set_entry(struct efx_mcdi_filter_table *table, unsigned int filter_idx, const struct efx_filter_spec *spec, unsigned int flags) efx_mcdi_filter_set_entry() argument
93 efx_mcdi_filter_push_prep_set_match_fields(struct efx_nic *efx, const struct efx_filter_spec *spec, efx_dword_t *inbuf) efx_mcdi_filter_push_prep_set_match_fields() argument
194 efx_mcdi_filter_push_prep(struct efx_nic *efx, const struct efx_filter_spec *spec, efx_dword_t *inbuf, u64 handle, struct efx_rss_context *ctx, bool replacing) efx_mcdi_filter_push_prep() argument
246 efx_mcdi_filter_push(struct efx_nic *efx, const struct efx_filter_spec *spec, u64 *handle, struct efx_rss_context *ctx, bool replacing) efx_mcdi_filter_push() argument
268 efx_mcdi_filter_mcdi_flags_from_spec(const struct efx_filter_spec *spec) efx_mcdi_filter_mcdi_flags_from_spec() argument
328 efx_mcdi_filter_pri(struct efx_mcdi_filter_table *table, const struct efx_filter_spec *spec) efx_mcdi_filter_pri() argument
343 efx_mcdi_filter_insert_locked(struct efx_nic *efx, struct efx_filter_spec *spec, bool replace_equal) efx_mcdi_filter_insert_locked() argument
556 efx_mcdi_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec, bool replace_equal) efx_mcdi_filter_insert() argument
585 struct efx_filter_spec *spec; efx_mcdi_filter_remove_internal() local
717 efx_mcdi_filter_get_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id, struct efx_filter_spec *spec) efx_mcdi_filter_get_safe() argument
750 struct efx_filter_spec spec; efx_mcdi_filter_insert_addr_list() local
831 struct efx_filter_spec spec; efx_mcdi_filter_insert_def() local
1150 struct efx_filter_spec *spec; efx_mcdi_filter_get_rx_ids() local
1378 struct efx_filter_spec *spec; efx_mcdi_filter_table_restore() local
1470 struct efx_filter_spec *spec; efx_mcdi_filter_table_down() local
1782 struct efx_filter_spec *spec, saved_spec; efx_mcdi_filter_rfs_expire_one() local
[all...]
/third_party/ntfs-3g/include/ntfs-3g/
H A Dntfstime.h70 struct timespec spec; in ntfs2timespec() local
74 spec.tv_sec = (cputime - (NTFS_TIME_OFFSET)) / 10000000; in ntfs2timespec()
75 spec.tv_nsec = (cputime - (NTFS_TIME_OFFSET) in ntfs2timespec()
76 - (s64)spec.tv_sec*10000000)*100; in ntfs2timespec()
78 if ((spec.tv_nsec < 0) || (spec.tv_nsec > 999999999)) in ntfs2timespec()
79 spec.tv_nsec = 0; in ntfs2timespec()
80 return (spec); in ntfs2timespec()
99 static __inline__ ntfs_time timespec2ntfs(struct timespec spec) in timespec2ntfs() argument
103 units = (s64)spec in timespec2ntfs()
[all...]
/third_party/python/Python/
H A Dformatter_unicode.c277 /* Create a temporary object that contains the format spec we're in parse_internal_render_format_spec()
474 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, in calc_number_widths() argument
483 spec->n_digits = n_end - n_start - n_remainder - (has_decimal?1:0); in calc_number_widths()
484 spec->n_lpadding = 0; in calc_number_widths()
485 spec->n_prefix = n_prefix; in calc_number_widths()
486 spec->n_decimal = has_decimal ? PyUnicode_GET_LENGTH(locale->decimal_point) : 0; in calc_number_widths()
487 spec->n_remainder = n_remainder; in calc_number_widths()
488 spec->n_spadding = 0; in calc_number_widths()
489 spec->n_rpadding = 0; in calc_number_widths()
490 spec in calc_number_widths()
603 fill_number(_PyUnicodeWriter *writer, const NumberFieldWidths *spec, PyObject *digits, Py_ssize_t d_start, PyObject *prefix, Py_ssize_t p_start, Py_UCS4 fill_char, LocaleInfo *locale, int toupper) fill_number() argument
879 NumberFieldWidths spec; format_long_internal() local
1056 NumberFieldWidths spec; format_float_internal() local
[all...]

Completed in 15 milliseconds

12345678910>>...55