/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/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/.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/bcc/src/cc/ |
D | bpf_common.cc | 47 void bpf_module_destroy(void *program) { in bpf_module_destroy() argument 48 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_module_destroy() 53 size_t bpf_num_functions(void *program) { in bpf_num_functions() argument 54 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_num_functions() 59 const char * bpf_function_name(void *program, size_t id) { in bpf_function_name() argument 60 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_name() 65 void * bpf_function_start(void *program, const char *name) { in bpf_function_start() argument 66 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start() 71 void * bpf_function_start_id(void *program, size_t id) { in bpf_function_start_id() argument 72 auto mod = static_cast<ebpf::BPFModule *>(program); in bpf_function_start_id() [all …]
|
D | bpf_common.h | 30 void bpf_module_destroy(void *program); 31 char * bpf_module_license(void *program); 32 unsigned bpf_module_kern_version(void *program); 33 size_t bpf_num_functions(void *program); 34 const char * bpf_function_name(void *program, size_t id); 35 void * bpf_function_start_id(void *program, size_t id); 36 void * bpf_function_start(void *program, const char *name); 37 size_t bpf_function_size_id(void *program, size_t id); 38 size_t bpf_function_size(void *program, const char *name); 39 size_t bpf_num_tables(void *program); [all …]
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_program.py | 52 program = unittest.TestProgram(testRunner=runner, exit=False, verbosity=2) 54 self.assertEqual(program.result, result) 56 self.assertEqual(program.verbosity, 2) 83 program = unittest.TestProgram(testRunner=runner, exit=False, 87 self.assertEqual(('unittest.test',), program.testNames) 98 program = unittest.TestProgram( 104 program.testNames) 107 program = unittest.main(exit=False, 111 self.assertTrue(hasattr(program, 'result')) 168 self.program = InitialisableProgram() [all …]
|
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/ |
D | test_program.py | 36 program = unittest2.TestProgram( 39 self.assertEqual(program.result, result) 41 self.assertEqual(program.verbosity, 2) 59 program = unittest2.main( 65 self.assertTrue(hasattr(program, 'result')) 120 self.program = InitialisableProgram() 121 self.program.createTests = lambda: None 127 program = self.program 130 program.msg = msg 131 program.exit = True [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/bcc/src/cc/includes/ |
D | bpf_common.h | 30 void bpf_module_destroy(void *program); 31 char * bpf_module_license(void *program); 32 unsigned bpf_module_kern_version(void *program); 33 size_t bpf_num_functions(void *program); 34 const char * bpf_function_name(void *program, size_t id); 35 void * bpf_function_start_id(void *program, size_t id); 36 void * bpf_function_start(void *program, const char *name); 37 size_t bpf_function_size_id(void *program, size_t id); 38 size_t bpf_function_size(void *program, const char *name); 39 size_t bpf_num_tables(void *program); [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 | 349 GLuint program = CompileProgram(vertexShaderSource.c_str(), fragmentShaderSource.c_str()); in VaryingTestBase() local 353 EXPECT_NE(0u, program); in VaryingTestBase() 357 EXPECT_EQ(0u, program); in VaryingTestBase() 434 GLuint program = CompileProgram(vertexShader.str().c_str(), fragmentShader.str().c_str()); in CompileGLSLWithUniformsAndSamplers() local 438 EXPECT_NE(0u, program); in CompileGLSLWithUniformsAndSamplers() 442 EXPECT_EQ(0u, program); in CompileGLSLWithUniformsAndSamplers() 446 std::string QueryErrorMessage(GLuint program) in QueryErrorMessage() argument 449 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength); in QueryErrorMessage() 455 glGetProgramInfoLog(program, static_cast<GLsizei>(infoLog.size()), nullptr, in QueryErrorMessage() 472 GLuint program = glCreateProgram(); in validateComponentsInErrorMessage() local [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 …]
|
/external/pdfium/fxjs/xfa/ |
D | cfxjse_formcalc_context_embeddertest.cpp | 48 const char* program; in TEST_F() member 76 EXPECT_TRUE(Execute(tests[i].program)); in TEST_F() 81 << "Program: " << tests[i].program; in TEST_F() 89 const char* program; in TEST_F() member 97 EXPECT_TRUE(Execute(tests[i].program)); in TEST_F() 102 << "Program: " << tests[i].program << " Result: '" << value->ToString() in TEST_F() 111 const char* program; in TEST_F() member 138 EXPECT_TRUE(Execute(tests[i].program)); in TEST_F() 141 EXPECT_TRUE(value->IsInteger()) << "Program: " << tests[i].program; in TEST_F() 143 << "Program: " << tests[i].program; in TEST_F() [all …]
|
/external/llvm-project/llvm/test/CodeGen/WebAssembly/ |
D | multivalue-stackify.py | 38 def get_num_defs(program): argument 40 for _, defs in program: 45 def possible_ops(program): argument 46 program_defs = get_num_defs(program) 60 program = queue.popleft() 61 if len(program) == MAX_PROGRAM_OPS: 63 for op in possible_ops(program): 65 new_program = program + [op] 70 def get_num_terminal_ops(program): argument 72 for _, defs in program: [all …]
|
/external/llvm-project/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/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/angle/src/tests/test_utils/ |
D | draw_call_perf_utils.cpp | 85 GLuint program = CompileProgram(kSimpleScaleAndOffsetVS, kSimpleFS); in SetupSimpleScaleAndOffsetProgram() local 86 if (program == 0u) in SetupSimpleScaleAndOffsetProgram() 88 return program; in SetupSimpleScaleAndOffsetProgram() 92 glUseProgram(program); in SetupSimpleScaleAndOffsetProgram() 97 glUniform1f(glGetUniformLocation(program, "uScale"), scale); in SetupSimpleScaleAndOffsetProgram() 98 glUniform1f(glGetUniformLocation(program, "uOffset"), offset); in SetupSimpleScaleAndOffsetProgram() 99 return program; in SetupSimpleScaleAndOffsetProgram() 104 GLuint program = CompileProgram(kSimpleDrawVS, kSimpleFS); in SetupSimpleDrawProgram() local 105 if (program == 0u) in SetupSimpleDrawProgram() 107 return program; in SetupSimpleDrawProgram() [all …]
|
/external/bcc/src/cc/frontends/p4/compiler/ |
D | ebpfParser.py | 20 def serialize(self, serializer, program): argument 22 assert isinstance(program, ebpfProgram.EbpfProgram) 28 self.serializeOperation(serializer, op, program) 31 self.parser.branch_to, program) 35 def serializeSelect(self, selectVarName, serializer, branch_on, program): argument 39 assert isinstance(program, ebpfProgram.EbpfProgram) 50 ebpfStack = program.getStackInstance(instance.base_name) 63 ebpfHeader = program.getInstance(instance.name) 72 fieldReference = (program.headerStructName + "." + name + 82 switchValue = self.currentReferenceAsString(e, program) [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/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 …]
|