Home
last modified time | relevance | path

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

12

/bionic/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()
Dfopen.c43 fopen(const char *file, const char *mode) in fopen() argument
53 if ((f = open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
Dflockfile.c56 FILE* file; member
108 if (node == NULL || node->file == f) in lock_table_lookup()
134 lock->file = fp; in flockfile()
205 lock->file = NULL; in __fremovelock()
Dfreopen.c49 freopen(const char *file, const char *mode, FILE *fp) in freopen() argument
89 f = open(file, oflags, DEFFILEMODE); in freopen()
95 f = open(file, oflags, DEFFILEMODE); in freopen()
Dfindfp.c48 #define std(flags, file) \ argument
49 {0,0,0,flags,file,{0,0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \
50 {(unsigned char *)(__sFext+file), 0},NULL,0,{0,0,0},{0},{0,0},0,0}
/bionic/libc/stdlib/
Dassert.c37 __assert(const char *file, int line, const char *failedexpr) in __assert() argument
41 failedexpr, file, line); in __assert()
47 __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2() argument
51 failedexpr, file, line, func); in __assert2()
/bionic/libc/netbsd/resolv/
Dres_debug.c147 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() argument
150 fprintf(file, ";; res options:"); in fp_resstat()
153 fprintf(file, " %s", p_option(mask)); in fp_resstat()
154 putc('\n', file); in fp_resstat()
161 int pflag, FILE *file) in do_section() argument
178 fprintf(file, ";; memory allocation failure\n"); in do_section()
187 fprintf(file, ";; ns_parserr: %s\n", in do_section()
191 putc('\n', file); in do_section()
195 fprintf(file, ";; %s SECTION:\n", in do_section()
198 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.c162 fp_query(const u_char *msg, FILE *file) { in fp_query() argument
163 fp_nquery(msg, PACKETSZ, file); in fp_query()
167 fp_nquery(const u_char *msg, int len, FILE *file) { in fp_nquery() argument
171 res_pquery(&_nres, msg, len, file); in fp_nquery()
/bionic/libc/kernel/common/linux/
Dfile.h33 struct file ** fd;
51 struct file * fd_array[NR_OPEN_DEFAULT];
Dproc_fs.h30 typedef int (write_proc_t)(struct file *file, const char __user *buffer,
Drelay.h70 struct file *filp);
73 struct file *filp);
Dnfs_xdr.h548 int (*file_open) (struct inode *, struct file *);
549 int (*file_release) (struct inode *, struct file *);
550 int (*lock)(struct file *, int, struct file_lock *);
/bionic/libc/tools/
Dbionic_utils.py68 file = path + "/" + target_file
69 D("probing "+file)
71 if os.path.isfile(file):
73 return file
83 file = path + target_file
84 D("probing "+file)
86 if os.path.isfile(file):
88 return file
102 file = find_file_from_upwards(None, "SYSCALLS.TXT")
103 if file:
[all …]
Dgensyscalls.py645 for file in edits:
646 shutil.copyfile( bionic_temp + file, bionic_root + file )
648 " ".join((bionic_root + file) for file in edits))
/bionic/libc/kernel/tools/
Dupdate_all.py52 for file in files:
53 base, ext = os.path.splitext(file)
55 sources.append( "%s/%s" % (root,file) )
Dutils.py62 file = target_file
64 file = path + "/" + target_file
66 if os.path.isfile(file):
68 return file
76 file = find_file_from_upwards(None, "SYSCALLS.TXT")
77 if file:
78 return os.path.dirname(file)
/bionic/libc/zoneinfo/
DAndroid.mk19 …$(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.dat,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.dat…
22 …$(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.idx,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo.idx…
25 …$(eval $(call copy-one-file,$(LOCAL_PATH)/zoneinfo.version,$(HOST_OUT)/usr/share/zoneinfo/zoneinfo…
/bionic/libc/netbsd/isc/
Dev_streams.c73 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) in evWrite()
107 if (evSelectFD(opaqueCtx, fd, EV_READ, readable, new, &new->file) < 0) in evRead()
196 if (old->file.opaque) in evCancelRW()
197 evDeselectFD(opaqueCtx, old->file); in evCancelRW()
257 evDeselectFD(opaqueCtx, str->file); in done()
258 str->file.opaque = NULL; in done()
Deventlib_p.h89 evFileID file; member
132 evFileID file; member
175 struct { evFile *this; int eventmask; } file; member
/bionic/libc/kernel/common/linux/mtd/
Dblktrans.h20 struct file;
/bionic/linker/
DREADME.TXT21 the file:
33 from the file.
35 - 'soslim' is used to find symbols in an executable ELF file
58 that must be called when the file is loaded.
73 must be called when the file is unloaded or the process
/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.
/bionic/libc/
DJamfile1 # This file is used to build the Bionic library with the Jam build
66 # simply a file path, i.e. get rid of . or .. when possible
227 # Compile a given object file from a source
340 # skip C source file if corresponding assembler exists
406 # Arranges the proper dependencies when the file _source_ includes the files

12