Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 99) sorted by relevance

1234

/system/core/base/
Dfile_test.cpp29 TEST(file, ReadFileToString_ENOENT) { in TEST() argument
37 TEST(file, ReadFileToString_WriteStringToFile) { in TEST() argument
50 TEST(file, ReadFileToString_WriteStringToFile_symlink) { in TEST() argument
69 TEST(file, WriteStringToFile2) { in TEST() argument
87 TEST(file, WriteStringToFd) { in TEST() argument
99 TEST(file, WriteFully) { in TEST() argument
118 TEST(file, RemoveFileIfExist) { in TEST() argument
132 TEST(file, Readlink) { in TEST() argument
162 TEST(file, Realpath) { in TEST() argument
194 TEST(file, GetExecutableDirectory) { in TEST() argument
[all …]
Dlogging.cpp208 void StderrLogger(LogId, LogSeverity severity, const char* tag, const char* file, unsigned int line, in StderrLogger()
245 const char* file, unsigned int line, in operator ()()
344 static const char* GetFileBasename(const char* file) { in GetFileBasename()
364 LogMessageData(const char* file, unsigned int line, LogId id, LogSeverity severity, in LogMessageData()
415 LogMessage::LogMessage(const char* file, unsigned int line, LogId id, LogSeverity severity, in LogMessage()
419 LogMessage::LogMessage(const char* file, unsigned int line, LogId id, LogSeverity severity, in LogMessage()
466 void LogMessage::LogLine(const char* file, unsigned int line, LogId id, LogSeverity severity, in LogLine()
479 void LogMessage::LogLine(const char* file, unsigned int line, LogId id, LogSeverity severity, in LogLine()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DFileUtils.java95 public static void makeWorldReadable(File file) throws IOException { in makeWorldReadable()
108 public static void ensureFileDoesNotExist(File file) throws IOException { in ensureFileDoesNotExist()
117 public static void doDelete(File file) throws IOException { in doDelete()
123 public static boolean isSymlink(File file) throws IOException { in isSymlink()
153 File file = new File(rootDir, fileName); in filesExist() local
165 public static byte[] readBytes(File file, int maxBytes) throws IOException { in readBytes()
185 public static void createEmptyFile(File file) throws IOException { in createEmptyFile()
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java51 String file = createFile(""); in parseEmpty() local
58 String file = createFile( in parseIgnoresCommentsAndEmptyLines() local
72 String file = createFile( in parse() local
93 String file = createFile("GB\tStuff"); in parseMalformedFile() local
102 String file = createFile( in createCountryToOlsonIdsMap() local
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dgrep.h84 struct file { struct
93 char *file; argument
/system/timezone/distro/core/src/test/com/android/timezone/distro/
DFileUtilsTest.java243 File file = createFile(contents); in testReadBytes() local
257 File file = new File(dir, "one"); in testCreateEmptyFile() local
279 File file = new File(dir, "one"); in testCreateEmptyFile_truncatesExisting() local
293 File file = File.createTempFile(getClass().getSimpleName(), ".txt"); in createFile() local
300 private File createSymlink(File file, File symlinkDir, String symlinkName) throws Exception { in createSymlink()
360 File file = new File(dir, name); in createRegularFile() local
/system/extras/mmap-perf/
DmmapPerf.cpp115 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomRead() local
125 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomWrite() local
135 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearRead() local
146 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearWrite() local
/system/update_engine/payload_generator/
Dext2_filesystem_unittest.cc87 for (const auto& file : files) { in TEST_F() local
115 for (const auto& file : files) { in TEST_F() local
157 FilesystemInterface::File file; in TEST_F() local
Dsquashfs_filesystem.cc148 File file; in Init() local
192 for (const auto& file : files_) { in Init() local
203 File file; in Init() local
243 for (auto& file : files_) { in Init() local
Draw_filesystem.cc46 File file; in GetFiles() local
Ddeflate_utils.cc61 const FilesystemInterface::File& file) { in IsSquashfsImage()
79 bool RealignSplittedFiles(const FilesystemInterface::File& file, in RealignSplittedFiles()
258 for (auto& file : tmp_files) { in PreprocessParitionFiles() local
Dfake_filesystem.cc43 File file; in AddFile() local
/system/netd/libnetdutils/
DUniqueFile.cpp25 void UniqueFileDtor::operator()(FILE* file) { in operator ()()
/system/vold/
DLoop.cpp156 int Loop::createImageFile(const char *file, unsigned long numSectors) { in createImageFile()
172 int Loop::resizeImageFile(const char *file, unsigned long numSectors) { in resizeImageFile()
/system/core/debuggerd/libdebuggerd/test/
Dopen_files_list_test.cpp41 for (auto& file : list) { in TEST() local
/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py181 def _read_build_id(self, file): argument
197 def _file_has_symbol_table(self, file): argument
/system/extras/cpustats/
Dcpustats.c191 FILE *file; in get_cpu_count_from_file() local
216 FILE *file; in get_freq_scales_count() local
238 FILE *file; in read_stats() local
267 FILE *file; in read_freq_stats() local
/system/core/init/
Dueventd_test.cpp48 auto make_thread_function = [&function, &barrier](const auto& file, const auto& parameter) { in WriteFromMultipleThreads()
60 const auto& file = pair.first; in WriteFromMultipleThreads() local
145 const char* file; in TEST() member
/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp43 FILE *file; in PopulateCpu() local
67 FILE *file; in ReadIo() local
92 FILE *file; in ReadStatForName() local
113 FILE *file; in ReadStat() local
147 FILE *file; in ReadCmdline() local
/system/extras/tests/cpueater/
Ddaemonize.c36 char *file = 0; in main() local
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DCountryZonesFileSupport.java35 public static CountryZonesFile.CountryZones parseCountryZonesTextFile(String file) in parseCountryZonesTextFile()
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/
DTimeZoneDistroBuilder.java168 private static byte[] readFileAsByteArray(File file) throws IOException { in readFileAsByteArray()
183 private String readFileAsUtf8(File file) throws IOException { in readFileAsUtf8()
/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp65 for (auto& file : files) { in dump_open_files_list() local
/system/libhidl/base/
DHidlInternal.cpp161 struct dirent *file; in registerInstrumentationCallbacks() local
217 bool HidlInstrumentor::isInstrumentationLib(const dirent *file) { in isInstrumentationLib()
/system/update_engine/common/
Dutils_unittest.cc60 base::FilePath file; in TEST() local
76 base::FilePath file; in TEST() local
206 test_utils::ScopedTempFile file; in GetFileFormatTester() local
509 base::FilePath file; in TEST() local

1234