Searched refs:fp (Results 151 - 175 of 1268) sorted by relevance

1234567891011>>

/external/ltrace/testsuite/ltrace.main/
H A Dsystem_calls.exp39 FILE* fp;
44 fp = fopen ("system_calls.tmp", "w");
45 if (fp == NULL)
50 fwrite(s, sizeof(s), 1, fp);
51 fseek (fp, 0, SEEK_CUR);
52 fread(buffer, sizeof(s), 1, fp);
53 fclose(fp);
72 set fp [open $logfile]
75 while {[gets $fp line] >= 0} {
82 close $fp
[all...]
/external/oprofile/libabi/
H A Dop_abi.c81 FILE * fp; local
84 if ((fp = fopen(abi_file, "w")) == NULL)
88 fprintf(fp, "%s %u\n", abi_entry->name, abi_entry->offset);
89 fprintf(fp, "little_endian %d\n", op_little_endian());
91 fclose(fp);
/external/qemu/distrib/libselinux/src/
H A Denabled.c14 FILE *fp; local
37 fp = fopen("/proc/filesystems", "r");
38 if (!fp)
41 while ((bufp = fgets(buf, sizeof buf - 1, fp)) != NULL) {
61 fclose(fp);
/external/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dinvoke_lvalue.pass.cpp62 void (*fp)(int) = f_void_1;
64 std::bind(fp, _1)(i);
69 void (*fp)(int) = f_void_1;
71 std::bind(fp, i)();
92 void (A_void_1::*fp)() = &A_void_1::mem1;
94 std::bind(fp, _1)(a);
98 std::bind(fp, _1)(ap);
103 void (A_void_1::*fp)() = &A_void_1::mem1;
105 std::bind(fp, a)();
109 std::bind(fp, a
[all...]
H A Dinvoke_rvalue.pass.cpp60 void (*fp)(int) = f_void_1;
61 std::bind(fp, _1)(3);
66 void (*fp)(int) = f_void_1;
67 std::bind(fp, 3)();
86 void (A_void_1::*fp)() = &A_void_1::mem1;
87 std::bind(fp, _1)(A_void_1());
91 std::bind(fp, _1)(&a);
96 void (A_void_1::*fp)() = &A_void_1::mem1;
97 std::bind(fp, A_void_1())();
101 std::bind(fp,
[all...]
/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/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dsampling_test.cc59 FILE* fp = fopen(filename.c_str(), "w"); local
60 fwrite(s.data(), 1, s.length(), fp);
61 fclose(fp);
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dsampling_test.cc59 FILE* fp = fopen(filename.c_str(), "w"); local
60 fwrite(s.data(), 1, s.length(), fp);
61 fclose(fp);
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-3462.js18 var fp = f.prototype;
23 assertEquals(fp, n.prototype);
24 assertEquals(fp, f.prototype);
/external/clang/test/SemaCXX/
H A Dcopy-initialization.cpp11 void f(Y y, int *ip, float *fp) { argument
15 X x4 = fp; // expected-error{{no viable conversion}}
18 X x4a(fp);
H A Dincomplete-call.cpp21 Func fp; local
22 fp(); // expected-error {{calling function with incomplete return type 'A'}}
/external/iproute2/ip/
H A Dipmroute.c56 FILE *fp = fopen("/proc/net/ip_mr_vif", "r"); local
58 if (!fp)
61 if (!fgets(buf, sizeof(buf), fp)) {
62 fclose(fp);
65 while (fgets(buf, sizeof(buf), fp)) {
77 fclose(fp);
83 FILE *fp = fopen("/proc/net/ip_mr_cache", "r"); local
85 if (!fp)
88 if (!fgets(buf, sizeof(buf), fp)) {
89 fclose(fp);
[all...]
H A Drtmon.c31 static void write_stamp(FILE *fp) argument
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/libcxx/test/localization/locales/locale.global.templates/
H A Duse_facet.pass.cpp42 const my_facet* fp = 0; local
47 fp = &f;
48 assert(fp->im_alive);
/external/aac/libSYS/src/
H A DgenericStds.cpp376 INT FDKfclose(FDKFILE *fp) { return fclose((FILE*)fp);} argument
379 INT FDKfseek(FDKFILE *fp, LONG OFFSET, int WHENCE) { return fseek((FILE*)fp, OFFSET, WHENCE);} argument
382 INT FDKftell(FDKFILE *fp) { return ftell((FILE*)fp); } argument
385 INT FDKfflush(FDKFILE *fp) { return fflush((FILE*)fp); } argument
392 UINT FDKfwrite(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) { return fwrite(ptrf, size, nmemb, (FILE*)fp); } argument
395 FDKfread(void *dst, INT size, UINT nmemb, FDKFILE *fp) argument
398 FDKfgets(void *dst, INT size, FDKFILE *fp) argument
401 FDKrewind(FDKFILE *fp) argument
405 FDKfwrite_EL(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) argument
427 FDKfread_EL(void *dst, INT size, UINT nmemb, FDKFILE *fp) argument
471 FDKfeof(FDKFILE *fp) argument
[all...]
/external/iproute2/tc/
H A Dtc_monitor.c40 FILE *fp = (FILE*)arg; local
61 fprintf(fp, "Unknown message: length %08d type %08x flags %08x\n",
89 FILE *fp; local
90 fp = fopen(file, "r");
91 if (fp == NULL) {
95 return rtnl_from_file(fp, accept_tcmsg, (void*)stdout);
/external/qemu/slirp/
H A Dip_input.c52 register struct ipq *fp);
53 static void ip_freef(struct ipq *fp);
186 register struct ipq *fp; local
193 fp = container_of(l, struct ipq, ip_link);
194 if (ip->ip_id == fp->ipq_id &&
195 ip->ip_src.s_addr == fp->ipq_src.s_addr &&
196 ip->ip_dst.s_addr == fp->ipq_dst.s_addr &&
197 ip->ip_p == fp->ipq_p)
200 fp = NULL;
223 ip = ip_reass(ip, fp);
268 ip_reass(register struct ip *ip, register struct ipq *fp) argument
424 ip_freef(struct ipq *fp) argument
480 struct ipq *fp = container_of(l, struct ipq, ip_link); local
[all...]
/external/qemu/slirp-android/
H A Dip_input.c52 register struct ipq *fp);
53 static void ip_freef(struct ipq *fp);
186 register struct ipq *fp; local
193 fp = container_of(l, struct ipq, ip_link);
194 if (ip->ip_id == fp->ipq_id &&
195 ip_equal(ip->ip_src, fp->ipq_src) &&
196 ip_equal(ip->ip_dst, fp->ipq_dst) &&
197 ip->ip_p == fp->ipq_p)
200 fp = NULL;
223 ip = ip_reass(ip, fp);
268 ip_reass(register struct ip *ip, register struct ipq *fp) argument
424 ip_freef(struct ipq *fp) argument
480 struct ipq *fp = container_of(l, struct ipq, ip_link); local
[all...]
/external/clang/test/CodeGen/
H A Dexprs.c57 void f0(void (*fp)(void), void (*fp2)(void)) { argument
58 int x = fp - fp2;
73 void (*fp)(void) = f2;
75 ++fp;
76 fp++;
77 --fp;
78 fp--;
79 return (unsigned) fp;
142 // Make sure negate of fp uses -0.0 for proper -0 handling.
/external/clang/test/Index/
H A Dcomplete-memfunc-cvquals.cpp17 void text(Foo f, Foo *fp, const Foo &fc, const Foo *fcp, argument
20 fp->bar();
/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
H A Dinvoke_void_0.pass.cpp48 void (*fp)() = f_void_0;
49 std::function<void ()> r1(fp);
/external/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/
H A Dinvoke_void_0.pass.cpp49 void (*fp)() = f_void_0;
50 std::reference_wrapper<void (*)()> r1(fp);
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
H A DLMpar.h37 Scalar fp; local
75 fp = dxnorm - m_delta;
76 if (fp <= Scalar(0.1) * m_delta) {
89 parl = fp / m_delta / temp / temp;
122 temp = fp;
123 fp = dxnorm - m_delta;
128 if (abs(fp) <= Scalar(0.1) * m_delta || (parl == 0. && fp <= temp && temp < 0.) || iter == 10)
141 parc = fp / m_delta / temp / temp;
144 if (fp >
[all...]
/external/oprofile/daemon/liblegacy/
H A Dopd_parse_proc.c94 FILE * fp; local
107 fp = op_try_open_file(mapsfile, "r");
108 if (!fp)
120 line = op_get_line(fp);
161 op_close_file(fp);
169 FILE * fp; local
176 fp = op_try_open_file(status_file, "r");
177 if (!fp)
181 line = op_get_line(fp);
187 op_close_file(fp);
[all...]
/external/libpcap/
H A Dsavefile.c177 FILE *fp; local
182 fp = stdin;
188 SET_BINMODE(fp);
193 fp = fopen(fname, "r");
195 fp = fopen(fname, "rb");
197 if (fp == NULL) {
203 p = pcap_fopen_offline_with_tstamp_precision(fp, precision, errbuf);
205 if (fp != stdin)
206 fclose(fp);
261 pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_in argument
361 pcap_fopen_offline(FILE *fp, char *errbuf) argument
[all...]

Completed in 584 milliseconds

1234567891011>>