Home
last modified time | relevance | path

Searched refs:fstream (Results 1 – 25 of 69) sorted by relevance

123

/external/deqp-deps/glslang/gtests/
DTestFixture.cpp126 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/glslang/src/gtests/
DTestFixture.cpp126 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/image_io/src/utils/
Dfile_utils.cc4 #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/
Dmove.pass.cpp27 std::fstream fso(temp, std::ios_base::in | std::ios_base::out in main()
29 std::fstream fs = move(fso); in main()
Ddefault.pass.cpp23 std::fstream fs; in main()
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/
Dmove_assign.pass.cpp27 std::fstream fso(temp.c_str(), std::ios_base::in | std::ios_base::out in main()
29 std::fstream fs; in main()
Dnonmember_swap.pass.cpp48 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()
Dmember_swap.pass.cpp46 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/icu/icu4c/source/test/iotest/
Dstream.cpp254 fstream fs(STANDARD_TEST_FILE, fstream::in | fstream::out | fstream::trunc); in TestStreamEOF()
/external/OpenCSD/decoder/source/
Docsd_msg_logger.cpp102 m_out_file.open(m_logFileName.c_str(),std::fstream::out | std::fstream::app); in LogMsg()
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.cpp78 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/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp83 std::ifstream fstream(path, std::ios::in); in ReadFile() local
84 if (fstream) { in ReadFile()
86 fstream.seekg(0, std::ios::end); in ReadFile()
87 contents.reserve((unsigned int)fstream.tellg()); in ReadFile()
88 fstream.seekg(0, std::ios::beg); in ReadFile()
89 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
/external/protobuf/examples/
Dadd_person.cc77 fstream input(argv[1], ios::in | ios::binary); in main()
91 fstream output(argv[1], ios::out | ios::trunc | ios::binary); in main()
/external/angle/third_party/spirv-headers/src/tools/buildHeaders/
DjsonToSpirv.cpp87 std::ifstream fstream(path, std::ios::in); in ReadFile() local
88 if (fstream) { in ReadFile()
90 fstream.seekg(0, std::ios::end); in ReadFile()
91 contents.reserve((unsigned int)fstream.tellg()); in ReadFile()
92 fstream.seekg(0, std::ios::beg); in ReadFile()
93 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp87 std::ifstream fstream(path, std::ios::in); in ReadFile() local
88 if (fstream) { in ReadFile()
90 fstream.seekg(0, std::ios::end); in ReadFile()
91 contents.reserve((unsigned int)fstream.tellg()); in ReadFile()
92 fstream.seekg(0, std::ios::beg); in ReadFile()
93 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
/external/angle/third_party/glslang/src/StandAlone/
Dspirv-remap.cpp86 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/
Dspirv-remap.cpp86 fp.open(inFilename, std::fstream::in | std::fstream::binary); in read()
118 fp.open(outFile, std::fstream::out | std::fstream::binary); in write()
/external/tensorflow/tensorflow/lite/testing/kernel_test/
Dutil.h104 std::fstream::out | std::fstream::trunc); in RunKernelTest()
Ddiff_analyzer.cc93 output_file.open(filename, std::fstream::out | std::fstream::trunc); in WriteReport()
/external/deqp/execserver/tools/
DxsClient.cpp178 std::fstream out(m_cmdLine.dstFileName.c_str(), std::fstream::out|std::fstream::binary); in run()
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/
Drdbuf.pass.cpp23 std::fstream fs; in main()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgoogle_auth_provider.cc80 std::ifstream fstream(filename.c_str()); in IsFile() local
81 return fstream.good(); in IsFile()
/external/libcxx/test/libcxx/input.output/file.streams/fstreams/
Dfstream.close.pass.cpp26 std::fstream ofs(temp, std::ios::out | std::ios::trunc); in main()
/external/OpenCSD/decoder/include/common/
Docsd_msg_logger.h81 std::fstream m_out_file;
/external/swiftshader/src/System/
DConfigurator.cpp52 fstream file(path.c_str(), ios::in); in readFile()
126 fstream file(path.c_str(), ios::out); in writeFile()

123