/external/deqp-deps/glslang/gtests/ |
D | TestFixture.cpp | 126 std::ifstream fstream(path, std::ios::in); in ReadFile() local 127 if (fstream) { in ReadFile() 129 fstream.seekg(0, std::ios::end); in ReadFile() 130 contents.reserve((std::string::size_type)fstream.tellg()); in ReadFile() 131 fstream.seekg(0, std::ios::beg); in ReadFile() 132 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile() 141 std::ifstream fstream(path, std::fstream::in | std::fstream::binary); in ReadSpvBinaryFile() local 143 if (!fstream) in ReadSpvBinaryFile() 149 fstream.seekg(0, fstream.end); in ReadSpvBinaryFile() 150 contents.reserve(size_t(fstream.tellg()) / sizeof(std::uint32_t)); in ReadSpvBinaryFile() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/gtests/ |
D | TestFixture.cpp | 126 std::ifstream fstream(path, std::ios::in); in ReadFile() local 127 if (fstream) { in ReadFile() 129 fstream.seekg(0, std::ios::end); in ReadFile() 130 contents.reserve((std::string::size_type)fstream.tellg()); in ReadFile() 131 fstream.seekg(0, std::ios::beg); in ReadFile() 132 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile() 141 std::ifstream fstream(path, std::fstream::in | std::fstream::binary); in ReadSpvBinaryFile() local 143 if (!fstream) in ReadSpvBinaryFile() 149 fstream.seekg(0, fstream.end); in ReadSpvBinaryFile() 150 contents.reserve(size_t(fstream.tellg()) / sizeof(std::uint32_t)); in ReadSpvBinaryFile() [all …]
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/ |
D | gcs_helper.cc | 24 : std::fstream(temp_file_name, mode), name_(temp_file_name) {} in TempFile() 27 : std::fstream(std::move(rhs)), name_(std::move(rhs.name_)) {} in TempFile() 30 std::fstream::close(); in ~TempFile() 37 std::fstream::close(); in truncate() 38 std::fstream::open(name_, std::ios::binary | std::ios::out); in truncate() 39 return std::fstream::is_open(); in truncate()
|
/external/image_io/src/utils/ |
D | file_utils.cc | 4 #import <fstream> 13 using std::fstream; 32 auto* file_stream = new fstream(file_name, std::ios::out | std::ios::binary); in OpenOutputFile() 45 auto* file_stream = new fstream(file_name, std::ios::in | std::ios::binary); in OpenInputFile()
|
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/ |
D | move.pass.cpp | 27 std::fstream fso(temp, std::ios_base::in | std::ios_base::out in main() 29 std::fstream fs = move(fso); in main()
|
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/ |
D | move.pass.cpp | 27 std::fstream fso(temp, std::ios_base::in | std::ios_base::out in main() 29 std::fstream fs = move(fso); in main()
|
/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/ |
D | move_assign.pass.cpp | 27 std::fstream fso(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 29 std::fstream fs; in main()
|
D | nonmember_swap.pass.cpp | 48 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 50 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main()
|
D | member_swap.pass.cpp | 46 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 48 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main()
|
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/ |
D | move_assign.pass.cpp | 27 std::fstream fso(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 29 std::fstream fs; in main()
|
D | nonmember_swap.pass.cpp | 48 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 50 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main()
|
D | member_swap.pass.cpp | 46 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 48 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main()
|
/external/OpenCSD/decoder/source/ |
D | ocsd_msg_logger.cpp | 102 m_out_file.open(m_logFileName.c_str(),std::fstream::out | std::fstream::app); in LogMsg()
|
/external/icu/icu4c/source/test/iotest/ |
D | stream.cpp | 254 fstream fs(STANDARD_TEST_FILE, fstream::in | fstream::out | fstream::trunc); in TestStreamEOF()
|
/external/shaderc/spirv-headers/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 78 std::ifstream fstream(path, std::ios::in); in ReadFile() local 79 if (fstream) { in ReadFile() 81 fstream.seekg(0, std::ios::end); in ReadFile() 82 contents.reserve((unsigned int)fstream.tellg()); in ReadFile() 83 fstream.seekg(0, std::ios::beg); in ReadFile() 84 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test31-pr18535-libstdc++-report-1.txt | 81 …<wchar_t, std::char_traits<wchar_t> >::_M_allocate_internal_buffer()' at fstream.tcc:47:1 has some… 84 …in pointed to type 'class std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >' at fstream:72:1: 90 … 'typedef std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::__codecvt_type' at fstream:86:1: 99 …td::basic_fstream<char, std::char_traits<char> >::close(int, void**)' at fstream:929:1 has some in… 106 …sic_fstream<wchar_t, std::char_traits<wchar_t> >::close(int, void**)' at fstream:929:1 has some in… 113 …d::basic_ifstream<char, std::char_traits<char> >::close(int, void**)' at fstream:579:1 has some in… 120 …ic_ifstream<wchar_t, std::char_traits<wchar_t> >::close(int, void**)' at fstream:579:1 has some in… 127 …d::basic_ofstream<char, std::char_traits<char> >::close(int, void**)' at fstream:756:1 has some in… 134 …ic_ofstream<wchar_t, std::char_traits<wchar_t> >::close(int, void**)' at fstream:756:1 has some in…
|
/external/protobuf/examples/ |
D | add_person.cc | 77 fstream input(argv[1], ios::in | ios::binary); in main() 91 fstream output(argv[1], ios::out | ios::trunc | ios::binary); in main()
|
/external/webrtc/examples/turnserver/ |
D | turnserver_main.cc | 82 std::fstream auth_file(argv[4], std::fstream::in); in main()
|
/external/tensorflow/tensorflow/lite/testing/kernel_test/ |
D | util.h | 104 std::fstream::out | std::fstream::trunc); in RunKernelTest()
|
D | diff_analyzer.cc | 93 output_file.open(filename, std::fstream::out | std::fstream::trunc); in WriteReport()
|
/external/angle/third_party/vulkan-deps/glslang/src/StandAlone/ |
D | spirv-remap.cpp | 86 fp.open(inFilename, std::fstream::in | std::fstream::binary); in read() 118 fp.open(outFile, std::fstream::out | std::fstream::binary); in write()
|
/external/deqp-deps/glslang/StandAlone/ |
D | spirv-remap.cpp | 86 fp.open(inFilename, std::fstream::in | std::fstream::binary); in read() 118 fp.open(outFile, std::fstream::out | std::fstream::binary); in write()
|
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 90 std::ifstream fstream(path, std::ios::in); in ReadFile() local 91 if (fstream) { in ReadFile() 93 fstream.seekg(0, std::ios::end); in ReadFile() 94 contents.reserve((unsigned int)fstream.tellg()); in ReadFile() 95 fstream.seekg(0, std::ios::beg); in ReadFile() 96 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
|
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 90 std::ifstream fstream(path, std::ios::in); in ReadFile() local 91 if (fstream) { in ReadFile() 93 fstream.seekg(0, std::ios::end); in ReadFile() 94 contents.reserve((unsigned int)fstream.tellg()); in ReadFile() 95 fstream.seekg(0, std::ios::beg); in ReadFile() 96 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
|
/external/angle/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 94 std::ifstream fstream(path, std::ios::in); in ReadFile() local 95 if (fstream) { in ReadFile() 97 fstream.seekg(0, std::ios::end); in ReadFile() 98 contents.reserve((unsigned int)fstream.tellg()); in ReadFile() 99 fstream.seekg(0, std::ios::beg); in ReadFile() 100 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
|