/bionic/libc/bionic/ |
H A D | assert.cpp | 35 void __assert(const char* file, int line, const char* failed_expression) { argument 36 __libc_fatal("%s:%d: assertion \"%s\" failed", file, line, failed_expression); 40 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument 41 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
|
/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 | 45 fopen(const char *file, const char *mode) argument 55 if ((f = open(file, oflags, DEFFILEMODE)) < 0) { 71 * 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 | 46 * Re-direct an existing, open (probably) file to some other file. 47 * ANSI is written such that the original file gets closed if at 51 freopen(const char *file, const char *mode, FILE *fp) argument 69 * Remember whether the stream was open to begin with, and which file 72 * should work. This is unnecessary if it was not a Unix file. 90 /* Get a new descriptor to refer to the new file. */ 91 f = open(file, oflags, DEFFILEMODE); 97 f = open(file, oflags, DEFFILEMODE); 133 * 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/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 | 156 fp_query(const u_char *msg, FILE *file) { argument 157 fp_nquery(msg, PACKETSZ, file); 161 fp_nquery(const u_char *msg, int len, FILE *file) { argument 165 res_pquery(&_nres, msg, len, file);
|
H A D | res_send.c | 1252 Aerror(const res_state statp, FILE *file, const char *string, int error, argument 1269 fprintf(file, "res_send: %s ([%s].%s): %s\n", 1276 Perror(const res_state statp, FILE *file, const char *string, int error) { argument 1280 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/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 | 314 # Scan a Linux kernel asm/unistd.h file containing __NR_* constants 328 # TODO: generate a separate file for each architecture, like glibc's bits/syscall.h. 428 # new file, git add it 429 D( "new file: " + stub) 434 D( "changed file: " + stub) 440 D( "deleted file: " + stub) 449 for file in edits: 450 shutil.copyfile( bionic_temp + file, bionic_root + file ) 452 " ".join((bionic_root + file) fo [all...] |
/bionic/libc/kernel/tools/ |
H A D | update_all.py | 47 for file in files: 48 base, ext = os.path.splitext(file) 50 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 109 # this is the name of another file, include it and parse it 147 """update a file on disk, only if its content has changed""" 154 D("update_file: cannot read existing file '%s'" % path) 158 D2("update_file: no change to file '%s'" % path ) 196 """edit a destination file [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/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/upstream-netbsd/libc/isc/ |
H A D | ev_streams.c | 20 /* ev_streams.c - implement asynch stream file IO for the eventlib 79 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) 113 if (evSelectFD(opaqueCtx, fd, EV_READ, readable, new, &new->file) < 0) 202 if (old->file.opaque) 203 evDeselectFD(opaqueCtx, old->file); 263 evDeselectFD(opaqueCtx, str->file); 264 str->file.opaque = NULL; 319 /*! \file */
|
H A D | eventlib_p.h | 20 /*! \file 84 #define EV_CONN_SELECTED 0x0002 /*%< evSelectFD(conn->file). */ 86 evFileID file; member in struct:evConn 129 evFileID file; member in struct:evStream 172 struct { evFile *this; int eventmask; } file; member in union:evEvent_p::__anon679
|
/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;
|
/bionic/libc/ |
H A D | Android.mk | 433 ## the first source file for each unique $(1). 436 ## $(2): Cpu specific source file. 485 # the appropriate BoardConfig.mk file. 693 # These files are built with the freebsd-compat.h header file 716 # These files are built with the netbsd-compat.h header file
|