/external/mesa3d/src/mesa/program/ |
D | arbprogparse.c | 69 struct gl_fragment_program *program) in _mesa_parse_arb_fragment_program() argument 87 if (program->Base.String != NULL) in _mesa_parse_arb_fragment_program() 88 free(program->Base.String); in _mesa_parse_arb_fragment_program() 93 program->Base.String = prog.String; in _mesa_parse_arb_fragment_program() 94 program->Base.NumInstructions = prog.NumInstructions; in _mesa_parse_arb_fragment_program() 95 program->Base.NumTemporaries = prog.NumTemporaries; in _mesa_parse_arb_fragment_program() 96 program->Base.NumParameters = prog.NumParameters; in _mesa_parse_arb_fragment_program() 97 program->Base.NumAttributes = prog.NumAttributes; in _mesa_parse_arb_fragment_program() 98 program->Base.NumAddressRegs = prog.NumAddressRegs; in _mesa_parse_arb_fragment_program() 99 program->Base.NumNativeInstructions = prog.NumNativeInstructions; in _mesa_parse_arb_fragment_program() [all …]
|
/external/lldb/test/unittest2/test/ |
D | test_program.py | 33 program = unittest2.TestProgram(testRunner=runner, exit=False, verbosity=2) 35 self.assertEqual(program.result, result) 37 self.assertEqual(program.verbosity, 2) 53 program = unittest2.main(exit=False, 57 self.assertTrue(hasattr(program, 'result')) 111 self.program = InitialisableProgram() 112 self.program.createTests = lambda: None 118 program = self.program 120 program.msg = msg 121 program.exit = True [all …]
|
D | test_discovery.py | 205 program = object.__new__(unittest2.TestProgram) 210 program._do_discovery = do_discovery 211 program.parseArgs(['something', 'discover']) 214 program.parseArgs(['something', 'discover', 'foo', 'bar']) 223 program = object.__new__(unittest2.TestProgram) 224 program.usageExit = usageExit 228 lambda: program._do_discovery(['one', 'two', 'three', 'four'])) 232 program = object.__new__(unittest2.TestProgram) 240 program._do_discovery(['-v'], Loader=Loader) 241 self.assertEqual(program.verbosity, 2) [all …]
|
/external/elfutils/src/libdw/ |
D | cfi.c | 65 const uint8_t *program, const uint8_t *const end, bool abi_cfi, in execute_cfi() argument 116 while (program < end) in execute_cfi() 118 uint8_t opcode = *program++; in execute_cfi() 128 operand = *program++; in execute_cfi() 135 cfi_assert (program + 2 <= end); in execute_cfi() 136 operand = read_2ubyte_unaligned_inc (cache, program); in execute_cfi() 139 cfi_assert (program + 4 <= end); in execute_cfi() 140 operand = read_4ubyte_unaligned_inc (cache, program); in execute_cfi() 143 cfi_assert (program + 8 <= end); in execute_cfi() 144 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/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
D | sm4_analyze.cpp | 33 bool sm4_link_cf_insns(sm4_program& program) in sm4_link_cf_insns() argument 35 if(program.cf_insn_linked.size()) in sm4_link_cf_insns() 39 cf_insn_linked.resize(program.insns.size()); in sm4_link_cf_insns() 42 for(unsigned insn_num = 0; insn_num < program.insns.size(); ++insn_num) in sm4_link_cf_insns() 45 switch(program.insns[insn_num]->opcode) in sm4_link_cf_insns() 53 check(program.insns[v]->opcode == SM4_OPCODE_LOOP); in sm4_link_cf_insns() 67 if(program.insns[insn_num]->opcode == SM4_OPCODE_ELSE) in sm4_link_cf_insns() 68 check(program.insns[v]->opcode == SM4_OPCODE_IF); in sm4_link_cf_insns() 70 …check(program.insns[v]->opcode == SM4_OPCODE_SWITCH || program.insns[v]->opcode == SM4_OPCODE_CASE… in sm4_link_cf_insns() 79 if(program.insns[insn_num]->opcode == SM4_OPCODE_ENDIF) in sm4_link_cf_insns() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeShaderApiTests.cpp | 99 GLuint program = glCreateProgram(); in init() 100 glShaderSource(program, 0, 0, 0); in init() 104 glDeleteProgram(program); in init() 122 GLuint program = glCreateProgram(); in init() 123 glCompileShader(program); in init() 127 glDeleteProgram(program); in init() 150 GLuint program = glCreateProgram(); in init() 174 glShaderBinary(1, &program, binaryFormats[0], 0, 0); in init() 188 glDeleteProgram(program); in init() 196 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/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 …]
|
D | gluProgramInterfaceQuery.hpp | 89 int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter… 90 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programI… 92 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInte… 93 std::string getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 progr… 95 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 program… 96 InterfaceBlockInfo getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUin… 98 void getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, deUint32 prog… 99 InterfaceVariableInfo getProgramInterfaceVariableInfo (const glw::Functions& gl, deUint32 program, … 103 inline int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInter… in getProgramResourceInt() argument 105 return (int)getProgramResourceUint(gl, program, programInterface, index, queryParam); in getProgramResourceInt() [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/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/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 …]
|
D | es3fShaderApiTests.cpp | 188 void drawWithProgram (glu::RenderContext& renderCtx, deUint32 program) in drawWithProgram() argument 201 gl.useProgram(program); in drawWithProgram() 208 …glu::draw(renderCtx, program, DE_LENGTH_OF_ARRAY(vertexArrays), &vertexArrays[0], glu::pr::Triangl… in drawWithProgram() 348 void logProgram (TestLog& log, glu::RenderContext& renderCtx, glu::Program& program, ShaderAllocato… in logProgram() argument 350 log << TestLog::ShaderProgram(program.getLinkStatus(), program.getInfoLog()); in logProgram() 363 void logVertexFragmentProgram (TestLog& log, glu::RenderContext& renderCtx, glu::Program& program, … in logVertexFragmentProgram() argument 367 log << TestLog::ShaderProgram(program.getLinkStatus(), program.getInfoLog()); in logVertexFragmentProgram() 482 const GLuint program = glCreateProgram(); in linkProgram() local 484 TCU_CHECK(program != 0); in linkProgram() 486 glAttachShader(program, m_vertShader); in linkProgram() [all …]
|
D | es3fNegativeStateApiTests.cpp | 186 GLuint program = glCreateProgram(); in init() 200 glGetAttachedShaders(program, -1, &count[0], &shaders[0]); in init() 205 glDeleteProgram(program); in init() 214 GLuint program = glCreateProgram(); in init() 228 glGetShaderiv(program, GL_SHADER_TYPE, ¶m[0]); in init() 233 glDeleteProgram(program); in init() 238 GLuint program = glCreateProgram(); in init() 248 glGetShaderInfoLog(program, 128, &length[0], &infoLog[0]); in init() 258 glDeleteProgram(program); in init() 285 GLuint program = glCreateProgram(); in init() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fProgramStateQueryTests.cpp | 121 glu::Program program (m_context.getRenderContext()); in iterate() local 123 verifyStateProgramInteger(result, gl, program.getProgram(), GL_PROGRAM_SEPARABLE, 0, m_verifier); in iterate() 128 glu::Program program (m_context.getRenderContext()); in iterate() local 131 gl.glAttachShader(program.getProgram(), vtxShader.getShader()); in iterate() 132 gl.glAttachShader(program.getProgram(), frgShader.getShader()); in iterate() 133 gl.glProgramParameteri(program.getProgram(), GL_PROGRAM_SEPARABLE, GL_FALSE); in iterate() 134 gl.glLinkProgram(program.getProgram()); in iterate() 137 gl.glGetProgramiv(program.getProgram(), GL_LINK_STATUS, &linkStatus); in iterate() 143 verifyStateProgramInteger(result, gl, program.getProgram(), GL_PROGRAM_SEPARABLE, 0, m_verifier); in iterate() 148 glu::Program program (m_context.getRenderContext()); in iterate() local [all …]
|
D | es31fNegativeShaderApiTests.cpp | 115 GLuint program = ctx.glCreateProgram(); in shader_source() local 116 ctx.glShaderSource(program, 0, 0, 0); in shader_source() 120 ctx.glDeleteProgram(program); in shader_source() 134 GLuint program = ctx.glCreateProgram(); in compile_shader() local 135 ctx.glCompileShader(program); in compile_shader() 139 ctx.glDeleteProgram(program); in compile_shader() 204 GLuint program = ctx.glCreateProgram(); in attach_shader() local 212 ctx.glAttachShader(program, program); in attach_shader() 214 ctx.glAttachShader(shader1, program); in attach_shader() 219 ctx.glAttachShader(program, -1); in attach_shader() [all …]
|
D | es31fBasicComputeShaderTests.cpp | 93 const ShaderProgram program(m_context.getRenderContext(), in iterate() local 102 m_testCtx.getLog() << program; in iterate() 103 if (!program.isOk()) in iterate() 106 gl.useProgram(program.getProgram()); in iterate() 149 …const ShaderProgram program (m_context.getRenderContext(), ProgramSources() << ShaderSource(SH… in iterate() local 161 m_testCtx.getLog() << program; in iterate() 162 if (!program.isOk()) in iterate() 167 gl.useProgram(program.getProgram()); in iterate() 171 …const deUint32 blockIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM_BLOCK, … in iterate() 172 …const InterfaceBlockInfo blockInfo = getProgramInterfaceBlockInfo(gl, program.getProgram(), GL_UNI… in iterate() [all …]
|
/external/ceres-solver/internal/ceres/ |
D | reorder_program.cc | 140 Program* program, in ApplyOrdering() argument 142 const int num_parameter_blocks = program->NumParameterBlocks(); in ApplyOrdering() 153 program->mutable_parameter_blocks(); in ApplyOrdering() 182 Program* program, in LexicographicallyOrderResidualBlocks() argument 191 vector<ResidualBlock*>* residual_blocks = program->mutable_residual_blocks(); in LexicographicallyOrderResidualBlocks() 256 swap(*program->mutable_residual_blocks(), reordered_residual_blocks); in LexicographicallyOrderResidualBlocks() 262 Program* program) { in MaybeReorderSchurComplementColumnsUsingSuiteSparse() argument 273 *(program->mutable_parameter_blocks()); in MaybeReorderSchurComplementColumnsUsingSuiteSparse() 287 program->SetParameterOffsetsAndIndex(); in MaybeReorderSchurComplementColumnsUsingSuiteSparse() 290 program->CreateJacobianBlockSparsityTranspose()); in MaybeReorderSchurComplementColumnsUsingSuiteSparse() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _f_p_g_m.py | 9 program = ttProgram.Program() 10 program.fromBytecode(data) 11 self.program = program 14 return self.program.getBytecode() 17 self.program.toXML(writer, ttFont) 21 program = ttProgram.Program() 22 program.fromXML(name, attrs, content, ttFont) 23 self.program = program 26 return len(self.program)
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_filters.h | 46 void pp_filter_setup_in(struct program *, struct pipe_resource *); 47 void pp_filter_setup_out(struct program *, struct pipe_resource *); 48 void pp_filter_end_pass(struct program *); 51 void pp_filter_misc_state(struct program *); 52 void pp_filter_draw(struct program *); 53 void pp_filter_set_fb(struct program *); 54 void pp_filter_set_clear_fb(struct program *);
|
/external/deqp/framework/referencerenderer/ |
D | rrRenderer.cpp | 506 void flatshadeVertices (const Program& program, ContainerType& list) in flatshadeVertices() argument 509 …<rr::VertexVaryingInfo>& fragInputs = (program.geometryShader) ? (program.geometryShader->getOutpu… in flatshadeVertices() 521 const Program& program, in clipPrimitives() argument 534 …r::VertexVaryingInfo>& fragInputs = (program.geometryShader) ? (program.geometryShader->getOutpu… in clipPrimitives() 711 const Program& program, in clipPrimitives() argument 721 …<rr::VertexVaryingInfo>& fragInputs = (program.geometryShader) ? (program.geometryShader->getOutpu… in clipPrimitives() 782 const Program& program, in clipPrimitives() argument 787 DE_UNREF(program); in clipPrimitives() 1027 const Program& program, in writeFragmentPackets() argument 1036 const size_t numOutputs = program.fragmentShader->getOutputs().size(); in writeFragmentPackets() [all …]
|
/external/libvncserver/x11vnc/misc/ |
D | inet6to4 | 46 my $program = "inet6to4"; 53 die "$program: $ENV{INET6TO4_LOGFILE} $!\n"; 104 die "$program: invalid INET6TO4_LOOP.\n"; 111 die "$program: $!\n"; 132 print STDERR "$program: starting service at ", scalar(localtime), " master-pid=$$\n"; 143 print STDERR "$program: re-starting service at ", scalar(localtime), " master-pid=$$\n"; 232 warn "$program: $!, retrying with AF_UNSPEC:\n"; 238 die "$program: $!\n"; 281 die "$program: $!\n"; 319 warn "$program: $!, retrying with AF_UNSPEC:\n"; [all …]
|
/external/mesa3d/src/mesa/main/ |
D | shaderapi.h | 85 _mesa_GetFragDataLocation(GLuint program, const GLchar *name); 88 _mesa_GetFragDataIndex(GLuint program, const GLchar *name); 128 _mesa_BindFragDataLocation(GLuint program, GLuint colorNumber, 132 _mesa_BindFragDataLocationIndexed(GLuint program, GLuint colorNumber, 145 _mesa_AttachShader(GLuint program, GLuint shader); 154 _mesa_DeleteProgram(GLuint program); 160 _mesa_DetachShader(GLuint program, GLuint shader); 163 _mesa_GetAttachedShaders(GLuint program, GLsizei maxCount, 167 _mesa_GetProgramiv(GLuint program, GLenum pname, GLint *params); 170 _mesa_GetProgramInfoLog(GLuint program, GLsizei bufSize, [all …]
|