Searched defs:fp (Results 1 - 22 of 22) sorted by relevance

/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/func.wrap/func.wrap.func/func.wrap.func.inv/
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.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...]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/
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.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...]
/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/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/cxx-stl/llvm-libc++/libcxx/src/
H A Dchrono.cpp106 static FP fp = init_steady_clock(); variable
107 return time_point(duration(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/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...]
/ndk/sources/third_party/googletest/googletest/test/
H A Dgtest-filepath_test.cc596 FilePath fp; local
597 EXPECT_EQ("", fp.string());
601 const FilePath fp("spicy");
602 EXPECT_EQ("spicy", fp.string());
604 const FilePath fp_copy(fp);
609 const FilePath fp(std::string("cider"));
610 EXPECT_EQ("cider", fp.string());
/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 Dsed.h47 FILE *fp; member in struct:output
180 FILE *fp; member in union:sed_cmd::__anon217
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/host-tools/make-3.81/
H A Dgetloadavg.c624 FILE *fp;
626 fp = fopen (NETBSD_LDAV_FILE, "r");
627 if (fp == NULL)
629 count = fscanf (fp, "%lu %lu %lu %lu\n",
632 (void) fclose (fp);
622 FILE *fp; local
H A Dfile.c1016 struct file **fp = (struct file **) files.ht_vec;
1017 struct file **end = &fp[files.ht_size];
1024 for (; fp < end; ++fp)
1025 if (!HASH_VACANT (*fp) && (*fp)->is_target)
1027 struct file *f = *fp;
1009 struct file **fp = (struct file **) files.ht_vec; local
H A Dread.c55 FILE *fp; /* File, or NULL if this is an internal buffer. */ member in struct:ebuffer
56 struct floc floc; /* Info on the file in fp (if any). */
341 ebuf.fp = fopen (filename, "r");
348 if (ebuf.fp == 0 && (flags & RM_INCLUDED) && *filename != '/')
354 ebuf.fp = fopen (included, "r");
355 if (ebuf.fp)
386 if (ebuf.fp == 0)
411 fclose (ebuf.fp);
431 ebuf.fp = NULL;
2562 if (!ebuf->fp)
[all...]
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1781 inline int FClose(FILE* fp) { return fclose(fp); } argument

Completed in 217 milliseconds