/external/clang/test/Sema/ |
2007-10-01-BuildArrayRef.c | 16 const struct foo *fp; local 17 fp = &sfoo; 18 fp[0].bar = 1; // expected-error {{read-only variable is not assignable}}
|
/external/compiler-rt/test/msan/ |
getline.cc | 23 FILE *fp = fopen(argv[1], "r"); local 24 assert(fp); 28 int n = getline(&line, &len, fp); 32 n = getline(&line, &len, fp); 37 fclose(fp);
|
/external/icu/icu4c/source/i18n/ |
udateintervalformat.cpp | 87 FieldPosition fp; local 89 fp.setField(position->field); 93 ((const DateIntervalFormat*)formatter)->format( &interval, res, fp, *status ); 98 position->beginIndex = fp.getBeginIndex(); 99 position->endIndex = fp.getEndIndex();
|
ufieldpositer.cpp | 44 FieldPosition fp; local 46 if (((FieldPositionIterator*)fpositer)->next(fp)) { 47 field = fp.getField(); 49 *beginIndex = fp.getBeginIndex(); 52 *endIndex = fp.getEndIndex();
|
/external/libcxx/test/std/depr/depr.c.headers/ |
stdio_h.pass.cpp | 87 FILE* fp = 0; local 97 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); 98 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); 100 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); 101 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); 102 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); 103 static_assert((std::is_same<decltype(fprintf(fp," ")), int>::value), ""); 104 static_assert((std::is_same<decltype(fscanf(fp,"")), int>::value), ""); 110 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); 111 static_assert((std::is_same<decltype(vfscanf(fp,"",va)), int>::value), "") [all...] |
/external/libcxx/test/std/input.output/file.streams/c.files/ |
cstdio.pass.cpp | 86 std::FILE* fp = 0; local 91 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); 92 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); 93 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); 94 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); 95 static_assert((std::is_same<decltype(std::fprintf(fp," ")), int>::value), ""); 96 static_assert((std::is_same<decltype(std::fscanf(fp,"")), int>::value), ""); 100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); 101 static_assert((std::is_same<decltype(std::vfscanf(fp,"",va)), int>::value), ""); 105 static_assert((std::is_same<decltype(std::fgetc(fp)), int>::value), "") [all...] |
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.fail.cpp | 33 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);
|
/external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.fail.cpp | 36 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);
|
/external/ltrace/testsuite/ltrace.minor/ |
count-record.c | 21 FILE* fp; local 26 fp = fopen ("system_calls.tmp", "w"); 27 if (fp == NULL) 33 fwrite(s, sizeof(s), 1, fp); 34 fseek (fp, 0, SEEK_CUR); 35 fread(buffer, sizeof(s), 1, fp); 36 fclose(fp);
|
/external/valgrind/memcheck/tests/ |
fprw.c | 12 float* fp = malloc(sizeof(float)); local 17 *fp += ( f > 0.1 ? 20.0 : 21.0 ); 19 free(fp); 21 *fp += 30.0;
|
/external/vboot_reference/host/lib21/ |
host_fw_preamble.c | 27 struct vb2_fw_preamble fp = { local 31 .c.fixed_size = sizeof(fp), 46 hash_next = fp.hash_offset = fp.c.fixed_size + fp.c.desc_size; 51 fp.sig_offset = hash_next; 56 fp.c.total_size = fp.sig_offset + sig_size; 59 buf = calloc(fp.c.total_size, 1); 63 memcpy(buf, &fp, sizeof(fp)) [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
audio_loop.cc | 23 FILE* fp = fopen(file_name.c_str(), "rb"); local 24 if (!fp) return false; 29 max_loop_length_samples, fp); 30 fclose(fp);
|
/frameworks/wilhelm/tools/mphtogen/ |
mphtogen.c | 27 FILE *fp = fopen(filename, "w"); local 28 assert(NULL != fp); 29 fputs("// This file is automagically generated by mphtogen, do not edit\n", fp); 34 fputc(',', fp); 38 fputc('\n', fp); 41 fprintf(fp, "%3d", MPH_to[i]); 45 fputc('\n', fp); 47 fclose(fp);
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
zfm20.cxx | 38 upm::ZFM20* fp = new upm::ZFM20(0); local 41 if (!fp->setupTty(B57600)) 48 fp->setPassword(ZFM20_DEFAULT_PASSWORD); 49 fp->setAddress(ZFM20_DEFAULT_ADDRESS); 53 if (fp->verifyPassword()) 64 cout << "Total stored templates: " << fp->getNumTemplates() << endl; 70 while (fp->generateImage() == ZFM20::ERR_NO_FINGER) 77 if ((rv = fp->image2Tz(1)) != ZFM20::ERR_OK) 91 if ((rv = fp->search(1, &id, &score)) != ZFM20::ERR_OK) 110 delete fp; [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
ZFM20Sample.java | 40 upm_zfm20.ZFM20 fp = new upm_zfm20.ZFM20(0); local 43 if (!fp.setupTty()) { 49 fp.setPassword(upm_zfm20.javaupm_zfm20.ZFM20_DEFAULT_PASSWORD); 50 fp.setAddress(upm_zfm20.javaupm_zfm20.ZFM20_DEFAULT_ADDRESS); 54 if (fp.verifyPassword()) { 62 System.out.println("Total stored templates: " + fp.getNumTemplates()); 66 while (fp.generateImage() == upm_zfm20.ZFM20.ZFM20_ERRORS_T.ERR_NO_FINGER.swigValue()); 70 short rv = fp.image2Tz(1); 81 rv = fp.search(1, id, score);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
stdio_h.pass.cpp | 85 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,"",va)), int>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/ |
cstdio.pass.cpp | 86 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,"",va)), int>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/ |
invoke.fail.cpp | 33 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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.invoke/ |
invoke.fail.cpp | 36 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);
|
/ndk/tests/build/issue66668-libc++-std-feof/jni/ |
issue66668-libc++-std-feof.cpp | 5 std::FILE* fp; local 8 std::clearerr(fp); 9 int c = std::feof(fp); 10 int d = std::ferror(fp);
|
/system/extras/perfprofd/quipper/ |
perf_utils.h | 31 // Given a valid open file handle |fp|, returns the size of the file. 32 int64_t GetFileSizeFromHandle(FILE* fp); 43 FILE* fp = fopen(filename.c_str(), "wb"); local 44 if (!fp) 52 fp), 55 fclose(fp);
|
/toolchain/binutils/binutils-2.25/libiberty/ |
fopen_unlocked.c | 85 unlock_1 (FILE *const fp ATTRIBUTE_UNUSED) 88 if (fp) 89 __fsetlocking (fp, FSETLOCKING_BYCALLER); 94 unlock_stream (FILE *fp) 96 unlock_1 (fp); 110 FILE *const fp = fopen (path, mode); local 111 unlock_1 (fp); 112 return fp; 118 FILE *const fp = fdopen (fildes, mode); local 119 unlock_1 (fp); 126 FILE *const fp = freopen (path, mode, stream); local [all...] |
/bionic/libc/bionic/ |
malloc_info.cpp | 25 explicit Elem(FILE* fp, const char* name, 27 this->fp = fp; 30 fprintf(fp, "<%s", name); 34 fputc(' ', fp); 35 vfprintf(fp, attr_fmt, args); 38 fputc('>', fp); 42 fprintf(fp, "</%s>", name); 48 vfprintf(fp, fmt, args); 53 FILE* fp; member in class:Elem [all...] |
/external/bison/lib/ |
fopen.c | 78 FILE *fp; local 97 fp = fdopen (fd, mode); 98 if (fp == NULL) 104 return fp;
|
/external/blktrace/btt/ |
aqd.c | 28 FILE *fp; member in struct:aqd_info 44 if ((ap->fp = my_fopen(oname, "w")) == NULL) { 48 add_file(ap->fp, oname); 64 fprintf(ap->fp, "%lf %d\n%lf %d\n", ts, ap->na, ts, ap->na + 1); 75 fprintf(ap->fp, "%lf %d\n%lf %d\n",
|