/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 43 struct gl_fragment_program *fp = ctx->FragmentProgram._Current; local 44 return fp && !(fp == ctx->FragmentProgram._TexEnvProgram 45 && fp->Base.NumInstructions == 0);
|
/external/protobuf/gtest/test/ |
gtest-filepath_test.cc | 606 FilePath fp; local 607 EXPECT_STREQ("", fp.c_str()); 611 const FilePath fp("spicy"); 612 EXPECT_STREQ("spicy", fp.c_str()); 614 const FilePath fp_copy(fp); 619 const FilePath fp(String("cider")); 620 EXPECT_STREQ("cider", fp.c_str());
|
/external/selinux/checkpolicy/ |
checkmodule.c | 56 struct policy_file f, *fp; local 81 fp = &f; 88 if (policydb_read(p, fp, 1)) { 122 pf.fp = outfp;
|
/external/selinux/libselinux/src/ |
init.c | 61 FILE *fp = NULL; local 68 fp = fopen("/proc/filesystems", "r"); 69 if (!fp) { 74 __fsetlocking(fp, FSETLOCKING_BYCALLER); 76 num = getline(&buf, &len, fp); 82 num = getline(&buf, &len, fp); 86 fclose(fp); 102 FILE *fp=NULL; local 119 fp = fopen("/proc/mounts", "r"); 120 if (!fp) [all...] |
/external/selinux/libselinux/utils/ |
selabel_digest.c | 30 FILE *fp; local 35 fp = popen(cmd, "r"); 36 if (!fp) { 42 while (fgets(files_digest, sizeof(files_digest) - 1, fp) != NULL) 56 pclose(fp);
|
/external/selinux/libsepol/src/ |
genusers.c | 37 FILE *fp; local 46 fp = fopen(path, "r"); 47 if (fp == NULL) 56 while(fgets(buffer, 255, fp) != NULL) { 58 __fsetlocking(fp, FSETLOCKING_BYCALLER); 59 while ((nread = getline(&buffer, &len, fp)) > 0) { 98 fclose(fp); 108 fclose(fp); 121 fclose(fp); 177 fclose(fp); [all...] |
/external/selinux/policycoreutils/run_init/ |
run_init.c | 301 FILE *fp; local 307 fp = fopen(context_file, "r"); 308 if (!fp) { 315 if (!fgets(buf, sizeof buf, fp)) 330 fclose(fp); 335 fclose(fp);
|
/external/skia/gm/ |
bigrrectaaeffect.cpp | 90 SkAutoTUnref<GrFragmentProcessor> fp(GrRRectEffect::Create(edgeType, rrect)); 91 SkASSERT(fp); variable 92 if (fp) { 93 pipelineBuilder.addCoverageFragmentProcessor(fp);
|
/external/skia/src/core/ |
SkModeColorFilter.cpp | 102 const GrFragmentProcessor* fp = local 104 if (!fp) { 114 fp->computeInvariantOutput(&io); 118 return fp;
|
/external/skia/src/gpu/ |
GrPipeline.cpp | 106 const GrFragmentProcessor* fp = builder.getColorFragmentProcessor(i); local 107 pipeline->fFragmentProcessors[currFPIdx].reset(fp); 108 usesLocalCoords = usesLocalCoords || fp->usesLocalCoords(); 113 const GrFragmentProcessor* fp = builder.getCoverageFragmentProcessor(i); local 114 pipeline->fFragmentProcessors[currFPIdx].reset(fp); 115 usesLocalCoords = usesLocalCoords || fp->usesLocalCoords();
|
/external/toybox/lib/ |
linestack.c | 59 FILE *fp = fopen(name, "r"); local 62 if (!fp) return 0; 70 if ((len = getline(&line, (void *)&len, fp))<1) break; 74 fclose(fp);
|
/external/toybox/toys/other/ |
pmap.c | 31 FILE *fp; local 49 if (!(fp = fopen(toybuf, "r"))) { 63 if (0 >= getline(&line, &len, fp)) break; 111 fclose(fp);
|
/external/v8/src/base/ |
cpu.cc | 117 FILE* fp = fopen("/proc/self/auxv", "r"); 118 if (fp != NULL) { 121 size_t n = fread(&entry, sizeof(entry), 1, fp); 130 fclose(fp); 188 FILE* fp = fopen(PATHNAME, "r"); 189 if (fp != NULL) { 192 size_t n = fread(buffer, 1, sizeof(buffer), fp); 198 fclose(fp); 203 fp = fopen(PATHNAME, "r"); 204 if (fp != NULL) 635 FILE* fp = fopen("\/proc\/self\/auxv", "r"); local [all...] |
/external/v8/src/base/utils/ |
random-number-generator.cc | 54 FILE* fp = fopen("/dev/urandom", "rb"); local 55 if (fp != NULL) { 57 size_t n = fread(&seed, sizeof(seed), 1, fp); 58 fclose(fp);
|
/external/v8/test/cctest/ |
test-log-stack-tracer.cc | 91 int32_t low_bits = reinterpret_cast<int32_t>(calling_frame->fp()); 96 uint64_t fp = reinterpret_cast<uint64_t>(calling_frame->fp()); local 97 int32_t low_bits = static_cast<int32_t>(fp & 0xffffffff); 98 int32_t high_bits = static_cast<int32_t>(fp >> 32); 129 " fp = new FPGrabber();" 130 " %s(fp.low_bits, fp.high_bits);" 244 Address fp; local 246 fp = reinterpret_cast<Address>(__builtin_frame_address(0)) [all...] |
trace-extension.cc | 81 Address fp = *reinterpret_cast<Address*>(*args[0]); local 85 Address fp = reinterpret_cast<Address>(high_bits | low_bits); local 89 printf("Trace: %p\n", fp); 90 return fp; 104 void TraceExtension::DoTrace(Address fp) { 106 regs.fp = fp; 127 static void DoTraceHideCEntryFPAddress(Address fp) { 132 i::TraceExtension::DoTrace(fp);
|
/external/valgrind/coregrind/ |
pub_core_debuginfo.h | 119 struct { Addr pc; Addr sp; Addr x30; Addr x29; } /* PC, SP, LR, FP */ 127 struct { Addr ia; Addr sp; Addr fp; Addr lr;} member in struct:__anon26610 131 struct { Addr pc; Addr sp; Addr fp; Addr ra; } member in struct:__anon26611 135 struct { Addr pc; Addr sp; Addr fp; Addr lr; } member in struct:__anon26612
|
/external/vboot_reference/futility/ |
cmd_load_fmap.c | 56 FILE *fp; local 60 fp = fopen(file, "r"); 61 if (!fp) { 67 n = fread(buf, 1, len, fp); 69 if (feof(fp)) 72 if (ferror(fp)) 81 if (0 != fclose(fp)) {
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-filepath_test.cc | 596 FilePath fp; local 597 EXPECT_EQ("", fp.string()); 601 const FilePath fp("spicy"); 602 EXPECT_EQ("spicy", fp.string()); 604 const FilePath fp_copy(fp); 609 const FilePath fp(std::string("cider")); 610 EXPECT_EQ("cider", fp.string());
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
EvaluationTestBench.c | 278 FILE *fp; local 280 fp = fopen("dec_api.trc", "at"); 282 if (!fp) 285 fwrite(string, 1, strlen(string), fp); 286 fwrite("\n", 1,1, fp); 288 fclose(fp);
|
/hardware/intel/img/hwcomposer/merrifield/test/ |
nv12_ved_test.cpp | 65 FILE *fp = fopen(filename, "r"); local 70 if (!fp) { 80 fread(buf + offset, w, 1, fp); 83 fclose(fp);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
inv_sysfs_utils.c | 34 FILE *fp; local 39 fp = fopen(filename, "w"); 40 if (!fp) 42 count = fprintf(fp, "%ld", data); 43 fclose(fp); 56 FILE *fp; local 61 fp = fopen(filename, "r"); 62 if (!fp) 64 count = fread(data, 1, num_bytes, fp); 65 fclose(fp); [all...] |
ml_stored_data.c | 46 FILE *fp; local 50 fp = fopen(MLCAL_FILE,"rb"); 51 if (fp == NULL) { 57 fseek (fp, 0 , SEEK_END); 58 fsize = ftell (fp); 59 rewind (fp); 65 fclose(fp); 69 *bytesRead = fread(*calData, 1, fsize, fp); 80 fclose(fp); 86 FILE *fp; local [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
inv_sysfs_utils.c | 28 FILE *fp; local 33 fp = fopen(filename, "w"); 34 if (!fp) 36 count = fprintf(fp, "%ld", data); 37 fclose(fp); 50 FILE *fp; local 55 fp = fopen(filename, "r"); 56 if (!fp) 58 count = fread(data, 1, num_bytes, fp); 59 fclose(fp); [all...] |
ml_stored_data.c | 46 FILE *fp; local 50 fp = fopen(MLCAL_FILE,"rb"); 51 if (fp == NULL) { 57 fseek (fp, 0 , SEEK_END); 58 fsize = ftell (fp); 59 rewind (fp); 65 fclose(fp); 69 *bytesRead = fread(*calData, 1, fsize, fp); 80 fclose(fp); 86 FILE *fp; local [all...] |