Searched refs:fp (Results 1 - 25 of 1268) sorted by last modified time

1234567891011>>

/external/zlib/src/contrib/iostream2/
H A Dzstream.h55 izstream(FILE* fp) : m_fp(0) { open(fp); } argument
70 void open(FILE* fp) { argument
71 SET_BINARY_MODE(fp);
73 m_fp = ::gzdopen(fileno(fp), "rb");
101 gzFile fp() { return m_fp; } function in class:izstream
116 return ::gzread(zs.fp(), x, items*sizeof(T));
124 ::gzread(zs.fp(), &x, sizeof(T));
140 ::gzread(zs.fp(), x, len.value());
148 ::gzread(zs.fp(),
160 ozstream(FILE* fp, int level = Z_DEFAULT_COMPRESSION) argument
186 open(FILE* fp, int level = Z_DEFAULT_COMPRESSION) argument
234 gzFile fp() { return m_fp; } function in class:ozstream
[all...]
/external/webrtc/src/system_wrappers/source/
H A Dcpu_linux.cc113 FILE* fp = fopen("/proc/stat", "r"); local
114 if (!fp)
120 if (fgets(line, 100, fp) == NULL) {
121 fclose(fp);
126 fclose(fp);
130 fclose(fp);
139 fclose(fp);
151 if (fgets(line, 100, fp) == NULL) {
152 fclose(fp);
157 fclose(fp);
173 FILE* fp = fopen("/proc/stat", "r"); local
[all...]
/external/valgrind/main/none/tests/ppc32/
H A Dround.stdout.exp1159 near:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000002p+0
1175 near:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000002p+0
1191 zero:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000001p+0
1207 zero:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000001p+0
1223 +inf:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000001p+0
1239 +inf:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000002p+0
1255 -inf:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000002p+0
1271 -inf:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000001p+0
1287 near:PASSED:fsub(-0x1.2000000000002p+0, -0x1.000000000000fp-3) = -0x1p+0
1303 near:PASSED:fsub(0x1.2000000000002p+0, 0x1.000000000000fp
[all...]
/external/valgrind/main/none/tests/ppc64/
H A Dround.stdout.exp1208 near:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000002p+0
1224 near:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000002p+0
1240 zero:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000001p+0
1256 zero:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000001p+0
1272 +inf:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000001p+0
1288 +inf:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000002p+0
1304 -inf:PASSED:fadd(-0x1p+0 , -0x1.000000000000fp-3) = -0x1.2000000000002p+0
1320 -inf:PASSED:fadd(0x1p+0 , 0x1.000000000000fp-3) = 0x1.2000000000001p+0
1336 near:PASSED:fsub(-0x1.2000000000002p+0, -0x1.000000000000fp-3) = -0x1p+0
1352 near:PASSED:fsub(0x1.2000000000002p+0, 0x1.000000000000fp
[all...]
/external/valgrind/main/perf/
H A Dbz2.c5745 FILE *fp = NULL; local
5773 fp = (writing ? stdout : stdin);
5774 SET_BINARY_MODE(fp);
5776 fp = fopen(path,mode2);
5780 fp = NULL;
5782 fp = fdopen(fd,mode2);
5785 if (fp == NULL) return NULL;
5791 bzfp = BZ2_bzWriteOpen(&bzerr,fp,blockSize100k,
5794 bzfp = BZ2_bzReadOpen(&bzerr,fp,verbosity,smallMode,
5798 if (fp !
5868 FILE *fp = ((bzFile *)b)->handle; local
[all...]
H A Dffbench.c338 FILE *fp; local
358 fp = fopen("fft.cap", "w");
359 if (fp == NULL) {
363 putc(':', fp);
364 putc(1, fp);
365 fwrite(patarr, SCRN, 1, fp);
366 putc(6, fp);
367 fclose(fp);
H A Dtinycc.c3398 /* fp load */
3409 /* fp store */
3855 /* fp load */
3866 /* fp store */
4730 /* fp load */
4741 /* fp store */
5187 /* fp load */
5198 /* fp store */
5496 int pe_load_def_file(struct TCCState *s1, FILE *fp);
6402 /* convert integers to fp '
20594 unsigned long fp __attribute__((unused)); local
[all...]
/external/valgrind/main/tests/
H A Dos_test.c37 FILE *fp = fopen("/proc/sys/kernel/osrelease", "r");
38 if (fp == NULL || fscanf(fp, "%d.%d.%d", &a1, &a2, &a3) != 3) return False;
39 fclose(fp);
/external/valgrind/main/VEX/switchback/
H A Dtest_bzip2.c5730 FILE *fp = NULL; local
5758 fp = (writing ? stdout : stdin);
5759 SET_BINARY_MODE(fp);
5761 fp = fopen(path,mode2);
5765 fp = NULL;
5767 fp = fdopen(fd,mode2);
5770 if (fp == NULL) return NULL;
5776 bzfp = BZ2_bzWriteOpen(&bzerr,fp,blockSize100k,
5779 bzfp = BZ2_bzReadOpen(&bzerr,fp,verbosity,smallMode,
5783 if (fp !
5853 FILE *fp = ((bzFile *)b)->handle; local
[all...]
/external/valgrind/main/cachegrind/
H A Dcg_merge.c120 FILE* fp; member in struct:__anon32366
167 ch = getc(s->fp);
177 if (ferror(s->fp)) {
893 src.fp = fopen(src.filename, "r");
894 if (!src.fp) {
898 assert(src.fp);
900 fclose(src.fp);
/external/valgrind/main/coregrind/m_debuginfo/
H A Dd3basics.c402 if (regno == 5/*EBP*/) { *a = regs->fp; return True; }
405 if (regno == 6/*RBP*/) { *a = regs->fp; return True; }
413 if (regno == 11) { *a = regs->fp; return True; }
416 if (regno == 11) { *a = regs->fp; return True; }
419 if (regno == 30) { *a = regs->fp; return True; }
422 if (regno == 30) { *a = regs->fp; return True; }
870 uw1 = ML_(get_CFA)(regs->ip, regs->sp, regs->fp, 0, ~(UWord) 0);
H A Ddebuginfo.c2109 case Creg_IA_BP: return eec->uregs->fp;
2114 case Creg_IA_BP: return eec->uregs->fp;
2347 cfa = uregs->fp;
2350 cfa = cfsi->cfa_off + uregs->fp;
2357 cfa = uregs->fp;
2360 cfa = cfsi->cfa_off + uregs->fp;
2396 Addr ML_(get_CFA) ( Addr ip, Addr sp, Addr fp, argument
2417 uregs.xbp = fp;
2425 uregs.fp = fp;
3088 consider_vars_in_frame( XArray* dname1, XArray* dname2, Addr data_addr, Addr ip, Addr sp, Addr fp, ThreadId tid, Int frameNo ) argument
[all...]
H A Dpriv_d3basics.h620 struct to carry the bare essentials. ip, fp and sp are expected to
623 struct { Addr ip; Addr sp; Addr fp; } member in struct:__anon32411
678 Addr ML_(get_CFA) ( Addr ip, Addr sp, Addr fp,
/external/valgrind/main/coregrind/m_demangle/
H A Dcp-demangle.c5441 static void print_usage (FILE* fp, int exit_value);
5458 print_usage (FILE* fp, int exit_value) argument
5460 fprintf (fp, "Usage: %s [options] [names ...]\n", program_name);
5461 fprintf (fp, "Options:\n");
5462 fprintf (fp, " -h,--help Display this message.\n");
5463 fprintf (fp, " -p,--no-params Don't display function parameters\n");
5464 fprintf (fp, " -v,--verbose Produce verbose demanglings.\n");
5465 fprintf (fp, "If names are provided, they are demangled. Otherwise filters standard input.\n");
/external/valgrind/main/coregrind/
H A Dm_libcassert.c149 "str x29, [%0, #+16];" /* fp */ \
162 { ULong ia, sp, fp, lr; \
168 : "=r" (ia), "=r" (sp),"=r" (fp),"=r" (lr) \
173 (srP)->misc.S390X.r_fp = fp; \
178 { UInt pc, sp, fp, ra, gp; \
190 "=r" (fp), \
197 (srP)->misc.MIPS32.r30 = (ULong)fp; \
203 { ULong pc, sp, fp, ra, gp; \
215 "=r" (fp), \
222 (srP)->misc.MIPS64.r30 = (ULong)fp; \
[all...]
H A Dm_stacktrace.c91 // unwinding with fp chain is ok:
100 /* An unwind done by following the fp chain technique can be incorrect
106 So, by default, the unwinding will be done using the fp chain.
110 FPUNWIND (0): there is CF info, and it gives the same result as fp unwind.
112 with the fast fp chain, without further CF checking
113 NOINFO (1): there is no CF info (so, fp unwind is the only do-able thing)
117 Of course, if each fp unwind implies a check done with a CF unwind,
156 UInt Ck; // unwind fp invalid+store FPUNWIND
210 "fp_max=0x%lx ip=0x%lx fp=0x%lx\n",
270 /* Try to derive a new (ip,sp,fp) tripl
648 Addr fp = sp; local
[all...]
H A Dpub_core_debuginfo.h125 struct { Addr ia; Addr sp; Addr fp; Addr lr;} member in struct:__anon32707
129 struct { Addr pc; Addr sp; Addr fp; Addr ra; } member in struct:__anon32708
/external/valgrind/main/coregrind/m_sigframe/
H A Dsigframe-arm-linux.c149 SC2(fp,R11);
328 REST(fp,R11);
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyscall-arm-linux.S80 push {r0, r1, r3, r4, r5, r7, fp, lr}
121 pop {r1, r3, r4, r5, r7, fp, pc}
125 pop {r1, r3, r4, r5, r7, fp, pc}
H A Dsyswrap-linux.c8232 struct vki_sock_fprog *fp = (struct vki_sock_fprog *)optval_p; local
8245 (Addr)&fp->len, sizeof(fp->len) );
8247 (Addr)&fp->filter, sizeof(fp->filter) );
8250 if (fp->filter != NULL)
8253 (Addr)(fp->filter),
8254 fp->len * sizeof(*fp->filter) );
/external/valgrind/main/exp-sgcheck/
H A Dsg_main.c177 /* compare sp/fp flag */
1476 Addr sp, Addr fp ) {
1478 UWord w2 = (UWord)(descr->spRel ? sp : fp);
1488 Addr sp, Addr fp
1497 Addr ea = calculate_StackBlock_EA( blk, sp, fp );
1510 Addr ea, Addr sp, Addr fp,
1522 Addr bea = calculate_StackBlock_EA( descr, sp, fp );
1764 Addr ea, Addr sp, Addr fp,
1800 tid, ea, sp, fp, szB, iinstance->blocks );
1808 tid, ea, sp, fp, sz
1508 classify_address( Invar* inv, ThreadId tid, Addr ea, Addr sp, Addr fp, UWord szB, XArray* thisInstrBlocks ) argument
1763 helperc__mem_access( Addr ea, Addr sp, Addr fp, Word sszB, Addr ip, XArray* ip_frameBlocks ) argument
[all...]
/external/valgrind/main/exp-sgcheck/tests/
H A Dhackedbz2.c5754 FILE *fp = NULL; local
5782 fp = (writing ? stdout : stdin);
5783 SET_BINARY_MODE(fp);
5785 fp = fopen(path,mode2);
5789 fp = NULL;
5791 fp = fdopen(fd,mode2);
5794 if (fp == NULL) return NULL;
5800 bzfp = BZ2_bzWriteOpen(&bzerr,fp,blockSize100k,
5803 bzfp = BZ2_bzReadOpen(&bzerr,fp,verbosity,smallMode,
5807 if (fp !
5877 FILE *fp = ((bzFile *)b)->handle; local
[all...]
/external/valgrind/main/helgrind/
H A Dlibhb_core.c793 /*OUT*/LineF** fp, Addr tag ) {
816 *fp = lineF;
792 find_ZF_for_reading( LineZ** zp, LineF** fp, Addr tag ) argument
/external/valgrind/main/include/vki/
H A Dvki-s390x-linux.h649 } fp; member in union:__anon32973
/external/valgrind/main/memcheck/tests/
H A Dfprw.c12 float* fp = malloc(sizeof(float)); local
17 *fp += ( f > 0.1 ? 20.0 : 21.0 );
19 free(fp);
21 *fp += 30.0;

Completed in 1482 milliseconds

1234567891011>>