Home
last modified time | relevance | path

Searched refs:programs (Results 1 - 25 of 147) sorted by relevance

123456

/third_party/libsnd/programs/
H A Dtest-sndfile-metadata-set.py90 def assert_info (programs, filename, arg, value):
91 output = programs.meta_get (False, "%s %s" % (arg, filename))
99 def test_empty_fail (programs):
101 output = programs.meta_set (True, "--bext-description Alpha sine.wav")
104 def test_copy (programs):
106 output = programs.meta_set (False, "--bext-description \"First Try\" sine.wav output.wav")
107 assert_info (programs, "output.wav", "--bext-description", "First Try")
110 def test_update (programs, tests):
113 output = programs.meta_set (False, "%s \"%s\" output.wav" % (arg, value))
114 assert_info (programs, "outpu
165 programs = Programs (needs_exe) global() variable
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcMultipleContextsTests.cpp80 void prepareProgram(Utils::program** programs, bool is_separable);
82 void prepareProgramPipeline(glw::GLuint& pipeline_id, Utils::program** programs);
86 bool testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5],
257 /* Test separable programs */ in iterate()
260 /* Prepare programs */ in iterate()
583 * @param programs An array of 5 programs' pointers. If monolithic program is prepared that only index m_fragment_stage_index should be initialized, otherwise all 5
584 * @param is_separable Select if monolithic or separable programs should be prepared
586 void UniformPreservationTest::prepareProgram(Utils::program** programs, bool is_separable) in prepareProgram() argument
607 programs[ in prepareProgram()
671 prepareProgramPipeline(glw::GLuint& out_pipeline_id, Utils::program** programs) prepareProgramPipeline() argument
775 testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5], glw::GLuint n_test_cases) testProgram() argument
[all...]
H A DglcSeparableProgramsTransformFeedbackTests.cpp201 /* Create separate programs - start from vertex stage to catch varying names */ in iterate()
202 std::vector<Utils::program> programs(STAGES_COUNT, Utils::program(m_context)); in iterate()
214 programs[stageIndex].build(0, code[0], code[1], code[2], code[3], code[4], stageData->tfVaryings, in iterate()
229 if (!programs[stageIndex].m_program_object_id) in iterate()
231 gl.useProgramStages(pipelineId, StageTokens[stageIndex], programs[stageIndex].m_program_object_id); in iterate()
/third_party/fsverity-utils/
H A DMakefile164 ALL_PROG_SRC := $(wildcard programs/*.c)
166 ALL_PROG_HEADERS := $(wildcard programs/*.h) $(COMMON_HEADERS)
167 PROG_COMMON_SRC := programs/utils.c
170 programs/cmd_digest.o \
171 programs/cmd_sign.o \
172 programs/fsverity.o
175 programs/cmd_dump_metadata.o \
176 programs/cmd_enable.o \
177 programs/cmd_measure.o
179 TEST_PROG_SRC := $(wildcard programs/test
[all...]
/third_party/mbedtls/
H A DMakefile21 .PHONY: all no_test programs lib tests install uninstall clean test check lcov apidoc apidoc_clean
23 all: programs tests
26 no_test: programs
28 programs: lib mbedtls_test
29 $(MAKE) -C programs
42 programs/%:
43 $(MAKE) -C programs $*
49 generated_files: programs/generated_files
78 # TODO: $(app).vcxproj for each $(app) in programs/
107 for p in programs/*/* ; d
[all...]
/third_party/mbedtls/scripts/
H A Dmemory.sh64 cd programs
74 cd programs
82 if valgrind --tool=massif --stacks=yes programs/ssl/$CLIENT >/dev/null 2>&1
108 (cd programs && make ssl/ssl_server2) >/dev/null
109 cp programs/ssl/ssl_server2 .
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
H A DvktBuildPrograms.cpp21 * \brief Utility for pre-compiling source programs to SPIR-V
417 de::PoolArray<Program> programs (&programPool); in buildPrograms()
460 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
461 buildGlslTasks.pushBack(BuildHighLevelShaderTask<vk::GlslSource>(progIter.getProgram(), &programs.back())); in buildPrograms()
475 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
476 buildHlslTasks.pushBack(BuildHighLevelShaderTask<vk::HlslSource>(progIter.getProgram(), &programs.back())); in buildPrograms()
490 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
491 buildSpirvAsmTasks.pushBack(BuildSpirVAsmTask(progIter.getProgram(), &programs.back())); in buildPrograms()
507 validationTasks.reserve(programs.size()); in buildPrograms()
509 for (de::PoolArray<Program>::iterator progIter = programs in buildPrograms()
[all...]
H A DvktShaderLibrary.cpp365 const string withExt = injectExtensionRequirements(baseSrc, spec.programs[0].requiredExtensions, glu::SHADERTYPE_VERTEX); in specializeVertexShader()
429 const string withExt = injectExtensionRequirements(baseSrc, spec.programs[0].requiredExtensions, glu::SHADERTYPE_FRAGMENT); in specializeFragmentShader()
708 for (size_t progNdx = 0; progNdx < spec.programs.size(); progNdx++) in getShaderStages()
712 if (!spec.programs[progNdx].sources.sources[shaderType].empty()) in getShaderStages()
742 TCU_CHECK_INTERNAL(spec.programs.size() == 1); in PipelineProgram()
1693 vector<ProgramSources> specializedSources (m_spec.programs.size()); in initPrograms()
1702 DE_ASSERT(m_spec.programs.size() == 1 && m_spec.programs[0].sources.sources[glu::SHADERTYPE_VERTEX].size() == 1); in initPrograms()
1703 specializedSources[0] << glu::VertexSource(specializeVertexShader(m_spec, m_spec.programs[0].sources.sources[glu::SHADERTYPE_VERTEX][0])) in initPrograms()
1708 DE_ASSERT(m_spec.programs in initPrograms()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/
H A DvktBuildPrograms.cpp21 * \brief Utility for pre-compiling source programs to SPIR-V
406 de::PoolArray<Program> programs (&programPool); in buildPrograms()
455 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
456 buildGlslTasks.pushBack(BuildHighLevelShaderTask<vk::GlslSource>(progIter.getProgram(), &programs.back())); in buildPrograms()
470 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
471 buildHlslTasks.pushBack(BuildHighLevelShaderTask<vk::HlslSource>(progIter.getProgram(), &programs.back())); in buildPrograms()
485 programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidatorOptions())); in buildPrograms()
486 buildSpirvAsmTasks.pushBack(BuildSpirVAsmTask(progIter.getProgram(), &programs.back())); in buildPrograms()
504 validationTasks.reserve(programs.size()); in buildPrograms()
506 for (de::PoolArray<Program>::iterator progIter = programs in buildPrograms()
[all...]
H A DvktShaderLibrary.cpp365 const string withExt = injectExtensionRequirements(baseSrc, spec.programs[0].requiredExtensions, glu::SHADERTYPE_VERTEX); in specializeVertexShader()
429 const string withExt = injectExtensionRequirements(baseSrc, spec.programs[0].requiredExtensions, glu::SHADERTYPE_FRAGMENT); in specializeFragmentShader()
708 for (size_t progNdx = 0; progNdx < spec.programs.size(); progNdx++) in getShaderStages()
712 if (!spec.programs[progNdx].sources.sources[shaderType].empty()) in getShaderStages()
742 TCU_CHECK_INTERNAL(spec.programs.size() == 1); in PipelineProgram()
1693 vector<ProgramSources> specializedSources (m_spec.programs.size()); in initPrograms()
1702 DE_ASSERT(m_spec.programs.size() == 1 && m_spec.programs[0].sources.sources[glu::SHADERTYPE_VERTEX].size() == 1); in initPrograms()
1703 specializedSources[0] << glu::VertexSource(specializeVertexShader(m_spec, m_spec.programs[0].sources.sources[glu::SHADERTYPE_VERTEX][0])) in initPrograms()
1708 DE_ASSERT(m_spec.programs in initPrograms()
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderConstExprTests.cpp163 spec.programs.resize(1); in createTests()
165 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
184 spec.programs.resize(1); in createTests()
186 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
217 spec.programs.resize(1); in createTests()
219 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
238 spec.programs.resize(1); in createTests()
240 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
H A DglsShaderLibraryCase.cpp863 if (spec.programs[0].sources.separable)
868 for (int programNdx = 0; programNdx < (int)spec.programs.size(); ++programNdx)
869 if (spec.programs[programNdx].activeStages & tessellationBits)
874 return !spec.programs[0].sources.sources[glu::SHADERTYPE_TESSELLATION_CONTROL].empty() ||
875 !spec.programs[0].sources.sources[glu::SHADERTYPE_TESSELLATION_EVALUATION].empty();
956 const bool separablePrograms = m_spec.programs[0].sources.separable;
962 vector<ProgramSources> specializedSources (m_spec.programs.size());
966 vector<SharedPtr<ShaderProgram> > programs;
987 const vector<RequiredExtension> reqExt = checkAndSpecializeExtensions(m_spec.programs[0].requiredExtensions, m_contextInfo);
989 DE_ASSERT(m_spec.programs
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluShaderLibrary.cpp100 const bool isSeparable = !spec.programs.empty() && spec.programs[0].sources.separable; in isValid()
102 if (spec.programs.empty()) in isValid()
104 print("ERROR: No programs specified!\n"); in isValid()
157 for (size_t progNdx = 0; progNdx < spec.programs.size(); ++progNdx) in isValid()
165 const bool hasShader = !spec.programs[progNdx].sources.sources[shaderStageNdx].empty(); in isValid()
166 const bool isEnabled = (spec.programs[progNdx].activeStages & curStageMask) != 0; in isValid()
176 print("ERROR: Stage %s enabled on multiple programs!\n", getShaderTypeName((ShaderType)shaderStageNdx)); in isValid()
183 else if (!spec.programs[progNdx].sources.sources[shaderStageNdx].empty()) in isValid()
205 const bool hasVertex = !spec.programs[ in isValid()
[all...]
/third_party/ffmpeg/libavformat/
H A Davformat.c117 av_dict_free(&s->programs[i]->metadata); in avformat_free_context()
118 av_freep(&s->programs[i]->stream_index); in avformat_free_context()
119 av_freep(&s->programs[i]); in avformat_free_context()
123 av_freep(&s->programs); in avformat_free_context()
246 if (ac->programs[i]->id == id) in av_new_program()
247 program = ac->programs[i]; in av_new_program()
253 ret = av_dynarray_add_nofree(&ac->programs, &ac->nb_programs, program); in av_new_program()
280 if (ac->programs[i]->id != progid) in av_program_add_stream_index()
282 program = ac->programs[i]; in av_program_add_stream_index()
299 if (ic->programs[ in av_find_program_from_stream()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DD3D11InputLayoutCacheTest.cpp82 std::vector<GLuint> programs; in TEST_P() local
87 programs.push_back(program); in TEST_P()
98 GLuint program = programs[attribCount]; in TEST_P()
118 for (GLuint program : programs) in TEST_P()
/third_party/mbedtls/tests/scripts/
H A Dall.sh26 # * Makefile, library/Makefile, programs/Makefile, tests/Makefile,
27 # programs/fuzz/Makefile
97 # * Check out `Makefile`, `library/Makefile`, `programs/Makefile`,
98 # `tests/Makefile` and `programs/fuzz/Makefile` from git.
119 test -d include -a -d library -a -d programs -a -d tests
123 test -d include -a -d core -a -d drivers -a -d programs -a -d tests
150 files_to_back_up="$files_to_back_up Makefile library/Makefile programs/Makefile tests/Makefile programs/fuzz/Makefile"
327 rm -f include/Makefile include/mbedtls/Makefile programs/!(fuzz)/Makefile
330 rm -rf programs/tes
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_job_context.c526 /* Create and upload the PDS load and store programs. Point them to the in pvr_ctx_sr_programs_setup()
527 * appropriate USC load and store programs. in pvr_ctx_sr_programs_setup()
612 struct pvr_render_ctx_programs *programs) in pvr_render_ctx_switch_programs_setup()
616 result = pvr_render_job_pt_programs_setup(device, &programs->pt); in pvr_render_ctx_switch_programs_setup()
622 &programs->sr); in pvr_render_ctx_switch_programs_setup()
629 pvr_render_job_pt_programs_cleanup(device, &programs->pt); in pvr_render_ctx_switch_programs_setup()
636 struct pvr_render_ctx_programs *programs) in pvr_render_ctx_switch_programs_cleanup()
638 pvr_ctx_sr_programs_cleanup(device, &programs->sr); in pvr_render_ctx_switch_programs_cleanup()
639 pvr_render_job_pt_programs_cleanup(device, &programs->pt); in pvr_render_ctx_switch_programs_cleanup()
670 for (uint32_t i = 0; i < ARRAY_SIZE(ctx_switch->programs); in pvr_render_ctx_switch_init()
611 pvr_render_ctx_switch_programs_setup(struct pvr_device *device, struct pvr_render_ctx_programs *programs) pvr_render_ctx_switch_programs_setup() argument
635 pvr_render_ctx_switch_programs_cleanup(struct pvr_device *device, struct pvr_render_ctx_programs *programs) pvr_render_ctx_switch_programs_cleanup() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLProgram.cpp56 ProgramPtrs programs; in compile() local
57 programs.reserve(numInputHeaders); in compile()
60 programs.emplace_back(&(*inputHeaders++)->cast<Program>()); in compile()
70 return mImpl->compile(devices, options, programs, headerIncludeNames, notify); in compile()
H A DCLContext.cpp314 ProgramPtrs programs; in linkProgram() local
315 programs.reserve(numInputPrograms); in linkProgram()
318 programs.emplace_back(&(*inputPrograms++)->cast<Program>()); in linkProgram()
320 return Object::Create<Program>(errorCode, *this, devices, options, programs, pfnNotify, in linkProgram()
/third_party/libunwind/libunwind/tests/
H A Dx64-test-dwarf-expressions.S8 # locations or register values using DWARF programs. These programs are simple
13 # These tests capture a bug we have fixed in libunwind. CFI expression programs
/third_party/lz4/examples/
H A DMakefile26 # example programs, using (mostly) LZ4 streaming library,
37 LZ4 = ../programs/lz4
80 $(MAKE) -C ../programs lz4
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureFilteringAnisotropyTests.cpp179 std::vector<util::Program> programs; in initPrograms() local
180 programs.push_back(util::PROGRAM_2D_FLOAT); in initPrograms()
181 initializePrograms(programCollection,glu::PRECISION_HIGHP, programs); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureFilteringAnisotropyTests.cpp180 std::vector<util::Program> programs; in initPrograms() local
181 programs.push_back(util::PROGRAM_2D_FLOAT); in initPrograms()
182 initializePrograms(programCollection,glu::PRECISION_HIGHP, programs); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingDescriptorBufferTests.cpp1568 void DescriptorBufferTestCase::initPrograms (vk::SourceCollections& programs) const
1572 initPrograms(programs, m_simpleBindings, accStruct, true);
1582 initPrograms(programs, simpleBindings, false, false);
1587 void DescriptorBufferTestCase::initPrograms (vk::SourceCollections& programs, const std::vector<SimpleBinding>& simpleBindings, bool accStruct, bool addService) const
1633 if (addService || !srcDeclarations.empty()) programs.glslSources.add("vert" + suffix) << glu::VertexSource(str.str());
1668 if (addService || !srcDeclarations.empty()) programs.glslSources.add("frag" + suffix) << glu::FragmentSource(str.str());
1701 if (addService || !srcDeclarations.empty()) programs.glslSources.add("geom" + suffix) << glu::GeometrySource(str.str());
1742 if (addService || !srcDeclarations.empty()) programs.glslSources.add("tesc" + suffix) << glu::TessellationControlSource(str.str());
1781 if (addService || !srcDeclarations.empty()) programs.glslSources.add("tese" + suffix) << glu::TessellationEvaluationSource(str.str());
1799 programs
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
H A DvktBindingDescriptorBufferTests.cpp1568 void DescriptorBufferTestCase::initPrograms (vk::SourceCollections& programs) const
1572 initPrograms(programs, m_simpleBindings, accStruct, true);
1582 initPrograms(programs, simpleBindings, false, false);
1587 void DescriptorBufferTestCase::initPrograms (vk::SourceCollections& programs, const std::vector<SimpleBinding>& simpleBindings, bool accStruct, bool addService) const
1633 if (addService || !srcDeclarations.empty()) programs.glslSources.add("vert" + suffix) << glu::VertexSource(str.str());
1668 if (addService || !srcDeclarations.empty()) programs.glslSources.add("frag" + suffix) << glu::FragmentSource(str.str());
1701 if (addService || !srcDeclarations.empty()) programs.glslSources.add("geom" + suffix) << glu::GeometrySource(str.str());
1742 if (addService || !srcDeclarations.empty()) programs.glslSources.add("tesc" + suffix) << glu::TessellationControlSource(str.str());
1781 if (addService || !srcDeclarations.empty()) programs.glslSources.add("tese" + suffix) << glu::TessellationEvaluationSource(str.str());
1799 programs
[all...]

Completed in 32 milliseconds

123456