[go: nahoru, domu]

Searched refs:file (Results 1 - 25 of 43) sorted by relevance

12

/bionic/libc/bionic/
H A Dassert.cpp35 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);
H A Derror.cpp76 void error_at_line(int status, int error, const char* file, unsigned int line, const char* fmt, ...) { argument
80 if (last_line == line && last_file != NULL && strcmp(last_file, file) == 0) {
83 last_file = file;
88 fprintf(stderr, "%s:%d: ", file, line);
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dremove.c40 remove(const char *file) argument
44 if (lstat(file, &st) < 0)
47 return (rmdir(file));
48 return (unlink(file));
H A Dflags.c35 #include <sys/file.h>
/bionic/libc/kernel/tools/
H A Dgenerate_uapi_headers.sh6 # 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 Dupdate_all.py60 for file in files:
61 _, ext = os.path.splitext(file)
63 rel_path = os.path.normpath(os.path.join(root, file))
/bionic/libc/dns/resolv/
H A Dres_debug.h26 # define Aerror(statp, file, string, error, address) /*empty*/
27 # define Perror(statp, file, string, error) /*empty*/
H A Dres_debug.c137 fp_resstat(const res_state statp, FILE *file) { argument
140 fprintf(file, ";; res options:");
143 fprintf(file, " %s", p_option(mask));
144 putc('\n', file);
151 int pflag, FILE *file)
168 fprintf(file, ";; memory allocation failure\n");
177 fprintf(file, ";; ns_parserr: %s\n",
181 putc('\n', file);
185 fprintf(file, ";; %s SECTION:\n",
188 fprintf(file, ";;\
149 do_section(const res_state statp, ns_msg *handle, ns_sect section, int pflag, FILE *file) argument
279 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) argument
351 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) argument
365 p_cdname(const u_char *cp, const u_char *msg, FILE *file) argument
394 p_fqname(const u_char *cp, const u_char *msg, FILE *file) argument
[all...]
H A Dres_data.c156 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);
/bionic/linker/
H A Dlinker_utils.h5 * you may not use this file except in compliance with the License.
24 bool file_is_in_dir(const std::string& file, const std::string& dir);
25 bool file_is_under_dir(const std::string& file, const std::string& dir);
H A Dlinker_utils.cpp5 * you may not use this file except in compliance with the License.
64 bool file_is_in_dir(const std::string& file, const std::string& dir) { argument
66 const char* haystack = file.c_str();
74 bool file_is_under_dir(const std::string& file, const std::string& dir) { argument
76 const char* haystack = file.c_str();
92 TRACE("Trying zip file open from path \"%s\" -> normalized \"%s\"", input_path, path);
95 // of the zip file on disk and the subdirectory to search within it.
/bionic/tools/relocation_packer/src/
H A Dmain.cc3 // found in the LICENSE file.
39 "Usage: %s [-u] [-v] [-p] file\n\n"
42 " -v, --verbose trace object file modifications (for debugging)\n"
96 const char* file = argv[argc - 1]; local
97 ScopedFd fd(open(file, O_RDWR));
99 LOG(ERROR) << file << ": " << strerror(errno);
110 LOG(ERROR) << file << ": failed to read elf header:" << strerror(errno);
115 LOG(ERROR) << file << ": lseek to 0 failed:" << strerror(errno);
140 LOG(ERROR) << file << ": unknown ELFCLASS: " << e_ident[EI_CLASS];
145 LOG(ERROR) << file << "
[all...]
/bionic/libc/upstream-netbsd/lib/libc/isc/
H A Dev_streams.c20 /* 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 Deventlib_p.h20 /*! \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::__anon1030
/bionic/libc/tools/
H A Dgensyscalls.py558 # Scan a Linux kernel asm/unistd.h file containing __NR_* constants
572 # TODO: generate a separate file for each architecture, like glibc's bits/syscall.h.
617 for file in os.listdir(os.path.join(bionic_libc_root, rel_path)):
618 if file.endswith(".S"):
619 self.old_stubs.append(os.path.join(rel_path, file))
640 # new file, git add it
641 logging.info("new file: " + stub)
646 logging.info("changed file: " + stub)
652 logging.info("deleted file: " + stub)
661 for file i
[all...]
/bionic/tools/bionicbb/
H A Dgmail.py5 # you may not use this file except in compliance with the License.
33 from oauth2client.file import Storage
/bionic/libc/stdio/
H A Dstdio.cpp55 #define std(flags, file) \
56 {0,0,0,flags,file,{0,0},0,__sF+file,__sclose,__sread,nullptr,__swrite, \
57 {(unsigned char *)(__sFext+file), 0},nullptr,0,{0},{0},{0,0},0,0}
157 fp->_file = -1; /* no file */
197 FILE* fopen(const char* file, const char* mode) { argument
202 int fd = open(file, oflags, DEFFILEMODE);
217 // the file extends, this will fail, but there is not much
255 // Re-direct an existing, open (probably) file to some other file
259 freopen(const char* file, const char* mode, FILE* fp) argument
[all...]
/bionic/libm/x86/
H A De_hypot.S201 # Start file scope ASM
203 # End file scope ASM
H A De_exp.S259 # Start file scope ASM
261 # End file scope ASM
H A De_log.S233 # Start file scope ASM
235 # End file scope ASM
H A De_log10.S244 # Start file scope ASM
246 # End file scope ASM
H A Ds_atan.S247 # Start file scope ASM
249 # End file scope ASM
H A Ds_cbrt.S227 # Start file scope ASM
229 # End file scope ASM
H A Ds_cos.S316 # Start file scope ASM
318 # End file scope ASM
/bionic/tests/
H A Dutils.h5 * you may not use this file except in compliance with the License.
30 #include <android-base/file.h>

Completed in 1477 milliseconds

12