/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 | 188 void StderrLogger(LogId, LogSeverity severity, const char*, const char* file, in StderrLogger() 225 const char* file, unsigned int line, in operator ()() 325 static const char* GetFileBasename(const char* file) { in GetFileBasename() 345 LogMessageData(const char* file, unsigned int line, LogId id, in LogMessageData() 393 LogMessage::LogMessage(const char* file, unsigned int line, LogId id, in LogMessage() 441 void LogMessage::LogLine(const char* file, unsigned int line, LogId id, 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/extras/perfprofd/quipper/base/ |
D | logging.cc | 60 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) in LogMessage() 65 LogMessage::LogMessage(const char* file, int line, std::string* result) in LogMessage() 72 LogMessage::LogMessage(const char* file, int line, LogSeverity severity, in LogMessage()
|
/system/core/libunwindstack/include/unwindstack/ |
D | Maps.h | 91 FileMaps(const std::string& file) : file_(file) {} in FileMaps() 102 OfflineMaps(const std::string& file) : FileMaps(file) {} in OfflineMaps()
|
/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 | 244 File file = createFile(contents); in testReadBytes() local 258 File file = new File(dir, "one"); in testCreateEmptyFile() local 280 File file = new File(dir, "one"); in testCreateEmptyFile_truncatesExisting() local 294 File file = File.createTempFile(getClass().getSimpleName(), ".txt"); in createFile() local 301 private File createSymlink(File file, File symlinkDir, String symlinkName) throws Exception { in createSymlink() 361 File file = new File(dir, name); in createRegularFile() local
|
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 114 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomRead() local 124 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomWrite() local 134 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearRead() local 145 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 | raw_filesystem.cc | 46 File file; in GetFiles() 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/libhidl/base/ |
D | HidlInternal.cpp | 92 struct dirent *file; in registerInstrumentationCallbacks() local 148 bool HidlInstrumentor::isInstrumentationLib(const dirent *file) { in isInstrumentationLib()
|
/system/media/brillo/audio/audioservice/ |
D | audio_daemon.cpp | 65 base::File file(name, base::File::FLAG_OPEN | base::File::FLAG_READ); in InitializeHandlers() local 148 void AudioDaemon::EventCallback(base::File* file) { in EventCallback()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | open_files_list_test.cpp | 41 for (auto& file : list) { in TEST() local
|
/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/tools/hidl/ |
D | generateCppImpl.cpp | 96 FILE *file = fopen(path.c_str(), "w"); in generateStubImplHeader() local 183 FILE *file = fopen(path.c_str(), "w"); in generateStubImplSource() local
|
D | Hash.cpp | 121 HashFile *file = new HashFile(); in readHashFile() local 163 const HashFile *file = HashFile::parse(path, err); in lookupHash() 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/core/init/ |
D | ueventd_test.cpp | 43 auto make_thread_function = [&function, &barrier](const auto& file, const auto& parameter) { in WriteFromMultipleThreads() 55 const auto& file = pair.first; in WriteFromMultipleThreads() local
|
/system/extras/tests/cpueater/ |
D | daemonize.c | 36 char *file = 0; in main() local
|
/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_to_log() local
|
/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 508 base::FilePath file; in TEST() local
|
/system/netd/libnetdutils/include/netdutils/ |
D | Syscalls.h | 87 StatusOr<int> fprintf(FILE* file, const char* format, ...) const { in fprintf() 97 StatusOr<int> fscanf(FILE* file, const char* format, ...) const { in fscanf()
|