Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 41) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dremove.c40 remove(const char *file) in remove() argument
44 if (lstat(file, &st) < 0) in remove()
47 return (rmdir(file)); in remove()
48 return (unlink(file)); in remove()
Dfindfp.c51 #define std(flags, file) \ argument
52 {0,0,0,flags,file,{0,0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \
53 {(unsigned char *)(__sFext+file), 0},NULL,0,{0,0,0},{0},{0,0},0,0}
Dfreopen.c50 freopen(const char *file, const char *mode, FILE *fp) in freopen() argument
90 f = open(file, oflags, DEFFILEMODE); in freopen()
96 f = open(file, oflags, DEFFILEMODE); in freopen()
/bionic/libc/bionic/
Dassert.cpp35 void __assert(const char* file, int line, const char* failed_expression) { in __assert() argument
36 __libc_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression); in __assert()
39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { in __assert2() argument
40 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression); in __assert2()
/bionic/libc/kernel/tools/
Dgenerate_uapi_headers.sh68 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
69 if [[ -d "${file}" ]]; then
70 search_dirs+=("${file}")
71 elif [[ -f "${file}" ]] && [[ "${file}" =~ .h$ ]]; then
72 cp ${file} ${tgt_dir}
91 for file in $(ls -d ${src_dir}/* 2> /dev/null); do
92 if [[ -f "${file}" ]] && [[ "${file}" =~ .h$ ]]; then
94 header=$(basename ${file})
96 cp ${file} ${tgt_dir}
Dupdate_all.py55 for file in files:
56 if skip_ion and (file == "ion.h" or file == "ion_test.h"):
57 warning_ion.append(" Skipped file %s/%s" % (root, file))
59 base, ext = os.path.splitext(file)
61 sources.append( "%s/%s" % (root,file) )
/bionic/libc/dns/resolv/
Dres_debug.c145 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() argument
148 fprintf(file, ";; res options:"); in fp_resstat()
151 fprintf(file, " %s", p_option(mask)); in fp_resstat()
152 putc('\n', file); in fp_resstat()
159 int pflag, FILE *file) in do_section() argument
176 fprintf(file, ";; memory allocation failure\n"); in do_section()
185 fprintf(file, ";; ns_parserr: %s\n", in do_section()
189 putc('\n', file); in do_section()
193 fprintf(file, ";; %s SECTION:\n", in do_section()
196 fprintf(file, ";;\t%s, type = %s, class = %s\n", in do_section()
[all …]
Dres_debug.h26 # define Aerror(statp, file, string, error, address) /*empty*/ argument
27 # define Perror(statp, file, string, error) /*empty*/ argument
Dres_data.c156 fp_query(const u_char *msg, FILE *file) { in fp_query() argument
157 fp_nquery(msg, PACKETSZ, file); in fp_query()
161 fp_nquery(const u_char *msg, int len, FILE *file) { in fp_nquery() argument
165 res_pquery(&_nres, msg, len, file); in fp_nquery()
/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dfopen.c52 fopen(const char * __restrict file, const char * __restrict mode) in fopen() argument
62 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
/bionic/libc/upstream-netbsd/
DREADME.txt3 the file.
/bionic/libc/upstream-freebsd/
DREADME.txt3 the file.
/bionic/libc/upstream-openbsd/
DREADME.txt3 the file.
/bionic/
DHACKING.txt25 file has a DT_INTERP entry that says "use the following program to start me".
32 The tests/ directory contains unit tests. Roughly arranged as one file per
33 publicly-exported header file.
50 # because it's architecture-specific. There will be a .mk file in here that
108 # switching the file to C++ and cleaning it up.
119 # to Android's use of a single file (with corresponding index) to contain
134 3. Add constants (and perhaps types) to the appropriate header file.
137 the appropriate POSIX header file in libc/include/ includes the
138 relevant file or files.
139 4. Add function declarations to the appropriate header file.
[all …]
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_streams.c79 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) in evWrite()
113 if (evSelectFD(opaqueCtx, fd, EV_READ, readable, new, &new->file) < 0) in evRead()
202 if (old->file.opaque) in evCancelRW()
203 evDeselectFD(opaqueCtx, old->file); in evCancelRW()
263 evDeselectFD(opaqueCtx, str->file); in done()
264 str->file.opaque = NULL; in done()
Deventlib_p.h86 evFileID file; member
129 evFileID file; member
172 struct { evFile *this; int eventmask; } file; member
/bionic/libc/upstream-dlmalloc/
DREADME.txt3 upstream and then pull down the new version of the file.
/bionic/libc/tools/
Dgensyscalls.py526 for file in edits:
527 shutil.copyfile(bionic_temp + file, bionic_libc_root + file)
528 … commands.getoutput("git add " + " ".join((bionic_libc_root + file) for file in edits))
/bionic/libdl/
DNOTICE4 you may not use this file except in compliance with the License.
/bionic/libstdc++/include/
Dcassert31 * Standard C++ Library wrapper around the C assert.h header file. This file
Dcstdint34 * Standard C++ Library wrapper around the C stdint.h header file.
Dclimits34 * Standard C++ Library wrapper around the C limits.h header file.
Dcsignal34 * Standard C++ Library wrapper around the C signal.h header file.
Dcfloat34 * Standard C++ Library wrapper around the C float.h header file.
/bionic/libc/kernel/
DREADME.TXT39 this will also update the corresponding clean header file if its
40 content has changed. You can also process more than one file with -u.

12