/external/image_io/src/utils/ |
D | file_utils.cc | 32 auto* file_stream = new fstream(file_name, std::ios::out | std::ios::binary); in OpenOutputFile() local 33 if (file_stream && !file_stream->is_open()) { in OpenOutputFile() 34 delete file_stream; in OpenOutputFile() 35 file_stream = nullptr; in OpenOutputFile() 40 return unique_ptr<ostream>(file_stream); in OpenOutputFile() 45 auto* file_stream = new fstream(file_name, std::ios::in | std::ios::binary); in OpenInputFile() local 46 if (file_stream && !file_stream->is_open()) { in OpenInputFile() 47 delete file_stream; in OpenInputFile() 48 file_stream = nullptr; in OpenInputFile() 53 return unique_ptr<istream>(file_stream); in OpenInputFile()
|
/external/selinux/libsemanage/src/ |
D | parse_utils.c | 26 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()
|
D | parse_utils.h | 16 FILE *file_stream; /* Input stream handle */ member
|
/external/google-breakpad/src/processor/ |
D | microdump_processor_unittest.cc | 64 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()
|
D | microdump_stackwalk.cc | 73 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()
|
D | minidump_unittest.cc | 98 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/chromium-trace/catapult/common/py_utils/py_utils/ |
D | logging_util.py | 14 def CaptureLogs(file_stream): argument 15 if not file_stream: 20 fh = logging.StreamHandler(file_stream)
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | opus_test.cc | 370 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()
|
D | delay_test.cc | 168 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()
|
D | TestRedFec.cc | 472 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()
|
D | EncodeDecodeTest.cc | 145 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()
|
D | TestStereo.cc | 824 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/v8/src/torque/ |
D | torque-compiler.cc | 22 std::ifstream file_stream(path); in ReadFile() local 23 if (!file_stream.good()) return base::nullopt; in ReadFile() 25 return std::string{std::istreambuf_iterator<char>(file_stream), in ReadFile()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | test_macros.cc | 43 std::ifstream file_stream(path); in ReadManifest() local 45 string contents((std::istreambuf_iterator<char>(file_stream)), in ReadManifest()
|
/external/webrtc/talk/media/devices/ |
D | linuxdevicemanager.cc | 185 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/puffin/ |
D | Makefile | 9 file_stream.cc \
|
D | Android.bp | 57 "src/file_stream.cc",
|
D | BUILD.gn | 98 "src/file_stream.cc",
|
/external/webrtc/webrtc/call/ |
D | rtc_event_log.cc | 212 FILE* file_stream = rtc::FdopenPlatformFileForWriting(log_file); 213 if (!file_stream) { 218 if (file_->OpenFromFileHandle(file_stream, true, false) != 0) {
|
/external/noto-fonts/emoji-compat/ |
D | createfont.py | 262 with open(file_path) as file_stream: 263 for line in file_stream:
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_helpers.cc | 1536 io::FileInputStream file_stream(fd); in ParseSimpleFile() local 1537 file_stream.SetCloseOnDelete(true); in ParseSimpleFile() 1542 while (file_stream.Next(&buf, &buf_len)) { in ParseSimpleFile()
|
/external/libbrillo/ |
D | Android.bp | 68 "brillo/streams/file_stream.cc",
|
D | libbrillo.gypi | 163 'brillo/streams/file_stream.cc',
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 471 with fileobj as file_stream: 472 tzobj = self._read_tzfile(file_stream)
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 1231 std::ifstream file_stream(file.c_str()); in ExpandArgumentFile() local 1232 if (!file_stream.is_open()) { in ExpandArgumentFile() 1237 while (std::getline(file_stream, argument)) { in ExpandArgumentFile()
|