Home
last modified time | relevance | path

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

123

/external/deqp-deps/glslang/gtests/
DTestFixture.cpp128 std::ifstream fstream(path, std::ios::in); in ReadFile() local
129 if (fstream) { in ReadFile()
131 fstream.seekg(0, std::ios::end); in ReadFile()
132 contents.reserve((std::string::size_type)fstream.tellg()); in ReadFile()
133 fstream.seekg(0, std::ios::beg); in ReadFile()
134 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
143 std::ifstream fstream(path, std::fstream::in | std::fstream::binary); in ReadSpvBinaryFile() local
145 if (!fstream) in ReadSpvBinaryFile()
151 fstream.seekg(0, fstream.end); in ReadSpvBinaryFile()
152 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()
Dstring.pass.cpp25 std::fstream fs(temp, 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()
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()
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()
/external/deqp-deps/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.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/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/icu/icu4c/source/test/iotest/
Dstream.cpp254 fstream fs(STANDARD_TEST_FILE, fstream::in | fstream::out | fstream::trunc); in TestStreamEOF()
/external/protobuf/examples/
Dadd_person.cc70 fstream input(argv[1], ios::in | ios::binary); in main()
84 fstream output(argv[1], ios::out | ios::trunc | ios::binary); in main()
/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()
Dinput_generator.cc125 output_file.open(filename, std::fstream::out | std::fstream::trunc); in WriteInputsToFile()
/external/deqp/execserver/tools/
DxsClient.cpp178 std::fstream out(m_cmdLine.dstFileName.c_str(), std::fstream::out|std::fstream::binary); in run()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgoogle_auth_provider.cc79 std::ifstream fstream(filename.c_str()); in IsFile() local
80 return fstream.good(); in IsFile()
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/
Drdbuf.pass.cpp23 std::fstream fs; in main()
Dclose.pass.cpp25 std::fstream fs; in main()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc179 std::fstream f; in ConvertGraphDefToTensorRT()
181 std::fstream::out | std::fstream::binary | std::fstream::trunc); in ConvertGraphDefToTensorRT()
880 std::fstream f; in ConvertAfterShapes()
881 f.open(fname.c_str(), std::fstream::out | std::fstream::binary); in ConvertAfterShapes()
/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()
/external/swiftshader/src/Common/
DConfigurator.cpp52 fstream file(path.c_str(), ios::in); in readFile()
126 fstream file(path.c_str(), ios::out); in writeFile()
/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()

123