Searched refs:filename (Results 1 - 25 of 30) sorted by relevance

12

/bionic/tests/
H A DTemporaryFile.h42 unlink(filename);
47 fd = open(filename, O_RDWR);
51 char filename[1024]; member in class:GenericTemporaryFile
57 snprintf(filename, sizeof(filename), "%s/TemporaryFile-XXXXXX", tmp_dir);
58 fd = mk_fn(filename);
H A Dsys_time_test.cpp28 ASSERT_EQ(0, utimes(tf.filename, nullptr));
37 ASSERT_EQ(-1, utimes(tf.filename, tv));
40 ASSERT_EQ(-1, utimes(tf.filename, tv));
46 ASSERT_EQ(-1, utimes(tf.filename, tv));
49 ASSERT_EQ(-1, utimes(tf.filename, tv));
82 ASSERT_EQ(0, futimesat(AT_FDCWD, tf.filename, nullptr));
91 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv));
94 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv));
100 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv));
103 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, t
[all...]
H A Dsys_stat_test.cpp72 // Racy but probably sufficient way to get a suitable filename.
76 path = tf.filename;
141 static void AssertFileModeEquals(mode_t expected_mode, const char* filename) { argument
143 ASSERT_EQ(0, stat(filename, &sb));
151 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.filename, 0751, 0));
152 AssertFileModeEquals(0751, tf.filename);
158 int result = fchmodat(AT_FDCWD, tf.filename, 0751, AT_SYMLINK_NOFOLLOW);
163 AssertFileModeEquals(0751, tf.filename);
176 snprintf(linkname, sizeof(linkname), "%s.link", tf.filename);
178 ASSERT_EQ(0, symlink(tf.filename, linknam
[all...]
H A Dsys_xattr_test.cpp27 ASSERT_EQ(0, setxattr(tf.filename, "user.foo", "bar", 4, 0));
28 ASSERT_EQ(4, getxattr(tf.filename, "user.foo", buf, sizeof(buf)));
31 ASSERT_EQ(4, lgetxattr(tf.filename, "user.foo", buf, sizeof(buf)));
70 int fd = open(tf.filename, O_PATH);
88 int fd = open(tf.filename, O_PATH);
117 int fd = open(tf.filename, O_PATH);
H A Dunistd_test.cpp169 ASSERT_EQ(0, truncate(tf.filename, 123));
172 ASSERT_EQ(0, stat(tf.filename, &sb));
179 ASSERT_EQ(0, truncate64(tf.filename, 123));
182 ASSERT_EQ(0, stat(tf.filename, &sb));
192 ASSERT_EQ(0, stat(tf.filename, &sb));
202 ASSERT_EQ(0, stat(tf.filename, &sb));
392 ASSERT_NE(-1, fd = open(tf.filename, O_RDONLY));
396 ASSERT_NE(-1, fd = open(tf.filename, O_RDWR));
665 rc = pathconf(tf.filename, _PC_ALLOC_SIZE_MIN);
667 rc = pathconf(tf.filename, _PC_REC_MIN_XFER_SIZ
[all...]
H A Dutils.h118 std::string filename = android::base::StringPrintf("/proc/%d/stat", tid.load()); local
123 ASSERT_TRUE(android::base::ReadFileToString(filename, &content));
/bionic/libc/kernel/uapi/linux/
H A Dbcm933xx_hcs.h32 char filename[64]; member in struct:bcm_hcs
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dbcm933xx_hcs.h32 char filename[64]; member in struct:bcm_hcs
/bionic/tools/versioner/src/
H A DSymbolDatabase.cpp38 std::unordered_set<std::string> getSymbols(const std::string& filename) { argument
40 auto binaryOrError = createBinary(filename);
42 errx(1, "failed to open library at %s: %s\n", filename.c_str(),
48 errx(1, "failed to parse %s as ELF", filename.c_str());
55 errx(1, "failed to get symbol name for symbol in %s: %s", filename.c_str(),
69 const std::string& filename, bool required) {
79 "/arch-" + to_string(type.arch) + "/symbols/" + filename;
90 errx(1, "failed to find platform file '%s' for %s", filename.c_str(), to_string(type).c_str());
116 errx(1, "internal error: unexpected platform filename '%s'\n", file.str().c_str());
68 readPlatformFile(const CompilationType& type, llvm::StringRef platform_dir, const std::string& filename, bool required) argument
H A DDriver.h40 const std::string& filename);
H A DSymbolDatabase.h27 std::unordered_set<std::string> getSymbols(const std::string& filename);
H A DDeclarationDatabase.h113 std::string filename; member in struct:Location
118 return std::tie(filename, start, end) < std::tie(rhs.filename, rhs.start, rhs.end);
147 fprintf(out, "@ %s:%u:%u", StripPrefix(location.filename, base_path).str().c_str(),
H A DDriver.cpp174 static std::vector<const char*> getCC1Command(CompilationType type, const std::string& filename) { argument
185 result.push_back(filename.c_str());
230 const std::string& filename) {
232 std::vector<const char*> cc1_flags = getCC1Command(type, filename);
228 compileHeader(llvm::IntrusiveRefCntPtr<clang::vfs::FileSystem> vfs, HeaderDatabase* header_database, CompilationType type, const std::string& filename) argument
H A DDeclarationDatabase.cpp127 .filename = start_loc.getFilename(),
202 location.filename.c_str(), location.start.line, location.start.column);
350 ss << loc.filename << ":" << loc.start.line << ":" << loc.start.column;
/bionic/libdl/
H A Dlibdl.c27 void* __loader_dlopen(const char* filename, int flags, const void* caller_addr);
63 void* __loader_android_dlopen_ext(const char* filename,
101 void* dlopen(const char* filename, int flag) { argument
103 return __loader_dlopen(filename, flag, caller_addr);
146 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo) { argument
148 return __loader_android_dlopen_ext(filename, flag, extinfo, caller_addr);
/bionic/libc/include/android/
H A Ddlext.h56 * The filename parameter is still used to identify the library.
68 * reason multiple ELF files share the same filename (because the already-loaded
132 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo)
/bionic/libc/include/
H A Ddlfcn.h53 void* dlopen(const char* filename, int flag);
/bionic/libc/include/sys/
H A D_system_properties.h61 ** Map the property area from the specified filename. This
64 int __system_property_set_filename(const char *filename);
/bionic/tools/versioner/current/android/
H A Ddlext.h56 * The filename parameter is still used to identify the library.
68 * reason multiple ELF files share the same filename (because the already-loaded
132 void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo)
/bionic/tools/versioner/current/
H A Ddlfcn.h53 void* dlopen(const char* filename, int flag);
/bionic/tools/versioner/current/sys/
H A D_system_properties.h61 ** Map the property area from the specified filename. This
64 int __system_property_set_filename(const char *filename);
/bionic/linker/
H A Ddlfcn.cpp81 static void* dlopen_ext(const char* filename, argument
87 void* result = do_dlopen(filename, flags, extinfo, caller_addr);
95 void* __android_dlopen_ext(const char* filename, argument
99 return dlopen_ext(filename, flags, extinfo, caller_addr);
102 void* __dlopen(const char* filename, int flags, const void* caller_addr) { argument
103 return dlopen_ext(filename, flags, nullptr, caller_addr);
/bionic/libc/bionic/
H A Dsystem_properties.cpp211 static prop_area* map_prop_area_rw(const char* filename, const char* context, argument
216 const int fd = open(filename, O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444);
231 "fsetxattr failed to set context (%s) for \"%s\"", context, filename);
296 static prop_area* map_prop_area(const char* filename) { argument
297 int fd = open(filename, O_CLOEXEC | O_NOFOLLOW | O_RDONLY);
798 * allocation of memory for each filename.
808 char filename[PROP_FILENAME_MAX];
809 int len = __libc_format_buffer(filename, sizeof(filename), "%s/%s", property_filename, context_);
816 pa_ = map_prop_area_rw(filename, context
[all...]
/bionic/libc/tools/
H A Dgenerate-NOTICE.py115 for filename in sorted(filenames):
116 path = os.path.join(directory, filename)
H A Dgensyscalls.py607 filename = "arch-%s/syscalls/%s.S" % (arch, syscall["func"])
608 logging.info(">>> generating " + filename)
609 fp = create_file(filename)
612 self.new_stubs.append(filename)

Completed in 797 milliseconds

12