/external/e2fsprogs/resize/ |
D | sim_progress.c | 28 static errcode_t ext2fs_progress_display(ext2_sim_progmeter prog) in ext2fs_progress_display() argument 32 fputs(prog->label, prog->f); in ext2fs_progress_display() 33 width = prog->labelwidth - strlen(prog->label); in ext2fs_progress_display() 35 putc(' ', prog->f); in ext2fs_progress_display() 36 if (prog->labelwidth + prog->barwidth > 80) { in ext2fs_progress_display() 37 fputs("\n", prog->f); in ext2fs_progress_display() 38 for (width = prog->labelwidth; width > 0; width--) in ext2fs_progress_display() 39 putc(' ', prog->f); in ext2fs_progress_display() 41 for (i=0; i < prog->barwidth; i++) in ext2fs_progress_display() 42 putc('-', prog->f); in ext2fs_progress_display() [all …]
|
/external/mesa3d/src/glsl/tests/ |
D | set_uniform_initializer_tests.cpp | 32 set_uniform_initializer(void *mem_ctx, gl_shader_program *prog, 59 struct gl_shader_program *prog; member in set_uniform_initializer 71 this->prog = rzalloc(NULL, struct gl_shader_program); in SetUp() 85 ralloc_free(this->prog); in TearDown() 86 this->prog = NULL; in TearDown() 101 establish_uniform_storage(struct gl_shader_program *prog, unsigned num_storage, in establish_uniform_storage() argument 111 prog->UniformStorage = rzalloc_array(prog, struct gl_uniform_storage, in establish_uniform_storage() 113 prog->NumUserUniformStorage = num_storage; in establish_uniform_storage() 115 prog->UniformStorage[index_to_set].name = (char *) name; in establish_uniform_storage() 116 prog->UniformStorage[index_to_set].type = type; in establish_uniform_storage() [all …]
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_program.c | 39 struct nv50_program *prog = (struct nv50_program *)info->driverPriv; in nv50_vertprog_assign_slots() local 44 prog->in[i].id = i; in nv50_vertprog_assign_slots() 45 prog->in[i].sn = info->in[i].sn; in nv50_vertprog_assign_slots() 46 prog->in[i].si = info->in[i].si; in nv50_vertprog_assign_slots() 47 prog->in[i].hw = n; in nv50_vertprog_assign_slots() 48 prog->in[i].mask = info->in[i].mask; in nv50_vertprog_assign_slots() 50 prog->vp.attrs[(4 * i) / 32] |= info->in[i].mask << ((4 * i) % 32); in nv50_vertprog_assign_slots() 56 prog->in_nr = info->numInputs; in nv50_vertprog_assign_slots() 61 prog->vp.attrs[2] |= NV50_3D_VP_GP_BUILTIN_ATTR_EN_INSTANCE_ID; in nv50_vertprog_assign_slots() 64 prog->vp.attrs[2] |= NV50_3D_VP_GP_BUILTIN_ATTR_EN_VERTEX_ID; in nv50_vertprog_assign_slots() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | arbprogparse.c | 71 struct gl_program prog; in _mesa_parse_arb_fragment_program() local 77 memset(&prog, 0, sizeof(prog)); in _mesa_parse_arb_fragment_program() 79 state.prog = &prog; 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 …]
|
D | program.h | 69 struct gl_vertex_program *prog, 74 struct gl_fragment_program *prog, 79 struct gl_geometry_program *prog, 86 _mesa_delete_program(struct gl_context *ctx, struct gl_program *prog); 94 struct gl_program *prog); 99 struct gl_program *prog) in _mesa_reference_program() argument 101 if (*ptr != prog) in _mesa_reference_program() 102 _mesa_reference_program_(ctx, ptr, prog); in _mesa_reference_program() 108 struct gl_vertex_program *prog) in _mesa_reference_vertprog() argument 111 (struct gl_program *) prog); in _mesa_reference_vertprog() [all …]
|
D | program.c | 264 _mesa_init_program_struct( struct gl_context *ctx, struct gl_program *prog, in _mesa_init_program_struct() argument 268 if (prog) { in _mesa_init_program_struct() 270 memset(prog, 0, sizeof(*prog)); in _mesa_init_program_struct() 271 prog->Id = id; in _mesa_init_program_struct() 272 prog->Target = target; in _mesa_init_program_struct() 273 prog->Resident = GL_TRUE; in _mesa_init_program_struct() 274 prog->RefCount = 1; in _mesa_init_program_struct() 275 prog->Format = GL_PROGRAM_FORMAT_ASCII_ARB; in _mesa_init_program_struct() 279 prog->SamplerUnits[i] = i; in _mesa_init_program_struct() 282 return prog; in _mesa_init_program_struct() [all …]
|
D | prog_opt_constant_fold.c | 47 src_reg_for_float(struct gl_program *prog, float val) in src_reg_for_float() argument 55 src.Index = _mesa_add_unnamed_constant(prog->Parameters, in src_reg_for_float() 62 src_reg_for_vec4(struct gl_program *prog, const float *val) in src_reg_for_vec4() argument 70 src.Index = _mesa_add_unnamed_constant(prog->Parameters, in src_reg_for_vec4() 90 get_value(struct gl_program *prog, struct prog_src_register *r, float *data) in get_value() argument 93 prog->Parameters->ParameterValues[r->Index]; in get_value() 131 _mesa_constant_fold(struct gl_program *prog) in _mesa_constant_fold() argument 136 for (i = 0; i < prog->NumInstructions; i++) { in _mesa_constant_fold() 137 struct prog_instruction *const inst = &prog->Instructions[i]; in _mesa_constant_fold() 146 get_value(prog, &inst->SrcReg[0], a); in _mesa_constant_fold() [all …]
|
D | prog_print.c | 349 GLboolean relAddr, const struct gl_program *prog, in reg_string() argument 371 sprintf(str, "%s", arb_input_attrib_string(index, prog->Target)); in reg_string() 374 sprintf(str, "%s", arb_output_attrib_string(index, prog->Target)); in reg_string() 400 = prog->Parameters->Parameters + index; in reg_string() 417 if (prog->Target == GL_VERTEX_PROGRAM_ARB) in reg_string() 568 const struct gl_program *prog) in fprint_dst_reg() argument 572 dstReg->Index, mode, dstReg->RelAddr, prog, in fprint_dst_reg() 596 const struct gl_program *prog) in fprint_src_reg() argument 603 srcReg->Index, mode, srcReg->RelAddr, prog, in fprint_src_reg() 633 const struct gl_program *prog) in _mesa_fprint_alu_instruction() argument [all …]
|
/external/mesa3d/src/glsl/ |
D | linker.cpp | 176 linker_error(gl_shader_program *prog, const char *fmt, ...) in linker_error() argument 180 ralloc_strcat(&prog->InfoLog, "error: "); in linker_error() 182 ralloc_vasprintf_append(&prog->InfoLog, fmt, ap); in linker_error() 185 prog->LinkStatus = false; in linker_error() 190 linker_warning(gl_shader_program *prog, const char *fmt, ...) in linker_warning() argument 194 ralloc_strcat(&prog->InfoLog, "error: "); in linker_warning() 196 ralloc_vasprintf_append(&prog->InfoLog, fmt, ap); in linker_warning() 264 validate_vertex_shader_executable(struct gl_shader_program *prog, in validate_vertex_shader_executable() argument 293 if (prog->Version < 140) { in validate_vertex_shader_executable() 297 linker_error(prog, "vertex shader does not write to `gl_Position'\n"); in validate_vertex_shader_executable() [all …]
|
D | ir_set_program_inouts.cpp | 48 ir_set_program_inouts_visitor(struct gl_program *prog, in ir_set_program_inouts_visitor() argument 51 this->prog = prog; in ir_set_program_inouts_visitor() 69 struct gl_program *prog; member in ir_set_program_inouts_visitor 75 mark(struct gl_program *prog, ir_variable *var, int offset, int len, in mark() argument 89 prog->InputsRead |= bitfield; in mark() 91 gl_fragment_program *fprog = (gl_fragment_program *) prog; in mark() 98 prog->SystemValuesRead |= bitfield; in mark() 100 prog->OutputsWritten |= bitfield; in mark() 113 mark(this->prog, ir->var, 0, in visit() 117 mark(this->prog, ir->var, 0, ir->type->matrix_columns, in visit() [all …]
|
D | link_uniforms.cpp | 226 void set_and_process(struct gl_shader_program *prog, in set_and_process() argument 236 for (unsigned i = 0; i < prog->NumUniformBlocks; i++) { in set_and_process() 237 if (!strcmp(prog->UniformBlocks[i].Name, in set_and_process() 520 link_assign_uniform_locations(struct gl_shader_program *prog) in link_assign_uniform_locations() argument 522 ralloc_free(prog->UniformStorage); in link_assign_uniform_locations() 523 prog->UniformStorage = NULL; in link_assign_uniform_locations() 524 prog->NumUserUniformStorage = 0; in link_assign_uniform_locations() 526 if (prog->UniformHash != NULL) { in link_assign_uniform_locations() 527 prog->UniformHash->clear(); in link_assign_uniform_locations() 529 prog->UniformHash = new string_to_uint_map; in link_assign_uniform_locations() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program.c | 46 struct gl_program *prog ) in brwBindProgram() argument 68 struct brw_vertex_program *prog = CALLOC_STRUCT(brw_vertex_program); in brwNewProgram() local 69 if (prog) { in brwNewProgram() 70 prog->id = brw->program_id++; in brwNewProgram() 72 return _mesa_init_vertex_program( ctx, &prog->program, in brwNewProgram() 80 struct brw_fragment_program *prog = CALLOC_STRUCT(brw_fragment_program); in brwNewProgram() local 81 if (prog) { in brwNewProgram() 82 prog->id = brw->program_id++; in brwNewProgram() 84 return _mesa_init_fragment_program( ctx, &prog->program, in brwNewProgram() 97 struct gl_program *prog ) in brwDeleteProgram() argument [all …]
|
D | brw_shader.cpp | 51 struct brw_shader_program *prog; in brw_new_shader_program() local 52 prog = rzalloc(NULL, struct brw_shader_program); in brw_new_shader_program() 53 if (prog) { in brw_new_shader_program() 54 prog->base.Name = name; in brw_new_shader_program() 55 _mesa_init_shader_program(ctx, &prog->base); in brw_new_shader_program() 57 return &prog->base; in brw_new_shader_program() 66 brw_shader_precompile(struct gl_context *ctx, struct gl_shader_program *prog) in brw_shader_precompile() argument 70 if (brw->precompile && !brw_fs_precompile(ctx, prog)) in brw_shader_precompile() 73 if (brw->precompile && !brw_vs_precompile(ctx, prog)) in brw_shader_precompile() 98 struct gl_program *prog = in brw_link_shader() local [all …]
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
D | nvc0_program.c | 526 nvc0_program_dump(struct nvc0_program *prog) in nvc0_program_dump() argument 530 for (pos = 0; pos < sizeof(prog->hdr) / sizeof(prog->hdr[0]); ++pos) in nvc0_program_dump() 532 pos * sizeof(prog->hdr[0]), prog->hdr[pos]); in nvc0_program_dump() 534 debug_printf("shader binary code (0x%x bytes):", prog->code_size); in nvc0_program_dump() 535 for (pos = 0; pos < prog->code_size / 4; ++pos) { in nvc0_program_dump() 538 debug_printf("%08x ", prog->code[pos]); in nvc0_program_dump() 545 nvc0_program_translate(struct nvc0_program *prog, uint16_t chipset) in nvc0_program_translate() argument 554 info->type = prog->type; in nvc0_program_translate() 557 info->bin.source = (void *)prog->pipe.tokens; in nvc0_program_translate() 559 info->io.genUserClip = prog->vp.num_ucps; in nvc0_program_translate() [all …]
|
/external/mksh/src/ |
D | check.pl | 179 ($prog = $0) =~ s#.*/##; 182 Usage: $prog [-Pv] [-C cat] [-e e=v] [-p prog] [-s fn] [-T dir] \ 249 die "$prog: no program specified (use -p)\n" if !defined $opt_p; 250 die "$prog: no test set specified (use -s)\n" if !defined $opt_s; 256 die "$prog: bad -t argument (should be number > 0): $opt_t\n" 265 die "$prog: categories can't be negated on the command line\n" 301 die "$prog: couldn't get current working directory\n" if $pwd eq ''; 302 die "$prog: couldn't cd to $pwd - $!\n" if !chdir($pwd); 304 die "$prog: couldn't cd to $temp_base - $!\n" if !chdir($temp_base); 305 die "$prog: couldn't get temporary directory base\n" unless -d '.'; [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | program.cpp | 115 clRetainProgram(cl_program prog) { in clRetainProgram() argument 116 if (!prog) in clRetainProgram() 119 prog->retain(); in clRetainProgram() 124 clReleaseProgram(cl_program prog) { in clReleaseProgram() argument 125 if (!prog) in clReleaseProgram() 128 if (prog->release()) in clReleaseProgram() 129 delete prog; in clReleaseProgram() 135 clBuildProgram(cl_program prog, cl_uint count, const cl_device_id *devs, in clBuildProgram() argument 138 if (!prog) in clBuildProgram() 147 return !prog->ctx.has_device(dev); in clBuildProgram() [all …]
|
/external/regex-re2/re2/testing/ |
D | dfa_test.cc | 26 BuildThread(Prog* prog) : prog_(prog) {} in BuildThread() argument 47 Prog* prog = re->CompileToProg(0); in TEST() local 48 CHECK(prog); in TEST() 49 BuildThread* t = new BuildThread(prog); in TEST() 54 delete prog; in TEST() 62 Prog* prog = re->CompileToProg(0); in TEST() local 63 CHECK(prog); in TEST() 67 BuildThread *t = new BuildThread(prog); in TEST() 79 prog->BuildEntireDFA(Prog::kFirstMatch); in TEST() 80 delete prog; in TEST() [all …]
|
D | regexp_benchmark.cc | 26 Prog* prog = re->CompileToProg(0); in Test() local 27 CHECK(prog); in Test() 28 CHECK(prog->IsOnePass()); in Test() 31 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Test() 36 delete prog; in Test() 53 Prog* prog = re->CompileToProg(0); in MemoryUsage() local 54 CHECK(prog); in MemoryUsage() 55 CHECK(prog->IsOnePass()); in MemoryUsage() 60 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in MemoryUsage() 62 delete prog; in MemoryUsage() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | arbprogram.c | 177 struct gl_program *prog = _mesa_lookup_program(ctx, ids[i]); in _mesa_DeletePrograms() local 178 if (prog == &_mesa_DummyProgram) { in _mesa_DeletePrograms() 181 else if (prog) { in _mesa_DeletePrograms() 183 switch (prog->Target) { in _mesa_DeletePrograms() 189 _mesa_BindProgram(prog->Target, 0); in _mesa_DeletePrograms() 197 _mesa_BindProgram(prog->Target, 0); in _mesa_DeletePrograms() 206 _mesa_reference_program(ctx, &prog, NULL); in _mesa_DeletePrograms() 258 struct gl_program *prog = NULL; in _mesa_IsProgramARB() local 265 prog = _mesa_lookup_program(ctx, id); in _mesa_IsProgramARB() 266 if (prog && (prog != &_mesa_DummyProgram)) in _mesa_IsProgramARB() [all …]
|
/external/libpng/contrib/tools/ |
D | cvtcolor.c | 25 usage(const char *prog) in usage() argument 29 prog, prog); in usage() 34 component(const char *prog, const char *arg, int issRGB) in component() argument 41 fprintf(stderr, "%s: %s: invalid component value (%lu)\n", prog, arg, c); in component() 42 usage(prog); in component() 51 const char *prog = *argv++; in main() local 81 usage(prog); in main() 87 usage(prog); in main() 91 c[3] = component(prog, argv[3], to_linear); in main() 94 c[2] = component(prog, argv[2], to_linear); in main() [all …]
|
/external/vboot_reference/tests/bitmaps/ |
D | TestBmpBlock.py | 26 rc, out, err = runprog(prog) 33 rc, out, err = runprog(prog, '-c', 'case_nobmp.yaml', 'FOO') 39 rc, out, err = runprog(prog, '-c', 'case_badbmp.yaml', 'FOO') 45 rc, out, err = runprog(prog, '-z', '99', '-c', 'case_simple.yaml', 'FOO') 58 rc, out, err = runprog(prog, '-c', 'case_simple.yaml', 'FOO') 60 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO') 62 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO') 65 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', '-f', 'FOO') 82 rc, out, err = runprog(prog, '-c', 'case_simple.yaml', 'FOO') 84 rc, out, err = runprog(prog, '-x', '-d', './FOO_DIR', 'FOO') [all …]
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_latm.cpp | 193 int prog, layer; in transportEnc_LatmCountVarBitDemandHeader() local 197 for( prog=0; prog<hAss->noProgram; prog++ ) { in transportEnc_LatmCountVarBitDemandHeader() 199 LATM_LAYER_INFO *p_linfo = &(hAss->m_linfo[prog][layer]); in transportEnc_LatmCountVarBitDemandHeader() 236 for( prog=0; prog<hAss->noProgram; prog++ ) { in transportEnc_LatmCountVarBitDemandHeader() 238 LATM_LAYER_INFO *p_linfo = &(hAss->m_linfo[prog][layer]); in transportEnc_LatmCountVarBitDemandHeader() 295 int layer, prog; in CreateStreamMuxConfig() local 323 for( prog=0; prog<hAss->noProgram; prog++ ) { in CreateStreamMuxConfig() 326 FDKwriteBits( hBs, hAss->noLayer[prog]-1, 3 ); in CreateStreamMuxConfig() 330 LATM_LAYER_INFO *p_linfo = &(hAss->m_linfo[prog][layer]); in CreateStreamMuxConfig() 331 CODER_CONFIG *p_lci = hAss->config[prog][layer]; in CreateStreamMuxConfig() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_program.c | 56 st_bind_program(struct gl_context *ctx, GLenum target, struct gl_program *prog) in st_bind_program() argument 98 struct st_vertex_program *prog = ST_CALLOC_STRUCT(st_vertex_program); in st_new_program() local 99 return _mesa_init_vertex_program(ctx, &prog->Base, target, id); in st_new_program() 104 struct st_fragment_program *prog = ST_CALLOC_STRUCT(st_fragment_program); in st_new_program() local 105 return _mesa_init_fragment_program(ctx, &prog->Base, target, id); in st_new_program() 109 struct st_geometry_program *prog = ST_CALLOC_STRUCT(st_geometry_program); in st_new_program() local 110 return _mesa_init_geometry_program(ctx, &prog->Base, target, id); in st_new_program() 124 st_delete_program(struct gl_context *ctx, struct gl_program *prog) in st_delete_program() argument 128 switch( prog->Target ) { in st_delete_program() 131 struct st_vertex_program *stvp = (struct st_vertex_program *) prog; in st_delete_program() [all …]
|
/external/smali/scripts/ |
D | baksmali | 19 prog="$0" 20 while [ -h "${prog}" ]; do 21 newProg=`/bin/ls -ld "${prog}"` 24 prog="${newProg}" 26 progdir=`dirname "${prog}"` 27 prog="${progdir}/${newProg}" 31 progdir=`dirname "${prog}"` 34 prog="${progdir}"/`basename "${prog}"` 47 echo `basename "$prog"`": can't find $jarfile"
|
D | smali | 19 prog="$0" 20 while [ -h "${prog}" ]; do 21 newProg=`/bin/ls -ld "${prog}"` 24 prog="${newProg}" 26 progdir=`dirname "${prog}"` 27 prog="${progdir}/${newProg}" 31 progdir=`dirname "${prog}"` 34 prog="${progdir}"/`basename "${prog}"` 47 echo `basename "$prog"`": can't find $jarfile"
|