/bionic/linker/ |
H A D | linker_namespaces.cpp | 36 bool android_namespace_t::is_accessible(const std::string& file) { argument 42 if (file_is_in_dir(file, dir)) { 48 if (file_is_in_dir(file, dir)) { 54 if (file_is_under_dir(file, dir)) {
|
H A D | linker_utils.cpp | 119 bool file_is_in_dir(const std::string& file, const std::string& dir) { argument 121 const char* haystack = file.c_str(); 129 bool file_is_under_dir(const std::string& file, const std::string& dir) { argument 131 const char* haystack = file.c_str(); 147 TRACE("Trying zip file open from path \"%s\" -> normalized \"%s\"", input_path, path); 150 // of the zip file on disk and the subdirectory to search within it. 220 DL_WARN("Warning: cannot stat file \"%s\": %s", resolved_path, strerror(errno));
|
H A D | linker_config.cpp | 35 #include <android-base/file.h> 62 * kEndOfFile: reached end of file. 150 static std::string create_error_msg(const char* file, argument 154 async_safe_format_buffer(buf, sizeof(buf), "%s:%zu: error: %s", file, lineno, msg.c_str()); 166 *error_msg = std::string("error reading file \"") + 405 *error_msg = std::string("error reading version file \"") +
|
/bionic/libc/bionic/ |
H A D | assert.cpp | 35 void __assert(const char* file, int line, const char* failed_expression) { argument 36 async_safe_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 async_safe_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression);
|
H A D | error.cpp | 76 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/tools/relocation_packer/src/ |
H A D | main.cc | 3 // 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 android::base::unique_fd 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/tools/versioner/src/ |
H A D | SymbolDatabase.cpp | 5 * you may not use this file except in compliance with the License. 67 // backwards to find each desired file. 90 errx(1, "failed to find platform file '%s' for %s", filename.c_str(), to_string(type).c_str()); 108 llvm::StringRef file = pair.first; local 111 if (file.endswith(".functions.txt")) { 113 } else if (file.endswith(".variables.txt")) { 116 errx(1, "internal error: unexpected platform filename '%s'\n", file.str().c_str()); 119 std::string platform_file = readPlatformFile(type, platform_dir, file, required); 134 printf("duplicated symbol '%s' in '%s'\n", symbol_name.str().c_str(), file.str().c_str());
|
/bionic/libc/dns/resolv/ |
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_debug.c | 137 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 D | res_send.c | 1311 Aerror(const res_state statp, FILE *file, const char *string, int error, argument 1326 fprintf(file, "res_send: %s ([%s].%s): %s\n", 1333 Perror(const res_state statp, FILE *file, const char *string, int error) { argument 1337 fprintf(file, "res_send: %s: %s\n",
|
/bionic/libc/stdio/ |
H A D | stdio.cpp | 65 #define std(flags, file) \ 66 {0,0,0,flags,file,{0,0},0,__sF+file,__sclose,__sread,nullptr,__swrite, \ 67 {(unsigned char *)(__sFext+file), 0},nullptr,0,{0},{0},{0,0},0,0} 167 fp->_file = -1; /* no file */ 207 FILE* fopen(const char* file, const char* mode) { argument 212 int fd = open(file, oflags, DEFFILEMODE); 227 // the file extends, this will fail, but there is not much 265 // Re-direct an existing, open (probably) file to some other file 269 freopen(const char* file, const char* mode, FILE* fp) argument [all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
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::__anon1144
|