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

12

/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
H A Dmodule.py10 def __init__(self, file_path):
11 self._file_path = file_path
17 def file_path(self): member in class:Module
/external/libbrillo/brillo/
H A Dtest_helpers.h13 #include <base/files/file_path.h>
19 inline void ExpectFileEquals(const char* golden, const char* file_path) { argument
21 EXPECT_TRUE(base::ReadFileToString(base::FilePath(file_path), &contents));
/external/google-breakpad/src/client/windows/unittests/
H A Ddump_analysis.h43 explicit DumpAnalysis(const std::wstring& file_path) argument
44 : dump_file_(file_path), dump_file_view_(NULL), dump_file_mapping_(NULL),
H A Dminidump_test.cc131 bool HasFileInfo(const std::wstring& file_path) { argument
133 const wchar_t* path = file_path.c_str();
H A Dcrash_generation_server_test.cc83 const std::wstring* file_path));
243 const std::wstring* file_path) {
245 OnClientDumpRequested(client_info, file_path);
240 CallOnClientDumpRequested( void* context, const google_breakpad::ClientInfo* client_info, const std::wstring* file_path) argument
/external/libchrome/base/mac/
H A Dmach_logging.cc33 MachLogMessage::MachLogMessage(const char* file_path, argument
37 : LogMessage(file_path, line, severity),
49 BootstrapLogMessage::BootstrapLogMessage(const char* file_path, argument
53 : LogMessage(file_path, line, severity),
/external/libmojo/base/android/
H A Dapk_assets.cc22 int OpenApkAsset(const std::string& file_path, argument
30 base::android::ConvertUTF8ToJavaString(env, file_path).obj());
41 const std::string& file_path) {
44 int asset_fd = OpenApkAsset(file_path, &region);
40 RegisterApkAssetWithGlobalDescriptors(base::GlobalDescriptors::Key key, const std::string& file_path) argument
/external/sfntly/cpp/src/test/
H A Dtest_utils.cc33 // OutputStream CreateOutputStream(const char *file_path) {
37 // void TestUtils::CreateNewFile(const char* file_path) {
84 const char* TestUtils::Extension(const char* file_path) { argument
85 if (!file_path)
87 return strrchr(file_path, EXTENSION_SEPARATOR);
H A Dtest_font_utils.cc83 void SerializeToFile(MemoryOutputStream* output_stream, const char* file_path) { argument
84 assert(file_path);
89 fopen_s(&output_file, file_path, "wb");
91 output_file = fopen(file_path, "wb");
/external/sfntly/cpp/src/sfntly/port/
H A Dfile_input_stream.cc151 bool FileInputStream::Open(const char* file_path) { argument
152 assert(file_path);
157 fopen_s(&file_, file_path, "rb");
159 file_ = fopen(file_path, "rb");
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_suppressions.cc33 static bool GetPathAssumingFileIsRelativeToExec(const char *file_path, argument
42 internal_strncat(new_file_path, file_path,
/external/google-breakpad/src/client/mac/tests/
H A Dcrash_generation_server_test.cc151 const std::string &file_path) {
155 if (!file_path.empty())
156 self->last_dump_name = file_path;
150 dumpCallback(void *context, const ClientInfo &client_info, const std::string &file_path) argument
/external/libbrillo/brillo/http/
H A Dhttp_form_data.cc158 const base::FilePath& file_path,
162 StreamPtr stream = FileStream::Open(file_path, Stream::AccessMode::READ,
167 std::string file_name = file_path.BaseName().value();
202 const base::FilePath& file_path,
206 name, file_path, content_disposition::kFormData, content_type, error);
157 AddFileField(const std::string& name, const base::FilePath& file_path, const std::string& content_disposition, const std::string& content_type, brillo::ErrorPtr* error) argument
201 AddFileField(const std::string& name, const base::FilePath& file_path, const std::string& content_type, brillo::ErrorPtr* error) argument
/external/libchrome/base/files/
H A Dfile_unittest.cc23 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); local
38 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ);
45 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ);
53 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ);
66 file.Initialize(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ);
78 File file(file_path, base::File::FLAG_CREATE | base::File::FLAG_READ);
86 File file(file_path,
95 file_path = temp_dir.path().AppendASCII("create_file_2");
96 File file(file_path,
104 EXPECT_FALSE(base::PathExists(file_path));
110 FilePath file_path = temp_dir.path().AppendASCII("create_file"); local
128 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); local
155 FilePath file_path = temp_dir.path().AppendASCII("read_write_file"); local
227 FilePath file_path = temp_dir.path().AppendASCII("append_file"); local
275 FilePath file_path = temp_dir.path().AppendASCII("truncate_file"); local
390 FilePath file_path = temp_dir.path().AppendASCII("read_at_current_position"); local
414 FilePath file_path = temp_dir.path().AppendASCII("write_at_current_position"); local
437 FilePath file_path = temp_dir.path().AppendASCII("seek_file"); local
454 FilePath file_path = temp_dir.path().AppendASCII("file"); local
481 FilePath file_path = temp_dir.path().AppendASCII("file"); local
[all...]
H A Dfile_util.cc16 #include "base/files/file_path.h"
190 bool GetFileSize(const FilePath& file_path, int64_t* file_size) { argument
192 if (!GetFileInfo(file_path, &info))
/external/libmojo/base/
H A Dpath_service.cc14 #include "base/files/file_path.h"
239 FilePath file_path = path; local
247 if (!PathExists(file_path) && !CreateDirectory(file_path))
253 file_path = MakeAbsoluteFilePath(file_path);
254 if (file_path.empty())
257 DCHECK(file_path.IsAbsolute());
265 path_data->overrides[key] = file_path;
/external/protobuf/src/google/protobuf/io/
H A Dprinter.h54 // Records that the bytes in file_path beginning with begin_offset and ending
57 const string& file_path,
76 const string& file_path, const vector<int>& path) {
82 annotation->set_source_file(file_path);
286 // in a file with path file_path. The range begins at the start of
291 const string& file_path, const vector<int>& path);
75 AddAnnotation(size_t begin_offset, size_t end_offset, const string& file_path, const vector<int>& path) argument
H A Dprinter.cc90 const string& file_path, const vector<int>& path) {
104 annotation_collector_->AddAnnotation(begin.first, end.second, file_path,
89 Annotate(const char* begin_varname, const char* end_varname, const string& file_path, const vector<int>& path) argument
/external/skia/tools/skdiff/
H A Dskdiff_utils.cpp29 sk_sp<SkData> read_file(const char* file_path) { argument
30 sk_sp<SkData> data(SkData::MakeFromFileName(file_path));
32 SkDebugf("WARNING: could not open file <%s> for reading\n", file_path);
/external/webrtc/webrtc/base/
H A Dfilerotatingstream_unittest.cc76 const std::string& file_path) {
78 scoped_ptr<FileStream> stream(Filesystem::OpenFile(file_path, "r"));
74 VerifyFileContents(const char* expected_contents, const size_t expected_length, const std::string& file_path) argument
H A Dfilerotatingstream.cc244 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();
/external/chromium-trace/catapult/tracing/tracing/trace_data/
H A Dtrace_data.py84 return trace.file_path
172 def Serialize(self, file_path, trace_title=''):
173 """Serializes the trace result to |file_path|.
192 ['--output', file_path] + ['--title', trace_title])
224 def file_path(self): member in class:TraceFileHandle
/external/google-breakpad/src/client/linux/microdump_writer/
H A Dmicrodump_writer.cc312 char file_path[NAME_MAX]; local
314 mapping, file_path, sizeof(file_path), file_name, sizeof(file_name));
/external/google-breakpad/src/client/mac/handler/
H A Ddynamic_images.h114 string file_path,
125 file_path_(file_path),
111 DynamicImage(uint8_t *header, size_t header_size, uint64_t load_address, string file_path, uintptr_t image_mod_date, mach_port_t task, cpu_type_t cpu_type) argument
/external/pdfium/fpdfsdk/
H A Dfpdf_dataavail_embeddertest.cpp22 std::string file_path; local
23 if (!PathService::GetTestFilePath(file_name, &file_path))
25 file_contents_ = GetFileContents(file_path.c_str(), &file_length_);

Completed in 8906 milliseconds

12