/external/libvpx/libvpx/third_party/libwebm/common/ |
H A D | file_util.h | 22 // 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 D | file_util.cc | 52 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 D | cpdf_filespec_unittest.cpp | 73 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 D | output_wav_file.h | 25 // 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 D | audio_loop.cc | 20 bool AudioLoop::Init(const std::string file_name, argument 23 FILE* fp = fopen(file_name.c_str(), "rb");
|
H A D | output_audio_file.h | 26 // 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 D | resample_input_audio_file.h | 27 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 D | rtp_file_source.cc | 29 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 D | closeout.c | 36 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 D | i420_video_source.h | 24 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 D | path_service.cpp | 98 bool PathService::GetTestFilePath(const std::string& file_name, argument 105 path->append(file_name);
|
/external/curl/src/ |
H A D | tool_mfiles.c | 58 struct multi_files *AddMultiFiles(const char *file_name, argument 71 multi->form.value = file_name;
|
/external/libmojo/base/android/ |
H A D | important_file_writer_android.cc | 19 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 D | logging.cc | 29 // 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 D | parsep4 | 40 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 D | isac_unittest.cc | 45 const std::string file_name = local 47 input_file = fopen(file_name.c_str(), "rb");
|
/external/autotest/client/deps/glbench/src/ |
H A D | png_helper.cc | 26 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 D | idl_gen_fbs.cpp | 56 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 D | microdump_processor_unittest.cc | 62 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 D | http_form_data_unittest.cc | 45 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 D | memory_mapped_file.cc | 33 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 D | location.cc | 18 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 D | location.h | 26 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 D | mips_features.c | 21 const char *file_name = "/proc/cpuinfo"; local 29 if ((f = fopen (file_name, "r")) == NULL)
|
/external/vboot_reference/tests/ |
H A D | rsa_verify_benchmark.c | 22 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);
|