/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmNonSemanticInfoTests.cpp | 63 ComputeShaderSpec spec; in getComputeShaderSpec() local 64 spec.extensions.push_back("VK_KHR_shader_non_semantic_info"); in getComputeShaderSpec() 65 spec.inputs.push_back(BufferSp(new Float32Buffer(inoutFloats))); in getComputeShaderSpec() 66 spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputInts)), vk::VK_DESCRIPTOR_TYPE_STORAGE_IMAGE)); in getComputeShaderSpec() 67 spec.outputs.push_back(BufferSp(new Float32Buffer(inoutFloats))); in getComputeShaderSpec() 68 spec.numWorkGroups = tcu::IVec3(numElements, 1, 1); in getComputeShaderSpec() 69 return spec; in getComputeShaderSpec()
|
H A D | vktSpvAsmCompositeInsertTests.cpp | 164 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() 223 group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), spec)); in addComputeVectorCompositeInsertTests() 312 ComputeShaderSpec spec; in addComputeMatrixCompositeInsertTests() local 354 spec.assembly = shaderSource; in addComputeMatrixCompositeInsertTests() 355 spec.numWorkGroups = IVec3(1, 1, 1); in addComputeMatrixCompositeInsertTests() 366 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(identityData)))); in addComputeMatrixCompositeInsertTests() 367 spec in addComputeMatrixCompositeInsertTests() 468 ComputeShaderSpec spec; addComputeNestedStructCompositeInsertTests() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmNonSemanticInfoTests.cpp | 63 ComputeShaderSpec spec; in getComputeShaderSpec() local 64 spec.extensions.push_back("VK_KHR_shader_non_semantic_info"); in getComputeShaderSpec() 65 spec.inputs.push_back(BufferSp(new Float32Buffer(inoutFloats))); in getComputeShaderSpec() 66 spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(inputInts)), vk::VK_DESCRIPTOR_TYPE_STORAGE_IMAGE)); in getComputeShaderSpec() 67 spec.outputs.push_back(BufferSp(new Float32Buffer(inoutFloats))); in getComputeShaderSpec() 68 spec.numWorkGroups = tcu::IVec3(numElements, 1, 1); in getComputeShaderSpec() 69 return spec; in getComputeShaderSpec()
|
H A D | vktSpvAsmCompositeInsertTests.cpp | 164 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...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | mix.c | 68 static void calc_linear_integer_stream_volumes(pa_mix_info streams[], unsigned nstreams, const pa_cvolume *volume, const pa_sample_spec *spec) { in calc_linear_integer_stream_volumes() argument 73 pa_assert(spec); in calc_linear_integer_stream_volumes() 80 for (channel = 0; channel < spec->channels; channel++) { in calc_linear_integer_stream_volumes() 87 static void calc_linear_float_stream_volumes(pa_mix_info streams[], unsigned nstreams, const pa_cvolume *volume, const pa_sample_spec *spec) { in calc_linear_float_stream_volumes() argument 92 pa_assert(spec); in calc_linear_float_stream_volumes() 99 for (channel = 0; channel < spec->channels; channel++) { in calc_linear_float_stream_volumes() 106 typedef void (*pa_calc_stream_volumes_func_t) (pa_mix_info streams[], unsigned nstreams, const pa_cvolume *volume, const pa_sample_spec *spec); 620 const pa_sample_spec *spec, in pa_mix() 630 pa_assert(spec); in pa_mix() 634 volume = pa_cvolume_reset(&full_volume, spec in pa_mix() 615 pa_mix( pa_mix_info streams[], unsigned nstreams, void *data, size_t length, const pa_sample_spec *spec, const pa_cvolume *volume, bool mute) pa_mix() argument 690 pa_volume_memchunk( pa_memchunk*c, const pa_sample_spec *spec, const pa_cvolume *volume) pa_volume_memchunk() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 1579 static void declareBufferBlocks (std::ostream& src, const ShaderSpec& spec); 1580 static void generateExecBufferIo(std::ostream& src, const ShaderSpec& spec, const char* invocationNdxName); 1679 void BufferIoExecutor::declareBufferBlocks (std::ostream& src, const ShaderSpec& spec) in declareBufferBlocks() argument 1682 if (!spec.inputs.empty()) in declareBufferBlocks() 1685 for (vector<Symbol>::const_iterator symIter = spec.inputs.begin(); symIter != spec.inputs.end(); ++symIter) in declareBufferBlocks() 1693 for (vector<Symbol>::const_iterator symIter = spec.outputs.begin(); symIter != spec.outputs.end(); ++symIter) in declareBufferBlocks() 1700 if (!spec.inputs.empty()) in declareBufferBlocks() 1715 void BufferIoExecutor::generateExecBufferIo (std::ostream& src, const ShaderSpec& spec, cons argument 2077 generateSpirv(const ShaderSpec& spec, const bool are16Bit, const bool are64Bit, const bool isMediump) generateSpirv() argument 2596 generateComputeShader(const ShaderSpec& spec) generateComputeShader() argument 2875 generateMeshShader(const ShaderSpec& spec, bool useTask) generateMeshShader() argument 2923 generateTaskShader(const ShaderSpec& spec) generateTaskShader() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.cpp | 1579 static void declareBufferBlocks (std::ostream& src, const ShaderSpec& spec); 1580 static void generateExecBufferIo(std::ostream& src, const ShaderSpec& spec, const char* invocationNdxName); 1679 void BufferIoExecutor::declareBufferBlocks (std::ostream& src, const ShaderSpec& spec) in declareBufferBlocks() argument 1682 if (!spec.inputs.empty()) in declareBufferBlocks() 1685 for (vector<Symbol>::const_iterator symIter = spec.inputs.begin(); symIter != spec.inputs.end(); ++symIter) in declareBufferBlocks() 1693 for (vector<Symbol>::const_iterator symIter = spec.outputs.begin(); symIter != spec.outputs.end(); ++symIter) in declareBufferBlocks() 1700 if (!spec.inputs.empty()) in declareBufferBlocks() 1715 void BufferIoExecutor::generateExecBufferIo (std::ostream& src, const ShaderSpec& spec, cons argument 2077 generateSpirv(const ShaderSpec& spec, const bool are16Bit, const bool are64Bit, const bool isMediump) generateSpirv() argument 2596 generateComputeShader(const ShaderSpec& spec) generateComputeShader() argument 2875 generateMeshShader(const ShaderSpec& spec, bool useTask) generateMeshShader() argument 2923 generateTaskShader(const ShaderSpec& spec) generateTaskShader() argument [all...] |
/third_party/python/Tools/scripts/ |
H A D | abitype.py | 137 # defaults for spec 138 spec = { 'tp_itemsize':'0' } 144 spec[typeslots[i]] = val 149 res.append(' %s,' % spec['tp_name']) 150 res.append(' %s,' % spec['tp_basicsize']) 151 res.append(' %s,' % spec['tp_itemsize']) 152 res.append(' %s,' % spec['tp_flags'])
|
/third_party/vk-gl-cts/scripts/egl/ |
H A D | proc_address_tests.py | 79 spec = khr_util.registry.InterfaceSpec() 80 spec.addExtension(extension, api) 81 iface = khr_util.registry.createInterface(registry, spec, api) 103 spec = khr_util.registry.InterfaceSpec() 108 spec.addFeature(feature, api) 110 return khr_util.registry.createInterface(registry, spec, api)
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | make.py | 808 self, qualified_target, base_path, output_filename, spec, configs, part_of_all 817 spec, configs: gyp info 828 self.target = spec["target_name"] 829 self.type = spec["type"] 830 self.toolset = spec["toolset"] 832 self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spec) 834 self.xcode_settings = gyp.xcode_emulation.XcodeSettings(spec) 838 deps, link_deps = self.ComputeDeps(spec) 850 self.output = self.ComputeMacBundleOutput(spec) 851 self.output_binary = self.ComputeMacBundleBinaryOutput(spec) [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | make.py | 817 self, qualified_target, base_path, output_filename, spec, configs, part_of_all 826 spec, configs: gyp info 837 self.target = spec["target_name"] 838 self.type = spec["type"] 839 self.toolset = spec["toolset"] 841 self.is_mac_bundle = gyp.xcode_emulation.IsMacBundle(self.flavor, spec) 843 self.xcode_settings = gyp.xcode_emulation.XcodeSettings(spec) 847 deps, link_deps = self.ComputeDeps(spec) 859 self.output = self.ComputeMacBundleOutput(spec) 860 self.output_binary = self.ComputeMacBundleBinaryOutput(spec) [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsLongStressCase.cpp | 769 const VarSpec& spec = uniforms[unifNdx]; in setRandomUniforms() local 770 const int typeScalarSize = glu::getDataTypeScalarSize(spec.type); in setRandomUniforms() 771 const int location = glGetUniformLocation(m_programGL, mangleShaderNames(spec.name, shaderNameManglingSuffix).c_str()); in setRandomUniforms() 775 if (glu::isDataTypeFloatOrVec(spec.type)) in setRandomUniforms() 779 val[i] = rnd.getFloat(spec.minValue.f[i], spec.maxValue.f[i]); in setRandomUniforms() 781 switch (spec.type) in setRandomUniforms() 790 else if (glu::isDataTypeMatrix(spec.type)) in setRandomUniforms() 794 val[i] = rnd.getFloat(spec.minValue.f[i], spec in setRandomUniforms() 1142 const TextureSpec& spec = progCtx.textureSpecs[texSpecNdx]; init() local 1305 const TextureSpec& spec = programContext.textureSpecs[texNdx]; iterate() variable [all...] |
/third_party/python/Lib/importlib/ |
H A D | util.py | 43 """Return the spec for the specified module. 48 sys.modules, then sys.meta_path is searched for a suitable spec with the 49 value of 'path' given to the finders. None is returned if no spec could 54 order for a submodule to get the correct spec. 64 spec = module.__spec__ 68 if spec is None: 70 return spec 74 """Return the spec for the specified module. 79 sys.modules, then sys.meta_path is searched for a suitable spec with the 80 value of 'path' given to the finders. None is returned if no spec coul [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | atrac1.c | 79 DECLARE_ALIGNED(32, float, spec)[AT1_SU_SAMPLES]; ///< the mdct spectrum buffer 95 static void at1_imdct(AT1Ctx *q, float *spec, float *out, int nbits, in at1_imdct() argument 104 FFSWAP(float, spec[i], spec[transf_size - 1 - i]); in at1_imdct() 106 mdct_context->imdct_half(mdct_context, out, spec); in at1_imdct() 144 at1_imdct(q, &q->spec[pos], &su->spectrum[0][ref_pos + start_pos], nbits, band_num); in at1_imdct_block() 195 float spec[AT1_SU_SAMPLES]) in at1_unpack_dequant() 237 /* get the position of the 1st spec according to the block size mode */ in at1_unpack_dequant() 244 /* read in a quantized spec and convert it to in at1_unpack_dequant() 247 spec[po in at1_unpack_dequant() 194 at1_unpack_dequant(GetBitContext* gb, AT1SUCtx* su, float spec[AT1_SU_SAMPLES]) at1_unpack_dequant() argument [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | audit-report.js | 172 for (const { from: dep, spec } of node.edgesIn) { 174 this[_checkTopNode](dep, vuln, spec) 181 if (meta.testVersion(dep.version, spec)) { 216 [_checkTopNode] (topNode, vuln, spec) { 217 vuln.fixAvailable = this[_fixAvailable](topNode, vuln, spec) 232 [_fixAvailable] (topNode, vuln, spec) { 236 if (!vuln.testSpec(spec)) { 243 const specObj = npa(spec) 249 spec = specObj.subSpec.rawSpec 260 } = pickManifest(paku, spec, { [all...] |
/third_party/selinux/libselinux/src/ |
H A D | label_backends_android.c | 17 typedef struct spec { struct 34 const struct spec *sp1 = A, *sp2 = B; in cmp() 54 struct spec *curr_spec, *spec_arr = data->spec_arr; in nodups_specs() 124 /* On the second pass, process and store the specification in spec. */ in process_line() 177 * After the first pass, the spec array is malloced to the appropriate in init() 178 * size. Second pass is to populate the spec array and check for in init() 215 qsort(data->spec_arr, data->nspec, sizeof(struct spec), cmp); in init() 234 struct spec *spec; in closef() local 238 spec in closef() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fBufferWriteTests.cpp | 84 DataStoreSpecVecBuilder& operator<< (const DataStoreSpec& spec) in operator <<() 86 list.push_back(spec); in operator <<() 240 for (vector<DataStoreSpec>::const_iterator spec = m_specs.begin(); spec != m_specs.end(); spec++) in iterate() 244 refBuf.setSize(spec->size); in iterate() 245 fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+spec in iterate() [all...] |
H A D | es3fTextureFormatTests.cpp | 149 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(fmt); in init() local 158 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init() 167 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init() 188 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); in iterate() local 197 renderParams.colorScale = spec.lookupScale; in iterate() 198 renderParams.colorBias = spec.lookupBias; in iterate() 319 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(fmt); in init() local 328 << ",\n fill with " << formatGradient(&spec in init() 383 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); testFace() local 521 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); init() local 550 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); testLayer() local 678 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); init() local 707 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); testSlice() local 854 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); iterate() local 1005 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); testFace() local [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_error_decode.c | 64 print_register(struct intel_spec *spec, const char *name, uint32_t reg) in print_register() argument 67 name ? intel_spec_find_register_by_name(spec, name) : NULL; in print_register() 412 struct intel_spec *spec = NULL; in read_data_file() local 518 spec = intel_spec_load(&devinfo); in read_data_file() 520 spec = intel_spec_load_from_path(&devinfo, xml_path); in read_data_file() 525 print_register(spec, in read_data_file() 540 print_register(spec, in read_data_file() 556 print_register(spec, "GFX_ARB_ERROR_RPT", reg); in read_data_file() 564 print_register(spec, reg_name, reg); in read_data_file() 569 print_register(spec, "SC_INSTDON in read_data_file() [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_shader.c | 60 struct nir_spirv_specialization *spec; in pvr_spirv_to_nir() local 64 spec = in pvr_spirv_to_nir() 73 spec); in pvr_spirv_to_nir() 75 free(spec); in pvr_spirv_to_nir()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBufferWriteTests.cpp | 84 DataStoreSpecVecBuilder& operator<< (const DataStoreSpec& spec) in operator <<() 86 list.push_back(spec); in operator <<() 240 for (vector<DataStoreSpec>::const_iterator spec = m_specs.begin(); spec != m_specs.end(); spec++) in iterate() 244 refBuf.setSize(spec->size); in iterate() 245 fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+spec in iterate() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | ucol_sit.cpp | 163 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string, 169 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string, in _processLocaleElement() argument 174 spec->locElements[value].append(uprv_tolower(*string), *status); in _processLocaleElement() 176 spec->locElements[value].append(*string, *status); in _processLocaleElement() 186 _processRFC3066Locale(CollatorSpec *spec, uint32_t, const char* string, in _processRFC3066Locale() argument 196 spec->locale.copyFrom(CharString(string, static_cast<int32_t>(end-string), *status), *status); in _processRFC3066Locale() 205 _processCollatorOption(CollatorSpec *spec, uint32_t option, const char* string, in _processCollatorOption() argument 208 spec->options[option] = ucol_sit_letterToAttributeValue(*string, status); in _processCollatorOption() 257 _processVariableTop(CollatorSpec *spec, uint32_t value1, const char* string, UErrorCode *status) in _processVariableTop() argument 263 spec in _processVariableTop() 310 ucol_sit_readOption(const char *start, CollatorSpec *spec, UErrorCode *status) ucol_sit_readOption() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | ucol_sit.cpp | 164 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string, 170 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string, in _processLocaleElement() argument 175 spec->locElements[value].append(uprv_tolower(*string), *status); in _processLocaleElement() 177 spec->locElements[value].append(*string, *status); in _processLocaleElement() 187 _processRFC3066Locale(CollatorSpec *spec, uint32_t, const char* string, in _processRFC3066Locale() argument 197 spec->locale.copyFrom(CharString(string, static_cast<int32_t>(end-string), *status), *status); in _processRFC3066Locale() 206 _processCollatorOption(CollatorSpec *spec, uint32_t option, const char* string, in _processCollatorOption() argument 209 spec->options[option] = ucol_sit_letterToAttributeValue(*string, status); in _processCollatorOption() 258 _processVariableTop(CollatorSpec *spec, uint32_t value1, const char* string, UErrorCode *status) in _processVariableTop() argument 264 spec in _processVariableTop() 311 ucol_sit_readOption(const char *start, CollatorSpec *spec, UErrorCode *status) ucol_sit_readOption() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | ucol_sit.cpp | 163 ActionFunction(CollatorSpec *spec, uint32_t value1, const char* string, 169 _processLocaleElement(CollatorSpec *spec, uint32_t value, const char* string, in _processLocaleElement() argument 174 spec->locElements[value].append(uprv_tolower(*string), *status); in _processLocaleElement() 176 spec->locElements[value].append(*string, *status); in _processLocaleElement() 186 _processRFC3066Locale(CollatorSpec *spec, uint32_t, const char* string, in _processRFC3066Locale() argument 196 spec->locale.copyFrom(CharString(string, static_cast<int32_t>(end-string), *status), *status); in _processRFC3066Locale() 205 _processCollatorOption(CollatorSpec *spec, uint32_t option, const char* string, in _processCollatorOption() argument 208 spec->options[option] = ucol_sit_letterToAttributeValue(*string, status); in _processCollatorOption() 257 _processVariableTop(CollatorSpec *spec, uint32_t value1, const char* string, UErrorCode *status) in _processVariableTop() argument 263 spec in _processVariableTop() 310 ucol_sit_readOption(const char *start, CollatorSpec *spec, UErrorCode *status) ucol_sit_readOption() argument [all...] |
/third_party/rust/crates/termcolor/src/ |
H A D | lib.rs | 143 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...] |