/external/libselinux/src/ |
enabled.c | 14 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/linux-tools-perf/perf-3.12.0/tools/lib/lk/ |
debugfs.c | 27 FILE *fp; local 43 fp = fopen("/proc/mounts", "r"); 44 if (fp == NULL) 47 while (fscanf(fp, "%*s %" STR(PATH_MAX) "s %99s %*s %*d %*d\n", 52 fclose(fp);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
color.c | 195 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, 204 if (isatty(fileno(fp)) || pager_in_use()) 211 r += fprintf(fp, "%s", color); 212 r += vfprintf(fp, fmt, args); 214 r += fprintf(fp, "%s", PERF_COLOR_RESET); 216 r += fprintf(fp, "%s", trail); 226 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) 228 return __color_vfprintf(fp, color, fmt, args, NULL); 243 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) 249 r = color_vfprintf(fp, color, fmt, args) [all...] |
color.h | 37 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); 38 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); 40 int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...); 41 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf); 43 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
|
/external/ltrace/testsuite/ltrace.main/ |
system_calls.exp | 39 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/ |
op_abi.c | 81 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/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/ |
invoke_lvalue.pass.cpp | 62 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, ap)() [all...] |
invoke_rvalue.pass.cpp | 60 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, &a)() [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
sampling_test.cc | 59 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/ |
sampling_test.cc | 59 FILE* fp = fopen(filename.c_str(), "w"); local 60 fwrite(s.data(), 1, s.length(), fp); 61 fclose(fp);
|
/external/clang/test/SemaCXX/ |
copy-initialization.cpp | 11 void f(Y y, int *ip, float *fp) { 15 X x4 = fp; // expected-error{{no viable conversion}} 18 X x4a(fp);
|
incomplete-call.cpp | 21 Func fp; local 22 fp(); // expected-error {{calling function with incomplete return type 'A'}}
|
/external/iproute2/ip/ |
ipmroute.c | 56 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...] |
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/libcxx/test/localization/locales/locale.global.templates/ |
use_facet.pass.cpp | 42 const my_facet* fp = 0; local 47 fp = &f; 48 assert(fp->im_alive);
|
/external/aac/libSYS/src/ |
genericStds.cpp | 376 INT FDKfclose(FDKFILE *fp) { return fclose((FILE*)fp);} 379 INT FDKfseek(FDKFILE *fp, LONG OFFSET, int WHENCE) { return fseek((FILE*)fp, OFFSET, WHENCE);} 382 INT FDKftell(FDKFILE *fp) { return ftell((FILE*)fp); } 385 INT FDKfflush(FDKFILE *fp) { return fflush((FILE*)fp); } 392 UINT FDKfwrite(void *ptrf, INT size, UINT nmemb, FDKFILE *fp) { return fwrite(ptrf, size, nmemb, (FILE*)fp); } [all...] |
/external/iproute2/tc/ |
tc_monitor.c | 40 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/clang/test/CXX/except/except.spec/ |
p2-places.cpp | 13 void (*fp)() throw (int); member in namespace:dyn 48 void (*fp)() noexcept(false);
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
p1inst.cpp | 14 void test_f(X0<float, int> xfi, X0<void, int> xvi, float *fp, void *vp, int i) { 15 xfi.f(fp, i);
|
/external/clang/test/CodeGen/ |
exprs.c | 57 void f0(void (*fp)(void), void (*fp2)(void)) { 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/ |
complete-memfunc-cvquals.cpp | 17 void text(Foo f, Foo *fp, const Foo &fc, const Foo *fcp, 20 fp->bar();
|
/external/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke_void_0.pass.cpp | 48 void (*fp)() = f_void_0; 49 std::function<void ()> r1(fp);
|
/external/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke_void_0.pass.cpp | 49 void (*fp)() = f_void_0; 50 std::reference_wrapper<void (*)()> r1(fp);
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
LMpar.h | 37 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 > 0. [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_parse_proc.c | 94 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...] |