/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/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/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/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/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/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/pdfium/fxjs/ |
D | cfxjse_formcalc_context_embeddertest.cpp | 36 const char* program; in TEST_F() member 64 EXPECT_TRUE(Execute(tests[i].program)); in TEST_F() 69 << "Program: " << tests[i].program; in TEST_F() 77 const char* program; in TEST_F() member 85 EXPECT_TRUE(Execute(tests[i].program)); in TEST_F() 90 << "Program: " << tests[i].program << " Result: '" in TEST_F() 99 const char* program; in TEST_F() member 126 EXPECT_TRUE(Execute(tests[i].program)); in TEST_F() 129 EXPECT_TRUE(value->IsInteger()) << "Program: " << tests[i].program; in TEST_F() 131 << "Program: " << tests[i].program; in TEST_F() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_compute.c | 59 const struct si_compute *program, in si_compute_get_code_object() argument 62 if (!program->use_code_object_v2) { in si_compute_get_code_object() 66 (program->shader.binary.code + symbol_offset); in si_compute_get_code_object() 87 struct si_compute *program = (struct si_compute *)job; in si_create_compute_state_async() local 88 struct si_shader *shader = &program->shader; in si_create_compute_state_async() 91 struct pipe_debug_callback *debug = &program->compiler_ctx_state.debug; in si_create_compute_state_async() 95 assert(thread_index < ARRAY_SIZE(program->screen->tm)); in si_create_compute_state_async() 96 tm = program->screen->tm[thread_index]; in si_create_compute_state_async() 100 sel.screen = program->screen; in si_create_compute_state_async() 101 tgsi_scan_shader(program->tokens, &sel.info); in si_create_compute_state_async() [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 …]
|
D | es2fShaderStateQueryTests.cpp | 108 bool verifyProgramParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLenum… in verifyProgramParam() argument 111 gl.glGetProgramiv(program, pname, &state); in verifyProgramParam() 198 void verifyUniformValue1f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1f() argument 203 gl.glGetUniformfv(program, location, state); in verifyUniformValue1f() 223 void verifyUniformValue2f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2f() argument 228 gl.glGetUniformfv(program, location, state); in verifyUniformValue2f() 251 void verifyUniformValue3f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue3f() argument 256 gl.glGetUniformfv(program, location, state); in verifyUniformValue3f() 282 void verifyUniformValue4f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue4f() argument 287 gl.glGetUniformfv(program, location, state); in verifyUniformValue4f() [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/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/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/deqp/modules/gles31/functional/ |
D | es31fProgramStateQueryTests.cpp | 150 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() in iterate() local 155 TCU_CHECK_MSG(program.isOk(), "Compile failed"); in iterate() 157 m_testCtx.getLog() << program; in iterate() 159 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_VERTICES_OUT, 3, m_verifie… in iterate() 160 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_INPUT_TYPE, GL_TRIANGLES, … in iterate() 161 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_OUTPUT_TYPE, GL_TRIANGLE_S… in iterate() 162 …verifyStateProgramInteger(result, gl, program.getProgram(), GL_GEOMETRY_SHADER_INVOCATIONS, 1, m_v… in iterate() 167 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() in iterate() local 172 TCU_CHECK_MSG(program.isOk(), "Compile failed"); in iterate() 174 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/deqp/modules/gles3/functional/ |
D | es3fNegativeShaderApiTests.cpp | 119 GLuint program = glCreateProgram(); in init() 120 glShaderSource(program, 0, 0, 0); in init() 124 glDeleteProgram(program); in init() 137 GLuint program = glCreateProgram(); in init() 138 glCompileShader(program); in init() 142 glDeleteProgram(program); in init() 191 GLuint program = glCreateProgram(); in init() 199 glAttachShader(program, program); in init() 201 glAttachShader(shader1, program); in init() 206 glAttachShader(program, -1); in init() [all …]
|
D | es3fShaderStateQueryTests.cpp | 111 bool verifyProgramParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLenum… in verifyProgramParam() argument 114 gl.glGetProgramiv(program, pname, &state); in verifyProgramParam() 119 void verifyActiveUniformParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program,… in verifyActiveUniformParam() argument 122 gl.glGetActiveUniformsiv(program, 1, &index, pname, &state); in verifyActiveUniformParam() 128 …mBlockParam (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLuint blockInde… in verifyActiveUniformBlockParam() argument 131 gl.glGetActiveUniformBlockiv(program, blockIndex, pname, &state); in verifyActiveUniformBlockParam() 257 void verifyUniformValue1f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue1f() argument 262 gl.glGetUniformfv(program, location, state); in verifyUniformValue1f() 282 void verifyUniformValue2f (tcu::TestContext& testCtx, glu::CallLogWrapper& gl, GLuint program, GLin… in verifyUniformValue2f() argument 287 gl.glGetUniformfv(program, location, state); in verifyUniformValue2f() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_debug_fp.c | 242 print_arith_op(GLuint opcode, const GLuint * program) in print_arith_op() argument 245 print_dest_reg(program[0]); in print_arith_op() 246 if (program[0] & A0_DEST_SATURATE) in print_arith_op() 254 print_src_reg(GET_SRC0_REG(program[0], program[1])); in print_arith_op() 261 print_src_reg(GET_SRC1_REG(program[1], program[2])); in print_arith_op() 268 print_src_reg(GET_SRC2_REG(program[2])); in print_arith_op() 275 print_tex_op(GLuint opcode, const GLuint * program) in print_tex_op() argument 277 print_dest_reg(program[0] | A0_DEST_CHANNEL_ALL); in print_tex_op() 282 printf("S[%d],", program[0] & T0_SAMPLER_NR_MASK); in print_tex_op() 284 print_reg_type_nr((program[1] >> T1_ADDRESS_REG_TYPE_SHIFT) & in print_tex_op() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_debug_fp.c | 258 unsigned opcode, const unsigned * program) in print_arith_op() argument 261 print_dest_reg(stream, program[0]); in print_arith_op() 262 if (program[0] & A0_DEST_SATURATE) in print_arith_op() 270 print_src_reg(stream, GET_SRC0_REG(program[0], program[1])); in print_arith_op() 277 print_src_reg(stream, GET_SRC1_REG(program[1], program[2])); in print_arith_op() 284 print_src_reg(stream, GET_SRC2_REG(program[2])); in print_arith_op() 292 unsigned opcode, const unsigned * program) in print_tex_op() argument 294 print_dest_reg(stream, program[0] | A0_DEST_CHANNEL_ALL); in print_tex_op() 299 PRINTF(stream, "S[%d],", program[0] & T0_SAMPLER_NR_MASK); in print_tex_op() 302 (program[1] >> T1_ADDRESS_REG_TYPE_SHIFT) & in print_tex_op() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | uniforms.h | 121 _mesa_ProgramUniformHandleui64ARB(GLuint program, GLint location, 124 _mesa_ProgramUniformHandleui64vARB(GLuint program, GLint location, 128 _mesa_ProgramUniform1f(GLuint program, GLint, GLfloat); 130 _mesa_ProgramUniform2f(GLuint program, GLint, GLfloat, GLfloat); 132 _mesa_ProgramUniform3f(GLuint program, GLint, GLfloat, GLfloat, GLfloat); 134 _mesa_ProgramUniform4f(GLuint program, GLint, GLfloat, GLfloat, GLfloat, GLfloat); 136 _mesa_ProgramUniform1i(GLuint program, GLint, GLint); 138 _mesa_ProgramUniform2i(GLuint program, GLint, GLint, GLint); 140 _mesa_ProgramUniform3i(GLuint program, GLint, GLint, GLint, GLint); 142 _mesa_ProgramUniform4i(GLuint program, GLint, GLint, GLint, GLint, GLint); [all …]
|
D | uniforms.c | 341 _mesa_ProgramUniform1f(GLuint program, GLint location, GLfloat v0) in _mesa_ProgramUniform1f() argument 345 _mesa_lookup_shader_program_err(ctx, program, in _mesa_ProgramUniform1f() 351 _mesa_ProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) in _mesa_ProgramUniform2f() argument 358 shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform2f"); in _mesa_ProgramUniform2f() 363 _mesa_ProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, in _mesa_ProgramUniform3f() argument 372 shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform3f"); in _mesa_ProgramUniform3f() 377 _mesa_ProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, in _mesa_ProgramUniform4f() argument 387 shProg = _mesa_lookup_shader_program_err(ctx, program, "glProgramUniform4f"); in _mesa_ProgramUniform4f() 392 _mesa_ProgramUniform1i(GLuint program, GLint location, GLint v0) in _mesa_ProgramUniform1i() argument 396 _mesa_lookup_shader_program_err(ctx, program, in _mesa_ProgramUniform1i() [all …]
|