Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 17 of 17) sorted by relevance

/bionic/tests/
DTemporaryFile.h40 unlink(filename); in ~GenericTemporaryFile()
45 fd = open(filename, O_RDWR); in reopen()
49 char filename[1024]; variable
53 snprintf(filename, sizeof(filename), "%s/TemporaryFile-XXXXXX", tmp_dir); in init()
54 fd = mk_fn(filename); in init()
Dunistd_test.cpp143 ASSERT_EQ(0, truncate(tf.filename, 123)); in TEST()
146 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST()
153 ASSERT_EQ(0, truncate64(tf.filename, 123)); in TEST()
156 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST()
166 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST()
176 ASSERT_EQ(0, stat(tf.filename, &sb)); in TEST()
364 ASSERT_NE(-1, fd = open(tf.filename, O_RDONLY)); in TestFsyncFunction()
368 ASSERT_NE(-1, fd = open(tf.filename, O_RDWR)); in TestFsyncFunction()
Dsys_time_test.cpp48 ASSERT_EQ(0, utimes(tf.filename, NULL)); in TEST()
Dsys_stat_test.cpp64 path = tf.filename; in TEST()
Dpthread_test.cpp344 char* filename = NULL; in TEST() local
345 asprintf(&filename, "/proc/self/task/%d/comm", gettid()); in TEST()
347 bool has_comm = (stat(filename, &sb) != -1); in TEST()
348 free(filename); in TEST()
Dstdio_test.cpp646 fp = fopen(tf.filename, "r"); in TEST()
/bionic/libc/tools/zoneinfo/
Dupdate-tzdata.py72 def FtpRetrieveFile(ftp, filename): argument
73 ftp.retrbinary('RETR %s' % filename, open(filename, 'wb').write)
194 for filename in ftp.nlst():
195 if filename.startswith('tzdata20') and filename.endswith('.tar.gz'):
196 tzdata_filenames.append(filename)
211 for filename in tzdata_filenames:
212 if filename > current_filename:
213 print 'Found new tzdata: %s' % filename
216 FtpRetrieveFileAndSignature(ftp, filename)
218 HttpRetrieveFileAndSignature(http, filename)
[all …]
/bionic/libc/bionic/
Dlfs64_support.cpp20 int mkstemp64(char* filename) { in mkstemp64() argument
24 return mkstemp(filename); in mkstemp64()
Dsystem_properties.cpp578 int __system_property_set_filename(const char *filename) in __system_property_set_filename() argument
580 size_t len = strlen(filename); in __system_property_set_filename()
584 strcpy(property_filename, filename); in __system_property_set_filename()
/bionic/libdl/
Dlibdl.c25 void* dlopen(const char* filename __unused, int flag __unused) { return 0; } in dlopen()
40 void* android_dlopen_ext(const char* filename __unused, int flag __unused, const android_dlextinfo*… in android_dlopen_ext()
/bionic/linker/
Ddlfcn.cpp68 static void* dlopen_ext(const char* filename, int flags, const android_dlextinfo* extinfo) { in dlopen_ext() argument
70 soinfo* result = do_dlopen(filename, flags, extinfo); in dlopen_ext()
78 void* android_dlopen_ext(const char* filename, int flags, const android_dlextinfo* extinfo) { in android_dlopen_ext() argument
79 return dlopen_ext(filename, flags, extinfo); in android_dlopen_ext()
82 void* dlopen(const char* filename, int flags) { in dlopen() argument
83 return dlopen_ext(filename, flags, NULL); in dlopen()
/bionic/libc/kernel/uapi/linux/
Dbcm933xx_hcs.h32 char filename[64]; member
/bionic/libc/include/android/
Ddlext.h73 extern void* android_dlopen_ext(const char* filename, int flag, const android_dlextinfo* extinfo);
/bionic/libc/include/
Ddlfcn.h46 extern void* dlopen(const char* filename, int flag);
/bionic/libc/include/sys/
D_system_properties.h91 int __system_property_set_filename(const char *filename);
/bionic/libc/tools/
Dgenerate-NOTICE.py115 for filename in sorted(filenames):
116 path = os.path.join(directory, filename)
Dgensyscalls.py468 filename = "arch-%s/syscalls/%s.S" % (arch, syscall["func"])
469 D2(">>> generating " + filename)
470 fp = create_file(filename)
473 self.new_stubs.append(filename)