Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 50) 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()
Dfindfp.c47 #define std(flags, file) \ argument
48 {0,0,0,flags,file,{0,0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \
49 {(unsigned char *)(__sFext+file), 0},NULL,0,{0,0,0},{0},{0,0},0,0}
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
87 f = open(file, oflags, DEFFILEMODE); in freopen()
93 f = open(file, oflags, DEFFILEMODE); in freopen()
/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()
Dsha1hash.c295 FILE* file; in main() local
298 file = stdin; in main()
301 if (!(file = fopen(argv[1], "rb"))) { in main()
307 while (!feof(file)) { /* note: what if ferror(file) */ in main()
308 i = fread(buffer, 1, 16384, file); in main()
312 fclose(file); in main()
/bionic/libc/kernel/common/linux/
Dandroid_pmem.h44 int (*mmap) (struct file *, struct vm_area_struct *);
45 int (*open) (struct inode *, struct file *);
46 ssize_t (*read) (struct file *, char __user *, size_t, long long *);
47 int (*release) (struct inode *, struct file *);
48 long (*ioctl) (struct file *, unsigned int, unsigned long);
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/netbsd/resolv/
Dres_debug.c146 fp_resstat(const res_state statp, FILE *file) { in fp_resstat() argument
149 fprintf(file, ";; res options:"); in fp_resstat()
152 fprintf(file, " %s", p_option(mask)); in fp_resstat()
153 putc('\n', file); in fp_resstat()
160 int pflag, FILE *file) in do_section() argument
177 fprintf(file, ";; memory allocation failure\n"); in do_section()
186 fprintf(file, ";; ns_parserr: %s\n", in do_section()
190 putc('\n', file); in do_section()
194 fprintf(file, ";; %s SECTION:\n", in do_section()
197 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.c161 fp_query(const u_char *msg, FILE *file) { in fp_query() argument
162 fp_nquery(msg, PACKETSZ, file); in fp_query()
166 fp_nquery(const u_char *msg, int len, FILE *file) { in fp_nquery() argument
170 res_pquery(&_nres, msg, len, file); in fp_nquery()
/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.py496 " ".join((bionic_root + file) for file in edits))
497 for file in edits:
498 shutil.copyfile( bionic_temp + file, bionic_root + file )
/bionic/libc/kernel/tools/
Dupdate_all.py46 for file in files:
47 base, ext = os.path.splitext(file)
49 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/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
/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