/system/core/base/ |
D | file_test.cpp | 29 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 …]
|
D | logging.cpp | 208 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/ |
D | FileUtils.java | 95 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/ |
D | ZoneTabFileTest.java | 51 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/ |
D | grep.h | 84 struct file { struct 93 char *file; argument
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | FileUtilsTest.java | 243 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/ |
D | mmapPerf.cpp | 115 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/ |
D | ext2_filesystem_unittest.cc | 87 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
|
D | squashfs_filesystem.cc | 148 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
|
D | raw_filesystem.cc | 46 File file; in GetFiles() local
|
D | deflate_utils.cc | 61 const FilesystemInterface::File& file) { in IsSquashfsImage() 79 bool RealignSplittedFiles(const FilesystemInterface::File& file, in RealignSplittedFiles() 258 for (auto& file : tmp_files) { in PreprocessParitionFiles() local
|
D | fake_filesystem.cc | 43 File file; in AddFile() local
|
/system/netd/libnetdutils/ |
D | UniqueFile.cpp | 25 void UniqueFileDtor::operator()(FILE* file) { in operator ()()
|
/system/vold/ |
D | Loop.cpp | 156 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/ |
D | open_files_list_test.cpp | 41 for (auto& file : list) { in TEST() local
|
/system/extras/simpleperf/scripts/ |
D | binary_cache_builder.py | 181 def _read_build_id(self, file): argument 197 def _file_has_symbol_table(self, file): argument
|
/system/extras/cpustats/ |
D | cpustats.c | 191 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/ |
D | ueventd_test.cpp | 48 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/ |
D | bootio_collector.cpp | 43 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/ |
D | daemonize.c | 36 char *file = 0; in main() local
|
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | CountryZonesFileSupport.java | 35 public static CountryZonesFile.CountryZones parseCountryZonesTextFile(String file) in parseCountryZonesTextFile()
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/ |
D | TimeZoneDistroBuilder.java | 168 private static byte[] readFileAsByteArray(File file) throws IOException { in readFileAsByteArray() 183 private String readFileAsUtf8(File file) throws IOException { in readFileAsUtf8()
|
/system/core/debuggerd/libdebuggerd/ |
D | open_files_list.cpp | 65 for (auto& file : files) { in dump_open_files_list() local
|
/system/libhidl/base/ |
D | HidlInternal.cpp | 161 struct dirent *file; in registerInstrumentationCallbacks() local 217 bool HidlInstrumentor::isInstrumentationLib(const dirent *file) { in isInstrumentationLib()
|
/system/update_engine/common/ |
D | utils_unittest.cc | 60 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
|