/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); 39 void __assert2(const char* file, int line, const char* function, const char* failed_expression) { argument 40 __libc_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
|
/bionic/libc/upstream-openbsd/lib/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 | freopen.c | 45 * Re-direct an existing, open (probably) file to some other file. 46 * ANSI is written such that the original file gets closed if at 50 freopen(const char *file, const char *mode, FILE *fp) argument 68 * Remember whether the stream was open to begin with, and which file 71 * should work. This is unnecessary if it was not a Unix file. 89 /* Get a new descriptor to refer to the new file. */ 90 f = open(file, oflags, DEFFILEMODE); 96 f = open(file, oflags, DEFFILEMODE); 132 * If reopening something that was open before on a real file, tr [all...] |
/bionic/libc/kernel/tools/ |
H A D | generate_uapi_headers.sh | 6 # you may not use this file except in compliance with the License. 68 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}" [all...] |
H A D | update_all.py | 55 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) )
|
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 296 """a class used to parse the Linux kernel .config file""" 322 f = file(path, "r")
|
H A D | cpp.py | 150 self.eof = False # end of file reached ? 170 """mark the position of the current token in the source file""" 450 def __init__(self,file,lineno=1): 452 self.file = file 456 line = self.file.readline() 1114 the cpp parser class below will transform an input source file into a list of Block 1166 corresponding file name (with brackets or double-qoutes). None otherwise""" 1513 def insertDisclaimer(self,disclaimer="/* auto-generated file, DO NOT EDIT */"): 1515 auto-generated file, et [all...] |
/bionic/libc/dns/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 | 145 fp_resstat(const res_state statp, FILE *file) { argument 148 fprintf(file, ";; res options:"); 151 fprintf(file, " %s", p_option(mask)); 152 putc('\n', file); 159 int pflag, FILE *file) 176 fprintf(file, ";; memory allocation failure\n"); 185 fprintf(file, ";; ns_parserr: %s\n", 189 putc('\n', file); 193 fprintf(file, ";; %s SECTION:\n", 196 fprintf(file, ";;\ 157 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument 287 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) argument 359 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) argument 373 p_cdname(const u_char *cp, const u_char *msg, FILE *file) argument 402 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 | 1272 Aerror(const res_state statp, FILE *file, const char *string, int error, argument 1287 fprintf(file, "res_send: %s ([%s].%s): %s\n", 1294 Perror(const res_state statp, FILE *file, const char *string, int error) { argument 1298 fprintf(file, "res_send: %s: %s\n",
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
H A D | fopen.c | 52 fopen(const char * __restrict file, const char * __restrict mode) argument 62 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { 68 * If we get a valid file descriptor that is greater than 70 * invalid file descriptor. Handle this case by failing the 90 * the file extends, this will fail, but there is not much
|
H A D | flags.c | 40 #include <sys/file.h> 96 /* 'x' means exclusive (fail if the file exists) */
|
/bionic/libc/stdio/ |
H A D | findfp.c | 55 #define std(flags, file) \ 56 {0,0,0,flags,file,{0},0,__sF+file,__sclose,__sread,__sseek,__swrite, \ 57 {(unsigned char *)(__sFext+file), 0},NULL,0,{0},{0},{0},0,0} 143 fp->_file = -1; /* no file */ 154 * file. This chicanery is done so that programs that do not use stdio
|
/bionic/libc/upstream-netbsd/lib/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::__anon908
|
/bionic/libc/tools/ |
H A D | gensyscalls.py | 424 # Scan a Linux kernel asm/unistd.h file containing __NR_* constants 438 # TODO: generate a separate file for each architecture, like glibc's bits/syscall.h. 505 # new file, git add it 506 D("new file: " + stub) 511 D("changed file: " + stub) 517 D("deleted file: " + stub) 526 for file in edits: 527 shutil.copyfile(bionic_temp + file, bionic_libc_root + file) 528 commands.getoutput("git add " + " ".join((bionic_libc_root + file) fo [all...] |
/bionic/libc/ |
H A D | Android.mk | 532 # the appropriate BoardConfig.mk file. 673 # These files are built with the freebsd-compat.h header file 703 # These files are built with the netbsd-compat.h header file 734 # These files are built with the openbsd-compat.h header file 772 # These files are built with the openbsd-compat.h header file
|