/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_shader_state.c | 171 struct nv50_program *fp = nv50->fragprog; local 173 if (!nv50_program_validate(nv50, fp)) 175 nv50_program_update_context_state(nv50, fp, 1); 178 PUSH_DATA (push, fp->max_gpr); 180 PUSH_DATA (push, fp->max_out); 182 PUSH_DATA (push, fp->fp.flags[0]); 184 PUSH_DATA (push, fp->fp.flags[1]); 186 PUSH_DATA (push, fp->code_base) 219 struct nv50_program *fp = nv50->fragprog; local 341 struct nv50_program *fp = nv50->fragprog; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm.c | 196 bool uses_depth = (c->fp->program.Base.InputsRead & 246 if (c->fp->program.Base.OutputsWritten & 263 struct brw_fragment_program *fp, 295 c->fp = fp; 302 &fp->program); 490 const struct brw_fragment_program *fp = local 495 bool program_uses_dfdy = fp->program.UsesDFdy; 503 if (fp->program.UsesKill || ctx->Color.AlphaEnabled) 506 if (fp->program.Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DEPTH) 625 struct brw_fragment_program *fp = (struct brw_fragment_program *) local [all...] |
/external/mesa3d/src/mesa/program/ |
program.c | 446 ((*ptr)->Target == MESA_GEOMETRY_PROGRAM ? "GP" : "FP")), 471 (prog->Target == MESA_GEOMETRY_PROGRAM ? "GP" : "FP")), 546 const struct gl_fragment_program *fp = gl_fragment_program_const(prog); local 548 fpc->UsesKill = fp->UsesKill; 549 fpc->UsesDFdy = fp->UsesDFdy; 550 fpc->OriginUpperLeft = fp->OriginUpperLeft; 551 fpc->PixelCenterInteger = fp->PixelCenterInteger; [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_context.c | 252 const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; local 254 assert((fp == NULL) || 255 (fp->Base.Target == GL_FRAGMENT_PROGRAM_ARB) || 256 (fp->Base.Target == GL_FRAGMENT_PROGRAM_NV));
|
/external/mesa3d/src/mesa/tnl/ |
t_vertex.c | 41 const struct tnl_clipspace_fastpath *fp) 45 if (vtx->attr_count != fp->attr_count) 49 if (vtx->attr[j].format != fp->attr[j].format || 50 vtx->attr[j].inputsize != fp->attr[j].size || 51 vtx->attr[j].vertoffset != fp->attr[j].offset) 54 if (fp->match_strides) { 55 if (vtx->vertex_size != fp->vertex_size) 59 if (vtx->attr[j].inputstride != fp->attr[j].stride) 68 struct tnl_clipspace_fastpath *fp = vtx->fastpath; local 70 for ( ; fp ; fp = fp->next) 542 struct tnl_clipspace_fastpath *fp, *tmp; local [all...] |
/external/opencv3/3rdparty/libjasper/ |
jpc_t1dec.c | 341 #define jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf, orient, mqdec, vcausalflag) \ 345 f = *(fp); \ 353 JPC_UPDATEFLAGS4((fp), (frowstep), v, (vcausalflag)); \ 354 *(fp) |= JPC_SIG; \ 357 *(fp) |= JPC_VISIT; \ 372 jpc_fix_t *fp; local 406 fp = fvscanstart; 411 jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf, 416 fp += frowstep; 420 jpc_sigpass_step(fp, frowstep, dp, bitpos, oneplushalf 479 jpc_fix_t *fp; local 580 jpc_fix_t *fp; local 679 jpc_fix_t *fp; local 791 jpc_fix_t *fp; local [all...] |
jpc_t1enc.c | 408 #define sigpass_step(fp, frowstep, dp, bitpos, one, nmsedec, orient, mqenc, vcausalflag) \ 412 f = *(fp); \ 422 JPC_UPDATEFLAGS4(fp, frowstep, v, vcausalflag); \ 423 *(fp) |= JPC_SIG; \ 425 *(fp) |= JPC_VISIT; \ 444 jpc_fix_t *fp; local 468 fp = fvscanstart; 472 sigpass_step(fp, frowstep, dp, bitpos, one, 477 fp += frowstep; 479 sigpass_step(fp, frowstep, dp, bitpos, one 544 jpc_fix_t *fp; local 649 jpc_fix_t *fp; local 742 jpc_fix_t *fp; local 838 jpc_fix_t *fp; local [all...] |
/external/opencv3/samples/cpp/ |
stereo_match.cpp | 31 FILE* fp = fopen(filename, "wt"); local 38 fprintf(fp, "%f %f %f\n", point[0], point[1], point[2]); 41 fclose(fp);
|
/external/ppp/pppd/plugins/radius/ |
avpair.c | 369 VALUE_PAIR *vp, *fp = NULL, *lp = NULL; local 378 if (!fp) 379 fp = vp; 386 return fp;
|
/external/selinux/libselinux/src/ |
get_context_list.c | 157 static int get_context_order(FILE * fp, 188 while ((len = getline(&line, &line_len, fp)) > 0) { 273 FILE *fp; local 278 fp = fopen(selinux_failsafe_context_path(), "r"); 279 if (!fp) 282 ptr = fgets_unlocked(buf, sizeof buf, fp); 283 fclose(fp); 403 FILE *fp; local 440 fp = fopen(fname, "r"); 441 if (fp) { [all...] |
seusers.c | 278 FILE *fp = NULL; local 281 fp = fopen(path, "r"); 283 if (fp == NULL) goto err; 284 __fsetlocking(fp, FSETLOCKING_BYCALLER); 285 while (getline(&buffer, &size, fp) > 0) { 327 if (fp) fclose(fp);
|
/external/selinux/libsemanage/src/ |
database_policydb.c | 93 FILE *fp = NULL; local 114 fp = fopen(fname, "rb"); 115 if (fp == NULL && errno != ENOENT) { 122 if (fp != NULL) { 123 __fsetlocking(fp, FSETLOCKING_BYCALLER); 129 sepol_policy_file_set_fp(pf, fp); 136 fclose(fp); 137 fp = NULL; 150 if (fp) 151 fclose(fp); [all...] |
/external/selinux/policycoreutils/semodule_deps/ |
semodule_deps.c | 87 FILE *fp = NULL; local 99 fp = fopen(filename, "r"); 100 if (!fp) { 105 sepol_policy_file_set_fp(pf, fp); 113 fclose(fp); 119 if (fp) 120 fclose(fp);
|
/external/selinux/policycoreutils/sestatus/ |
sestatus.c | 91 FILE *fp = fopen(CONF, "r"); local 97 if (fp == NULL) { 102 while (!feof(fp)) { 103 if (!fgets(buf, sizeof buf, fp)) 160 fclose(fp);
|
/external/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 42 FILE* fp = 0; local 43 errno_t err = fopen_s( &fp, filename, mode ); 44 if ( !err && fp ) 45 return fp; 1087 FILE* fp = TiXmlFOpen( filename, "w" ); 1088 if ( fp ) 1090 bool result = SaveFile( fp ); 1091 fclose( fp ); 1098 bool TiXmlDocument::SaveFile( FILE* fp ) const 1106 fputc( TIXML_UTF_LEAD_0, fp ); [all...] |
/external/skia/src/effects/ |
SkAvoidXfermode.cpp | 214 const AvoidFP& fp = fpBase.cast<AvoidFP>(); variable 216 return fOpColor == fp.fOpColor && 217 fTolerance == fp.fTolerance && 218 fMode == fp.fMode;
|
/external/skia/src/effects/gradients/ |
SkSweepGradient.cpp | 195 const GrFragmentProcessor* fp = shader->asFragmentProcessor(d->fContext, local 198 GrAlwaysAssert(fp); 199 return fp;
|
/external/skia/src/gpu/effects/ |
GrConvexPolyEffect.cpp | 70 GrFragmentProcessor* fp; local 75 fp = AARectEffect::Create(edgeType, rect); 76 } while (nullptr == fp); 77 return fp; 345 GrFragmentProcessor* fp; local 349 fp = GrConvexPolyEffect::Create(edgeType, count, edges); 350 } while (nullptr == fp); 351 return fp;
|
GrRRectEffect.cpp | 119 GrFragmentProcessor* fp; local 123 fp = GrRRectEffect::Create(et, rrect); 124 } while (nullptr == fp); 125 return fp; 474 GrFragmentProcessor* fp; local 478 fp = GrRRectEffect::Create(et, rrect); 479 } while (nullptr == fp); 480 return fp; [all...] |
/external/skia/tests/ |
GLProgramsTest.cpp | 106 static GrFragmentProcessor* Create(const GrFragmentProcessor* fp) { 107 return new BlockInputFragmentProcessor(fp); 199 const GrFragmentProcessor* fp; local 201 fp = GrProcessorTestFactory<GrFragmentProcessor>::Create(d); 202 SkASSERT(fp); 203 if (0 == fp->numChildProcessors()) { 206 fp->unref(); 208 return fp; 223 const GrFragmentProcessor* fp; local 225 fp = GrXfermodeFragmentProcessor::CreateFromTwoProcessors(minLevelsChild, otherChild, mode) [all...] |
/external/tcpdump/ |
print-atalk.c | 543 FILE *fp; local 550 && (fp = fopen("/etc/atalk.names", "r"))) { 554 while (fgets(line, sizeof(line), fp)) { 573 fclose(fp);
|
/external/toybox/scripts/ |
config2help.c | 143 FILE *fp = xfopen(filename, "r"); local 151 if (getline(&line, &len, fp) < 1) break; 183 fclose(fp); 211 FILE *fp; local 222 fp = xfopen(argv[2], "r"); 227 if (getline(&line, &len, fp) < 1) break;
|
/external/toybox/toys/pending/ |
bootchartd.c | 66 static int dump_proc_data(FILE *fp) 73 fputs(TT.buf, fp); 91 fputs(toybuf, fp); 104 fputc('\n', fp); 112 FILE *fp = fopen(fname, "r"); local 114 if (!fp) return 0; 115 for (;getline(&line, &len, fp) != -1; line = NULL) { 138 fclose(fp);
|
fsck.c | 367 FILE *fp; local 380 if (!(fp = setmntent(tmp, "r"))) perror_exit("setmntent failed:"); 381 while (getmntent_r(fp, &mt, toybuf, 4096)) create_db(&mt); 382 endmntent(fp);
|
/external/v8/src/base/platform/ |
platform-cygwin.cc | 67 FILE* fp = fopen("/proc/self/maps", "r"); local 68 if (fp == NULL) return result; 79 if (fscanf(fp, "%" V8PRIxPTR "-%" V8PRIxPTR, &start, &end) != 2) break; 80 if (fscanf(fp, " %c%c%c%c", &attr_r, &attr_w, &attr_x, &attr_p) != 4) break; 87 c = getc(fp); 93 ungetc(c, fp); // Push the '/' back into the stream to be read below. 96 if (fgets(lib_name, kLibNameLen, fp) == NULL) break; 112 c = getc(fp); 118 fclose(fp);
|