Home
last modified time | relevance | path

Searched refs:spec (Results 526 - 550 of 1330) sorted by relevance

1...<<21222324252627282930>>...54

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DDataDrivenFormatTest.java100 String spec = currentCase.getString("spec"); in testConvertDate()
114 // parse 'spec' - either 'PATTERN=yy mm dd' or 'DATE=x,TIME=y' in testConvertDate()
115 if(spec.startsWith(kPATTERN)) { in testConvertDate()
116 pattern = spec.substring(kPATTERN.length()); in testConvertDate()
121 styleSet.parseFrom(spec); in testConvertDate()
/third_party/python/Lib/test/test_importlib/source/
H A Dtest_finder.py185 spec = finder.find_spec(name)
186 return spec.loader if spec is not None else spec
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_searchbase.py122 for spec, button in zip (options, frame.pack_slaves()):
123 var, label = spec
134 for spec, button in zip(others, buttons):
135 val, label = spec
/third_party/node/deps/npm/node_modules/normalize-package-data/lib/
H A Dfixer.js344 function isValidScopedPackageName (spec) {
345 if (spec.charAt(0) !== '@') {
349 var rest = spec.slice(1).split('/')
359 function isCorrectlyEncodedName (spec) {
360 return !spec.match(/[/@\s+%:]/) &&
361 spec === encodeURIComponent(spec)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalDispatchTests.cpp483 ConditionalTestSpec spec; in init() local
484 spec.command = DISPATCH_COMMAND_TYPE_DISPATCH; in init()
485 spec.numCalls = 1; in init()
486 spec.conditionalData = conditionalData; in init()
488 subcaseGroup->addChild(new ConditionalDispatchTest(m_testCtx, valueResults.name, spec)); in init()
591 const ConditionalTestSpec spec = in init() local
598 activeSubGroup->addChild(new ConditionalDispatchTest(m_testCtx, memoryTypeCase.name, spec)); in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalDispatchTests.cpp485 ConditionalTestSpec spec; in init() local
486 spec.command = DISPATCH_COMMAND_TYPE_DISPATCH; in init()
487 spec.numCalls = 1; in init()
488 spec.conditionalData = conditionalData; in init()
490 subcaseGroup->addChild(new ConditionalDispatchTest(m_testCtx, valueResults.name, "", spec)); in init()
593 const ConditionalTestSpec spec = in init() local
600 activeSubGroup->addChild(new ConditionalDispatchTest(m_testCtx, memoryTypeCase.name, "", spec)); in init()
/third_party/python/Lib/test/test_importlib/extension/
H A Dtest_loader.py109 self.spec = importlib.util.find_spec(self.name)
110 assert self.spec
112 self.name, self.spec.origin)
122 origin = self.spec.origin
124 spec = importlib.util.spec_from_loader(fullname, loader)
125 module = importlib.util.module_from_spec(spec)
143 ('__file__', self.spec.origin),
/third_party/python/Objects/
H A Dstructseq.c568 PyType_Spec spec; in _PyStructSequence_NewType() local
593 spec.name = desc->name; in _PyStructSequence_NewType()
594 spec.basicsize = sizeof(PyStructSequence) - sizeof(PyObject *); in _PyStructSequence_NewType()
595 spec.itemsize = sizeof(PyObject *); in _PyStructSequence_NewType()
596 spec.flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | tp_flags; in _PyStructSequence_NewType()
597 spec.slots = slots; in _PyStructSequence_NewType()
599 type = (PyTypeObject *)PyType_FromSpecWithBases(&spec, (PyObject *)&PyTuple_Type); in _PyStructSequence_NewType()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h250 int soffset; /* byte offset of spec for match */
273 void mlx5e_tc_match_to_reg_match(struct mlx5_flow_spec *spec,
278 void mlx5e_tc_match_to_reg_get_match(struct mlx5_flow_spec *spec,
309 struct mlx5_flow_spec *spec,
317 struct mlx5_flow_spec *spec,
349 struct mlx5_flow_spec *spec,
H A Den_fs_ethtool.c465 struct mlx5_flow_spec *spec; in add_ethtool_flow_rule() local
468 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in add_ethtool_flow_rule()
469 if (!spec) in add_ethtool_flow_rule()
471 err = set_flow_attrs(spec->match_criteria, spec->match_value, in add_ethtool_flow_rule()
493 spec->match_criteria_enable = (!outer_header_zero(spec->match_criteria)); in add_ethtool_flow_rule()
494 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
495 rule = mlx5_add_flow_rules(ft, spec, in add_ethtool_flow_rule()
[all...]
/kernel/linux/linux-6.6/tools/net/ynl/
H A Dethtool.py47 for spec in desc:
49 field, name, tp = spec
51 field, name = spec
155 spec = '../../../Documentation/netlink/specs/ethtool.yaml'
158 ynl = YnlFamily(spec, schema)
/third_party/node/deps/npm/node_modules/init-package-json/lib/
H A Ddefault-input.js56 let spec
58 spec = npa(name)
60 spec = {}
69 if (spec.scope) {
70 name = scope + '/' + spec.name.split('/')[1]
/third_party/node/deps/npm/test/lib/utils/
H A Dupdate-notifier.js56 manifest: async (spec) => {
57 if (!spec.match(/^npm@/)) {
60 MANIFEST_REQUEST.push(spec)
64 const manifestV = spec === 'npm@latest' ? CURRENT_VERSION
65 : /-/.test(spec) ? CURRENT_BETA : NEXT_VERSION
126 t.test('do not suggest update if already updating with spec', async t => {
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dreadme_preview.rs232 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
233 self.upstream.set_color(spec) in set_color()
270 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
273 if self.color == *spec { in set_color()
279 self.color = spec.clone(); in set_color()
282 if spec.is_none() { in set_color()
314 if let Some(fg) = spec.fg() { in set_color()
320 if let Some(bg) = spec.bg() { in set_color()
326 if spec.bold() { in set_color()
331 if spec in set_color()
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dtime-smoother_2.c117 void pa_smoother_2_set_sample_spec(pa_smoother_2 *s, pa_usec_t time_stamp, pa_sample_spec *spec) { in pa_smoother_2_set_sample_spec() argument
121 pa_assert(pa_sample_spec_valid(spec)); in pa_smoother_2_set_sample_spec()
123 /* If the sample spec has changed, data in the smoother will be invalid, in pa_smoother_2_set_sample_spec()
125 frame_size = pa_frame_size(spec); in pa_smoother_2_set_sample_spec()
126 if (frame_size != s->frame_size || spec->rate != s->rate) { in pa_smoother_2_set_sample_spec()
128 s->rate = spec->rate; in pa_smoother_2_set_sample_spec()
/third_party/python/Lib/
H A Drunpy.py104 # Helper to get the full name, spec and code for a module
131 spec = importlib.util.find_spec(mod_name)
141 if spec is None:
143 if spec.submodule_search_locations is not None:
154 loader = spec.loader
164 return mod_name, spec, code
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmSpirvVersionTests.cpp156 ComputeShaderSpec spec; in getComputeShaderSpec() local
170 // getComputeSourceCode (spec.assembly); in getComputeShaderSpec()
172 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in getComputeShaderSpec()
173 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in getComputeShaderSpec()
174 spec.numWorkGroups = tcu::IVec3(numElements, 1, 1); in getComputeShaderSpec()
176 return spec; in getComputeShaderSpec()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmSpirvVersionTests.cpp156 ComputeShaderSpec spec; in getComputeShaderSpec() local
170 // getComputeSourceCode (spec.assembly); in getComputeShaderSpec()
172 spec.inputs.push_back(BufferSp(new Float32Buffer(positiveFloats))); in getComputeShaderSpec()
173 spec.outputs.push_back(BufferSp(new Float32Buffer(negativeFloats))); in getComputeShaderSpec()
174 spec.numWorkGroups = tcu::IVec3(numElements, 1, 1); in getComputeShaderSpec()
176 return spec; in getComputeShaderSpec()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dtransupp.c1377 * The routine returns TRUE if the spec string is valid, FALSE if not.
1379 * The crop spec string should have the format
1390 jtransform_parse_crop_spec(jpeg_transform_info *info, const char *spec) in GLOBAL()
1398 if (isdigit(*spec)) { in GLOBAL()
1400 if (!jt_read_integer(&spec, &info->crop_width)) in GLOBAL()
1402 if (*spec == 'f' || *spec == 'F') { in GLOBAL()
1403 spec++; in GLOBAL()
1405 } else if (*spec == 'r' || *spec in GLOBAL()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c408 struct mlx5_flow_spec *spec; in add_ethtool_flow_rule() local
411 spec = kvzalloc(sizeof(*spec), GFP_KERNEL); in add_ethtool_flow_rule()
412 if (!spec) in add_ethtool_flow_rule()
414 err = set_flow_attrs(spec->match_criteria, spec->match_value, in add_ethtool_flow_rule()
441 spec->match_criteria_enable = (!outer_header_zero(spec->match_criteria)); in add_ethtool_flow_rule()
442 spec->flow_context.flow_tag = MLX5_FS_DEFAULT_FLOW_TAG; in add_ethtool_flow_rule()
443 rule = mlx5_add_flow_rules(ft, spec, in add_ethtool_flow_rule()
[all...]
/third_party/mesa3d/src/intel/tools/
H A Daubinator_viewer_decoder.cpp35 struct intel_spec *spec, in aub_viewer_decode_ctx_init()
50 ctx->spec = spec; in aub_viewer_decode_ctx_init()
97 if (intel_spec_get_gen(ctx->spec) >= intel_make_gen(8,0)) { in ctx_get_bo()
109 if (intel_spec_get_gen(ctx->spec) >= intel_make_gen(8,0)) in ctx_get_bo()
201 intel_spec_find_struct(ctx->spec, "RENDER_SURFACE_STATE"); in dump_binding_table()
253 struct intel_group *strct = intel_spec_find_struct(ctx->spec, "SAMPLER_STATE"); in dump_samplers()
294 intel_spec_find_struct(ctx->spec, "INTERFACE_DESCRIPTOR_DATA"); in handle_media_interface_descriptor_load()
357 struct intel_group *vbs = intel_spec_find_struct(ctx->spec, "VERTEX_BUFFER_STATE"); in handle_3dstate_vertex_buffers()
557 intel_spec_find_struct(ctx->spec, " in decode_3dstate_constant()
31 aub_viewer_decode_ctx_init(struct aub_viewer_decode_ctx *ctx, struct aub_viewer_cfg *cfg, struct aub_viewer_decode_cfg *decode_cfg, const struct intel_device_info *devinfo, struct intel_spec *spec, struct intel_batch_decode_bo (*get_bo)(void *, bool, uint64_t), unsigned (*get_state_size)(void *, uint32_t), void *user_data) aub_viewer_decode_ctx_init() argument
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsSamplerObjectTest.cpp72 TextureSamplerTest::TextureSamplerTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const TestSpec& spec) in TextureSamplerTest() argument
73 : tcu::TestCase (testCtx, spec.name, spec.desc) in TextureSamplerTest()
76 , m_target (spec.target) in TextureSamplerTest()
77 , m_textureState (spec.textureState) in TextureSamplerTest()
78 , m_samplerState (spec.samplerState) in TextureSamplerTest()
79 , m_random (deStringHash(spec.name)) in TextureSamplerTest()
583 MultiTextureSamplerTest::MultiTextureSamplerTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const TestSpec& spec) in MultiTextureSamplerTest() argument
584 : TestCase (testCtx, spec.name, spec in MultiTextureSamplerTest()
[all...]
H A DglsShaderLibrary.cpp50 tcu::TestCase* createCase (const std::string& name, const std::string& description, const glu::sl::ShaderCaseSpecification& spec) in createCase() argument
52 return new ShaderLibraryCase(m_testCtx, m_renderCtx, m_contextInfo, name.c_str(), description.c_str(), spec); in createCase()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_dmfs.c30 mlx5_ct_fs_dmfs_ct_rule_add(struct mlx5_ct_fs *fs, struct mlx5_flow_spec *spec, in mlx5_ct_fs_dmfs_ct_rule_add() argument
41 dmfs_rule->rule = mlx5_tc_rule_insert(priv, spec, attr); in mlx5_ct_fs_dmfs_ct_rule_add()
/third_party/skia/third_party/externals/icu/scripts/
H A Deucjp_gen.sh7 # https://encoding.spec.whatwg.org/#euc-jp
14 # https://encoding.spec.whatwg.org/index-jis0208.txt
15 # https://encoding.spec.whatwg.org/index-jis0212.txt
25 # * described at https://encoding.spec.whatwg.org/#euc-jp.
73 # of 'index pointer' in the W3C encoding spec, it's the first entry in the
105 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0208.txt
106 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0212.txt

Completed in 21 milliseconds

1...<<21222324252627282930>>...54