Searched defs:file_name (Results 1 - 25 of 213) sorted by relevance

123456789

/external/libvpx/libvpx/third_party/libwebm/common/
H A Dfile_util.h22 // Returns size of file specified by |file_name|, or 0 upon failure.
23 uint64_t GetFileSize(const std::string& file_name);
30 explicit TempFileDeleter(std::string file_name) : file_name_(file_name) {} argument
H A Dfile_util.cc52 uint64_t GetFileSize(const std::string& file_name) { argument
57 if (stat(file_name.c_str(), &st) == 0) {
61 if (_stat(file_name.c_str(), &st) == 0) {
/external/pdfium/core/fpdfdoc/
H A Dcpdf_filespec_unittest.cpp73 CFX_WideString file_name; local
74 EXPECT_TRUE(file_spec.GetFileName(&file_name));
75 EXPECT_TRUE(file_name == test_data.expected);
104 CFX_WideString file_name; local
107 EXPECT_TRUE(file_spec.GetFileName(&file_name));
108 EXPECT_TRUE(file_name == test_data[i].expected);
113 EXPECT_TRUE(file_spec.GetFileName(&file_name));
115 EXPECT_TRUE(file_name == test_data[4].input);
121 CFX_WideString file_name; local
122 EXPECT_FALSE(file_spec.GetFileName(&file_name));
147 CFX_WideString file_name; local
[all...]
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
H A Doutput_wav_file.h25 // Creates an OutputWavFile, opening a file named |file_name| for writing.
27 OutputWavFile(const std::string& file_name, int sample_rate_hz) argument
28 : wav_writer_(file_name, sample_rate_hz, 1) {}
H A Daudio_loop.cc20 bool AudioLoop::Init(const std::string file_name, argument
23 FILE* fp = fopen(file_name.c_str(), "rb");
H A Doutput_audio_file.h26 // Creates an OutputAudioFile, opening a file named |file_name| for writing.
28 explicit OutputAudioFile(const std::string& file_name) { argument
29 out_file_ = fopen(file_name.c_str(), "wb");
H A Dresample_input_audio_file.h27 ResampleInputAudioFile(const std::string file_name, int file_rate_hz) argument
28 : InputAudioFile(file_name),
31 ResampleInputAudioFile(const std::string file_name, argument
34 : InputAudioFile(file_name),
H A Drtp_file_source.cc29 RtpFileSource* RtpFileSource::Create(const std::string& file_name) { argument
31 RTC_CHECK(source->OpenFile(file_name));
35 bool RtpFileSource::ValidRtpDump(const std::string& file_name) { argument
37 RtpFileReader::Create(RtpFileReader::kRtpDump, file_name));
41 bool RtpFileSource::ValidPcap(const std::string& file_name) { argument
43 RtpFileReader::Create(RtpFileReader::kPcap, file_name));
89 bool RtpFileSource::OpenFile(const std::string& file_name) { argument
90 rtp_reader_.reset(RtpFileReader::Create(RtpFileReader::kRtpDump, file_name));
93 rtp_reader_.reset(RtpFileReader::Create(RtpFileReader::kPcap, file_name));
/external/bison/lib/
H A Dcloseout.c36 static const char *file_name; variable
43 file_name = file;
113 if (file_name)
114 error (0, errno, "%s: %s", quotearg_colon (file_name),
/external/libvpx/libvpx/test/
H A Di420_video_source.h24 I420VideoSource(const std::string &file_name, unsigned int width, argument
27 : YUVVideoSource(file_name, VPX_IMG_FMT_I420, width, height,
/external/pdfium/testing/utils/
H A Dpath_service.cpp98 bool PathService::GetTestFilePath(const std::string& file_name, argument
105 path->append(file_name);
/external/curl/src/
H A Dtool_mfiles.c58 struct multi_files *AddMultiFiles(const char *file_name, argument
71 multi->form.value = file_name;
/external/libmojo/base/android/
H A Dimportant_file_writer_android.cc19 const JavaParamRef<jstring>& file_name,
25 base::android::ConvertJavaStringToUTF8(env, file_name, &native_file_name);
17 WriteFileAtomically(JNIEnv* env, const JavaParamRef<jclass>& , const JavaParamRef<jstring>& file_name, const JavaParamRef<jbyteArray>& data) argument
/external/libtextclassifier/util/base/
H A Dlogging.cc29 // Returns pointer to beginning of last /-separated token from file_name.
30 // file_name should be a pointer to a zero-terminated array of chars.
32 const char *JumpToBasename(const char *file_name) { argument
33 if (file_name == nullptr) {
38 const char *last_token_start = file_name;
39 while (*file_name != '\0') {
40 if (*file_name == '/') {
42 // this position. Notice that if file_name is a valid zero-terminated
43 // string, file_name + 1 is a valid pointer (there is at least one char
44 // after address file_name, th
53 LogMessage(LogSeverity severity, const char *file_name, int line_number) argument
[all...]
/external/tpm2/
H A Dparsep440 file_name = ''
49 file_name = f.groups(0)[2]
60 if file_name:
61 func_file = open('%s' % file_name, 'w')
39 file_name = '' variable
48 file_name = f.groups(0)[2] variable
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Disac_unittest.cc45 const std::string file_name = local
47 input_file = fopen(file_name.c_str(), "rb");
/external/autotest/client/deps/glbench/src/
H A Dpng_helper.cc26 void write_png_file(const char* file_name, char* pixels, int width, int height) argument
49 FILE *fp = fopen(file_name, "wb");
52 file_name);
/external/flatbuffers/src/
H A Didl_gen_fbs.cpp56 std::string GenerateFBS(const Parser &parser, const std::string &file_name) { argument
69 schema += "// Generated from " + file_name + ".proto\n\n";
77 if (basename != file_name) {
125 const std::string &file_name) {
126 return SaveFile((path + file_name + ".fbs").c_str(),
127 GenerateFBS(parser, file_name), false);
123 GenerateFBS(const Parser &parser, const std::string &path, const std::string &file_name) argument
/external/google-breakpad/src/processor/
H A Dmicrodump_processor_unittest.cc62 void ReadFile(const string& file_name, string* file_contents) { argument
64 std::ifstream file_stream(file_name.c_str(), std::ios::in);
/external/libbrillo/brillo/http/
H A Dhttp_form_data_unittest.cc45 base::FilePath file_name = dir.path().Append("sample.txt"); local
48 file_name, file_content.data(), file_content.size())));
50 StreamPtr stream = FileStream::Open(file_name, Stream::AccessMode::READ,
/external/libchrome/base/files/
H A Dmemory_mapped_file.cc33 bool MemoryMappedFile::Initialize(const FilePath& file_name, Access access) { argument
49 file_.Initialize(file_name, flags);
52 DLOG(ERROR) << "Couldn't open " << file_name.AsUTF8Unsafe();
/external/libchrome/base/
H A Dlocation.cc18 const char* file_name,
22 file_name_(file_name),
84 : file_name(location.file_name()),
17 Location(const char* function_name, const char* file_name, int line_number, const void* program_counter) argument
H A Dlocation.h26 const char* file_name,
45 const char* file_name() const { return file_name_; } function in class:tracked_objects::Location
62 return base::HashInts(reinterpret_cast<uintptr_t>(location.file_name()),
92 std::string file_name; member in struct:tracked_objects::LocationSnapshot
/external/valgrind/tests/
H A Dmips_features.c21 const char *file_name = "/proc/cpuinfo"; local
29 if ((f = fopen (file_name, "r")) == NULL)
/external/vboot_reference/tests/
H A Drsa_verify_benchmark.c22 char file_name[FILE_NAME_SIZE]; local
37 snprintf(file_name, FILE_NAME_SIZE, "testkeys/key_rsa%d.keyb", key_size);
38 key = RSAPublicKeyFromFile(file_name);
40 VBDEBUG(("Couldn't read RSA Public key from file: %s\n", file_name));
46 snprintf(file_name, FILE_NAME_SIZE, "testcases/test_file.%s.digest",
48 digest = BufferFromFile(file_name, &digest_len);
56 snprintf(file_name, FILE_NAME_SIZE, "testcases/test_file.rsa%d_%s.sig",
58 signature = BufferFromFile(file_name, &sig_len);

Completed in 1228 milliseconds

123456789