/bionic/tests/ |
D | TemporaryFile.h | 42 unlink(filename); in ~GenericTemporaryFile() 47 fd = open(filename, O_RDWR); in reopen() 51 char filename[1024]; variable 57 snprintf(filename, sizeof(filename), "%s/TemporaryFile-XXXXXX", tmp_dir); in init() 58 fd = mk_fn(filename); in init()
|
D | sys_stat_test.cpp | 76 path = tf.filename; in TEST() 141 static void AssertFileModeEquals(mode_t expected_mode, const char* filename) { in AssertFileModeEquals() argument 143 ASSERT_EQ(0, stat(filename, &sb)); in AssertFileModeEquals() 151 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.filename, 0751, 0)); in TEST() 152 AssertFileModeEquals(0751, tf.filename); in TEST() 158 int result = fchmodat(AT_FDCWD, tf.filename, 0751, AT_SYMLINK_NOFOLLOW); in TEST() 163 AssertFileModeEquals(0751, tf.filename); in TEST() 176 snprintf(linkname, sizeof(linkname), "%s.link", tf.filename); in TEST() 178 ASSERT_EQ(0, symlink(tf.filename, linkname)); in TEST() 180 AssertFileModeEquals(0751, tf.filename); in TEST() [all …]
|
D | sys_xattr_test.cpp | 27 ASSERT_EQ(0, setxattr(tf.filename, "user.foo", "bar", 4, 0)); in TEST() 28 ASSERT_EQ(4, getxattr(tf.filename, "user.foo", buf, sizeof(buf))); in TEST() 31 ASSERT_EQ(4, lgetxattr(tf.filename, "user.foo", buf, sizeof(buf))); in TEST() 70 int fd = open(tf.filename, O_PATH); in TEST() 87 int fd = open(tf.filename, O_PATH); in TEST()
|
D | unistd_test.cpp | 142 ASSERT_EQ(0, truncate(tf.filename, 123)); in TEST() 145 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST() 152 ASSERT_EQ(0, truncate64(tf.filename, 123)); in TEST() 155 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST() 165 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST() 175 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST() 368 ASSERT_NE(-1, fd = open(tf.filename, O_RDONLY)); in TestFsyncFunction() 372 ASSERT_NE(-1, fd = open(tf.filename, O_RDWR)); in TestFsyncFunction() 512 rc = pathconf(tf.filename, _PC_ALLOC_SIZE_MIN); in TEST() 514 rc = pathconf(tf.filename, _PC_REC_MIN_XFER_SIZE); in TEST() [all …]
|
D | sys_time_test.cpp | 48 ASSERT_EQ(0, utimes(tf.filename, NULL)); in TEST()
|
D | dlext_test.cpp | 386 ASSERT_NO_FATAL_FAILURE(CreateRelroFile(LIBNAME, tf.filename)); in TEST_F() 397 ASSERT_NO_FATAL_FAILURE(CreateRelroFile(LIBNAME_NORELRO, tf.filename)); in TEST_F() 417 ASSERT_NO_FATAL_FAILURE(CreateRelroFile(LIBNAME, tf.filename)); in TEST_F()
|
D | dlfcn_test.cpp | 190 static const char* filename = "libdlext_test_different_soname.so"; in TEST() local 196 handle = dlopen(filename, RTLD_NOW); in TEST() 205 void* handle_filename = dlopen(filename, RTLD_NOW | RTLD_NOLOAD); in TEST()
|
D | stdio_test.cpp | 718 fp = fopen(tf.filename, "r"); in TEST() 982 FILE* fp = fopen(tf.filename, "w+"); in TEST() 992 fp = fopen(tf.filename, "r"); in TEST()
|
D | pthread_test.cpp | 725 std::string filename = android::base::StringPrintf("/proc/%d/stat", pid.load()); in WaitUntilThreadSleep() local 730 ASSERT_TRUE(android::base::ReadFileToString(filename, &content)); in WaitUntilThreadSleep()
|
/bionic/libc/tools/zoneinfo/ |
D | update-tzdata.py | 78 def FtpRetrieveFile(ftp, filename): argument 79 ftp.retrbinary('RETR %s' % filename, open(filename, 'wb').write) 225 for filename in ftp.nlst(): 226 if filename.startswith('tzdata20') and filename.endswith('.tar.gz'): 227 tzdata_filenames.append(filename) 242 for filename in tzdata_filenames: 243 if filename > current_filename: 244 print 'Found new tzdata: %s' % filename 247 FtpRetrieveFileAndSignature(ftp, filename) 249 HttpRetrieveFileAndSignature(http, filename) [all …]
|
/bionic/libdl/ |
D | libdl.c | 26 void* dlopen(const char* filename __unused, int flag __unused) { return 0; } in dlopen() 41 void* android_dlopen_ext(const char* filename __unused, int flag __unused, const android_dlextinfo*… in android_dlopen_ext()
|
/bionic/linker/ |
D | dlfcn.cpp | 70 static void* dlopen_ext(const char* filename, int flags, const android_dlextinfo* extinfo) { in dlopen_ext() argument 72 soinfo* result = do_dlopen(filename, flags, extinfo); in dlopen_ext() 80 void* android_dlopen_ext(const char* filename, int flags, const android_dlextinfo* extinfo) { in android_dlopen_ext() argument 81 return dlopen_ext(filename, flags, extinfo); in android_dlopen_ext() 84 void* dlopen(const char* filename, int flags) { in dlopen() argument 85 return dlopen_ext(filename, flags, nullptr); in dlopen()
|
/bionic/libc/kernel/uapi/linux/ |
D | bcm933xx_hcs.h | 32 char filename[64]; member
|
/bionic/libc/include/android/ |
D | dlext.h | 103 extern void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo);
|
/bionic/libc/include/ |
D | dlfcn.h | 46 extern void* dlopen(const char* filename, int flag);
|
/bionic/libc/include/sys/ |
D | _system_properties.h | 91 int __system_property_set_filename(const char *filename);
|
/bionic/libc/tools/ |
D | generate-NOTICE.py | 115 for filename in sorted(filenames): 116 path = os.path.join(directory, filename)
|
D | gensyscalls.py | 586 filename = "arch-%s/syscalls/%s.S" % (arch, syscall["func"]) 587 logging.info(">>> generating " + filename) 588 fp = create_file(filename) 591 self.new_stubs.append(filename)
|
/bionic/libc/bionic/ |
D | system_properties.cpp | 586 int __system_property_set_filename(const char *filename) in __system_property_set_filename() argument 588 size_t len = strlen(filename); in __system_property_set_filename() 592 strcpy(property_filename, filename); in __system_property_set_filename()
|