Searched defs:file_path (Results 1 - 14 of 14) sorted by relevance

/system/tools/aidl/
H A Dline_reader.cpp37 bool Init(const std::string& file_path) { argument
38 input_stream_.open(file_path, ifstream::in | ifstream::binary);
77 unique_ptr<LineReader> LineReader::ReadFromFile(const string& file_path) { argument
80 if (file_reader->Init(file_path)) {
H A Dgenerate_cpp_unittest.cpp722 ASTTest(string file_path, string file_contents) argument
723 : file_path_(file_path),
H A Dgenerate_cpp.cpp800 string file_path = interface.GetPackage(); local
801 for (char& c: file_path) {
806 if (!file_path.empty()) {
807 file_path += (use_os_sep) ? OS_PATH_SEPARATOR : '/';
809 file_path += ClassName(interface, class_type);
810 file_path += ".h";
812 return file_path;
/system/update_engine/common/
H A Dfile_fetcher.cc70 string file_path = url.substr(strlen("file://")); local
72 brillo::FileStream::Open(base::FilePath(file_path),
78 LOG(ERROR) << "Couldn't open " << file_path;
H A Dtest_utils.cc246 ScopedLoopMounter::ScopedLoopMounter(const string& file_path, argument
254 new ScopedLoopbackDeviceBinder(file_path, true, &loop_dev));
/system/extras/simpleperf/
H A Dcmd_dumprecord.cpp205 std::string file_path; local
211 while (record_file_reader_->ReadFileFeature(read_pos, &file_path,
214 PrintIndented(2, "file_path %s\n", file_path.c_str());
H A Dcmd_record_test.cpp326 std::string file_path; local
332 while (reader->ReadFileFeature(read_pos, &file_path, &file_type, &min_vaddr, &symbols)) {
H A Dthread_tree.cpp269 void ThreadTree::AddDsoInfo(const std::string& file_path, uint32_t file_type, argument
274 dso = FindKernelDsoOrNew(file_path);
276 dso = FindUserDsoOrNew(file_path);
H A Drecord_file_reader.cpp389 std::string* file_path,
416 *file_path = p;
417 p += file_path->size() + 1;
446 std::string file_path; local
452 read_pos, &file_path, &file_type, &min_vaddr, &symbols)) {
453 thread_tree.AddDsoInfo(file_path, file_type, min_vaddr, &symbols);
388 ReadFileFeature(size_t& read_pos, std::string* file_path, uint32_t* file_type, uint64_t* min_vaddr, std::vector<Symbol>* symbols) argument
H A Drecord_file_writer.cpp297 bool RecordFileWriter::WriteFileFeature(const std::string& file_path, argument
301 uint32_t size = file_path.size() + 1 + sizeof(uint32_t) * 2 +
309 MoveToBinaryFormat(file_path.c_str(), file_path.size() + 1, p);
H A Ddso.cpp156 std::string file_path = local
158 if (IsRegularFile(file_path)) {
/system/extras/puncture_fs/
H A Dpuncture_fs.c78 char file_path[FILENAME_MAX]; local
83 sprintf(file_path, "%s/file_%lu", dir_path, id);
84 fd = open(file_path, O_WRONLY | O_CREAT | O_SYNC, 0777);
90 fprintf(stderr, "\nerrno: %d. Failed to create %s\n", errno, file_path);
98 errno, base_length, file_path);
108 errno, size - length, file_path);
115 fprintf(stderr, "\nFailed to close %s\n", file_path);
/system/core/logwrapper/
H A Dlogwrap.c294 int *chld_sts, int log_target, bool abbreviated, char *file_path) {
331 if ((log_target & LOG_FILE) && !file_path) {
332 /* No file_path specified, clear the LOG_FILE bit */
337 fd = open(file_path, O_WRONLY | O_CREAT, 0664);
339 ERROR("Cannot log to file %s\n", file_path);
477 int log_target, bool abbreviated, char *file_path,
553 abbreviated, file_path);
293 parent(const char *tag, int parent_read, pid_t pid, int *chld_sts, int log_target, bool abbreviated, char *file_path) argument
476 android_fork_execvp_ext(int argc, char* argv[], int *status, bool ignore_int_quit, int log_target, bool abbreviated, char *file_path, void *unused_opts, int unused_opts_len) argument
/system/extras/perfprofd/
H A Dperfprofdcore.cc644 std::string file_path = dest_dir + "/" + e->d_name; local
645 remove(file_path.c_str());

Completed in 210 milliseconds