Home
last modified time | relevance | path

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

123

/system/core/base/
Dfile_test.cpp29 TEST(file, ReadFileToString_ENOENT) { in TEST() argument
37 TEST(file, ReadFileToString_WriteStringToFile) { in TEST() argument
51 TEST(file, WriteStringToFile2) { in TEST() argument
69 TEST(file, WriteStringToFd) { in TEST() argument
81 TEST(file, WriteFully) { in TEST() argument
100 TEST(file, RemoveFileIfExist) { in TEST() argument
Dlogging.cpp187 void StderrLogger(LogId, LogSeverity severity, const char*, const char* file, in StderrLogger()
217 const char* file, unsigned int line, in operator ()()
300 static const char* GetFileBasename(const char* file) { in GetFileBasename()
320 LogMessageData(const char* file, unsigned int line, LogId id, in LogMessageData()
368 LogMessage::LogMessage(const char* file, unsigned int line, LogId id, in LogMessage()
412 void LogMessage::LogLine(const char* file, unsigned int line, LogId id, in LogLine()
/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/media/brillo/audio/audioservice/
Daudio_daemon.cpp44 base::File file(name, base::File::FLAG_OPEN | base::File::FLAG_READ); in InitializeHandler() local
110 void AudioDaemon::Callback(base::File* file) { in Callback()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dgrep.h84 struct file { struct
93 char *file; argument
/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
155 FilesystemInterface::File file; in TEST_F() local
Draw_filesystem.cc46 File file; in GetFiles() local
Dfake_filesystem.cc43 File file; in AddFile() local
Dext2_filesystem.cc187 File& file = inodes[it_ino]; in GetFiles() local
309 File file = ino_file.second; in GetFiles() local
/system/extras/cpustats/
Dcpustats.c188 FILE *file; in get_cpu_count_from_file() local
213 FILE *file; in get_freq_scales_count() local
235 FILE *file; in read_stats() local
264 FILE *file; in read_freq_stats() local
/system/extras/tests/cpueater/
Ddaemonize.c36 char *file = 0; in main() local
/system/webservd/webservd/
Dutils.cc132 bool StoreCertificate(X509* cert, const base::FilePath& file) { in StoreCertificate()
138 X509Ptr LoadAndValidateCertificate(const base::FilePath& file) { in LoadAndValidateCertificate()
Drequest.cc122 base::File file; in GetFileData() local
134 base::File file; in Complete() local
173 base::File file = Complete(status_code, headers_copy, data.size()); in Complete() local
248 for (auto& file : file_info_) in ForwardRequestToHandler() local
Ddbus_protocol_handler.cc163 base::File file = request->GetFileData(in_file_id); in GetRequestFileData() local
190 base::File file = request->Complete(in_status_code, in_headers, in_data_size); in CompleteRequest() local
Dtemp_file_manager.cc52 for (const base::FilePath& file : files) in DeleteFiles() local
Ddbus_request_handler.cc59 for (const auto& file : request->GetFileInfo()) { in HandleRequest() local
/system/connectivity/shill/
Dmock_log.cc44 const char* file, in HandleLogMessages()
/system/vold/
DLoop.cpp256 int Loop::createImageFile(const char *file, unsigned long numSectors) { in createImageFile()
273 int Loop::resizeImageFile(const char *file, unsigned long numSectors) { in resizeImageFile()
/system/core/libziparchive/
Dzip_writer.cc285 int32_t ZipWriter::StoreBytes(FileInfo* file, const void* data, size_t len) { in StoreBytes()
296 int32_t ZipWriter::CompressBytes(FileInfo* file, const void* data, size_t len) { in CompressBytes()
330 int32_t ZipWriter::FlushCompressedBytes(FileInfo* file) { in FlushCompressedBytes()
/system/core/logd/
DLogCommand.cpp97 FILE *file = fopen(filename, "r"); in clientHasLogCredentials() local
/system/core/toolbox/
Dtop.c228 FILE *file; in read_procs() local
326 FILE *file; in read_stat() local
385 FILE *file; in read_cmdline() local
412 FILE *file; in read_status() local
/system/core/adb/
Dadb_trace.cpp41 const char* tag, const char* file, unsigned int line, in AdbLogger()
Dadb_auth_host.cpp211 static int generate_key(const char *file) in generate_key()
263 static int read_key(const char *file, struct listnode *list) in read_key()
/system/extras/verity/fec/
Dimage.cpp221 struct sparse_file *file; in file_image_load() local
268 for (auto file : files) { in file_image_load() local

123