Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 25 of 45) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.pass.cpp53 void (*fp)(int) = f_void_1; in test_void_1() local
54 std::function<void (int)> r1(fp); in test_void_1()
71 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local
72 std::function<void (A_void_1)> r1(fp); in test_void_1()
78 std::function<void (A_void_1*)> r2 = fp; in test_void_1()
85 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() local
86 std::function<void (A_void_1)> r1(fp); in test_void_1()
91 std::function<void (A_void_1*)> r2(fp); in test_void_1()
130 int (*fp)(int) = f_int_1; in test_int_1() local
131 std::function<int (int)> r1(fp); in test_int_1()
[all …]
Dinvoke_int_0.pass.cpp43 int (*fp)() = f_int_0; in test_int_0() local
44 std::function<int ()> r1(fp); in test_int_0()
Dinvoke.fail.cpp33 int A_int_1::*fp = &A_int_1::data_; in test_int_1() local
35 std::function<int& (const A_int_1*)> r2(fp); in test_int_1()
Dinvoke_void_0.pass.cpp48 void (*fp)() = f_void_0; in test_void_0() local
49 std::function<void ()> r1(fp); in test_void_0()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstdio_h.pass.cpp85 FILE* fp = 0; in main() local
94 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
95 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
97 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); in main()
98 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); in main()
99 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); in main()
100 static_assert((std::is_same<decltype(fprintf(fp," ")), int>::value), ""); in main()
101 static_assert((std::is_same<decltype(fscanf(fp,"")), int>::value), ""); in main()
107 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); in main()
108 static_assert((std::is_same<decltype(vfscanf(fp,"",va)), int>::value), ""); in main()
[all …]
Dwchar_h.pass.cpp37 ::FILE* fp = 0; in main()
45 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), ""); in main()
46 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), ""); in main()
49 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), ""); in main()
50 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), ""); in main()
57 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), ""); in main()
58 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main()
59 static_assert((std::is_same<decltype(fputwc(L' ', fp)), wint_t>::value), ""); in main()
60 static_assert((std::is_same<decltype(fputws(L"", fp)), int>::value), ""); in main()
61 static_assert((std::is_same<decltype(fwide(fp, 0)), int>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/
Dcstdio.pass.cpp86 std::FILE* fp = 0; in main() local
95 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); in main()
96 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); in main()
98 static_assert((std::is_same<decltype(std::freopen("", "", fp)), std::FILE*>::value), ""); in main()
99 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); in main()
100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); in main()
101 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), ""); in main()
102 static_assert((std::is_same<decltype(std::fscanf(fp,"")), int>::value), ""); in main()
108 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); in main()
109 static_assert((std::is_same<decltype(std::vfscanf(fp,"",va)), int>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/
Dinvoke.pass.cpp56 void (*fp)(int) = f_void_1; in test_void_1() local
57 std::reference_wrapper<void (*)(int)> r1(fp); in test_void_1()
74 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local
75 std::reference_wrapper<void (A_void_1::*)()> r1(fp); in test_void_1()
87 void (A_void_1::*fp)() const = &A_void_1::mem2; in test_void_1() local
88 std::reference_wrapper<void (A_void_1::*)() const> r1(fp); in test_void_1()
131 int (*fp)(int) = f_int_1; in test_int_1() local
132 std::reference_wrapper<int (*)(int)> r1(fp); in test_int_1()
145 int (A_int_1::*fp)() = &A_int_1::mem1; in test_int_1() local
146 std::reference_wrapper<int (A_int_1::*)()> r1(fp); in test_int_1()
[all …]
Dinvoke_int_0.pass.cpp46 int (*fp)() = f_int_0; in test_int_0() local
47 std::reference_wrapper<int (*)()> r1(fp); in test_int_0()
Dinvoke.fail.cpp36 int A_int_1::*fp = &A_int_1::data_; in test_int_1() local
37 std::reference_wrapper<int A_int_1::*> r1(fp); in test_int_1()
Dinvoke_void_0.pass.cpp49 void (*fp)() = f_void_0; in test_void_0() local
50 std::reference_wrapper<void (*)()> r1(fp); in test_void_0()
/ndk/sources/android/support/src/stdio/
Dwcio.h43 #define WCIO_GET(fp) \ argument
46 #define _SET_ORIENTATION(fp, mode) ((void)0) argument
51 #define WCIO_FREE(fp) ((void)(0)) argument
53 #define WCIO_FREEUB(fp) ((void)0) argument
55 #define WCIO_INIT(fp) ((void)0) argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bind/func.bind/func.bind.bind/
Dinvoke_rvalue.pass.cpp60 void (*fp)(int) = f_void_1; in test_void_1() local
61 std::bind(fp, _1)(3); in test_void_1()
66 void (*fp)(int) = f_void_1; in test_void_1() local
67 std::bind(fp, 3)(); in test_void_1() local
86 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local
87 std::bind(fp, _1)(A_void_1()); in test_void_1() local
91 std::bind(fp, _1)(&a); in test_void_1()
96 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local
97 std::bind(fp, A_void_1())(); in test_void_1() local
101 std::bind(fp, &a)(); in test_void_1() local
[all …]
Dinvoke_lvalue.pass.cpp62 void (*fp)(int) = f_void_1; in test_void_1() local
64 std::bind(fp, _1)(i); in test_void_1() local
69 void (*fp)(int) = f_void_1; in test_void_1() local
71 std::bind(fp, i)(); in test_void_1() local
92 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local
94 std::bind(fp, _1)(a); in test_void_1() local
98 std::bind(fp, _1)(ap); in test_void_1() local
103 void (A_void_1::*fp)() = &A_void_1::mem1; in test_void_1() local
105 std::bind(fp, a)(); in test_void_1() local
109 std::bind(fp, ap)(); in test_void_1() local
[all …]
/ndk/tests/build/issue66668-libc++-std-feof/jni/
Dissue66668-libc++-std-feof.cpp5 std::FILE* fp; in main() local
8 std::clearerr(fp); in main()
9 int c = std::feof(fp); in main()
10 int d = std::ferror(fp); in main()
/ndk/sources/host-tools/nawk-20071023/
Drun.c219 struct Frame *fp = NULL; /* frame pointer. bottom level unused */ variable
236 fp = frame = (struct Frame *) calloc(nframe += 100, sizeof(struct Frame)); in call()
243 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) ); in call()
250 dprintf( ("evaluate args[%d], fp=%d:\n", i, (int) (fp-frame)) ); in call()
267 fp++; /* now ok to up frame */ in call()
268 if (fp >= frame + nframe) { in call()
269 int dfp = fp - frame; /* old index */ in call()
274 fp = frame + dfp; in call()
276 fp->fcncell = fcn; in call()
277 fp->args = args; in call()
[all …]
Dmaketab.c118 FILE *fp; in main() local
135 fp = stdin; in main()
137 if ((fp = fopen(input, "rt")) == NULL) { in main()
144 while (fgets(buf, sizeof buf, fp) != NULL) { in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.global.templates/
Duse_facet.pass.cpp42 const my_facet* fp = 0; in main() local
47 fp = &f; in main()
48 assert(fp->im_alive); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
Dcwchar.pass.cpp37 ::FILE* fp = 0; in main()
45 static_assert((std::is_same<decltype(std::fwprintf(fp, L"")), int>::value), ""); in main()
46 static_assert((std::is_same<decltype(std::fwscanf(fp, L"")), int>::value), ""); in main()
49 static_assert((std::is_same<decltype(std::vfwprintf(fp, L"", va)), int>::value), ""); in main()
50 static_assert((std::is_same<decltype(std::vfwscanf(fp, L"", va)), int>::value), ""); in main()
57 static_assert((std::is_same<decltype(std::fgetwc(fp)), std::wint_t>::value), ""); in main()
58 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), ""); in main()
59 static_assert((std::is_same<decltype(std::fputwc(L' ', fp)), std::wint_t>::value), ""); in main()
60 static_assert((std::is_same<decltype(std::fputws(L"", fp)), int>::value), ""); in main()
61 static_assert((std::is_same<decltype(std::fwide(fp, 0)), int>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.const/
Dtype_ctor.pass.cpp36 void (*fp)() = f; in main() local
37 test(fp); in main()
Dcopy_ctor.pass.cpp37 void (*fp)() = f; in main() local
38 test(fp); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.access/
Dconversion.pass.cpp37 void (*fp)() = f; in main() local
38 test(fp); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.assign/
Dcopy_assign.pass.cpp49 void (*fp)() = f; in main() local
50 test(fp); in main()
/ndk/tests/build/ssax-instructions/jni/
Dtest.S40 sadd16 r3, r7, fp
41 ssub16 lr, r7, fp
46 sasx fp, r1, lr
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dchrono.cpp106 static FP fp = init_steady_clock(); in now() local
107 return time_point(duration(fp())); in now()

12