Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 25 of 98) sorted by relevance

1234

/ndk/sources/cxx-stl/stlport/src/
D_stdio_file.h41 inline int _FILE_fd(const FILE *__f) { in _FILE_fd()
57 return (int)::_fileno((FILE*)__f); in _FILE_fd()
62 inline int _FILE_fd(const FILE *__f) { return __f->__file; }
66 inline int _FILE_fd(const FILE *__f) { return (int) __f->__pad[2]; }
72 inline int _FILE_fd(const FILE *__f) { return fileno(__CONST_CAST(FILE*, __f)); }
76 inline int _FILE_fd(const FILE *__f) { return __f->_fileno; }
80 inline int _FILE_fd(const FILE *__f) { return __f->fd; }
91 inline int _FILE_fd(const FILE *__f) { return ::fileno(__CONST_CAST(FILE*, __f)); }
93 inline int _FILE_fd(const FILE *__f) { return ::_fileno(__CONST_CAST(FILE*, __f)); }
98 inline int _FILE_fd(const FILE *__f) { return __f->_handle; }
[all …]
Dstdio_streambuf.h53 stdio_streambuf_base(FILE*);
70 FILE* _M_file;
75 stdio_istreambuf(FILE* __f) : stdio_streambuf_base(__f) {} in stdio_istreambuf()
87 stdio_ostreambuf(FILE* __f) : stdio_streambuf_base(__f) {} in stdio_ostreambuf()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/
Dtestit85 for FILE in $(ls ${TEST_PREFIX}*fail.cpp); do
86 if $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS -o ./$TEST_EXE > /dev/null 2>&1
89 echo "$FILE should not compile"
99 for FILE in $(ls ${TEST_PREFIX}*pass.cpp); do
102 echo "Running test: " $FILE
104 …if $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS $(test $1 = no || echo $THREAD_FLAGS) -o .…
111 echo "`pwd`/$FILE failed at run time"
112 …echo "Compile line was:" $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS $(test $1 = no || ec…
117 echo "`pwd`/$FILE failed to compile"
118 …echo "Compile line was:" $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS $(test $1 = no || ec…
[all …]
Dtestit_android305 local FILE=$1
306 local FILE_BASENAME=$(basename "$FILE")
307 run2 $ADB push $FILE $TARGET_PATH/$FILE_BASENAME 2>/dev/null
409 for FILE in $(ls *.fail.cpp | tr ' ' '\n' | grep -v EQ | sort); do
410 if run $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS -o $TEST_EXE > /dev/null 2>&1
413 echo "$FILE should not compile"
426 for FILE in $(ls *.dat | tr ' ' '\n' | grep -v EQ | sort); do
428 echo "Pushing data: " $FILE
430 adb_push $FILE
432 echo "Failed to push file $FILE"
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcstdio41 FILE
47 FILE* tmpfile(void);
49 int fclose(FILE* stream);
50 int fflush(FILE* stream);
51 FILE* fopen(const char* restrict filename, const char* restrict mode);
52 FILE* freopen(const char* restrict filename, const char * restrict mode,
53 FILE * restrict stream);
54 void setbuf(FILE* restrict stream, char* restrict buf);
55 int setvbuf(FILE* restrict stream, char* restrict buf, int mode, size_t size);
56 int fprintf(FILE* restrict stream, const char* restrict format, ...);
[all …]
Dcwchar34 int fwprintf(FILE* restrict stream, const wchar_t* restrict format, ...);
35 int fwscanf(FILE* restrict stream, const wchar_t* restrict format, ...);
38 int vfwprintf(FILE* restrict stream, const wchar_t* restrict format, va_list arg);
39 int vfwscanf(FILE* restrict stream, const wchar_t* restrict format, va_list arg); // C99
46 wint_t fgetwc(FILE* stream);
47 wchar_t* fgetws(wchar_t* restrict s, int n, FILE* restrict stream);
48 wint_t fputwc(wchar_t c, FILE* stream);
49 int fputws(const wchar_t* restrict s, FILE* restrict stream);
50 int fwide(FILE* stream, int mode);
51 wint_t getwc(FILE* stream);
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Dtestit42 for FILE in $(ls *.fail.cpp); do
43 if $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS -o ./$TEST_EXE > /dev/null 2>&1
46 echo "$FILE should not compile"
56 for FILE in $(ls *.pass.cpp); do
57 if $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS -o ./$TEST_EXE
64 echo "$FILE failed at run time"
69 echo "$FILE failed to compile"
97 for FILE in *
99 if [ -d "$FILE" ];
101 cd $FILE
Dtestit_android318 local FILE=$1
319 local FILE_BASENAME=$(basename "$FILE")
320 run2 $ADB push $FILE $TARGET_PATH/$FILE_BASENAME 2>/dev/null
416 for FILE in $(ls ${TEST_PREFIX}*fail.cpp | tr ' ' '\n' | grep -v EQ | sort); do
417 if run $CC $OPTIONS $HEADER_INCLUDE $SOURCE_LIB $FILE $LIBS -o $TEST_EXE > /dev/null 2>&1
420 echo "$FILE should not compile"
433 for FILE in $(ls *.dat | tr ' ' '\n' | grep -v EQ | sort); do
435 echo "Pushing data: " $FILE
437 adb_push $FILE
439 echo "Failed to push file $FILE"
[all …]
/ndk/build/tools/
Dfind-case-duplicates.sh31 for FILE in $ORG_FILES; do
34 UPFILE=`echo $FILE | tr [a-z] [A-Z]`
36 NEW_FILES="$NEW_FILES $FILE"
39 echo "$FILE"
41 PREVFILE=$FILE
/ndk/tests/build/import-install/
Dbuild.sh30 FILE=$DIR/$FILENAME
31 if [ ! -f "$FILE" ]; then
32 MISSING="$MISSING $FILE"
40 for FILE in $MISSING; do echo " $FILE"; done
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0007-Fix-libc-compiler-error-when-calling-std-feof.patch21 @@ -114,12 +114,42 @@ inline _LIBCPP_INLINE_VISIBILITY int __libcpp_getc(FILE* __stream) {return ge…
22 inline _LIBCPP_INLINE_VISIBILITY int getc(FILE* __stream) {return __libcpp_getc(__stream);}
32 …inline _LIBCPP_INLINE_VISIBILITY int __libcpp_putc(int __c, FILE* __stream) {return putc(__c, __st…
34 …inline _LIBCPP_INLINE_VISIBILITY int putc(int __c, FILE* __stream) {return __libcpp_putc(__c, __st…
44 +inline _LIBCPP_INLINE_VISIBILITY void __libcpp_clearerr(FILE* __stream) {return clearerr(__stream)…
46 +inline _LIBCPP_INLINE_VISIBILITY void clearerr(FILE* __stream) {return __libcpp_clearerr(__stream)…
50 +inline _LIBCPP_INLINE_VISIBILITY int __libcpp_feof(FILE* __stream) {return feof(__stream);}
52 +inline _LIBCPP_INLINE_VISIBILITY int feof(FILE* __stream) {return __libcpp_feof(__stream);}
56 +inline _LIBCPP_INLINE_VISIBILITY int __libcpp_ferror(FILE* __stream) {return ferror(__stream);}
58 +inline _LIBCPP_INLINE_VISIBILITY int ferror(FILE* __stream) {return __libcpp_ferror(__stream);}
[all …]
/ndk/sources/android/support/include/
Dwchar.h157 int fwide (FILE *, int);
161 int fwprintf (FILE *__restrict__, const wchar_t *__restrict__, ...);
165 int vfwprintf (FILE *__restrict__, const wchar_t *__restrict__, va_list);
169 int fwscanf (FILE *__restrict__, const wchar_t *__restrict__, ...);
173 int vfwscanf (FILE *__restrict__, const wchar_t *__restrict__, va_list);
176 wint_t fgetwc (FILE *);
177 wint_t getwc (FILE *);
180 wint_t fputwc (wchar_t, FILE *);
181 wint_t putwc (wchar_t, FILE *);
184 wchar_t *fgetws (wchar_t *__restrict__, int, FILE *__restrict__);
[all …]
Dstdio.h56 int vfwscanf(FILE* __restrict__, const wchar_t* __restrict__, va_list);
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/lib/
Dbuildit84 for FILE in ../src/*.cpp; do
85 $CXX -c -g -O3 $RC_CFLAGS $EXTRA_FLAGS -I../include $OPTIONS $FILE
89 for FILE in ../src/support/win32/*.cpp; do
90 $CXX -c -g -Os $RC_CFLAGS $EXTRA_FLAGS -I../include $OPTIONS $FILE
/ndk/tests/build/mips-fp4/
Dbuild.sh11 local FILE=$2
13 grep -q -w -F -e $INST $FILE
15 echo "$INST expected in file $FILE"
/ndk/sources/android/support/src/stdio/
Dstdio_impl.h16 FILE* file;
23 void fake_file_init_file(FakeFILE* file, FILE* f) __HIDDEN__;
50 #define FILE FakeFILE macro
/ndk/sources/host-tools/nawk-20071023/
Dproto.h126 extern int readrec(char **buf, int *bufsize, FILE *inf);
191 extern FILE *redirect(int, Node *);
192 extern FILE *openfile(int, const char *);
193 extern const char *filename(FILE *);
205 extern FILE *popen(const char *, const char *);
206 extern int pclose(FILE *);
/ndk/sources/host-tools/toolbox/
Dcmp_win.c57 FILE *f1 = _tfopen(argv[1], L"rb"); in main()
62 FILE *f2 = _tfopen(argv[2], L"rb"); in main()
/ndk/sources/android/support/src/wcstox/
Dintscan.c31 #undef FILE
32 #define FILE struct fake_file_t macro
54 unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long lim) in __intscan()
/ndk/sources/host-tools/ndk-stack/
Dndk-stack-parser.h36 NdkCrashParser* CreateNdkCrashParser(FILE* out_handle, const char* sym_root);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstdio_h.pass.cpp85 FILE* fp = 0; in main()
92 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
96 static_assert((std::is_same<decltype(fopen("", "")), FILE*>::value), ""); in main()
97 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); in main()
/ndk/tests/build/issue66668-libc++-std-feof/jni/
Dissue66668-libc++-std-feof.cpp5 std::FILE* fp; in main()
/ndk/tests/device/test-gnustl-full/unit/cppunit/
Dfile_reporter.h52 explicit FileReporter(FILE* stream, bool doMonitor = false):
142 FILE* _file;
/ndk/tests/device/test-stlport/unit/cppunit/
Dfile_reporter.h52 explicit FileReporter(FILE* stream, bool doMonitor = false):
142 FILE* _file;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/
Dcstdio.pass.cpp86 std::FILE* fp = 0; in main()
93 static_assert((std::is_same<decltype(std::tmpfile()), std::FILE*>::value), ""); in main()
97 static_assert((std::is_same<decltype(std::fopen("", "")), std::FILE*>::value), ""); in main()
98 static_assert((std::is_same<decltype(std::freopen("", "", fp)), std::FILE*>::value), ""); in main()

1234