/bionic/libc/stdio/ |
H A D | remove.c | 40 remove(const char *file) argument 44 if (lstat(file, &st) < 0) 47 return (rmdir(file)); 48 return (unlink(file));
|
H A D | fopen.c | 43 fopen(const char *file, const char *mode) argument 53 if ((f = open(file, oflags, DEFFILEMODE)) < 0) { 69 * the file extends, this will fail, but there is not much
|
H A D | flags.c | 35 #include <sys/file.h>
|
H A D | freopen.c | 44 * Re-direct an existing, open (probably) file to some other file. 45 * ANSI is written such that the original file gets closed if at 49 freopen(const char *file, const char *mode, FILE *fp) argument 67 * Remember whether the stream was open to begin with, and which file 70 * should work. This is unnecessary if it was not a Unix file. 88 /* Get a new descriptor to refer to the new file. */ 89 f = open(file, oflags, DEFFILEMODE); 95 f = open(file, oflags, DEFFILEMODE); 131 * If reopening something that was open before on a real file, tr [all...] |
H A D | findfp.c | 48 #define std(flags, file) \ 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} 51 /* p r w flags file _bf z cookie close read seek write 140 fp->_file = -1; /* no file */ 176 * file. This chicanery is done so that programs that do not use stdio
|
/bionic/libc/stdlib/ |
H A D | assert.c | 37 __assert(const char *file, int line, const char *failedexpr) argument 40 "assertion \"%s\" failed: file \"%s\", line %d\n", 41 failedexpr, file, line); 47 __assert2(const char *file, int line, const char *func, const char *failedexpr) argument 50 "assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"\n", 51 failedexpr, file, line, func);
|
/bionic/libc/netbsd/resolv/ |
H A D | res_debug.h | 26 # define Aerror(statp, file, string, error, address) /*empty*/ 27 # define Perror(statp, file, string, error) /*empty*/
|
H A D | res_debug.c | 147 fp_resstat(const res_state statp, FILE *file) { argument 150 fprintf(file, ";; res options:"); 153 fprintf(file, " %s", p_option(mask)); 154 putc('\n', file); 161 int pflag, FILE *file) 178 fprintf(file, ";; memory allocation failure\n"); 187 fprintf(file, ";; ns_parserr: %s\n", 191 putc('\n', file); 195 fprintf(file, ";; %s SECTION:\n", 198 fprintf(file, ";;\ 159 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument 242 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) argument 314 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) argument 328 p_cdname(const u_char *cp, const u_char *msg, FILE *file) argument 359 p_fqname(const u_char *cp, const u_char *msg, FILE *file) argument [all...] |
H A D | res_data.c | 162 fp_query(const u_char *msg, FILE *file) { argument 163 fp_nquery(msg, PACKETSZ, file); 167 fp_nquery(const u_char *msg, int len, FILE *file) { argument 171 res_pquery(&_nres, msg, len, file);
|
H A D | res_send.c | 1226 Aerror(const res_state statp, FILE *file, const char *string, int error, argument 1243 fprintf(file, "res_send: %s ([%s].%s): %s\n", 1250 Perror(const res_state statp, FILE *file, const char *string, int error) { argument 1254 fprintf(file, "res_send: %s: %s\n",
|
/bionic/libc/kernel/common/linux/ |
H A D | file.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 39 struct file ** fd; 57 struct file * fd_array[NR_OPEN_DEFAULT];
|
H A D | proc_fs.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 35 typedef int (write_proc_t)(struct file *file, const char __user *buffer,
|
H A D | relay.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 81 struct file *filp); 84 struct file *filp);
|
H A D | nfs_xdr.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 640 int (*file_open) (struct inode *, struct file *); 641 int (*file_release) (struct inode *, struct file *); 642 int (*lock)(struct file *, int, struct file_lock *);
|
/bionic/libc/zoneinfo/ |
H A D | Android.mk | 19 $(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.version))
|
/bionic/libc/kernel/tools/ |
H A D | update_all.py | 52 for file in files: 53 base, ext = os.path.splitext(file) 55 sources.append( "%s/%s" % (root,file) )
|
H A D | utils.py | 51 """find a file in the current directory or its parents. if 'from_path' is None, 62 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) 102 # parser for the SYSCALLS.TXT file 235 # this is the name of another file, includ [all...] |
H A D | kernel.py | 1 # this file contains definitions related to the Linux kernel itself 107 """parse a given file for Linux headers""" 111 # since tokenizing the file is very slow, we first try a quick grep 297 """a class used to parse the Linux kernel .config file""" 323 f = file(path, "r")
|
/bionic/libc/tools/ |
H A D | bionic_utils.py | 57 """find a file in the current directory or its parents. if 'from_path' is None, 68 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 94 '''find the root of the Bionic source tree. we check for the SYSCALLS.TXT file [all...] |
H A D | gensyscalls.py | 522 # new file, git add it 523 D( "new file: " + stub) 528 D( "changed file: " + stub) 534 D( "deleted file: " + stub) 543 for file in edits: 544 shutil.copyfile( bionic_temp + file, bionic_root + file ) 546 " ".join((bionic_root + file) for file in edits))
|
/bionic/libc/kernel/common/linux/mtd/ |
H A D | blktrans.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 26 struct file;
|
/bionic/libc/netbsd/isc/ |
H A D | ev_streams.c | 20 /* ev_streams.c - implement asynch stream file IO for the eventlib 73 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) 107 if (evSelectFD(opaqueCtx, fd, EV_READ, readable, new, &new->file) < 0) 196 if (old->file.opaque) 197 evDeselectFD(opaqueCtx, old->file); 257 evDeselectFD(opaqueCtx, str->file); 258 str->file.opaque = NULL;
|
H A D | eventlib_p.h | 87 #define EV_CONN_SELECTED 0x0002 /* evSelectFD(conn->file). */ 89 evFileID file; member in struct:evConn 132 evFileID file; member in struct:evStream 175 struct { evFile *this; int eventmask; } file; member in union:evEvent_p::__anon600
|
/bionic/libc/private/ |
H A D | bionic_atomic_arm.h | 5 * you may not use this file except in compliance with the License. 32 * file that use these functions in Thumb-1 mode. 54 # warning Rebuilding this source file in ARM mode is highly recommended for performance!!
|
/bionic/libc/kernel/common/linux/raid/ |
H A D | md_k.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 160 struct file *bitmap_file;
|