/external/blktrace/btt/ |
latency.c | 31 FILE *fp = NULL; local 41 if ((fp = my_fopen(oname, "w")) == NULL) 44 add_file(fp, strdup(oname)); 47 return fp;
|
/external/clang/test/CXX/except/except.handle/ |
p16.cpp | 18 float *fp = 0; local 19 ptr = fp; // expected-error{{assigning to 'int *' from incompatible type 'float *'}}
|
/external/clang/test/SemaCXX/ |
incomplete-call.cpp | 21 Func fp; local 22 fp(); // expected-error {{calling function with incomplete return type 'A'}}
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
open_memstream.cc | 32 FILE *fp = open_memstream(&buf, &buf_len); local 33 fprintf(fp, "hello"); 35 fflush(fp); 45 fprintf(fp, "%s", p); 49 fflush(fp); 56 fclose(fp);
|
/external/e2fsprogs/lib/e2p/ |
pf.c | 60 struct flags_name *fp; local 63 for (fp = flags_array; fp->flag != 0; fp++) { 64 if (flags & fp->flag) { 70 fputs(fp->long_name, f); 72 fputs(fp->short_name, f);
|
/external/elfutils/tests/ |
arsymtest.c | 31 FILE *fp; local 48 fp = fopen (argv[2], "w"); 49 if (fp == NULL) 114 fprintf (fp, "%s in %s\n", arsym[narsym].as_name, arhdr->ar_name); 133 fclose (fp);
|
/external/icu/icu4c/source/tools/tzcode/ |
scheck.c | 14 register const char * fp; local 26 fp = format; 36 while ((*tp++ = c = *fp++) != '\0') { 39 if (is_digit(*fp)) { 40 char const *f = fp; 46 fp = f; 51 if (*fp == '*') 52 ++fp; 53 if ((*tp++ = *fp++) == '\0')
|
/external/iproute2/tc/ |
tc_monitor.c | 42 FILE *fp = (FILE*)arg; local 45 print_timestamp(fp); 66 fprintf(fp, "Unknown message: length %08d type %08x flags %08x\n", 94 FILE *fp = fopen(file, "r"); local 97 if (fp == NULL) { 102 ret = rtnl_from_file(fp, accept_tcmsg, stdout); 103 fclose(fp);
|
/external/libcxx/test/std/depr/depr.c.headers/ |
wchar_h.pass.cpp | 41 ::FILE* fp = 0; local 49 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), ""); 50 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), ""); 53 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), ""); 54 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), ""); 61 static_assert((std::is_same<decltype(fgetwc(fp)), wint_t>::value), ""); 62 static_assert((std::is_same<decltype(fgetws(ws, 0, fp)), wchar_t*>::value), ""); 63 static_assert((std::is_same<decltype(fputwc(L' ', fp)), wint_t>::value), ""); 64 static_assert((std::is_same<decltype(fputws(L"", fp)), int>::value), ""); 65 static_assert((std::is_same<decltype(fwide(fp, 0)), int>::value), "") [all...] |
/external/libcxx/test/std/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/libcxx/test/std/strings/c.strings/ |
cwchar.pass.cpp | 37 ::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), ""); 53 static_assert((std::is_same<decltype(std::fgetwc(fp)), std::wint_t>::value), ""); 54 static_assert((std::is_same<decltype(std::fgetws(ws, 0, fp)), wchar_t*>::value), ""); 55 static_assert((std::is_same<decltype(std::fputwc(L' ', fp)), std::wint_t>::value), ""); 56 static_assert((std::is_same<decltype(std::fputws(L"", fp)), int>::value), ""); 57 static_assert((std::is_same<decltype(std::fwide(fp, 0)), int>::value), "") [all...] |
/external/libdivsufsort/examples/ |
suftest.c | 70 FILE *fp; local 87 if(fopen_s(&fp, fname = argv[1], "rb") != 0) { 89 if((fp = LFS_FOPEN(fname = argv[1], "rb")) == NULL) { 103 fp = stdin; 109 if(LFS_FSEEK(fp, 0, SEEK_END) == 0) { 110 n = LFS_FTELL(fp); 111 rewind(fp); 136 if(fread(T, sizeof(sauchar_t), (size_t)n, fp) != (size_t)n) { 139 (ferror(fp) || !feof(fp)) ? "Cannot read from" : "Unexpected EOF in" [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_state.c | 48 const struct gl_fragment_program *fp = brw->fragment_program; local 57 (fp->Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_COLOR) || 58 fp->Base.OutputsWritten & BITFIELD64_BIT(FRAG_RESULT_DATA0 + i)) && 78 const struct gl_fragment_program *fp = brw->fragment_program; local 152 wm->wm5.program_uses_depth = (fp->Base.InputsRead & 154 wm->wm5.program_computes_depth = (fp->Base.OutputsWritten & 164 wm->wm5.program_uses_killpixel = fp->UsesKill || ctx->Color.AlphaEnabled;
|
/external/ppp/pppd/plugins/radius/ |
radattr.c | 69 FILE *fp; local 76 fp = fopen(fname, "w"); 77 if (!fp) { 86 fprintf(fp, "%s %s\n", name, value); 89 fclose(fp);
|
/external/selinux/libselinux/src/ |
get_default_type.c | 8 static int find_default_type(FILE * fp, const char *role, char **type); 12 FILE *fp = NULL; local 14 fp = fopen(selinux_default_type_path(), "r"); 15 if (!fp) 18 if (find_default_type(fp, role, type) < 0) { 19 fclose(fp); 23 fclose(fp); 27 static int find_default_type(FILE * fp, const char *role, char **type) 36 while (!feof_unlocked(fp)) { 37 if (!fgets_unlocked(buf, sizeof buf, fp)) { [all...] |
selinux_check_securetty_context.c | 16 FILE *fp; local 17 fp = fopen(selinux_securetty_types_path(), "r"); 18 if (fp) { 22 while ((len = getline(&line, &line_len, fp)) != -1) { 47 fclose(fp);
|
/external/strace/linux/sparc/ |
arch_sigreturn.c | 4 long fp = sparc_regs.u_regs[U_REG_FP] + sizeof(struct sparc_stackf); local 13 if (umove(tcp, fp, &frame) < 0) { 14 tprintf("{mask=%#lx}", fp);
|
/hardware/akm/AK8975_FS/akmdfs/ |
AKFS_FileIO.c | 47 FILE *fp = NULL; local 50 if ((fp = fopen(path, "r")) == NULL) { 58 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.x) != 2) { 65 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.y) != 2) { 72 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.z) != 2) { 80 if (fclose(fp) != 0) { 106 FILE *fp; local 109 if ((fp = fopen(path, "w")) == NULL) { 115 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.x", prms->mfv_ho.u.x) < 0) { ret = 0; } 116 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.y", prms->mfv_ho.u.y) < 0) { ret = 0; [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
wchar_h.pass.cpp | 37 ::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, 0)), int>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/ |
cwchar.pass.cpp | 37 ::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, 0)), int>::value), "") [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
jsoncheckertest.cpp | 30 FILE *fp = 0;
local 33 fp = fopen(buffer, "rb");
34 if (fp)
38 if (!fp)
41 fseek(fp, 0, SEEK_END);
42 length = (size_t)ftell(fp);
43 fseek(fp, 0, SEEK_SET);
45 size_t readLength = fread(json, 1, length, fp);
47 fclose(fp);
|
/prebuilts/go/darwin-x86/test/ |
complit1.go | 16 func fp() *[3]int func 28 _ = fp()[:]
|
/prebuilts/go/linux-x86/test/ |
complit1.go | 16 func fp() *[3]int func 28 _ = fp()[:]
|
/system/connectivity/shill/ |
file_reader.cc | 44 FILE* fp = file_.get(); local 45 if (!fp) 51 while ((ch = fgetc(fp)) != EOF) {
|