/external/deqp/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 …]
|
/external/deqp/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 …]
|
/external/mesa3d/src/mesa/program/ |
D | arbprogparse.c | 70 struct gl_program *program) in _mesa_parse_arb_fragment_program() argument 81 state.mem_ctx = program; in _mesa_parse_arb_fragment_program() 89 ralloc_free(program->String); in _mesa_parse_arb_fragment_program() 94 program->String = prog.String; in _mesa_parse_arb_fragment_program() 95 program->arb.NumInstructions = prog.arb.NumInstructions; in _mesa_parse_arb_fragment_program() 96 program->arb.NumTemporaries = prog.arb.NumTemporaries; in _mesa_parse_arb_fragment_program() 97 program->arb.NumParameters = prog.arb.NumParameters; in _mesa_parse_arb_fragment_program() 98 program->arb.NumAttributes = prog.arb.NumAttributes; in _mesa_parse_arb_fragment_program() 99 program->arb.NumAddressRegs = prog.arb.NumAddressRegs; in _mesa_parse_arb_fragment_program() 100 program->arb.NumNativeInstructions = prog.arb.NumNativeInstructions; in _mesa_parse_arb_fragment_program() [all …]
|
/external/bcc/src/cc/ |
D | bcc_common.cc | 44 void bpf_module_destroy(void *program) { in bpf_module_destroy() argument 45 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_module_destroy() 50 size_t bpf_num_functions(void *program) { in bpf_num_functions() argument 51 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_num_functions() 56 const char * bpf_function_name(void *program, size_t id) { in bpf_function_name() argument 57 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_name() 62 void * bpf_function_start(void *program, const char *name) { in bpf_function_start() argument 63 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start() 68 void * bpf_function_start_id(void *program, size_t id) { in bpf_function_start_id() argument 69 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start_id() [all …]
|
D | bcc_common.h | 34 void bpf_module_destroy(void *program); 35 char * bpf_module_license(void *program); 36 unsigned bpf_module_kern_version(void *program); 37 size_t bpf_num_functions(void *program); 38 const char * bpf_function_name(void *program, size_t id); 39 void * bpf_function_start_id(void *program, size_t id); 40 void * bpf_function_start(void *program, const char *name); 41 size_t bpf_function_size_id(void *program, size_t id); 42 size_t bpf_function_size(void *program, const char *name); 43 size_t bpf_num_tables(void *program); [all …]
|
/external/mesa3d/.gitlab-ci/piglit/ |
D | cl.txt | 11 program/build/include-directories: 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: skip 19 program/execute/amdgcn-f32-inline-immediates/add integer 64: fail 20 program/execute/amdgcn-i16-inline-immediates: skip [all …]
|
/external/python/cpython3/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 …]
|
/external/mesa3d/src/amd/compiler/ |
D | aco_live_var_analysis.cpp | 84 void process_live_temps_per_block(Program *program, live& lives, Block* block, in process_live_temps_per_block() argument 103 new_demand += Temp(t, program->temp_rc[t]); in process_live_temps_per_block() 115 assert(new_demand.sgpr >= (int16_t) program->lane_mask.size()); in process_live_temps_per_block() 116 …register_demand[idx] = RegisterDemand(new_demand.vgpr, new_demand.sgpr - (exec_live ? program->lan… in process_live_temps_per_block() 124 program->needs_vcc = true; in process_live_temps_per_block() 157 program->needs_vcc = true; in process_live_temps_per_block() 183 assert(new_demand.sgpr >= (int16_t) program->lane_mask.size()); in process_live_temps_per_block() 184 new_demand.sgpr -= exec_live ? program->lane_mask.size() : 0; in process_live_temps_per_block() 197 program->needs_vcc = true; in process_live_temps_per_block() 211 RegClass rc = program->temp_rc[t]; in process_live_temps_per_block() [all …]
|
D | aco_interface.cpp | 46 static void validate(aco::Program *program) in validate() argument 51 ASSERTED bool is_valid = aco::validate_ir(program); in validate() 63 std::unique_ptr<aco::Program> program{new aco::Program}; in aco_compile_shader() local 65 program->collect_statistics = args->options->record_stats; in aco_compile_shader() 66 if (program->collect_statistics) in aco_compile_shader() 67 memset(program->statistics, 0, sizeof(program->statistics)); in aco_compile_shader() 69 program->debug.func = args->options->debug.func; in aco_compile_shader() 70 program->debug.private_data = args->options->debug.private_data; in aco_compile_shader() 74 aco::select_gs_copy_shader(program.get(), shaders[0], &config, args); in aco_compile_shader() 76 aco::select_trap_handler_shader(program.get(), shaders[0], &config, args); in aco_compile_shader() [all …]
|
D | aco_ir.cpp | 61 void init_program(Program *program, Stage stage, struct radv_shader_info *info, in init_program() argument 65 program->stage = stage; in init_program() 66 program->config = config; in init_program() 67 program->info = info; in init_program() 68 program->chip_class = chip_class; in init_program() 72 program->family = CHIP_TAHITI; in init_program() 75 program->family = CHIP_BONAIRE; in init_program() 78 program->family = CHIP_POLARIS10; in init_program() 81 program->family = CHIP_VEGA10; in init_program() 84 program->family = CHIP_NAVI10; in init_program() [all …]
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_program.py | 50 program = unittest.TestProgram(testRunner=runner, exit=False, verbosity=2) 52 self.assertEqual(program.result, result) 54 self.assertEqual(program.verbosity, 2) 70 program = unittest.main(exit=False, 74 self.assertTrue(hasattr(program, 'result')) 128 self.program = InitialisableProgram() 129 self.program.createTests = lambda: None 135 program = self.program 137 program.msg = msg 138 program.exit = True [all …]
|
/external/angle/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 | 351 GLuint program = CompileProgram(vertexShaderSource.c_str(), fragmentShaderSource.c_str()); in VaryingTestBase() local 355 EXPECT_NE(0u, program); in VaryingTestBase() 359 EXPECT_EQ(0u, program); in VaryingTestBase() 436 GLuint program = CompileProgram(vertexShader.str().c_str(), fragmentShader.str().c_str()); in CompileGLSLWithUniformsAndSamplers() local 440 EXPECT_NE(0u, program); in CompileGLSLWithUniformsAndSamplers() 444 EXPECT_EQ(0u, program); in CompileGLSLWithUniformsAndSamplers() 448 std::string QueryErrorMessage(GLuint program) in QueryErrorMessage() argument 451 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength); in QueryErrorMessage() 457 glGetProgramInfoLog(program, static_cast<GLsizei>(infoLog.size()), nullptr, in QueryErrorMessage() 474 GLuint program = glCreateProgram(); in validateComponentsInErrorMessage() local [all …]
|
D | UniformBufferTest.cpp | 335 ANGLE_GL_PROGRAM(program, kVS, kFS); in TEST_P() 338 glGetProgramiv(program, GL_ACTIVE_UNIFORM_BLOCKS, &activeUniformBlocks); in TEST_P() 341 GLuint index = glGetUniformBlockIndex(program, "blockName1"); in TEST_P() 345 index = glGetUniformBlockIndex(program, "blockName2[0]"); in TEST_P() 350 glGetProgramiv(program, GL_ACTIVE_UNIFORMS, &activeUniforms); in TEST_P() 359 glGetProgramiv(program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in TEST_P() 363 glGetUniformIndices(program, 1, uniformNames, &index); in TEST_P() 366 glGetActiveUniform(program, index, maxLength, &length, &size, &type, &strUniformNameBuffer[0]); in TEST_P() 372 glGetUniformIndices(program, 1, uniformNames, &index); in TEST_P() 375 glGetActiveUniform(program, index, maxLength, &length, &size, &type, &strUniformNameBuffer[0]); in TEST_P() [all …]
|
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_build_helpers.cpp | 68 clProgramWrapper program; in test_load_program_source() local 76 program = clCreateProgramWithSource( in test_load_program_source() 81 error = clGetProgramInfo( program, CL_PROGRAM_SOURCE, 0, NULL, &length ); in test_load_program_source() 94 error = clGetProgramInfo( program, CL_PROGRAM_SOURCE, length, buffer, NULL ); in test_load_program_source() 112 clProgramWrapper program; in test_load_multistring_source() local 126 program = clCreateProgramWithSource(context, num_lines, in test_load_multistring_source() 129 if( program == NULL ) in test_load_multistring_source() 136 error = clBuildProgram( program, 1, &deviceID, NULL, NULL, NULL ); in test_load_multistring_source() 149 cl_program program; in test_load_two_kernel_source() local 163 program = clCreateProgramWithSource( in test_load_two_kernel_source() [all …]
|
D | test_build_options.cpp | 66 cl_int get_result_from_program( cl_context context, cl_command_queue queue, cl_program program, cl_… in get_result_from_program() argument 69 clKernelWrapper kernel = clCreateKernel( program, "sample_test", &error ); in get_result_from_program() 98 clProgramWrapper program; in test_options_build_optimizations() local 99 …error = create_single_kernel_helper_create_program(context, &program, 1, options_test_kernel, opti… in test_options_build_optimizations() 100 if( program == NULL || error != CL_SUCCESS ) in test_options_build_optimizations() 108 error = clBuildProgram( program, 1, &deviceID, optimization_options[i], NULL, NULL ); in test_options_build_optimizations() 111 …error = clGetProgramBuildInfo( program, deviceID, CL_PROGRAM_BUILD_STATUS, sizeof( status ), &stat… in test_options_build_optimizations() 127 clProgramWrapper program; in test_options_build_macro() local 131 program = clCreateProgramWithSource( context, 1, preprocessor_test_kernel, NULL, &error ); in test_options_build_macro() 132 if( program == NULL || error != CL_SUCCESS ) in test_options_build_macro() [all …]
|
/external/angle/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 …]
|
/external/deqp/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 …]
|
/external/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 …]
|
/external/llvm/utils/ |
D | check-each-file | 9 program=$2 10 linker=./link-$program 11 echo "Building $program with llvm-native-gcc" 12 rm -f $program 13 gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx 14 echo "Erasing $program and re-linking it" 15 rm -f $program 16 echo "rm -f $program" > $linker 17 gmake -n $program >> $linker 23 echo "$program appears to need a dummy __main function; adding one" [all …]
|
/external/deqp/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 …]
|
/external/deqp/framework/opengl/ |
D | gluProgramInterfaceQuery.cpp | 33 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterf… in getProgramResourceUint() argument 36 …gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, 1, DE_NULL, (int*)&value… in getProgramResourceUint() 41 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface,… in getProgramResourceName() argument 43 const int length = getProgramResourceInt(gl, program, programInterface, index, GL_NAME_LENGTH); in getProgramResourceName() 48 gl.getProgramResourceName(program, programInterface, index, (int)buf.size(), DE_NULL, &buf[0]); in getProgramResourceName() 61 static void getProgramInterfaceActiveVariables (const glw::Functions& gl, deUint32 program, deUint3… in getProgramInterfaceActiveVariables() argument 63 …const int numActiveVariables = getProgramResourceInt(gl, program, programInterface, index, GL_NUM_… in getProgramInterfaceActiveVariables() 69 …gl.getProgramResourceiv(program, programInterface, index, 1, &queryParam, (int)activeVariables.siz… in getProgramInterfaceActiveVariables() 74 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInte… in getProgramInterfaceBlockInfo() argument 77 …info.bufferBinding = getProgramResourceUint(gl, program, programInterface, index, GL_BUFFER_BINDIN… in getProgramInterfaceBlockInfo() [all …]
|
/external/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() 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() 133 program->shader.is_monolithic = true; in si_create_compute_state_async() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_debug_fp.c | 245 print_arith_op(GLuint opcode, const GLuint * program) in print_arith_op() argument 248 print_dest_reg(program[0]); in print_arith_op() 249 if (program[0] & A0_DEST_SATURATE) in print_arith_op() 257 print_src_reg(GET_SRC0_REG(program[0], program[1])); in print_arith_op() 264 print_src_reg(GET_SRC1_REG(program[1], program[2])); in print_arith_op() 271 print_src_reg(GET_SRC2_REG(program[2])); in print_arith_op() 278 print_tex_op(GLuint opcode, const GLuint * program) in print_tex_op() argument 280 print_dest_reg(program[0] | A0_DEST_CHANNEL_ALL); in print_tex_op() 285 printf("S[%d],", program[0] & T0_SAMPLER_NR_MASK); in print_tex_op() 287 print_reg_type_nr((program[1] >> T1_ADDRESS_REG_TYPE_SHIFT) & in print_tex_op() [all …]
|