Home
last modified time | relevance | path

Searched refs:file_stream (Results 1 – 16 of 16) sorted by relevance

/external/google-breakpad/src/processor/
Dmicrodump_processor_unittest.cc64 std::ifstream file_stream(file_name.c_str(), std::ios::in); in ReadFile() local
65 ASSERT_TRUE(file_stream.good()); in ReadFile()
67 file_stream.seekg(0, std::ios_base::end); in ReadFile()
68 ASSERT_TRUE(file_stream.good()); in ReadFile()
69 bytes.resize(file_stream.tellg()); in ReadFile()
70 file_stream.seekg(0, std::ios_base::beg); in ReadFile()
71 ASSERT_TRUE(file_stream.good()); in ReadFile()
72 file_stream.read(&bytes[0], bytes.size()); in ReadFile()
73 ASSERT_TRUE(file_stream.good()); in ReadFile()
Dmicrodump_stackwalk.cc73 std::ifstream file_stream(microdump_file); in PrintMicrodumpProcess() local
75 file_stream.seekg(0, std::ios_base::end); in PrintMicrodumpProcess()
76 bytes.resize(file_stream.tellg()); in PrintMicrodumpProcess()
77 file_stream.seekg(0, std::ios_base::beg); in PrintMicrodumpProcess()
78 file_stream.read(&bytes[0], bytes.size()); in PrintMicrodumpProcess()
Dminidump_unittest.cc98 ifstream file_stream(minidump_file_.c_str(), std::ios::in); in TEST_F() local
99 ASSERT_TRUE(file_stream.good()); in TEST_F()
101 file_stream.seekg(0, std::ios_base::end); in TEST_F()
102 ASSERT_TRUE(file_stream.good()); in TEST_F()
103 bytes.resize(file_stream.tellg()); in TEST_F()
104 file_stream.seekg(0, std::ios_base::beg); in TEST_F()
105 ASSERT_TRUE(file_stream.good()); in TEST_F()
106 file_stream.read(&bytes[0], bytes.size()); in TEST_F()
107 ASSERT_TRUE(file_stream.good()); in TEST_F()
/external/selinux/libsemanage/src/
Dparse_utils.c26 tmp_info->file_stream = NULL; in parse_init()
48 info->file_stream = fopen(info->filename, "r"); in parse_open()
49 if (!info->file_stream && (errno != ENOENT)) { in parse_open()
54 if (info->file_stream) in parse_open()
55 __fsetlocking(info->file_stream, FSETLOCKING_BYCALLER); in parse_open()
63 if (info->file_stream) in parse_close()
64 fclose(info->file_stream); in parse_close()
65 info->file_stream = NULL; in parse_close()
102 while (info->file_stream && in parse_skip_space()
103 ((len = getline(&buffer, &buf_len, info->file_stream)) > 0)) { in parse_skip_space()
Dparse_utils.h16 FILE *file_stream; /* Input stream handle */ member
/external/webrtc/webrtc/modules/audio_coding/test/
Dopus_test.cc370 std::stringstream file_stream; in OpenOutFile() local
371 file_stream << webrtc::test::OutputPath() << "opustest_out_" in OpenOutFile()
373 file_name = file_stream.str(); in OpenOutFile()
375 file_stream.str(""); in OpenOutFile()
376 file_name = file_stream.str(); in OpenOutFile()
377 file_stream << webrtc::test::OutputPath() << "opusstandalone_out_" in OpenOutFile()
379 file_name = file_stream.str(); in OpenOutFile()
Ddelay_test.cc168 std::stringstream file_stream; in OpenOutFile() local
169 file_stream << "delay_test_" << FLAGS_codec << "_" << FLAGS_sample_rate_hz in OpenOutFile()
171 std::cout << "Output file: " << file_stream.str() << std::endl << std::endl; in OpenOutFile()
172 std::string file_name = webrtc::test::OutputPath() + file_stream.str(); in OpenOutFile()
DTestRedFec.cc472 std::stringstream file_stream; in OpenOutFile() local
473 file_stream << webrtc::test::OutputPath(); in OpenOutFile()
474 file_stream << "TestRedFec_outFile_"; in OpenOutFile()
475 file_stream << test_number << ".pcm"; in OpenOutFile()
476 file_name = file_stream.str(); in OpenOutFile()
DEncodeDecodeTest.cc145 std::stringstream file_stream; in Setup() local
146 file_stream << webrtc::test::OutputPath() << out_file_name in Setup()
148 file_name = file_stream.str(); in Setup()
DTestStereo.cc824 std::stringstream file_stream; in OpenOutFile() local
825 file_stream << webrtc::test::OutputPath() << "teststereo_out_" << test_number in OpenOutFile()
827 file_name = file_stream.str(); in OpenOutFile()
/external/webrtc/talk/media/devices/
Dlinuxdevicemanager.cc185 rtc::FileStream* file_stream = in GetVideoDeviceNameK2_4() local
188 if (file_stream == NULL) return ""; in GetVideoDeviceNameK2_4()
190 config_parser.Attach(file_stream); in GetVideoDeviceNameK2_4()
/external/webrtc/webrtc/call/
Drtc_event_log.cc212 FILE* file_stream = rtc::FdopenPlatformFileForWriting(log_file);
213 if (!file_stream) {
218 if (file_->OpenFromFileHandle(file_stream, true, false) != 0) {
/external/lldb/source/Host/common/
DFileSpec.cpp885 std::ifstream file_stream (path); in ReadFileLines() local
887 if (file_stream) in ReadFileLines()
890 while (getline (file_stream, line)) in ReadFileLines()
/external/libbrillo/
Dlibbrillo.gypi145 'brillo/streams/file_stream.cc',
DAndroid.mk83 brillo/streams/file_stream.cc \
/external/libgdx/gdx/jni/gdx2d/
Djpgd.cpp3227 jpgd::jpeg_decoder_file_stream file_stream; in decompress_jpeg_image_from_file() local
3228 if (!file_stream.open(pSrc_filename)) in decompress_jpeg_image_from_file()
3230 return decompress_jpeg_image_from_stream(&file_stream, width, height, actual_comps, req_comps); in decompress_jpeg_image_from_file()