/frameworks/base/graphics/java/android/renderscript/ |
ScriptIntrinsicHistogram.java | 107 FieldPacker fp = new FieldPacker(16); local 108 fp.addF32(r); 109 fp.addF32(g); 110 fp.addF32(b); 111 fp.addF32(a); 112 setVar(0, fp);
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
mlos_linux.c | 133 FILE *fp = fopen(filename, "r"); local 134 return fp; 140 * @param fp handle to file to close. 143 void inv_fclose(FILE *fp) 145 fclose(fp);
|
/hardware/invensense/60xx/mlsdk/platform/linux/ |
mlos_linux.c | 146 FILE *fp = fopen(filename,"r"); local 147 return fp; 153 * @param fp handle to file to close. 156 void inv_fclose(FILE *fp) 158 fclose(fp);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_load_dmp.c | 254 FILE *fp; local 259 if ((fp = fopen(dmp_path, "rb")) < 0) { 262 i = fread(dmp_img, 1, dmpSize, fp); 264 fclose(fp); 265 fp = fopen(out_file, "wt"); 266 if(fp == NULL) { 270 fprintf(fp, "char rec[]={\n"); 272 fprintf(fp, "0x%02x, ", dmp_img[i]); 274 fprintf(fp, "\n"); 277 fprintf(fp, "};\n ") [all...] |
mlos_linux.c | 133 FILE *fp = fopen(filename, "r"); local 134 return fp; 140 * @param fp handle to file to close. 143 void inv_fclose(FILE *fp) 145 fclose(fp);
|
/hardware/samsung_slsi/exynos5/libmemtrack/ |
mali.c | 48 FILE *fp; local 58 fp = fopen("/sys/devices/platform/mali.0/gpu_memory", "r"); 59 if (fp == NULL) { 67 if (fgets(line, sizeof(line), fp) == NULL) { 96 fclose(fp);
|
/hardware/ti/omap4xxx/ |
mapinfo.c | 54 FILE *fp = fopen(data, "r"); local 55 if(fp) { 56 while(fgets(data, sizeof(data), fp)) { 63 fclose(fp);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
chrono.cpp | 88 typedef steady_clock::rep (*FP)(); 91 FP 106 static FP fp = init_steady_clock(); variable 107 return time_point(duration(fp()));
|
/system/vold/ |
Xwarp.cpp | 45 FILE *fp; local 50 if (!(fp = fopen(XWARP_READY, "r"))) { 54 fscanf(fp, "%d", (int *) ready); 55 fclose(fp); 57 if (!(fp = fopen(XWARP_MIRROR_STATUS, "r"))) { 61 fscanf(fp, "%u %u", mirrorPos, maxSize); 62 fclose(fp);
|
/bionic/libc/upstream-netbsd/libc/gen/ |
popen.c | 69 FILE *fp; member in struct:pid 135 close(fileno(old->fp)); /* don't allow a flush */ 176 cur->fp = iop; 203 if (cur->fp == iop)
|
/bionic/tests/ |
stdio_test.cpp | 26 FILE* fp = tmpfile(); local 27 ASSERT_TRUE(fp != NULL); 29 int fd = fileno(fp); 37 rc = fprintf(fp, "hello\n"); 40 rewind(fp); 43 char* s = fgets(buf, sizeof(buf), fp); 47 fclose(fp); 51 FILE* fp = tmpfile(); local 52 ASSERT_TRUE(fp != NULL); 55 int rc = fprintf(fp, "%s", line_written) 86 FILE* fp = tmpfile(); local 109 FILE* fp = tmpfile(); local 151 FILE* fp = tmpfile(); local 186 FILE* fp = popen("cat \/proc\/version", "r"); local 198 FILE* fp = fopen("\/proc\/version", "r"); local 209 FILE* fp = fopen("\/proc\/version", "r"); local [all...] |
/external/blktrace/btt/ |
unplug_hist.c | 67 FILE *fp; local 74 if ((fp = my_fopen(oname, "w")) != NULL) { 78 fprintf(fp, "%d %d\n", i, hbp->hist[i]); 79 fclose(fp);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_shader_state.c | 108 struct nvc0_program *fp = nvc0->fragprog; local 110 if (!nvc0_program_validate(nvc0, fp)) 112 nvc0_program_update_context_state(nvc0, fp, 4); 114 if (fp->fp.early_z != nvc0->state.early_z_forced) { 115 nvc0->state.early_z_forced = fp->fp.early_z; 116 IMMED_NVC0(push, NVC0_3D(FORCE_EARLY_FRAGMENT_TESTS), fp->fp.early_z); 121 PUSH_DATA (push, fp->code_base) [all...] |
/external/chromium_org/v8/src/utils/ |
random-number-generator.cc | 82 FILE* fp = fopen("/dev/urandom", "rb"); local 83 if (fp != NULL) { 85 size_t n = fread(&seed, sizeof(seed), 1, fp); 86 fclose(fp);
|
/external/clang/test/Modules/ |
macros.c | 115 TOP_RIGHT_REDEF *fp = &f; // expected-warning{{ambiguous expansion of macro 'TOP_RIGHT_REDEF'}} local
|
/external/iproute2/ip/ |
rtmon.c | 31 static void write_stamp(FILE *fp) 45 fwrite((void*)n1, 1, NLMSG_ALIGN(n1->nlmsg_len), fp); 51 FILE *fp = (FILE*)arg; local 53 write_stamp(fp); 54 fwrite((void*)n, 1, NLMSG_ALIGN(n->nlmsg_len), fp); 55 fflush(fp); 69 FILE *fp; local 150 fp = fopen(file, "w"); 151 if (fp == NULL) { 164 write_stamp(fp); [all...] |
/external/ipsec-tools/src/racoon/ |
logger.c | 126 FILE *fp; local 130 fp = fopen(p->fname, "a"); 131 if (fp == NULL) 133 fprintf(fp, "%s", str); 134 fclose(fp); 144 FILE *fp; local 148 fp = fopen(p->fname, "a"); 149 if (fp == NULL) 152 vfprintf(fp, fmt, ap); 155 fclose(fp); 163 FILE *fp; local 183 FILE *fp; local [all...] |
plainrsa-gen.c | 119 gen_rsa_key(FILE *fp, size_t bits, unsigned long exp) 136 fprintf(fp, "# : PUB 0s%s\n", pubkey64->v); 137 fprintf(fp, ": RSA\t{\n"); 138 fprintf(fp, "\t# RSA %zu bits\n", bits); 139 fprintf(fp, "\t# pubkey=0s%s\n", pubkey64->v); 140 fprintf(fp, "\tModulus: 0x%s\n", lowercase(BN_bn2hex(key->n))); 141 fprintf(fp, "\tPublicExponent: 0x%s\n", lowercase(BN_bn2hex(key->e))); 142 fprintf(fp, "\tPrivateExponent: 0x%s\n", lowercase(BN_bn2hex(key->d))); 143 fprintf(fp, "\tPrime1: 0x%s\n", lowercase(BN_bn2hex(key->p))); 144 fprintf(fp, "\tPrime2: 0x%s\n", lowercase(BN_bn2hex(key->q))) 158 FILE *fp = stdout; local [all...] |
/external/jpeg/ |
rdswitch.c | 85 FILE * fp; local 90 if ((fp = fopen(filename, "r")) == NULL) { 96 while (read_text_integer(fp, &val, &termchar)) { /* read 1st element of table */ 99 fclose(fp); 104 if (! read_text_integer(fp, &val, &termchar)) { 106 fclose(fp); 117 fclose(fp); 121 fclose(fp); 175 FILE * fp; local 182 if ((fp = fopen(filename, "r")) == NULL) [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_shader_state.c | 108 struct nvc0_program *fp = nvc0->fragprog; local 110 if (!nvc0_program_validate(nvc0, fp)) 112 nvc0_program_update_context_state(nvc0, fp, 4); 114 if (fp->fp.early_z != nvc0->state.early_z_forced) { 115 nvc0->state.early_z_forced = fp->fp.early_z; 116 IMMED_NVC0(push, NVC0_3D(FORCE_EARLY_FRAGMENT_TESTS), fp->fp.early_z); 121 PUSH_DATA (push, fp->code_base) [all...] |
/external/oprofile/daemon/ |
opd_kernel.c | 141 FILE * fp; local 159 fp = op_try_open_file("/proc/modules", "r"); 161 if (!fp) { 168 line = op_get_line(fp); 196 op_close_file(fp);
|
/external/oprofile/libop/ |
op_cpu_type.c | 129 FILE * fp; local 131 fp = fopen("/proc/sys/dev/oprofile/cpu_type", "r"); 132 if (!fp) { 134 fp = fopen("/dev/oprofile/cpu_type", "r"); 135 if (!fp) { 142 if (!fgets(str, 99, fp)) { 152 fclose(fp);
|
/external/oprofile/libutil/ |
op_fileio.c | 24 FILE * fp; local 26 fp = fopen(name, mode); 28 if (!fp) { 36 return fp; 52 void op_close_file(FILE * fp) 54 if (fclose(fp)) 59 void op_write_file(FILE * fp, void const * buf, size_t size) 66 written = fwrite(buf, size, 1, fp); 77 void op_write_u8(FILE * fp, u8 val) 79 op_write_file(fp, &val, sizeof(val)) 97 FILE * fp; local [all...] |
/external/qemu/distrib/jpeg-6b/ |
rdswitch.c | 85 FILE * fp; local 90 if ((fp = fopen(filename, "r")) == NULL) { 96 while (read_text_integer(fp, &val, &termchar)) { /* read 1st element of table */ 99 fclose(fp); 104 if (! read_text_integer(fp, &val, &termchar)) { 106 fclose(fp); 117 fclose(fp); 121 fclose(fp); 175 FILE * fp; local 182 if ((fp = fopen(filename, "r")) == NULL) [all...] |
/external/valgrind/main/coregrind/ |
pub_core_debuginfo.h | 121 struct { Addr ia; Addr sp; Addr fp; Addr lr;} member in struct:__anon30704 125 struct { Addr pc; Addr sp; Addr fp; Addr ra; } member in struct:__anon30705
|