Searched refs:fp (Results 1 - 25 of 49) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
H A Dinvoke.pass.cpp53 void (*fp)(int) = f_void_1;
54 std::function<void (int)> r1(fp);
71 void (A_void_1::*fp)() = &A_void_1::mem1;
72 std::function<void (A_void_1)> r1(fp);
78 std::function<void (A_void_1*)> r2 = fp;
85 void (A_void_1::*fp)() const = &A_void_1::mem2;
86 std::function<void (A_void_1)> r1(fp);
91 std::function<void (A_void_1*)> r2(fp);
130 int (*fp)(int) = f_int_1;
131 std::function<int (int)> r1(fp);
164 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1
[all...]
H A Dinvoke.fail.cpp33 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1
35 std::function<int& (const A_int_1*)> r2(fp);
H A Dinvoke_int_0.pass.cpp43 int (*fp)() = f_int_0;
44 std::function<int ()> r1(fp);
H A Dinvoke_void_0.pass.cpp48 void (*fp)() = f_void_0;
49 std::function<void ()> r1(fp);
/ndk/sources/host-tools/sed-4.2.1/lib/
H A Dgetdelim.c39 # define getc_maybe_unlocked(fp) getc(fp)
45 # define getc_maybe_unlocked(fp) getc(fp)
47 # define getc_maybe_unlocked(fp) getc_unlocked(fp)
57 getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) argument
62 if (lineptr == NULL || n == NULL || fp == NULL)
68 flockfile (fp);
87 i = getc_maybe_unlocked (fp);
[all...]
H A Dlocalcharset.c122 FILE *fp; local
148 if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL)
165 c = getc (fp);
174 c = getc (fp);
180 ungetc (c, fp);
181 if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
207 fclose (fp);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
H A Dstdio_h.pass.cpp85 FILE* fp = 0; local
94 static_assert((std::is_same<decltype(fclose(fp)), int>::value), "");
95 static_assert((std::is_same<decltype(fflush(fp)), int>::value), "");
97 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), "");
98 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), "");
99 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), "");
100 static_assert((std::is_same<decltype(fprintf(fp," ")), int>::value), "");
101 static_assert((std::is_same<decltype(fscanf(fp,"")), int>::value), "");
107 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), "");
108 static_assert((std::is_same<decltype(vfscanf(fp,"",v
[all...]
H A Dwchar_h.pass.cpp37 ::FILE* fp = 0; local
45 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), "");
46 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), "");
49 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), "");
50 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), "");
57 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), "");
58 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), "");
59 static_assert((std::is_same<decltype(fputwc(L' ', fp)), wint_t>::value), "");
60 static_assert((std::is_same<decltype(fputws(L"", fp)), int>::value), "");
61 static_assert((std::is_same<decltype(fwide(fp,
[all...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/
H A Dcstdio.pass.cpp86 std::FILE* fp = 0; local
95 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), "");
96 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), "");
98 static_assert((std::is_same<decltype(std::freopen("", "", fp)), std::FILE*>::value), "");
99 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), "");
100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), "");
101 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), "");
102 static_assert((std::is_same<decltype(std::fscanf(fp,"")), int>::value), "");
108 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), "");
109 static_assert((std::is_same<decltype(std::vfscanf(fp,"",v
[all...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/
H A Dinvoke.pass.cpp56 void (*fp)(int) = f_void_1;
57 std::reference_wrapper<void (*)(int)> r1(fp);
74 void (A_void_1::*fp)() = &A_void_1::mem1;
75 std::reference_wrapper<void (A_void_1::*)()> r1(fp);
87 void (A_void_1::*fp)() const = &A_void_1::mem2;
88 std::reference_wrapper<void (A_void_1::*)() const> r1(fp);
131 int (*fp)(int) = f_int_1;
132 std::reference_wrapper<int (*)(int)> r1(fp);
145 int (A_int_1::*fp)() = &A_int_1::mem1;
146 std::reference_wrapper<int (A_int_1::*)()> r1(fp);
163 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1
[all...]
H A Dinvoke.fail.cpp36 int A_int_1::*fp = &A_int_1::data_; member in class:A_int_1
37 std::reference_wrapper<int A_int_1::*> r1(fp);
H A Dinvoke_int_0.pass.cpp46 int (*fp)() = f_int_0;
47 std::reference_wrapper<int (*)()> r1(fp);
H A Dinvoke_void_0.pass.cpp49 void (*fp)() = f_void_0;
50 std::reference_wrapper<void (*)()> r1(fp);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.access/
H A Dconversion.pass.cpp37 void (*fp)() = f;
38 test(fp);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.const/
H A Dcopy_ctor.pass.cpp37 void (*fp)() = f;
38 test(fp);
H A Dtype_ctor.pass.cpp36 void (*fp)() = f;
37 test(fp);
/ndk/sources/host-tools/sed-4.2.1/sed/
H A Dutils.c54 FILE *fp; member in struct:open_file
61 static void do_ck_fclose P_((FILE *fp));
89 fclose (open_files->fp);
105 static const char *utils_fp_name P_((FILE *fp));
107 utils_fp_name(fp)
108 FILE *fp;
113 if (p->fp == fp)
115 if (fp == stdin)
117 else if (fp
157 FILE *fp; local
180 FILE *fp; local
201 FILE *fp; local
[all...]
H A Dexecute.c134 be one which uses fp; in particular, read_always_fail() is
146 FILE *fp;
531 long result = ck_getline (&b, &blen, input->fp);
554 ck_fwrite("\n", 1, 1, outf->fp);
561 flush_output(fp)
562 FILE *fp;
564 if (fp != stdout || unbuffered_output)
565 ck_fflush(fp);
581 ck_fwrite(text, 1, length, outf->fp);
583 ck_fwrite("\n", 1, 1, outf->fp);
145 FILE *fp; member in struct:input
638 FILE *fp; local
1073 FILE *fp = output_file.fp; local
[all...]
/ndk/sources/cxx-stl/llvm-libc++/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...]
/ndk/sources/cxx-stl/llvm-libc++/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);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.assign/
H A Dcopy_assign.pass.cpp49 void (*fp)() = f;
50 test(fp);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
H A Dcwchar.pass.cpp37 ::FILE* fp = 0; local
45 static_assert((std::is_same<decltype(std::fwprintf(fp, L"")), int>::value), "");
46 static_assert((std::is_same<decltype(std::fwscanf(fp, L"")), int>::value), "");
49 static_assert((std::is_same<decltype(std::vfwprintf(fp, L"", va)), int>::value), "");
50 static_assert((std::is_same<decltype(std::vfwscanf(fp, L"", va)), int>::value), "");
57 static_assert((std::is_same<decltype(std::fgetwc(fp)), std::wint_t>::value), "");
58 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), "");
59 static_assert((std::is_same<decltype(std::fputwc(L' ', fp)), std::wint_t>::value), "");
60 static_assert((std::is_same<decltype(std::fputws(L"", fp)), int>::value), "");
61 static_assert((std::is_same<decltype(std::fwide(fp,
[all...]
/ndk/sources/host-tools/nawk-20071023/
H A Dmaketab.c118 FILE *fp; local
135 fp = stdin;
137 if ((fp = fopen(input, "rt")) == NULL) {
144 while (fgets(buf, sizeof buf, fp) != NULL) {
H A Drun.c219 struct Frame *fp = NULL; /* frame pointer. bottom level unused */ variable in typeref:struct:Frame
236 fp = frame = (struct Frame *) calloc(nframe += 100, sizeof(struct Frame));
243 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) );
250 dprintf( ("evaluate args[%d], fp=%d:\n", i, (int) (fp-frame)) );
267 fp++; /* now ok to up frame */
268 if (fp >= frame + nframe) {
269 int dfp = fp - frame; /* old index */
274 fp
395 FILE *fp; local
965 FILE *fp; local
1471 FILE *fp; local
1567 FILE *fp; local
1575 fputs(getpssval(y), fp); local
1599 FILE *fp; local
1613 FILE *fp; member in struct:files
1633 FILE *fp = 0; local
1675 filename(FILE *fp) argument
[all...]

Completed in 285 milliseconds

12