/third_party/mesa3d/src/imagination/vulkan/pds/ |
D | pvr_pds.c | 423 struct pvr_pds_pixel_shader_sa_program *program) in pvr_pds_pixel_shader_sa_initialize() argument 425 memset(program, 0, sizeof(*program)); in pvr_pds_pixel_shader_sa_initialize() 530 pvr_pds_generate_pixel_event(struct pvr_pds_event_program *restrict program, in pvr_pds_generate_pixel_event() argument 548 (2 * program->num_emit_word_pairs), in pvr_pds_generate_pixel_event() 553 program->num_emit_word_pairs, in pvr_pds_generate_pixel_event() 560 program->task_control.src0); /* DOUTU */ in pvr_pds_generate_pixel_event() 564 for (uint32_t i = 0; i < program->num_emit_word_pairs; i++) { in pvr_pds_generate_pixel_event() 567 program->emit_words[(2 * i) + 0], in pvr_pds_generate_pixel_event() 568 program->emit_words[(2 * i) + 1]); in pvr_pds_generate_pixel_event() 572 for (uint32_t i = 0; i < program->num_emit_word_pairs; i++) { in pvr_pds_generate_pixel_event() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cProgramInterfaceQueryTests.cpp | 81 void LinkProgram(GLuint program) in LinkProgram() argument 83 glLinkProgram(program); in LinkProgram() 86 glGetProgramInfoLog(program, sizeof(log), &length, log); in LinkProgram() 155 …virtual inline void VerifyGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pn… in VerifyGetProgramInterfaceiv() argument 159 glGetProgramInterfaceiv(program, programInterface, pname, &res); in VerifyGetProgramInterfaceiv() 168 …virtual inline void VerifyGetProgramResourceIndex(GLuint program, GLenum programInterface, const s… in VerifyGetProgramResourceIndex() argument 171 GLuint res = glGetProgramResourceIndex(program, programInterface, name.c_str()); in VerifyGetProgramResourceIndex() 180 virtual inline void VerifyGetProgramResourceIndex(GLuint program, GLenum programInterface, in VerifyGetProgramResourceIndex() argument 184 GLuint res = glGetProgramResourceIndex(program, programInterface, name.c_str()); in VerifyGetProgramResourceIndex() 207 …virtual inline void VerifyGetProgramResourceName(GLuint program, GLenum programInterface, GLuint i… in VerifyGetProgramResourceName() argument [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cProgramInterfaceQueryTests.cpp | 81 void LinkProgram(GLuint program) in LinkProgram() argument 83 glLinkProgram(program); in LinkProgram() 86 glGetProgramInfoLog(program, sizeof(log), &length, log); in LinkProgram() 207 …virtual inline void VerifyGetProgramInterfaceiv(GLuint program, GLenum programInterface, GLenum pn… in VerifyGetProgramInterfaceiv() argument 211 glGetProgramInterfaceiv(program, programInterface, pname, &res); in VerifyGetProgramInterfaceiv() 220 …virtual inline void VerifyGetProgramResourceIndex(GLuint program, GLenum programInterface, const s… in VerifyGetProgramResourceIndex() argument 223 GLuint res = glGetProgramResourceIndex(program, programInterface, name.c_str()); in VerifyGetProgramResourceIndex() 232 virtual inline void VerifyGetProgramResourceIndex(GLuint program, GLenum programInterface, in VerifyGetProgramResourceIndex() argument 236 GLuint res = glGetProgramResourceIndex(program, programInterface, name.c_str()); in VerifyGetProgramResourceIndex() 259 …virtual inline void VerifyGetProgramResourceName(GLuint program, GLenum programInterface, GLuint i… in VerifyGetProgramResourceName() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ci/ |
D | llvmpipe-cl.txt | 10 program/build/include-directories: fail 11 program/build/math-intrinsics: fail 12 program/build/printf: skip 13 program/check predefined preprocessor macros/__opencl_c_version__ must be consistent with host (if … 14 program/check predefined preprocessor macros/__opencl_c_version__ must be defined for opencl 1.2 an… 15 program/check predefined preprocessor macros/cl_version_1_2 must be defined for opencl 1.2 and late… 16 program/check predefined preprocessor macros/cl_version_2_0 must be defined for opencl 2.0 and late… 17 program/execute/amdgcn-callee-saved-registers: skip 18 program/execute/amdgcn-f16-inline-immediates: fail 19 program/execute/amdgcn-f32-inline-immediates: fail [all …]
|
/third_party/mesa3d/src/mesa/program/ |
D | arbprogparse.c | 67 struct gl_program *program) in _mesa_parse_arb_fragment_program() argument 78 state.mem_ctx = program; in _mesa_parse_arb_fragment_program() 86 ralloc_free(program->String); in _mesa_parse_arb_fragment_program() 91 program->String = prog.String; in _mesa_parse_arb_fragment_program() 92 program->arb.NumInstructions = prog.arb.NumInstructions; in _mesa_parse_arb_fragment_program() 93 program->arb.NumTemporaries = prog.arb.NumTemporaries; in _mesa_parse_arb_fragment_program() 94 program->arb.NumParameters = prog.arb.NumParameters; in _mesa_parse_arb_fragment_program() 95 program->arb.NumAttributes = prog.arb.NumAttributes; in _mesa_parse_arb_fragment_program() 96 program->arb.NumAddressRegs = prog.arb.NumAddressRegs; in _mesa_parse_arb_fragment_program() 97 program->arb.NumNativeInstructions = prog.arb.NumNativeInstructions; in _mesa_parse_arb_fragment_program() [all …]
|
/third_party/python/Lib/unittest/test/ |
D | test_program.py | 53 program = unittest.TestProgram(testRunner=runner, exit=False, verbosity=2) 55 self.assertEqual(program.result, result) 57 self.assertEqual(program.verbosity, 2) 84 program = unittest.TestProgram(testRunner=runner, exit=False, 88 self.assertEqual(('unittest.test',), program.testNames) 99 program = unittest.TestProgram( 105 program.testNames) 109 program = unittest.main(exit=False, 113 self.assertTrue(hasattr(program, 'result')) 178 self.program = InitialisableProgram() [all …]
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/ |
D | replace_identifier_test.cc | 47 auto program = reader::wgsl::Parse(&file); in TEST() local 48 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST() 50 NodeIdMap node_id_map(program); in TEST() 52 const auto& main_fn_stmts = program.AST().Functions()[0]->body->statements; in TEST() 90 .IsApplicable(program, node_id_map)); in TEST() 94 .IsApplicable(program, node_id_map)); in TEST() 98 .IsApplicable(program, node_id_map)); in TEST() 102 .IsApplicable(program, node_id_map)); in TEST() 106 .IsApplicable(program, node_id_map)); in TEST() 110 .IsApplicable(program, node_id_map)); in TEST() [all …]
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_live_var_analysis.cpp | 107 process_live_temps_per_block(Program* program, live& lives, Block* block, unsigned& worklist, in process_live_temps_per_block() argument 119 new_demand += Temp(t, program->temp_rc[t]); in process_live_temps_per_block() 129 program->needs_vcc |= instr_needs_vcc(insn); in process_live_temps_per_block() 138 program->needs_vcc = true; in process_live_temps_per_block() 167 program->needs_vcc = true; in process_live_temps_per_block() 191 if (program->progress < CompilationProgress::after_ra) in process_live_temps_per_block() 209 program->needs_vcc = true; in process_live_temps_per_block() 231 RegClass rc = program->temp_rc[t]; in process_live_temps_per_block() 236 aco_err(program, "Temporary never defined or are defined after use: %%%d in BB%d", t, in process_live_temps_per_block() 260 program->needs_vcc = true; in process_live_temps_per_block() [all …]
|
D | aco_interface.cpp | 76 validate(aco::Program* program) in validate() argument 81 ASSERTED bool is_valid = aco::validate_ir(program); in validate() 86 get_disasm_string(aco::Program* program, std::vector<uint32_t>& code, in get_disasm_string() argument 91 if (check_print_asm_support(program)) { in get_disasm_string() 97 aco::print_asm(program, code, exec_size / 4u, memf); in get_disasm_string() 118 std::unique_ptr<aco::Program>& program) in aco_postprocess_shader() argument 123 aco_print_program(program.get(), stderr); in aco_postprocess_shader() 128 aco::lower_phis(program.get()); in aco_postprocess_shader() 129 aco::dominator_tree(program.get()); in aco_postprocess_shader() 130 validate(program.get()); in aco_postprocess_shader() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | LinkAndRelinkTest.cpp | 44 GLuint program = glCreateProgram(); in TEST_P() local 46 glLinkProgram(program); in TEST_P() 48 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in TEST_P() 51 glUseProgram(program); in TEST_P() 69 GLuint program = glCreateProgram(); in TEST_P() local 77 glAttachShader(program, vs); in TEST_P() 80 glAttachShader(program, fs); in TEST_P() 83 glLinkProgram(program); in TEST_P() 86 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in TEST_P() 91 glUseProgram(program); in TEST_P() [all …]
|
D | ProgramInterfaceTest.cpp | 52 void createGraphicsProgram(GLProgram &program, 56 void createComputeProgram(GLProgram &program, const char *cs, bool cacheAndReload); 59 void ProgramInterfaceTestES31::createGraphicsProgram(GLProgram &program, in createGraphicsProgram() argument 64 program.makeRaster(vs, fs); in createGraphicsProgram() 65 ASSERT_TRUE(program.valid()); in createGraphicsProgram() 69 program.reset(); in createGraphicsProgram() 70 program.makeRaster(vs, fs); in createGraphicsProgram() 71 ASSERT_TRUE(program.valid()); in createGraphicsProgram() 75 void ProgramInterfaceTestES31::createComputeProgram(GLProgram &program, in createComputeProgram() argument 79 program.makeCompute(cs); in createComputeProgram() [all …]
|
D | GLSLTest.cpp | 350 GLuint program = CompileProgram(vertexShaderSource.c_str(), fragmentShaderSource.c_str()); in VaryingTestBase() local 354 EXPECT_NE(0u, program); in VaryingTestBase() 358 EXPECT_EQ(0u, program); in VaryingTestBase() 435 GLuint program = CompileProgram(vertexShader.str().c_str(), fragmentShader.str().c_str()); in CompileGLSLWithUniformsAndSamplers() local 439 EXPECT_NE(0u, program); in CompileGLSLWithUniformsAndSamplers() 443 EXPECT_EQ(0u, program); in CompileGLSLWithUniformsAndSamplers() 447 std::string QueryErrorMessage(GLuint program) in QueryErrorMessage() argument 450 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength); in QueryErrorMessage() 456 glGetProgramInfoLog(program, static_cast<GLsizei>(infoLog.size()), nullptr, in QueryErrorMessage() 473 GLuint program = glCreateProgram(); in validateComponentsInErrorMessage() local [all …]
|
/third_party/typescript/src/testRunner/unittests/ |
D | builder.ts | 10 let program = newProgram(files, ["/a.ts"], {}); variable 11 const assertChanges = makeAssertChanges(() => program); 15 program = updateProgramFile(program, "/a.ts", "//comment"); 18 program = updateProgramFile(program, "/b.ts", "export const b = c + 1;"); 21 program = updateProgramFile(program, "/c.ts", "export const c = 1;"); 31 let program = newProgram(files, ["/a.ts", "/b.ts"], {}); variable 32 const assertChanges = makeAssertChanges(() => program); 36 program = updateProgramFile(program, "/a.ts", "namespace A { export const x = 1; }"); 39 program = updateProgramFile(program, "/b.ts", "namespace B { export const x = 1; }"); 52 let program = newProgram(files, ["/d.ts", "/e.ts", "/a.ts"], {}); variable [all …]
|
D | programApi.ts | 43 const program = createProgram([emptyFileRelativePath], options, testCompilerHost); constant 44 const missing = program.getMissingFilePaths(); 49 const program = createProgram(["./nonexistent.ts"], options, testCompilerHost); constant 50 const missing = program.getMissingFilePaths(); 55 …const program = createProgram(["./nonexistent0.ts", "./nonexistent1.ts"], options, testCompilerHos… constant 56 const missing = program.getMissingFilePaths(); 61 …const program = createProgram(["./nonexistent0.ts", emptyFileRelativePath, "./nonexistent1.ts"], o… constant 62 const missing = program.getMissingFilePaths(); 67 …const program = createProgram(["./nonexistent.ts", "./nonexistent.ts"], options, testCompilerHost); constant 68 const missing = program.getMissingFilePaths(); [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_global_decl_test.cc | 33 auto program = p->program(); in TEST_F() local 34 ASSERT_EQ(program.AST().GlobalVariables().size(), 1u); in TEST_F() 36 auto* v = program.AST().GlobalVariables()[0]; in TEST_F() 37 EXPECT_EQ(v->symbol, program.Symbols().Get("a")); in TEST_F() 59 auto program = p->program(); in TEST_F() local 60 ASSERT_EQ(program.AST().GlobalVariables().size(), 1u); in TEST_F() 62 auto* v = program.AST().GlobalVariables()[0]; in TEST_F() 63 EXPECT_EQ(v->symbol, program.Symbols().Get("a")); in TEST_F() 85 auto program = p->program(); in TEST_F() local 86 ASSERT_EQ(program.AST().TypeDecls().size(), 1u); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | draw_call_perf_utils.cpp | 103 GLuint program = CompileProgram(kSimpleScaleAndOffsetVS, kSimpleFS); in SetupSimpleScaleAndOffsetProgram() local 104 if (program == 0u) in SetupSimpleScaleAndOffsetProgram() 106 return program; in SetupSimpleScaleAndOffsetProgram() 110 glUseProgram(program); in SetupSimpleScaleAndOffsetProgram() 115 glUniform1f(glGetUniformLocation(program, "uScale"), scale); in SetupSimpleScaleAndOffsetProgram() 116 glUniform1f(glGetUniformLocation(program, "uOffset"), offset); in SetupSimpleScaleAndOffsetProgram() 117 return program; in SetupSimpleScaleAndOffsetProgram() 122 GLuint program = CompileProgram(kSimpleDrawVS, kSimpleFS); in SetupSimpleDrawProgram() local 123 if (program == 0u) in SetupSimpleDrawProgram() 125 return program; in SetupSimpleDrawProgram() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl_function_decl_test.cc | 90 Program program = p->program(); in TEST_F() local 91 const auto program_ast = test::ToString(program); in TEST_F() 104 Program program = p->program(); in TEST_F() local 105 const auto program_ast = test::ToString(program); in TEST_F() 123 Program program = p->program(); in TEST_F() local 124 const auto program_ast = test::ToString(program); in TEST_F() 148 Program program = p->program(); in TEST_F() local 149 const auto program_ast = test::ToString(program); in TEST_F() 166 Program program = p->program(); in TEST_F() local 167 const auto program_ast = test::ToString(program); in TEST_F() [all …]
|
D | parser_impl_barrier_test.cc | 46 return p->program(); in ParseAndBuild() 50 auto program = ParseAndBuild(R"( in TEST_F() local 67 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST_F() 69 program.AST().Functions().Find(program.Symbols().Get("helper")); in TEST_F() 75 auto* sem_call = program.Sem().Get(call->expr); in TEST_F() 83 auto program = ParseAndBuild(R"( in TEST_F() local 101 ASSERT_TRUE(program.IsValid()) << program.Diagnostics().str(); in TEST_F() 103 program.AST().Functions().Find(program.Symbols().Get("helper")); in TEST_F() 109 auto* sem_call = program.Sem().Get(call->expr); in TEST_F() 117 auto program = ParseAndBuild(R"( in TEST_F() local [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fNegativeShaderApiTests.cpp | 101 GLuint program = glCreateProgram(); in init() 102 glShaderSource(program, 0, 0, 0); in init() 106 glDeleteProgram(program); in init() 124 GLuint program = glCreateProgram(); in init() 125 glCompileShader(program); in init() 129 glDeleteProgram(program); in init() 152 GLuint program = glCreateProgram(); in init() 176 glShaderBinary(1, &program, binaryFormats[0], 0, 0); in init() 190 glDeleteProgram(program); in init() 198 GLuint program = glCreateProgram(); in init() [all …]
|
/third_party/elfutils/libdw/ |
D | cfi.c | 105 const uint8_t *program, const uint8_t *const end, bool abi_cfi, in execute_cfi() argument 128 while (program < end) in execute_cfi() 130 uint8_t opcode = *program++; in execute_cfi() 140 operand = *program++; in execute_cfi() 148 cfi_assert (program + 2 <= end); in execute_cfi() 149 operand = read_2ubyte_unaligned_inc (cache, program); in execute_cfi() 152 cfi_assert (program + 4 <= end); in execute_cfi() 153 operand = read_4ubyte_unaligned_inc (cache, program); in execute_cfi() 156 cfi_assert (program + 8 <= end); in execute_cfi() 157 operand = read_8ubyte_unaligned_inc (cache, program); in execute_cfi() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fProgramStateQueryTests.cpp | 154 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() in iterate() local 159 TCU_CHECK_MSG(program.isOk(), "Compile failed"); in iterate() 161 m_testCtx.getLog() << program; in iterate() 163 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_VERTICES_OUT, 3, m_verifie… in iterate() 164 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_INPUT_TYPE, GL_TRIANGLES, … in iterate() 165 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_OUTPUT_TYPE, GL_TRIANGLE_S… in iterate() 166 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_SHADER_INVOCATIONS, 1, m_v… in iterate() 171 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() in iterate() local 176 TCU_CHECK_MSG(program.isOk(), "Compile failed"); in iterate() 178 m_testCtx.getLog() << program; in iterate() [all …]
|
/third_party/skia/third_party/externals/tint/src/ |
D | program.cc | 36 Program::Program(Program&& program) in Program() argument 37 : id_(std::move(program.id_)), in Program() 38 types_(std::move(program.types_)), in Program() 39 ast_nodes_(std::move(program.ast_nodes_)), in Program() 40 sem_nodes_(std::move(program.sem_nodes_)), in Program() 41 ast_(std::move(program.ast_)), in Program() 42 sem_(std::move(program.sem_)), in Program() 43 symbols_(std::move(program.symbols_)), in Program() 44 diagnostics_(std::move(program.diagnostics_)), in Program() 45 transforms_applied_(std::move(program.transforms_applied_)), in Program() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/ |
D | tsmux.c | 102 static gboolean tsmux_write_pmt (TsMux * mux, TsMuxProgram * program); 103 static gboolean tsmux_write_scte_null (TsMux * mux, TsMuxProgram * program); 384 TsMuxProgram *program = (TsMuxProgram *) cur->data; in tsmux_free() local 386 tsmux_program_free (program); in tsmux_free() 405 tsmux_program_compare (TsMuxProgram * program, gint * needle) in tsmux_program_compare() argument 407 return (program->pgm_number - *needle); in tsmux_program_compare() 422 TsMuxProgram *program; in tsmux_program_new() local 430 program = g_slice_new0 (TsMuxProgram); in tsmux_program_new() 432 program->pmt_changed = TRUE; in tsmux_program_new() 433 program->pmt_interval = TSMUX_DEFAULT_PMT_INTERVAL; in tsmux_program_new() [all …]
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_debug_fp.c | 192 print_arith_op(char **stream, unsigned opcode, const unsigned *program) in print_arith_op() argument 195 print_dest_reg(stream, program[0]); in print_arith_op() 196 if (program[0] & A0_DEST_SATURATE) in print_arith_op() 204 print_src_reg(stream, GET_SRC0_REG(program[0], program[1])); in print_arith_op() 209 print_src_reg(stream, GET_SRC1_REG(program[1], program[2])); in print_arith_op() 214 print_src_reg(stream, GET_SRC2_REG(program[2])); in print_arith_op() 219 print_tex_op(char **stream, unsigned opcode, const unsigned *program) in print_tex_op() argument 221 print_dest_reg(stream, program[0] | A0_DEST_CHANNEL_ALL); in print_tex_op() 226 PRINTF(stream, "S[%d],", program[0] & T0_SAMPLER_NR_MASK); in print_tex_op() 229 (program[1] >> T1_ADDRESS_REG_TYPE_SHIFT) & REG_TYPE_MASK, in print_tex_op() [all …]
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_compute.c | 59 static const amd_kernel_code_t *si_compute_get_code_object(const struct si_compute *program, in si_compute_get_code_object() argument 62 const struct si_shader_selector *sel = &program->sel; in si_compute_get_code_object() 64 if (program->ir_type != PIPE_SHADER_IR_NATIVE) in si_compute_get_code_object() 71 .wave_size = program->shader.wave_size, in si_compute_get_code_object() 73 .elf_ptrs = &program->shader.binary.elf_buffer, in si_compute_get_code_object() 74 .elf_sizes = &program->shader.binary.elf_size})) in si_compute_get_code_object() 112 struct si_compute *program = (struct si_compute *)job; in si_create_compute_state_async() local 113 struct si_shader_selector *sel = &program->sel; in si_create_compute_state_async() 114 struct si_shader *shader = &program->shader; in si_create_compute_state_async() 127 assert(program->ir_type == PIPE_SHADER_IR_NIR); in si_create_compute_state_async() [all …]
|