/system/extras/puncture_fs/ |
puncture_fs.c | 78 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/extras/simpleperf/ |
cmd_dumprecord.cpp | 234 std::string file_path; local 240 while (record_file_reader_->ReadFileFeature(read_pos, &file_path, 243 PrintIndented(2, "file_path %s\n", file_path.c_str());
|
cmd_record_test.cpp | 388 std::string file_path; local 394 while (reader->ReadFileFeature(read_pos, &file_path, &file_type, &min_vaddr, &symbols)) {
|
dso.cpp | 167 std::string file_path = local 169 if (IsRegularFile(file_path)) {
|
/test/vts/drivers/hal/common/component_loader/ |
HalDriverLoader.cpp | 67 const string file_path = driver_lib_dir + "/" + string(ent->d_name); local 68 if (ParseInterfaceSpec(file_path.c_str(), spec_msg)) {
|
/art/oatdump/ |
oatdump_test.h | 143 std::string file_path = GetExecutableFilePath(flavor, "oatdump"); local 145 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; 148 std::vector<std::string> exec_argv = { file_path };
|
/bionic/tools/versioner/src/ |
Preprocessor.cpp | 476 llvm::StringRef file_path = file_it.first; local 484 loc.end = findNextSemicolon(file_lines[file_path], loc.end); 490 mergeGuards(file_lines[file_path], guard_map); 492 if (!file_path.startswith(src_dir)) { 493 errx(1, "input file %s is not in %s\n", file_path.str().c_str(), src_dir.c_str()); 497 llvm::StringRef rel_path = file_path.substr(src_dir.size(), file_path.size() - src_dir.size()); 500 rewriteFile(output_path, file_lines[file_path], guard_map);
|
/external/chromium-trace/catapult/tracing/tracing/trace_data/ |
trace_data.py | 86 return trace.file_path 174 def Serialize(self, file_path, trace_title=''): 175 """Serializes the trace result to |file_path|. 194 ['--output', file_path] + ['--title', trace_title]) 226 def file_path(self): member in class:TraceFileHandle
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
microdump_writer.cc | 312 char file_path[NAME_MAX]; local 314 mapping, file_path, sizeof(file_path), file_name, sizeof(file_name));
|
/external/pdfium/fpdfsdk/ |
fpdf_dataavail_embeddertest.cpp | 37 std::string file_path; local 38 if (!PathService::GetTestFilePath(file_name, &file_path)) 40 file_contents_ = GetFileContents(file_path.c_str(), &file_length_);
|
fpdfview_embeddertest.cpp | 590 std::string file_path; local 592 PathService::GetTestFilePath("unsupported_feature.pdf", &file_path)); 596 FPDF_DOCUMENT doc = FPDF_LoadDocument(file_path.c_str(), "");
|
/external/webrtc/webrtc/base/ |
filerotatingstream.cc | 244 std::string file_path = file_names_[current_file_index_]; local 258 if (!file_stream_->Open(file_path, mode, &error)) { 259 std::cerr << "Failed to open: " << file_path << "Error: " << error 343 Pathname file_path(dir_path_, file_name.str()); 344 return file_path.pathname();
|
/frameworks/base/core/jni/ |
fd_utils.cpp | 142 const std::string file_path; member in class:FileDescriptorInfo 152 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, 213 std::string file_path; local 215 if (!android::base::Readlink(fd_path, &file_path)) { 222 if (!whitelist->IsAllowed(file_path)) { 223 *error_msg = std::string("Not whitelisted : ").append(file_path); 234 file_path.c_str(), 255 file_path.c_str(), 269 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); 290 const int new_fd = TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags)) [all...] |
/frameworks/native/libs/vr/libvrflinger/ |
display_service.cpp | 210 std::string file_path = base::GetProperty(property_name, ""); local 211 if (file_path.empty()) { 216 if (!base::ReadFileToString(file_path, &data)) {
|
/test/vts/agents/hal/ |
AgentRequestHandler.cpp | 105 const string& file_path = command_msg.file_path(); local 115 LOG(DEBUG) << "file_path=" << file_path; 250 file_path, target_class, target_type, target_version,
|
/external/pdfium/testing/ |
embedder_test.cpp | 123 std::string file_path; local 124 if (!PathService::GetTestFilePath(filename, &file_path)) 126 file_contents_ = GetFileContents(file_path.c_str(), &file_length_);
|
/external/google-breakpad/src/client/mac/handler/ |
dynamic_images.cc | 480 string file_path; local 485 file_path = ReadTaskString(images.task_, info.file_path_); 493 file_path,
|
/external/libchrome/base/metrics/ |
persistent_memory_allocator_unittest.cc | 673 FilePath file_path = temp_dir.GetPath().AppendASCII("persistent_memory"); local 690 File writer(file_path, File::FLAG_CREATE | File::FLAG_WRITE); 696 mmfile->Initialize(file_path); 733 FilePath file_path = temp_dir.GetPath().AppendASCII("extend_test"); local 737 ASSERT_FALSE(PathExists(file_path)); 743 File writer(file_path, File::FLAG_CREATE | File::FLAG_WRITE); 747 ASSERT_TRUE(PathExists(file_path)); 749 ASSERT_TRUE(GetFileSize(file_path, &before_size)); 755 File(file_path, File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE), 767 ASSERT_TRUE(GetFileSize(file_path, &after_size)) 799 FilePath file_path = temp_dir.GetPath().AppendASCII(filename); local [all...] |
/external/tensorflow/tensorflow/core/platform/ |
env.cc | 315 string file_path = WindowsFileSystem::WideCharToUtf8(wc_file_path); local 316 std::copy(file_path.begin(), file_path.end(), exe_path);
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
tfprof_code.cc | 104 uint64 GetIndex(const string& file_path, const string& func_name, 106 auto key = std::tuple<string, string, uint64>(file_path, func_name, 116 string file_base = io::Basename(file_path).ToString(); 120 func_pb->set_filename(string_table_->GetIndex(file_path)); 143 uint64 GetIndex(const string& file_path, uint64 line_number, 148 file_path, called_function_name, line_number); 269 const string& file_path = caller->file(); variable 275 return loc_table_->GetIndex(file_path, lineno, callee_function,
|
/external/tensorflow/tensorflow/python/debug/lib/ |
debug_data.py | 277 (`file_path`). 349 return load_tensor_from_event_file(self.file_path) 438 def file_path(self): member in class:DebugTensorDatum [all...] |
/hardware/qcom/audio/post_proc/ |
volume_listener.c | 596 char file_path[PATH_MAX]; local 600 snprintf(file_path, PATH_MAX, "%s/%s", 602 if (F_OK == access(file_path, mode)) { 603 strcpy(file_name, file_path);
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_hdmi.cpp | 460 char file_path[kMaxStringLength]; local 461 memset(file_path, 0, sizeof(file_path)); 462 snprintf(file_path , sizeof(file_path), "%s%d/res_info", fb_path_, fb_node_index_); 464 int fd = Sys::open_(file_path, file_mode); 467 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno));
|
/system/tools/aidl/ |
generate_cpp.cpp | 828 string file_path = interface.GetPackage(); local 829 for (char& c: file_path) { 834 if (!file_path.empty()) { 835 file_path += (use_os_sep) ? OS_PATH_SEPARATOR : '/'; 837 file_path += ClassName(interface, class_type); 838 file_path += ".h"; 840 return file_path;
|
/art/patchoat/ |
patchoat.cc | 748 const std::string& file_path = oat_in->GetFilePath(); local 752 LOG(ERROR) << "Failed to find oat header in oat file " << file_path; 757 LOG(ERROR) << "Elf file " << file_path << " has an invalid oat header"; 763 LOG(INFO) << "Oat file at " << file_path << " is " << (is_pic ? "PIC" : "not pic"); [all...] |