Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 87) 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.cpp188 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/
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/extras/perfprofd/quipper/base/
Dlogging.cc60 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/
DMaps.h91 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/
Dgrep.h84 struct file { struct
93 char *file; argument
/system/timezone/distro/core/src/test/com/android/timezone/distro/
DFileUtilsTest.java244 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/
DmmapPerf.cpp114 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/
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
Draw_filesystem.cc46 File file; in GetFiles() local
Dfake_filesystem.cc43 File file; in AddFile() local
/system/netd/libnetdutils/
DUniqueFile.cpp25 void UniqueFileDtor::operator()(FILE* file) { in operator ()()
/system/libhidl/base/
DHidlInternal.cpp92 struct dirent *file; in registerInstrumentationCallbacks() local
148 bool HidlInstrumentor::isInstrumentationLib(const dirent *file) { in isInstrumentationLib()
/system/media/brillo/audio/audioservice/
Daudio_daemon.cpp65 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/
Dopen_files_list_test.cpp41 for (auto& file : list) { in TEST() local
/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/tools/hidl/
DgenerateCppImpl.cpp96 FILE *file = fopen(path.c_str(), "w"); in generateStubImplHeader() local
183 FILE *file = fopen(path.c_str(), "w"); in generateStubImplSource() local
DHash.cpp121 HashFile *file = new HashFile(); in readHashFile() local
163 const HashFile *file = HashFile::parse(path, err); in lookupHash() 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/core/init/
Dueventd_test.cpp43 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/
Ddaemonize.c36 char *file = 0; in main() local
/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_to_log() local
/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
508 base::FilePath file; in TEST() local
/system/netd/libnetdutils/include/netdutils/
DSyscalls.h87 StatusOr<int> fprintf(FILE* file, const char* format, ...) const { in fprintf()
97 StatusOr<int> fscanf(FILE* file, const char* format, ...) const { in fscanf()

1234