Home
last modified time | relevance | path

Searched refs:filename_ (Results 1 – 24 of 24) sorted by relevance

/system/update_engine/payload_generator/
Dboot_img_filesystem.cc75 result->filename_ = filename; in CreateFromFile()
112 return utils::DivRoundUp(utils::FileSize(filename_), kBlockSize); in GetBlockCount()
123 if (utils::ReadFileChunk(filename_, offset, size, &data)) { in GetFile()
129 << offset << " of " << filename_ << ", found " in GetFile()
143 const uint64_t file_size = utils::FileSize(filename_); in GetFiles()
Draw_filesystem.cc33 result->filename_ = filename; in Create()
50 file.name = filename_; in GetFiles()
Derofs_filesystem.h66 : filename_(filename), fs_size_(fs_size), files_(std::move(files)) {} in ErofsFilesystem()
69 const std::string filename_; variable
Draw_filesystem.h53 std::string filename_; variable
Dext2_filesystem.h72 std::string filename_; variable
Dboot_img_filesystem.h53 std::string filename_; variable
Dext2_filesystem.cc134 result->filename_ = filename; in CreateFromFile()
364 filename_, extents, &blob, physical_size, filsys_->blocksize)) in LoadSettings()
/system/core/init/
Dimport_parser.cpp38 if (filename_.empty()) filename_ = filename; in ParseSection()
Daction.h79 const std::string& filename() const { return filename_; } in filename()
84 bool IsFromApex() const { return base::StartsWith(filename_, "/apex/"); } in IsFromApex()
96 std::string filename_; variable
Dservice.h138 bool is_from_apex() const { return base::StartsWith(filename_, "/apex/"); } in is_from_apex()
147 const std::string& filename() const { return filename_; } in filename()
148 void set_filename(const std::string& name) { filename_ = name; } in set_filename()
232 std::string filename_; variable
Dimport_parser.h39 std::string filename_; variable
Daction.cpp106 filename_(filename), in Action()
138 LOG(ERROR) << "Command '" << command.BuildCommandString() << "' (" << filename_ << ":" in CheckAllCommands()
170 LOG(INFO) << "Command '" << cmd_str << "' action=" << trigger_name << " (" << filename_ in ExecuteCommand()
Dservice_parser.h43 void EndFile() override { filename_ = ""; } in EndFile()
93 std::string filename_; variable
Dservice_parser.cpp639 filename_ = filename; in ParseSection()
702 if (StartsWith(filename_, "/apex/") && !old_service->is_updatable()) { in EndSection()
Dservice.cpp168 filename_(filename) {}
/system/extras/simpleperf/
DRecordFilter.cpp144 FilterFileReader(const std::string& filename) : filename_(filename) {} in FilterFileReader()
148 if (!android::base::ReadFileToString(filename_, &data)) { in Read()
149 PLOG(ERROR) << "failed to read " << filename_; in Read()
217 LOG(ERROR) << "Invalid args in " << filename_ << ":" << line_number_ << ": " << s; in SplitArgs()
225 LOG(ERROR) << "Invalid pid in " << filename_ << ":" << line_number_ << ": " << s; in ParsePid()
233 LOG(ERROR) << "Invalid timestamp in " << filename_ << ":" << line_number_ << ": " << s; in ParseTimestamp()
239 const std::string filename_; member in simpleperf::FilterFileReader
Drecord_file_reader.cpp99 : filename_(filename), in RecordFileReader()
104 file_size_ = GetFileSize(filename_); in RecordFileReader()
116 PLOG(ERROR) << "failed to close record file '" << filename_ << "'"; in Close()
128 LOG(ERROR) << filename_ << " is not a valid profiling record file."; in ReadHeader()
133 LOG(ERROR) << "invalid header in " << filename_; in ReadHeader()
156 LOG(ERROR) << "invalid attr section in " << filename_; in ReadAttrSection()
159 LOG(DEBUG) << "attr size (" << header_.attr_size << ") in " << filename_ in ReadAttrSection()
163 LOG(ERROR) << "no attr in file " << filename_; in ReadAttrSection()
191 LOG(ERROR) << "invalid attr section in " << filename_; in ReadAttrSection()
233 LOG(ERROR) << "invalid feature section descriptor in " << filename_; in ReadFeatureSectionDescriptors()
[all …]
Dcmd_inject.cpp154 : filename_(filename), in PerfDataReader()
163 record_file_reader_ = RecordFileReader::CreateInstance(filename_); in Read()
173 LOG(ERROR) << filename_ << " doesn't support --exclude-perf"; in Read()
178 LOG(ERROR) << "invalid recording_process " << it->second << " in " << filename_; in Read()
320 const std::string filename_; member in simpleperf::__anon8f351e250111::PerfDataReader
342 : filename_(filename), binary_filter_(binary_name_regex) {} in BranchListReader()
348 if (!android::base::ReadFileToString(filename_, &s)) { in Read()
349 PLOG(ERROR) << "failed to read " << filename_; in Read()
354 PLOG(ERROR) << "file is in wrong format: " << filename_; in Read()
367 const std::string filename_; member in simpleperf::__anon8f351e250111::BranchListReader
Drecord_file_writer.cpp60 : filename_(filename), in RecordFileWriter()
73 unlink(filename_.c_str()); in ~RecordFileWriter()
180 PLOG(ERROR) << "failed to write to record file '" << filename_ << "'"; in Write()
188 PLOG(ERROR) << "failed to read record file '" << filename_ << "'"; in Read()
519 PLOG(ERROR) << "failed to close record file '" << filename_ << "'"; in Close()
Dutils.cpp121 LOG(ERROR) << "Failed to iterate " << filename_; in IterateEntries()
134 LOG(ERROR) << "Failed to iterate " << filename_; in IterateEntries()
143 LOG(ERROR) << "Failed to find " << name << " in " << filename_; in FindEntry()
152 LOG(ERROR) << "Failed to extract entry at " << entry.offset << " in " << filename_; in GetEntryData()
Drecord_file.h118 const std::string filename_; variable
220 const std::string filename_; variable
Dutils.h110 : handle_(handle), filename_(filename) {} in ArchiveHelper()
113 std::string filename_; variable
/system/tools/aidl/
Dparser.h76 const std::string& FileName() const { return filename_; } in FileName()
101 std::string filename_; variable
Dparser.cpp329 : filename_(filename), is_preprocessed_(is_preprocessed) { in Parser()