Home
last modified time | relevance | path

Searched refs:spec (Results 176 - 200 of 742) sorted by relevance

12345678910>>...30

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmCompositeInsertTests.cpp164 ComputeShaderSpec spec; in addComputeVectorCompositeInsertTests() local
206 spec.assembly = shaderSource; in addComputeVectorCompositeInsertTests()
207 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeVectorCompositeInsertTests()
213 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(refData)))); in addComputeVectorCompositeInsertTests()
222 group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), "Tests vector composite insert.", spec)); in addComputeVectorCompositeInsertTests()
311 ComputeShaderSpec spec; in addComputeMatrixCompositeInsertTests() local
353 spec.assembly = shaderSource; in addComputeMatrixCompositeInsertTests()
354 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeMatrixCompositeInsertTests()
365 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)))); in addComputeMatrixCompositeInsertTests()
366 spec in addComputeMatrixCompositeInsertTests()
466 ComputeShaderSpec spec; addComputeNestedStructCompositeInsertTests() local
[all...]
H A DvktSpvAsmUboMatrixPaddingTests.cpp130 ComputeShaderSpec spec; in addComputeUboMatrixPaddingTest() local
136 spec.assembly = shaderSource; in addComputeUboMatrixPaddingTest()
137 spec.numWorkGroups = IVec3(numElements, 1, 1); in addComputeUboMatrixPaddingTest()
139 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER)); in addComputeUboMatrixPaddingTest()
141 spec.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)))); in addComputeUboMatrixPaddingTest()
143 group->addChild(new SpvAsmComputeShaderCase(testCtx, "mat2x2", "Tests mat2x2 member in UBO struct without padding (treated as vec4).", spec)); in addComputeUboMatrixPaddingTest()
/third_party/rust/crates/termcolor/src/
H A Dlib.rs143 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()>; in set_color()
171 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
172 (&mut **self).set_color(spec) in set_color()
186 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
187 (&mut **self).set_color(spec) in set_color()
672 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
673 self.wtr.set_color(spec) in set_color()
706 fn set_color(&mut self, spec: &ColorSpec) -> io::Result<()> { in set_color()
707 self.wtr.set_color(spec) in set_color()
740 fn set_color(&mut self, spec
2279 let mut spec = ColorSpec::new(); test_no_reset() variables
[all...]
/third_party/node/test/common/
H A Dwpt.js547 this.inProgress = new Set(queue.map((spec) => spec.filename));
549 for (const spec of queue) {
550 const testFileName = spec.filename;
551 const content = spec.getContent();
552 const meta = spec.meta = this.getMeta(content);
554 const absolutePath = spec.getAbsolutePath();
555 const relativePath = spec.getRelativePath();
644 for (const spec of this.inProgress) {
645 this.fail(spec, { nam
[all...]
/third_party/python/Lib/test/test_importlib/extension/
H A Dtest_case_sensitivity.py29 spec = self.find_spec()
30 self.assertIsNone(spec)
37 spec = self.find_spec()
38 self.assertTrue(spec)
/third_party/node/tools/gyp/pylib/gyp/
H A Dmsvs_emulation.py205 def __init__(self, spec, generator_flags):
206 self.spec = spec
219 configs = spec["configurations"]
225 self.msvs_cygwin_dirs = spec.get("msvs_cygwin_dirs", ["."])
237 field, spec["target_name"]
249 ext = self.spec.get("product_extension", None)
252 return gyp.MSVSUtil.TARGET_TYPE_EXT.get(self.spec["type"], "")
262 target_name = self.spec.get("product_prefix", "") + self.spec
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A Dmsvs_emulation.py205 def __init__(self, spec, generator_flags):
206 self.spec = spec
219 configs = spec["configurations"]
225 self.msvs_cygwin_dirs = spec.get("msvs_cygwin_dirs", ["."])
237 field, spec["target_name"]
249 ext = self.spec.get("product_extension", None)
252 return gyp.MSVSUtil.TARGET_TYPE_EXT.get(self.spec["type"], "")
259 target_name = self.spec.get("product_prefix", "") + self.spec
[all...]
/third_party/python/Lib/test/
H A Dtest_zipimport.py474 spec = zi.find_spec('spam')
475 self.assertIsNotNone(spec)
476 self.assertIsInstance(spec.loader, zipimport.zipimporter)
477 self.assertFalse(spec.loader.is_package('spam'))
478 exec_mod = importlib.util.module_from_spec(spec)
479 spec.loader.exec_module(exec_mod)
480 self.assertEqual(spec.loader.get_filename('spam'), exec_mod.__file__)
482 spec = zi.find_spec(TESTPACK)
483 mod = importlib.util.module_from_spec(spec)
484 spec
[all...]
/third_party/node/deps/npm/lib/utils/
H A Dsbom-spdx.js85 // Calculate purl from package spec
86 let spec = npa(node.pkgid)
87 spec = (spec.type === 'alias') ? spec.subSpec : spec
88 const purl = npa.toPurl(spec) + (isGitNode(node) ? `?vcs_url=${node.resolved}` : '')
/third_party/pulseaudio/src/pulsecore/
H A Dsample-util.h42 void *pa_silence_memory(void *p, size_t length, const pa_sample_spec *spec);
43 pa_memchunk* pa_silence_memchunk(pa_memchunk *c, const pa_sample_spec *spec);
44 pa_memblock* pa_silence_memblock(pa_memblock *b, const pa_sample_spec *spec);
46 pa_memchunk* pa_silence_memchunk_get(pa_silence_cache *cache, pa_mempool *pool, pa_memchunk* ret, const pa_sample_spec *spec, size_t length);
74 pa_usec_t pa_bytes_to_usec_round_up(uint64_t length, const pa_sample_spec *spec);
75 size_t pa_usec_to_bytes_round_up(pa_usec_t t, const pa_sample_spec *spec);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmUboMatrixPaddingTests.cpp130 ComputeShaderSpec spec; in addComputeUboMatrixPaddingTest() local
136 spec.assembly = shaderSource; in addComputeUboMatrixPaddingTest()
137 spec.numWorkGroups = IVec3(numElements, 1, 1); in addComputeUboMatrixPaddingTest()
139 spec.inputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)), VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER)); in addComputeUboMatrixPaddingTest()
141 spec.outputs.push_back(Resource(BufferSp(new Vec4Buffer(inputData)))); in addComputeUboMatrixPaddingTest()
143 group->addChild(new SpvAsmComputeShaderCase(testCtx, "mat2x2", spec)); in addComputeUboMatrixPaddingTest()
/third_party/python/Lib/test/test_importlib/
H A Dtest_lazy.py66 spec = util.spec_from_loader(TestingImporter.module_name,
68 module = spec.loader.create_module(spec)
71 module.__spec__ = spec
72 module.__loader__ = spec.loader
73 spec.loader.exec_module(module)
/third_party/python/Tools/c-analyzer/c_common/
H A Dscriptutil.py16 def get_prog(spec=None, *, absolute=False, allowsuffix=True):
17 if spec is None:
18 _, spec = _find_script()
21 elif isinstance(spec, str):
22 filename = os.path.normpath(spec)
23 spec = None
25 filename = spec.origin
40 elif spec is not None:
41 module = spec.name
59 spec
[all...]
/third_party/python/Objects/
H A Dmoduleobject.c260 PyModule_FromDefAndSpec2(PyModuleDef* def, PyObject *spec, int module_api_version) in PyModule_FromDefAndSpec2() argument
272 nameobj = PyObject_GetAttrString(spec, "name"); in PyModule_FromDefAndSpec2()
315 m = create(spec, def); in PyModule_FromDefAndSpec2()
714 /* Check if the "_initializing" attribute of the module spec is set to true.
715 Clear the exception and return 0 if spec is NULL.
718 _PyModuleSpec_IsInitializing(PyObject *spec) in _PyModuleSpec_IsInitializing() argument
720 if (spec != NULL) { in _PyModuleSpec_IsInitializing()
721 PyObject *value = PyObject_GetAttr(spec, &_Py_ID(_initializing)); in _PyModuleSpec_IsInitializing()
735 of the module spec.
738 _PyModuleSpec_IsUninitializedSubmodule(PyObject *spec, PyObjec argument
777 PyObject *spec = PyDict_GetItemWithError(m->md_dict, &_Py_ID(__spec__)); module_getattro() local
[all...]
/third_party/selinux/libselinux/src/
H A Dlabel_media.c22 typedef struct spec { struct
109 * of the first pass, the spec array is allocated. in init()
111 * and fills in the spec array. in init()
155 struct spec *spec, *spec_arr = data->spec_arr; in close() local
159 spec = &spec_arr[i]; in close()
160 free(spec->key); in close()
161 free(spec->lr.ctx_raw); in close()
162 free(spec->lr.ctx_trans); in close()
H A Dlabel_x.c23 typedef struct spec { struct
136 * of the first pass, the spec array is allocated. in init()
138 * and fills in the spec array. in init()
182 struct spec *spec, *spec_arr = data->spec_arr; in close() local
186 spec = &spec_arr[i]; in close()
187 free(spec->key); in close()
188 free(spec->lr.ctx_raw); in close()
189 free(spec->lr.ctx_trans); in close()
/third_party/vk-gl-cts/modules/glshared/
H A DglsDrawTest.cpp1985 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 DglsShaderLibraryCase.cpp140 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/python/Lib/
H A Dpkgutil.py27 """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 Ddxcapi.h30 #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/icu/icu4c/source/io/
H A Duprntf_p.cpp103 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 Duprntf_p.cpp103 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 Dtestasync.py226 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...]
/third_party/benchmark/src/
H A Dre.h67 // Compile a regular expression matcher from spec. Returns true on success.
71 bool Init(const std::string& spec, std::string* error);
90 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() argument
96 re_ = std::regex(spec, std::regex_constants::extended); in Init()
119 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() argument
120 int ec = regcomp(&re_, spec.c_str(), REG_EXTENDED | REG_NOSUB); in Init()
/third_party/cups-filters/cupsfilters/
H A Dlut.c51 spec[PPD_MAX_NAME]; /* Attribute spec */ in cupsLutLoad() local
70 if ((attr = cupsFindAttr(ppd, name, colormodel, media, resolution, spec, in cupsLutLoad()
71 sizeof(spec))) == NULL) in cupsLutLoad()
73 resolution, spec, sizeof(spec)); in cupsLutLoad()

Completed in 28 milliseconds

12345678910>>...30