Home
last modified time | relevance | path

Searched refs:file_name_utf8 (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Dfile_impl.cc76 int FileWrapperImpl::FileName(char* file_name_utf8, size_t size) const { in FileName() argument
91 memcpy(file_name_utf8, file_name_utf8_, length); in FileName()
92 file_name_utf8[length] = 0; in FileName()
101 int FileWrapperImpl::OpenFile(const char* file_name_utf8, bool read_only, in OpenFile() argument
106 size_t length = strlen(file_name_utf8); in OpenFile()
120 file_name_utf8, in OpenFile()
140 tmp_id = fopen(file_name_utf8, "rt"); in OpenFile()
142 tmp_id = fopen(file_name_utf8, "wt"); in OpenFile()
146 tmp_id = fopen(file_name_utf8, "rb"); in OpenFile()
148 tmp_id = fopen(file_name_utf8, "wb"); in OpenFile()
[all …]
Dtrace_impl.cc286 int32_t TraceImpl::SetTraceFileImpl(const char* file_name_utf8, in SetTraceFileImpl() argument
293 if (file_name_utf8) { in SetTraceFileImpl()
298 CreateFileName(file_name_utf8, file_name_with_counter_utf8, in SetTraceFileImpl()
306 if (trace_file_->OpenFile(file_name_utf8, false, false, true) == -1) { in SetTraceFileImpl()
316 char file_name_utf8[FileWrapper::kMaxFileNameSize]) { in TraceFileImpl()
318 return trace_file_->FileName(file_name_utf8, FileWrapper::kMaxFileNameSize); in TraceFileImpl()
465 const char file_name_utf8[FileWrapper::kMaxFileNameSize], in UpdateFileName()
468 int32_t length = (int32_t)strlen(file_name_utf8); in UpdateFileName()
475 if (file_name_utf8[length_without_file_ending] == '.') { in UpdateFileName()
486 if (file_name_utf8[length_to_] == '_') { in UpdateFileName()
[all …]
Dfile_impl.h28 int FileName(char* file_name_utf8, size_t size) const override;
32 int OpenFile(const char* file_name_utf8,
Dtrace_impl.h84 const char file_name_utf8[FileWrapper::kMaxFileNameSize],
89 const char file_name_utf8[FileWrapper::kMaxFileNameSize],
/external/webrtc/webrtc/system_wrappers/include/
Dfile_wrapper.h36 virtual int OpenFile(const char* file_name_utf8,
61 virtual int FileName(char* file_name_utf8,